flutter-dart-code-review

Solid

Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.

Code & Development 22 stars 5 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
88
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /supergraph:flutter-dart-code-review Library-agnostic Flutter/Dart code review. Graph-first, then checklist. Announce: "🐦 /supergraph:flutter-dart-code-review — reviewing Flutter/Dart code..." ## Steps ### 1. Graph analysis (surface hotspots before manual review) Use `CBM_PROJECT`: call `get_architecture` with `hotspots`, then validated `hubs`, `cycles`, `complexity`, `cross-boundary`, and `test-gaps` recipes. Apply the existing Flutter thresholds: `build()` over 80–100 lines, complexity limits, 10+ dependents, circular DI, unexpected layer coupling, and untested files. **Serena (optional — if available):** ``` mcp__serena__get_diagnostics_for_file(<file>) # type errors, null safety violations mcp__serena__find_referencing_symbols(<symbol>) # callers of changed public APIs mcp__serena__find_implementations(<interface>) # subclasses after interface change ``` Skip if Serena unavailable. ### 2. Manual checklist review Work through [CHECKLIST.md](./CHECKLIST.md) — 15 sections covering: General health · Dart pitfalls · Widgets · State management · Performance · Testing · Accessibility · Platform · Security · Dependencies · Navigation · Error handling · l10n · DI · Static analysis Focus on areas flagged by step 1 first. ### 3. Report ``` ## Flutter/Dart Review - Graph hotspots: [list/none] - Serena diagnostics: [issues/clean/skipped] - Checklist: PASS | ISSUES (list critical items) - Next: /supergraph:fix → /supergraph:verify ``` ## Rules - Run graph an...

Details

Author
datit309
Repository
datit309/supergraph
Created
4 months ago
Last Updated
6 days ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category