claude-design-extractlisted
Install: claude install-skill erclx/toolkit
# Design extract
## Guards
- If `.claude/DESIGN.md` already exists and has content beyond the seed template, stop: `❌ .claude/DESIGN.md already populated. Edit directly or archive the existing file first.`
- If `aitk` is not on PATH, stop: `❌ aitk CLI not found.`
## Step 1: read source signals in parallel
Read these from the project root, skipping any that do not exist:
- `CLAUDE.md`: voice, personality, spelling rules
- `.claude/REQUIREMENTS.md`: worldview and non-goals that shape visual intent
- `standards/prose.md`: tone constraints
- `src/ui.ts`, `src/ui.tsx`, `src/components/**`: color codes, typography, spacing constants
- `scripts/lib/ui.sh`, `scripts/lib/*.sh`: ANSI color codes, frame glyphs, spacing conventions
- `docs/agents.md`, `docs/index.md`: any output shape or framing rules already documented
- Any `*.css`, `tailwind.config.*`, or `theme.*` file at the project root
Run these reads in parallel. Do not speculatively recurse into every directory.
## Step 2: fetch the seed template
Run this from the project root:
```bash
aitk claude seeds list --json | jq -r '.[] | select(.path == ".claude/DESIGN.md") | .content'
```
Use the returned content as the target shape. Keep every section heading and every table header intact. The `aitk design render` parser depends on them.
## Step 3: fill the template
Walk each section once, pulling concrete signals from Step 1:
- **Personality**: one paragraph. Transcribe what `CLAUDE.md` and `.claude/REQUIREMENTS.md` say