flutter_cursor_rules
Flutter/Dart coding guidelines for Cursor AI IDE
Install / Use
npx skills add KhalidWar/flutter_cursor_rulesInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubFlutter Cursor Rules
A comprehensive .cursorrules file for Flutter/Dart development with Cursor AI IDE.
Purpose
This repository provides coding guidelines and best practices for Flutter development that work seamlessly with Cursor AI. The rules ensure consistent, performant, and maintainable code generation.
What's Included
Dart General Guidelines
- Basic Principles: Type safety, English documentation, clean code structure
- Nomenclature: Consistent naming conventions (PascalCase, camelCase, underscores_case)
- Functions: Short, single-purpose functions with descriptive names
- Data: Immutability and composite types over primitives
- Classes: SOLID principles and composition over inheritance
- Exceptions: Strategic error handling patterns
- Testing: Arrange-Act-Assert with clear naming conventions
Flutter-Specific Guidelines
- Widget Architecture: Flat widget trees for better performance
- Theme Usage: Proper theme colors for light/dark mode support
- Layout: Modern Flutter layout techniques
- Performance: Const constructors and efficient rebuilds
- Testing: Widget and integration testing standards
Git Commit Message Guidelines
- Conventional Commits: Standardized commit message format
- Commit Types: feat, fix, docs, style, refactor, test, chore
- Examples: Ready-to-use commit message templates
Usage
- Copy the
.cursorrulesfile to your Flutter project root - Open your project in Cursor IDE
- The AI will automatically follow these guidelines
License
MIT License - Free to use, copy, share, or sell for any purpose.
Related Skills
career-ops
72.3kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
guizang-ppt-skill
26.7kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
Security Score
Audited on Jun 30, 2025
