design-validatelisted
Install: claude install-skill tstapler/dotfiles
# design:validate — 5-Layer Kitchen Drawing Validation
## What This Skill Does
Runs the layered validation pipeline from `research/synthesis.md` against the current
`output/kitchen/` drawings. Produces a unified report at `/tmp/kitchen-validate/report.md`
with a pass/fail verdict per layer.
**Layers:**
- **L1** — Programmatic clearance compliance (ezdxf geometry, no vision)
- **L2** — SVG text extraction (dimension labels injected into all prompts)
- **L3** — Claude dual-pass visual review (PNG spatial + text block)
- **L4** — Small-element checklist (GFCI, hood, outlets)
- **L5** — Human escalation flags (any LOW confidence item)
---
## Prerequisites
- `output/kitchen/` drawings are current: `pixi run permit-docs` was run after last spec change
- `~/.claude/skills/pdf-proof/.venv` has: ezdxf, Pillow, PyMuPDF (fitz), cairosvg
- `~/.claude/skills/freecad-review/scripts/` has: `extract_clearances.py`, `check_compliance.py`
---
## Step 1: L1 — Programmatic Compliance
Same as `design:review` Layer 1. Run `extract_clearances.py` and `check_compliance.py`
against `output/kitchen/kitchen_floor_plan_annotated.svg`.
```bash
~/.claude/skills/pdf-proof/.venv/bin/python3 \
~/.claude/skills/freecad-review/scripts/extract_clearances.py \
--svg /home/tstapler/Documents/711-N60th-Plans/output/kitchen/kitchen_floor_plan_annotated.svg \
--output /tmp/kitchen-validate/clearances.json
~/.claude/skills/pdf-proof/.venv/bin/python3 \
~/.claude/skills/freecad-review/scripts/check_