effective-dart
Use when writing Dart code, reviewing for style, refactoring naming, adding doc comments, structuring imports, or enforcing type annotations.
npx skills add evanca/flutter-ai-rules --skill effective-dart --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Effective Dart Skill This skill defines how to write idiomatic, high-quality Dart and Flutter code following Effective Dart guidelines. --- ## 1. Naming Conventions | Kind | Convention | Example | |---|---|---| | Classes, enums, typedefs, type parameters, extensions | `UpperCamelCase` | `MyWidget`, `UserState` | | Packages, directories, source files | `lowercase_with_underscores` | `user_profile.dart` | | Import prefixes | `lowercase_with_underscores` | `import '...' as my_prefix;` | | Variables, parameters, named parameters, functions | `lowerCamelCase` | `userName`, `fetchData()` | - Capitalize acronyms and abbreviations longer than two letters like words: `HttpRequest`, not `HTTPRequest`. - Avoid abbreviations unless the abbreviation is more common than the full term. - Prefer putting the **most descriptive noun last** in names. - Use terms **consistently** throughout your code. - Follow mnemonic conventions for type parameters: `E` (element), `K`/`V` (key/value), `T`/`S`/`U` (generic types). - Consider making code **read like a sentence** when designing APIs. - Prefer a **noun phrase** for non-boolean properties or variables. - Prefer a **non-imperative verb phrase** for bool
- 1. Naming Conventions
- 2. Types and Functions
- 3. Style
- 4. Imports and Files
- 5. Structure
- 6. Usage Patterns
- 7. Documentation
- 8. Testing Patterns
- 9. Code Review Workflow
- References
dart format .
What does the effective-dart skill do?
Use when writing Dart code, reviewing for style, refactoring naming, adding doc comments, structuring imports, or enforcing type annotations.
How do I install it?
Run `npx skills add evanca/flutter-ai-rules --skill effective-dart --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From evanca/flutter-ai-rules, a repository with 604 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
