No slash command · from mddesign
Bridges DESIGN.md design tokens into findings.md during UI work. Reads DESIGN.md, extracts relevant tokens (colors, typography, components), and appends a Design Context block so Claude sees design constraints.
Ships in mddesign. 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.
Runtime companion. Lives between DESIGN.md and findings.md.
You are running this skill when ANY of the following is true:
task_plan.md mentions UI keywords (button, card, modal, layout, color, typography, spacing, dialog, navigation, form, input, page, screen, theme, brand, design, component, header, footer, sidebar, hero, cta).Write or Edit against a file matching *.tsx|*.jsx|*.vue|*.svelte|*.html|*.css|*.scss./mddesign:inject.DESIGN.md at the project root (CWD)./mddesign:harvest to generate one from your codebase."DESIGN.md once.findings.md.## Design Context (case-sensitive).The block format:
## Design Context
> Auto-injected by MDDesign on <ISO timestamp>. Source: DESIGN.md.
> Phase trigger: <phase id or "manual">
### Tokens in scope
<bulleted list of token references with values, format `colors.primary = #3B82F6`>
### Component specs in scope
<for each touched component, copy its spec from DESIGN.md verbatim>
### Do's and Don'ts (relevant excerpt)
<copy the relevant Do/Don't lines from DESIGN.md if any>
> If you stray from these tokens, name the deviation explicitly in findings.md before writing code.
Edit with the old block as old_string and your new block as new_string.Edit to append: old_string is the file's last existing line, new_string is the same line followed by \n\n## Design Context\n....Write or Edit DESIGN.md. Reading only. Harvest is a different skill.Write or Edit task_plan.md. Read only.### Open token questions in findings.md.task_plan.md Phase 3 says "Build the primary CTA button on the landing page." DESIGN.md declares colors.primary = #4F46E5, components.button.backgroundColor = {colors.primary}, rounded.md = 6px. After this skill runs, findings.md gains:
## Design Context
> Auto-injected by MDDesign on 2026-04-23T10:14:00Z. Source: DESIGN.md.
> Phase trigger: phase-3
### Tokens in scope
- `colors.primary = #4F46E5`
- `colors.text-on-primary = #FFFFFF`
- `rounded.md = 6px`
- `typography.button = { fontFamily: Inter, fontSize: 16px, fontWeight: 600 }`
### Component specs in scope
**Button** (from DESIGN.md):
- backgroundColor: `{colors.primary}`
- textColor: `{colors.text-on-primary}`
- typography: `{typography.button}`
- rounded: `{rounded.md}`
- hover.backgroundColor: `{colors.primary-700}`
### Do's and Don'ts (relevant excerpt)
- Always use the primary color for the main page CTA.
- Never set fontSize on buttons outside the declared typography.button token.
> If you stray from these tokens, name the deviation explicitly in findings.md before writing code.
The agent now sees these constraints on every subsequent prompt because findings.md is in the planning-with-files attention loop.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (othmanadi/mddesign) — no native marketplace selected
npx claudepluginhub p/othmanadi-mddesign5 skills in this plugin
/design-harvestHarvests a DESIGN.md from an existing codebase, critiques it against the actual code, and applies safe quick-win fixes. Three modes harvest / critique / fix. Shells out to `npx @google/design.md lint` for structural validation; never reimplements Google's linter. The on-ramp that makes DESIGN.md adoptable for every existing repo, not just greenfield projects./memory-layerThree-tier memory layer for the orchestrator. Routes scratch (file-tier), WHERE (QMD), and WHY (MemPalace) through the existing code-memory-router slash command. Never edits planning files directly. Every WHY-tier promotion goes through the HITL gate./session-handoffMakes sessions durable across `/clear`, machine reboots, and IDE switches. SessionStart catchup pulls scratch + last MemPalace recall + planning files into context. Stop promotion writes a handoff note and runs memory-keeper. Manual `/mddesign:handoff` re-runs either at any time.Other plugins' skills for the same job