design-system
Skill36 starsChanged 6 months agoMITView on GitHub
Unified design system enforcement for Flutter and Angular. Routes all UI tasks through the correct stack-specific tokens, rules, and interaction contracts. Use when auditing UI compliance, reviewing design consistency, or building any user-facing surface.
108 other projects use a version of this.
Adopted by
Most recently taken up by
- nextlevelbuilder/ui-ux-pro-max-skilltheir own version, first seen Nov 18, 2026
- ekajaya740/skillstheir own version, first seen Oct 6, 2026
- BUGLAN/skillstheir own version, first seen Oct 6, 2026
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- Littlpinguin/marketing-cockpit-templatetheir own version, first seen Oct 5, 2026
Used with
Projects with it also use setup-engine, playtest-report and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillsetup-engine
Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.
Also in 7 projects that use this
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 6 projects that use this
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +3 more from CoralGame
- +5 more from cenconq25
Other versions108 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 108
- nextlevelbuilder/ui-ux-pro-max-skill★ 156ksame name
- getsentry/sentry★ 45ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/power-platform-skills★ 961same name
- Archive228/loopkit★ 756same name
- pixel-cellar/Claude-Code-Game-Studios★ 338same name
- loulanyue/awesome-claude-notes★ 272same name
- genkovich/sdd★ 170same name
- cdavid817/vanehub-ai★ 116same name
98 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository157 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a2ui-angularSkill
- accessibility-auditSkill
- adk-deploy-guideSkill
- adk-dev-guideSkill
- adk-eval-guideSkill
- adk-observability-guideSkill
- agentic-ai-coding-standardSkill
- agentic-ai-devSkill
- ai-auditSkill
- ai-chatSkill
- ai-decision-recordSkill
- ai-incident-responseSkill
- ai-launch-checkSkill
- ai-playbookSkill
- angular-best-practicesSkill
- angularSkill
- angular-spaSkill
- angular-ui-patternsSkill
- api-design-principlesSkill
- app-store-optimizationSkill
- architect-reviewSkill
- architecture-decision-recordsSkill
- architecture-designSkill
- asc-cli-usageSkill
- asc-crash-triageSkill
- asc-id-resolverSkill
- asc-release-flowSkill
- asc-signing-setupSkill
- asc-submission-healthSkill
- asc-testflight-orchestrationSkill
- browser-testingSkill
- changelog-generatorSkill
- claude-actions-auditorSkill
- clean-codeSkill
- codebase-onboardingSkill
- code-explainerSkill
- code-reviewerSkill
- code-simplifierSkill
- comment-analyzerSkill
- database-schema-designerSkill
- ddd-architectSkill
- decision-frameworksSkill
- dedup-code-agentSkill
- deployment-ci-cdSkill
- dockerSkill
- documentation-generationSkill
- domain-finderSkill
- error-detectiveSkill
- eval-guideSkill
- feature-forgeSkill
- firebase-basicsSkill
- firebase-hosting-basicsSkill
- fixing-accessibilitySkill
- fixing-motion-performanceSkill
- flutter-animationsSkill
- flutter-genuiSkill
- flutter-mobileSkill
- flutter-security-expertSkill
- frontend-designSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 5 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 98 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 15
Iron Law: Never hardcode colors, spacing, or typography — always use design tokens.
- Very specific: line 70
NEVER: use rgb(), rgba(), hsl(), hsla() literals
- Very specific: line 72
Angular: Use daisyUI semantic tokens (bg-primary, text-base-content)
- Very specific: line 75
NEVER: use raw numeric spacing (EdgeInsets.all(16), mt-3)
- Distinctive: line 77
Angular: Use Tailwind semantic scale or daisyUI component spacing
- Very specific: line 80
NEVER: use raw font sizes (TextStyle(fontSize: 14), text-[14px])
- Very specific: line 82
Angular: Use Tailwind typography scale (text-sm, text-lg, text-xl)
- Very specific: line 85
NEVER: use bare <input>, <select>, <textarea> without framework bindings
- Very specific: line 86
Angular: Use daisyUI form classes + reactive form formControlName
- Distinctive: line 87
Flutter: Use shared form field wrapper widgets
- Very specific: line 93
NEVER: use style="..." in Angular templates — use Tailwind utilities or SCSS
- Very specific: line 94
NEVER: use inline Style widgets in Flutter — use theme extensions
- Very specific: line 110
All rules respect // ignore-design: [reason] exception markers.
- Very specific: line 122
Before declaring any UI work done, these must pass (from verification-and-reporting.md):
- Distinctive: line 133
When a design rule must be violated intentionally:
- Very specific: line 135
Add inline marker: // ignore-design: [short reason] or <!-- ignore-design: [reason] -->
- Distinctive: line 139
If 5+ exceptions accumulate in one file → the design system may need extending, flag it
“Common” is measured: kept by at least 6 in 10 of the 98 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Iron Law: Never hardcode colors, spacing, or typography — always use design tokens; run /lint-design-system before declaring any UI change complete.
Design System — Unified Routing Hub
Single entry point for all design system enforcement across Flutter and Angular.
When to use: Any UI task — building screens, reviewing components, auditing design drift, or running design lint.
Routing Table
Determine the stack from file context, then load the correct references:
What are you working on?
|
+-- Flutter (lib/**/*.dart, pubspec.yaml)
| |
| +-- Tokens (colors, spacing, typography, radius)
| | → Read: .claude/skills/ui-standards-tokens/reference/ui-design-tokens.md
| |
| +-- Accessibility (semantics, focus, contrast)
| | → Read: .claude/skills/ui-standards-tokens/reference/ui-accessibility-patterns.md
| |
| +-- Polish (animations, glassmorphism, theme extensions)
| → Read: .claude/skills/flutter-mobile/reference/flutter-design-polish.md
|
+-- Angular (src/app/**/*.ts|html|scss)
| |
| +-- Component styling (daisyUI classes, semantic tokens)
| | → Read: .claude/skills/angular-spa/reference/daisyui-v5-components.md
| |
| +-- Tailwind config (spacing, breakpoints, CSS vars)
| | → Read: .claude/skills/angular-spa/reference/tailwind-v4-config.md
| |
| +-- Conventions (design principles, form patterns)
| | → Read: .claude/skills/angular-spa/reference/angular-conventions.md
| |
| +-- Animations (timing, keyframes, reduced motion)
| → Read: .claude/skills/angular-spa/reference/animations.md
|
+-- Cross-stack (interaction contracts, visual direction)
|
+-- Surface/interaction contracts (modals, forms, lists, errors)
| → Read: .claude/skills/design-system/reference/interaction-contracts.md
|
+-- Visual design direction (anti-patterns, typography philosophy)
→ Read: .claude/skills/frontend-design/reference/frontend-design-principles.mdDesign Rules — Hard Policy (Both Stacks)
These are non-negotiable. Violations are caught by hookify rules at write-time.
Colors
- NEVER hardcode hex values (
#3b82f6,Color(0xFF...)) - NEVER use
rgb(),rgba(),hsl(),hsla()literals - Flutter: Use
Theme.of(context).colorScheme.* - Angular: Use daisyUI semantic tokens (
bg-primary,text-base-content)
Spacing
- NEVER use raw numeric spacing (
EdgeInsets.all(16),mt-3) - Flutter: Use
AppSpacing.xs/sm/md/lg/xl/xxl - Angular: Use Tailwind semantic scale or daisyUI component spacing
Typography
- NEVER use raw font sizes (
TextStyle(fontSize: 14),text-[14px]) - Flutter: Use
Theme.of(context).textTheme.* - Angular: Use Tailwind typography scale (
text-sm,text-lg,text-xl)
Forms
- NEVER use bare
<input>,<select>,<textarea>without framework bindings - Angular: Use daisyUI form classes + reactive form
formControlName - Flutter: Use shared form field wrapper widgets
Touch Targets
- Minimum 48dp (Flutter) / 44px (Angular) for all interactive elements
Inline Styles
- NEVER use
style="..."in Angular templates — use Tailwind utilities or SCSS - NEVER use inline
Stylewidgets in Flutter — use theme extensions
Machine Enforcement
Hookify Rules (fire on every Write/Edit by Claude)
| Rule | Stack | What It Catches |
hookify.design-no-hardcoded-colors-dart | Flutter | Color(0xFF...), Colors.blue |
hookify.design-no-raw-spacing-dart | Flutter | EdgeInsets.all(16), SizedBox(height: 8) |
hookify.design-no-raw-textstyle-dart | Flutter | TextStyle(fontSize: N) |
hookify.design-no-hex-angular | Angular | bg-[#...], color: #..., rgb(), hsl() |
hookify.design-no-raw-spacing-angular | Angular | mt-3, px-4, gap-2 |
hookify.design-no-raw-typography-angular | Angular | text-[14px], font-[...], font-size: N |
hookify.design-no-raw-form-inputs | Angular | bare <input>, <select> without formControl |
All rules respect // ignore-design: [reason] exception markers.
Lint Commands
| Command | Scope |
/lint-design-system | Orchestrator — runs all checks for detected stack(s) |
dart analyze | Flutter static analysis |
ng lint | Angular static analysis |
Quality Gate
Before declaring any UI work done, these must pass (from verification-and-reporting.md):
- No hardcoded colors — all colors use theme tokens
- No raw spacing values — all spacing uses semantic tokens
- No inline TextStyles — all typography uses theme text styles
- Touch targets >= 48dp (Flutter) / 44px (Angular)
/lint-design-systemrun with zero violations- Exception markers (
// ignore-design: [reason]) reviewed and justified
Exception Policy
When a design rule must be violated intentionally:
- Add inline marker:
// ignore-design: [short reason]or<!-- ignore-design: [reason] --> - Reason must explain WHY (e.g., "platform-specific iOS styling", "third-party widget constraint")
- Exceptions are reviewed like code debt
- Periodically audit: search for
ignore-designand remove stale exceptions - If 5+ exceptions accumulate in one file → the design system may need extending, flag it
Scope & Rationale
What We Enforce
| Surface | Status | Rationale |
| Logged-in app screens (Flutter + Angular) | ENFORCED | Primary user experience — consistency here drives retention and trust |
| Shared/reusable components | ENFORCED | Foundation — drift here cascades everywhere |
| Theme definitions | ENFORCED | Single source of truth for tokens |
What We Defer
| Surface | Status | Rationale |
| Admin panels / internal tools | DEFERRED | Lower user impact — enforce when dedicated redesign pass happens |
| Legacy/migration pages | DEFERRED | Will be replaced — enforce on new version only |
| Marketing / landing pages | DEFERRED | Often need custom creative direction that conflicts with app tokens |
| Test files | EXCLUDED | Test code can use raw values for assertion clarity |
Generated code (*.g.dart, *.freezed.dart) | EXCLUDED | Machine-generated — not human-authored |
File Path Scope
| Stack | Included | Excluded |
| Flutter | lib/ | test/, *.g.dart, *.freezed.dart, build output |
| Angular | src/app/ | node_modules/, *.spec.ts, config files |
Visual Audit — 10-Dimension Scoring
Score the current UI across these 10 dimensions (0–10 each). For each dimension provide: score, specific file:line example, and a concrete fix.
- Color consistency — Are colors using theme tokens (
bg-primary,colorScheme.primary) or hardcoded hex values (Color(0xFF3b82f6),#3b82f6in SCSS)? - Typography hierarchy — Clear h1 > h2 > h3 > body > caption scale using
Theme.of(context).textTheme.*(Flutter) or Tailwind typography scale (text-sm,text-lg,text-xl) (Angular)? Or rawTextStyle(fontSize: N)/text-[14px]scattered throughout? - Spacing rhythm — Consistent 4px/8px/16px scale via
AppSpacing.*(Flutter) or Tailwind semantic scale (Angular)? Or arbitraryEdgeInsets.all(16)/mt-3/px-4that break the grid? - Component consistency — Do similar elements (buttons, cards, list items, form fields) use the same widget/component patterns, or are there one-off inline implementations?
- Responsive behavior — Fluid across breakpoints? Angular: Tailwind
sm:/md:/lg:breakpoints applied? Flutter:LayoutBuilder/MediaQueryused for adaptive layouts? - Dark mode — Complete theme coverage using
colorScheme(Flutter) / daisyUI semantic tokens (Angular)? Or half-done with hardcoded light values that break in dark mode? - Animation — Purposeful (entrance transitions, state changes, feedback)? Or gratuitous scroll-triggered animations on every section that distract rather than guide?
- Accessibility — Color contrast ≥ 4.5:1 for normal text / ≥ 3:1 for large text, focus states present, touch targets ≥ 48dp (Flutter) / 44px (Angular), semantic labels on interactive elements?
- Information density — Cluttered (too many competing elements) or too sparse (wasted space)? Empty states handled with meaningful UI rather than blank screens or raw
nullrenders? - Polish — Hover states (Angular), loading states (
CircularProgressIndicator/ skeleton screens), error states (user-visible feedback), and micro-transitions present and consistent?
Total score / 100.
- ≥ 80 — Ship-ready. Minor issues only.
- 60–79 — Polish pass needed before release.
- < 60 — Redesign required. Do not ship.
For each dimension scored below 7: file the specific file:line violation and state the concrete fix using the correct token or pattern for the stack.
AI Slop Detection
Flag these patterns immediately — they signal generic AI-generated UI with no design intention. Each flag requires the exact file:line and the replacement pattern.
| Pattern | Signal | Replacement |
Purple-to-blue gradient as primary background (from-purple-500 to-blue-500, LinearGradient([Color(0xFF...purple), Color(0xFF...blue)])) | Generic AI hero aesthetic | Use brand color tokens from colorScheme (Flutter) or daisyUI semantic bg-primary (Angular); gradients only for deliberate decorative surfaces |
Glass morphism cards with no semantic purpose (backdrop-blur, bg-white/10, BackdropFilter on every card) | Trendy filler masking weak content hierarchy | Use solid surface tokens (colorScheme.surface, bg-base-100); reserve blur effects for modal overlays where focus isolation is the intent |
Excessive border-radius on everything including data tables and code blocks (rounded-2xl on <table>, BorderRadius.circular(24) on list tiles) | Indiscriminate softening | Apply radius intentionally: cards and buttons use AppRadius.* tokens; data-dense surfaces (tables, code) use rounded-none or rounded-sm |
Scroll-triggered animations on every section (IntersectionObserver on 10+ elements, AnimationController firing on every scroll event) | Cargo-culted engagement pattern | Use entrance animations only for primary hero or key CTAs; all other content renders immediately; see flutter-design-polish.md and animations.md for approved patterns |
Generic centered hero: [Big Title] [Subtitle] [Primary Button] [Secondary Button] over gradient background | Uncustomized template output | Differentiate with brand-specific layout, real imagery or illustration, and a single focused CTA |
| Inter / Roboto / Space Grotesk as the only fonts with no display personality (same weight, same size hierarchy everywhere) | Default font stack, zero typographic intention | Add a display typeface for headings that matches brand tone; establish a deliberate type scale with size AND weight contrast between levels |
Symmetrical 3-column feature card grid: icon + title + body, all equal height, all centered (grid-cols-3, Column(children: [Icon, Text, Text]) × N) | The AI feature section template | Vary layout rhythm — mix wide + narrow cards, use real screenshots or illustrations instead of icons, break the grid for emphasis |
Shadow stacking — shadow-lg on a container that already has shadow-md, nested inside shadow-sm (BoxShadow arrays with 3+ layers on the same widget) | Depth miscalculation, not intentional elevation | Use a single elevation token per surface level; Flutter: one BoxShadow per widget matching colorScheme.shadow; Angular: one daisyUI shadow utility per element |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

