/gsmlg-app:cmd-check-flutter-duskmoon-designfrom gsmlg-app
Audit a Flutter project for compliance with the DuskMoon design system
Ships in gsmlg-app. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read the flutter-duskmoon-design skill first, then audit the Flutter project for compliance. Inspect Dart source, package manifests, generated-file boundaries, and tests. Report only findings supported by the code, with a file path, line number, offending code, and concrete fix.
DuskmoonApp, not a direct MaterialApp, CupertinoApp, or FluentApp.DmDesignTokens sets and an appropriate ThemeMode.DmTheme.of(context).tokens; direct DmDesignTokens.<theme> access is limited to app setup, adapters, and tests.Search Dart source for:
Color(0x...), Color.fromARGB, and Color.fromRGBO outside generated token files.Colors.blue, Colors.white, and color shade access.Color.lerp, opacity, inversion, or manual dimming when a curated token should be used.Exclude generated files and tests that intentionally assert exact conversion values. Require an appropriate DmTheme token in each finding.
Verify token pairs used in the same component:
primary / onPrimary; primaryContainer / onPrimaryContainersecondary / onSecondary; secondaryContainer / onSecondaryContainertertiary / onTertiary; tertiaryContainer / onTertiaryContainererror / onError; errorContainer / onErrorContainersurface / onSurface; surfaceVariant / onSurfaceVariantinverseSurface / inverseOnSurfaceTreat inherited foreground colors as warnings unless the rendered mismatch is clear.
DmAdaptiveWidget and implement platform builders.Platform.isIOS, Platform.isAndroid, or equivalent platform conditionals where adaptive dispatch applies.platformOverride behavior is not bypassed.DmColorRole, DmSize, and variant enums instead of parallel ad-hoc APIs.DmAppBar and DmBottomNav default to primary tokens; drawers and side navigation use secondary tokens.DmActionList where appropriate.DmIconButton, has a non-empty semantic label.duskmoon_theme to duskmoon_widgets, then to feature packages; no downstream package is imported upstream.duskmoon_code_engine does not depend on duskmoon_theme; its theme adapter belongs in duskmoon_theme.packages/duskmoon_theme/lib/src/generated/ are generated from the design source and are not hand-maintained.DmPlatformStyle value.DmTheme.of(context) resolves the configured tokens.Flutter DuskMoon Design Compliance
==================================
[PASS|FAIL] Theme setup: N findings
[PASS|FAIL] Hardcoded/computed colors: N findings
[PASS|WARN] Token pairing: N findings
[PASS|FAIL] Adaptive widgets: N findings
[PASS|WARN] Component conventions: N findings
[PASS|WARN] Accessibility: N findings
[PASS|FAIL] Package/generated boundaries:N findings
[PASS|WARN] Tests: N findings
Total: N errors, N warnings
List findings by severity and check. If a check cannot be established statically, mark it NOT VERIFIED and state what runtime or visual test is required. Do not report style preferences that are not rules in flutter-duskmoon-design.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/flutter-duskmoonFlutter DuskMoon UI design system — theme, adaptive widgets, settings, feedback, forms, data visualization, code editor engine, and BLoC theme persistence. Use when building Flutter apps with duskmoon_ui, duskmoon_theme, duskmoon_widgets, duskmoon_settings, duskmoon_feedback, duskmoon_form, duskmoon_visualization, duskmoon_code_engine, or duskmoon_theme_bloc packages./flutter-duskmoon-designUse when writing Flutter code that uses flutter_duskmoon_ui packages, when creating or modifying widgets that consume DmTheme or DmDesignTokens, when setting up theming in a DuskMoon app, when building adaptive widgets, or when reviewing code for DuskMoon design compliance. Also trigger when the user mentions duskmoon_theme, duskmoon_widgets, DuskmoonApp, DmTheme, DmAdaptiveWidget, DmDesignTokens, DmPlatformStyle, or any Dm* widget prefix. This skill defines the rules and patterns that ALL code touching the DuskMoon Flutter ecosystem must follow.npx claudepluginhub gsmlg-dev/code-agent --plugin gsmlg-app