Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cursor rules for Flutter development with expert integration.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -16% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -9% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 13% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 25% | 0% |
Cursor rules for Flutter development with expert integration.
Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/flutter-app-expert-cursorrules-prompt-file.mdc.
// Flutter App Expert .cursorrules
// Flexibility Notice
// Note: This is a recommended project structure, but be flexible and adapt to existing project structures. // Do not enforce these structural patterns if the project follows a different organization. // Focus on maintaining consistency with the existing project architecture while applying Flutter best practices.
// Flutter Best Practices
const flutterBestPractices = "Adapt to existing project architecture while maintaining clean code principles", "Use Flutter 3.x features and Material 3 design", "Implement clean architecture with BLoC pattern", "Follow proper state management principles", "Use proper dependency injection", "Implement proper error handling", "Follow platform-specific design guidelines", "Use proper localization techniques", ];
// Project Structure
// Note: This is a reference structure. Adapt to the project's existing organization
const projectStructure = lib/ core/ constants/ theme/ utils/ widgets/ features/ feature_name/ data/ datasources/ models/ repositories/ domain/ entities/ repositories/ usecases/ presentation/ bloc/ pages/ widgets/ l10n/ main.dart test/ unit/ widget/ integration/ ;
// Coding Guidelines
const codingGuidelines =
;
// Widget Guidelines
const widgetGuidelines =
;
// Performance Guidelines
const performanceGuidelines =
;
// Testing Guidelines
const testingTestingGuidelines =
;
Other measured skills in the registry, with their headline benchmark lift.