npx skills add https://www.modelscope.cn/collections/l576298567/flutter
desquared/agents-rules-skills
flutter-code-review
Use when reviewing Flutter code for correctness, architecture compliance, design system usage, linting, or testing coverage. Also use before merging a PR or when the user asks for a code review of Dart or Flutter files.
Installation
npx skills add desquared/agents-rules-skills --skill flutter-code-review
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsAlso in this package
Other skills from desquared/agents-rules-skills · top by installs.
npx skills add desquared/agents-rules-skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,956 B -
docs
SUMMARY.md246 B
History
- First seen on skills.sh
- First recorded snapshot · 11 installs
SKILL.md
Code Review Skill
7 Criteria
1. Functionality (🔴 Blocker)
- Logic errors, missing error handling, null safety violations
2. Readability (🟠 Major)
- Clear naming, proper comments, no dead code
3. Optimization (🟠 Major)
- Unnecessary rebuilds, N+1 queries, missing const
4. Architecture (🟠 Major)
- data/domain/view pattern, repository pattern, @injectable DI
5. Design System (🟠 Major)
- ColorPalette, Spacing, Project Design System Widgets (no hardcoded)
6. Linting (🔴 Blocker)
flutter analyzemust pass (zero errors)
7. Testing (Optional)
- 90%+ unit, 50%+ widget coverage (suggest, don't block)
Quick Checks
// ❌ Hardcoded color
Text('Hi', style: TextStyle(color: Colors.red))
// ✅ Use ColorPalette
Text('Hi', style: TextStyle(
color: ColorPalette.coloursBasicText.platformBrightnessColor(context),
))
// ❌ Business logic in widget
final total = items.fold(0, (s, i) => s + i.price);
// ✅ Logic in Bloc/Cubit
@injectable class MyBloc { ... }
// ❌ No error handling
Future<Data> fetch() async {
return await api.call();
}
// ✅ Try-catch
Future<Data> fetch() async {
try {
return await api.call();
} catch (e) {
throw NetworkException(e.toString());
}
}
Severity
- 🔴 Blocker: Must fix (functionality, security, linting)
- 🟠 Major: Should fix (performance, architecture, design system)
- 🟢 Minor: Nice to fix (naming, comments)
Process
flutter analyze(must pass)- Check file structure (data/domain/view)
- Verify design system usage
- Check state management (@injectable)
- Verify error handling
- Check tests (suggest improvements)