/moskills:design-system runs instead · from moskills
Creates and maintains a single design.md file as the source of truth for UI tokens, components, screens, and shell layout. Checks contrast, generates CSS variables, and keeps code in sync with design decisions.
This skill never runs in Claude Code
It ships in moskills at templates/, but /moskills:design-system (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Primary goal: Keep one design file (design.md) that every screen and component follows, checked by a tool and turned into code values.
design.md lives at the project root. /preview reads it before mocking up any UI and writes the choices the user picks back into it; this skill owns its structure. There is no second design file.
## Tokens table. Add the text/background pairs that must stay readable under ### Contrast pairs: 4.5 for text, 3 for large text and UI boundaries.## Shell: navigation pattern, header, safe areas, breakpoints, where content scrolls.## Components, with every state it needs (default, pressed, focus, disabled, loading, error as they apply).### Screen: <name> block per screen under ## Screens. Each block has a Components: line with names from the Components table only. It has a States: line: empty, loading, error, ready, as they apply. Then it has a short layout description.design.md yet: run moskills design init (writes a skeleton with starter tokens) or write the same structure by hand./preview Visual Companion and let the user pick. Options can be swatches, a type scale, shell layouts or component states. If the user says "you decide", choose and label it Self-authored under delegation.design.md. Never keep design values only in chat or only in code.moskills design check and fix every error (bad color values, failing contrast, screens using components that are not declared). Use --complete once all parts exist. When a run exists, record it as proof: run-state wrap --task <id> -- moskills design check --complete.moskills design css --out <path>, for example src/styles/tokens.css. Use those variables in components. Do not hard-code a value that has a token. For non-CSS stacks, map the same token names in the theme file of the platform.design.md is the source of truth; if code and file disagree, fix the code or update the file with the user's agreement.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/align-intentUse when: requirements, scope, inputs, outputs, success criteria, or non-goals are unclear before coding or starting a new feature./checkpointUse when: recording progress, Git deltas, evidence, blockers, and next actions after meaningful work or before a context change./compress-inputUse when: user asks for compressed communication, lite/full/ultra/wenyan brevity, short answers, low-noise updates, terse commits, terse PR review comments, or direct technical communication./council-loopIterative multi-model review loop across different AI providers that convenes a council of delegate models, collects structured findings, fixes issues minimally, and loops until all reviewers agree on correctness. Use when the user says "council", "council loop", "council-loop", "multi-model review", "review loop", "loop until agree", or asks for consensus code review from multiple providers, even if they do not say council-loop./diagnoseFinds the root cause of a failure before any fix: reproduces it, reads the full error, traces where it starts, tests one hypothesis at a time, then fixes the cause and records the reproduction passing. Use when a test fails or tests that passed before are now red, an error or stack trace appears, a build breaks, users report wrong results or a regression after a change or deploy, something got slow, or the user asks why something fails or behaves unexpectedly, even if they do not say diagnose or debug. Not for building a new feature; use tdd./evolvebookKeeps one guide per kind of job (a dev article, a landing page, a NestJS module) that improves every run: asks a short brief, blocks repeats of past runs, checks the result, and records approved examples, never-rules and mistakes. Use when the user runs /evolvebook; asks to create, use, list, link or export an evolvebook; says 'add this as a good example' or 'never do X again' about a kind of job; starts a task that matches a book listed in EVOLVEBOOKS.md; or has done the same kind of job 3 times without a book, even if the user does not say evolvebook.npx claudepluginhub mouad1/moskills --plugin moskillsOther plugins' skills for the same job