/flutter:design-review-workflowfrom Flutter Skills
Enforces one structured end-of-build design/QA pass on the release build: screenshot sweep matrix (every screen x light/dark x LTR+RTL x largest text scale x reduce-motion) plus on-device pass on real hardware, findings graded BLOCKER/FIX/NOTE with accessibility-floor violations as mandatory BLOCKERs, one scoped fix round, and a dated sign-off…
Ships in Flutter Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One structured design/QA pass per app or feature, at the very end, on the release build — never a per-task visual critique. During the build, development speed wins and no task is blocked on aesthetics; when the last build task is done and CI is green, exactly one pass runs: a screenshot sweep + an on-device pass → graded findings → one scoped fix round → a dated sign-off that gates release.
Walk every screen in screen order, once per matrix cell. Any screenshot mechanism works — simulator/emulator capture (xcrun simctl io booted screenshot …, adb exec-out screencap), an integration-test golden harness, or a device screen-grab.
Multiplying axes (one still per cell):
screen every screen the app can reach + each meaningful state
theme light, dark (flip the OS appearance; leave in-app on "System")
direction LTR, RTL (an RTL locale via the in-app locale picker)
Applied to every still (not a separate axis):
textScale largest supported (OS font-size max + bold text) — every still is shot under it
Video-only (never a still):
motion reduce-motion off, on (record motion moments as video)
NN--<screen>[-<state>]--<theme>--<dir>.png. The cell axes are screen×state × theme × direction, so the name needs no textScale or motion token — textScale is applied to every still, and motion evidence is a short video per moment (skippability and the reduce-motion end-state are only judgeable on video).accessibility-as-code).i18n-rtl-l10n).Critique each screen through four lenses; grade each finding.
| Grade | Meaning | Action |
|---|---|---|
| BLOCKER | floor violation or shipping-stopper | fix this round; gates sign-off |
| FIX | clearly below bar, cheap to fix | fix this round |
| NOTE | minor / subjective / deferrable | record to backlog, ship anyway |
Screenshots prove layout; they never prove behavior. Run one pass on real, cheap, target-class hardware in real state — a device farm and a flagship both hide the bugs the median user hits.
run-migration). Then export → wipe/second device → import, and feed import a truncated and a hand-corrupted file — a visible error, never a wiped store.Track it as a checklist ticked fresh before every tag — never tag from memory of "basically doing this last time." Record device, OS version, and date at the top; when a check fails, that header is the entire reproduction context.
The eyeball half of a review doesn't scale and regresses silently. Encode the mechanically checkable subset of your design rules as a grep-based CI gate so a banned construct can't re-enter unreviewed.
#!/usr/bin/env bash
set -euo pipefail
# Fails if a raw color/value that must come from the design-system layer
# appears in a widget file. Tune the patterns to YOUR rules.
target="${1:-lib/}"
if grep -rnE 'Colors\.(white|black)|Color\(0xFF' "$target" \
--include='*.dart' | grep -v '/theme/'; then
echo "Raw color outside the theme layer — a decision must exist here." >&2
exit 1
fi
design-system-structure); this gate only enforces that they're sourced from there.design-system-structure for the token/theme layering whose delivery this pass judges and whose raw-value gate this workflow runs.accessibility-as-code for the floor (Semantics, tap targets, never-clamp-textScaler, color-never-alone) that every BLOCKER enforces.i18n-rtl-l10n for the RTL/bidi/numeral correctness the sweep's RTL cells check.widget-golden-and-a11y-testing for the automated overflow/golden/RTL matrix that this manual pass complements, not replaces.run-migration for the migration ritual the data-safety rehearsal exercises.ci-pipeline-and-gates for where the greppable gate and the green-before-review precondition live.motion-and-haptics for the declared moments this sweep records on video with reduced motion on and off.release-and-store-shipping for the release this pass's dated sign-off gates, and run-goldens-rebaseline for re-baselining the goldens an accepted visual FIX moved.ui-states-and-feedback for the empty/error/loading states the sweep shoots as their own matrix cells.flutter build (release, obfuscation/split-debug-info): https://docs.flutter.dev/deployment/obfuscateWhat SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/accessibility-as-codeEnforces accessibility as a correctness property authored into each widget — Semantics(button/label) or ExcludeSemantics on every node, a11y state read from MediaQuery not app state, never MediaQuery.withClampedTextScaling / textScaleFactor / FittedBox / TextOverflow.ellipsis to fit a label, non-color redundant channels (icon+label+shape+text) for every state, contrast against composited backgrounds (4.5:1 body / 3:1 large), 44px single-tap targets, OrdinalSortKey traversal, and honoring boldText / reduce-motion. Use when adding a GestureDetector/InkWell or any tap target, adding an Icon or Image, reaching for withClampedTextScaling/FittedBox/ellipsis/textScaleFactor to make text fit, encoding state via color, sizing type, ordering focus traversal, or reviewing any View for screen-reader/switch/low-vision support./adaptive-layoutEnforces adapting layout by available CONSTRAINTS/size, never device or platform checks — LayoutBuilder + MediaQuery.sizeOf/paddingOf/viewInsetsOf (not .of) for narrow rebuilds, Material 3 window size classes (compact <600, medium 600-840, expanded 840-1200, large >1200) as the breakpoint vocabulary, navigation affordance chosen by width (NavigationBar → NavigationRail → NavigationDrawer), list-detail single-pane-vs-two-pane, readable max-width via ConstrainedBox, Flexible/Expanded/FractionallySizedBox over fixed widths, SafeArea + display cutouts + keyboard insets, never lock orientation, foldable/hinge awareness via MediaQuery.displayFeatures, and golden-matrix verification across sizes. Use when building responsive or adaptive UI, tablet/desktop/foldable support, master-detail or two-pane screens, a NavigationRail-vs-BottomNav shell, breakpoints, LayoutBuilder, MediaQuery sizing, SafeArea/cutouts, or fixing overflow at large widths.npx claudepluginhub zakariaf/flutter-skills --plugin flutterOther plugins' skills for the same job