← ClaudeAtlas

design-baselinelisted

Discover, validate, or draft a project-owned DESIGN.md before adding or revising UI in an existing frontend. Use during design-playbook initialization when a repository already has pages, components, themes, tokens, or styles; when new UI looks inconsistent with existing surfaces; when DESIGN.md may be missing, incomplete, conflicting, or stale; or when the user asks to generate a design system from existing frontend source. Produces a provenance-backed draft and requires confirmation before creating or replacing the durable baseline.
Bandersnatch0x/design-playbook · ★ 1 · Web & Frontend · score 57
Install: claude install-skill Bandersnatch0x/design-playbook
# design-baseline Establish one project-owned visual authority before UI decisions or Fill. Treat existing code and rendered pages as evidence, not as permission to silently rewrite `DESIGN.md`. ## Authority boundary | This skill owns | Does not own | | --- | --- | | Discovering and structurally validating project `DESIGN.md` | Functional success criteria (`spec` L1–L6) | | Extracting a draft from first-party frontend source | Third-party reference Keep/Change/Do not copy (`reference-intake`) | | Source hashes, observed/inferred labels, confidence, unresolved gaps | Component/template selection (`ui-picker`) | | Confirmation before a durable baseline write | Pass/Fail verdict (`ui-evaluator`) | Canonical authority is `<project-root>/DESIGN.md`. Accept `.stitch/DESIGN.md` as a compatibility candidate only. If both exist with different content, stop for an explicit user choice; never merge them silently. ## Deep module (SSOT for deterministic work) All path resolution, scanning, drafting, hashing, durable write, and re-verification live in one module: [`scripts/design_baseline.py`](scripts/design_baseline.py) Public interface: ```python prepare(project_root, run_root) -> state confirm(project_root, run_root, decision, reason=None) -> state verify(project_root, run_root) -> state ``` CLI: ```text python scripts/design_baseline.py prepare <project_root> <run_root> python scripts/design_baseline.py confirm <project_root> <run_root> --decision accept|waive [--reason ...]