DSH Plugin Store
Back to home

Bandersnatch0x

design-playbook

Design I/O plugin for Claude Code & coding agents — declarations + contracts that make UI generation constrained, reviewable, and recirculatable. Not a style pack; composes with ui-ux-pro-max + frontend-design.

Stars
1
Language
Python
Created
Jul 15, 2026
Updated
Aug 14, 2026
Skills
GitHub repo

Introduction

design-playbook — Design I/O for coding agents

🎴 design-playbook

Design I/O for coding agents — declarations + contracts that make UI generation constrained, reviewable, and recirculatable.

Version License Plugin Skills Commands Codex

Not another style/palette pack. Compose with ui-ux-pro-max + frontend-design; this plugin owns the pipeline and acceptance.


✨ What it is

A Claude Code / Codex plugin. One predictable pass per run — Design I/O: design-baseline? → reference-intake? → ux-spec? → plan? → (native-craft?) → ui-picker → (preview*) → fill → craft-guard → (observe*) → ui-evaluator, where acceptance points back to the declaration that owns each failure, and blocking findings recirculate until closed. ? = conditional entry (design-baseline? for UI work in an existing product; reference-intake? when screenshot/URL/design/product analogy is present); preview*/observe* run only when their optional MCP adapter is present (preview_prototype before Fill, execute_capture_plan after craft) — otherwise skipped. preview* is a human-in-the-loop confirm gate (G5); observe* captures criterion-addressable runtime evidence into a manifest the evaluator binds to a criterion (G6).

  • Declarations (what good is): spec · domain · craft · design · components · template
  • Contracts (how work enters the pipeline): skill (timing) · evaluator (acceptance + recirculate)

🎬 Try it: /design-playbook:design-io <your ask> — one pass lands spec.md, a decision report, and a point-back ledger under .scratch/<run>/ (artifact shape: showcase/01-spec.md). See it run on a real project: the showcase/ folder is a full Design I/O pass against SwarSight — spec, decision report, and point-back critique with a closed recirculate trail.

📦 Install

Claude Code

/plugin marketplace add https://github.com/Bandersnatch0x/design-playbook.git
/plugin install design-playbook@design-playbook

Codex

codex plugin marketplace add Bandersnatch0x/design-playbook
codex plugin add design-playbook@design-playbook
Local dev / self-test

The marketplace catalog lives at the repo root (not the package):

claude --plugin-dir <abs>/packages/design-playbook          # dev load, no install
/plugin marketplace add <abs-to-repo-root>                 # local marketplace
/plugin install design-playbook@design-playbook

codex plugin marketplace add <abs-to-repo-root>
codex plugin add design-playbook@design-playbook

Codex bridge notes: packages/design-playbook/codex/AGENTS.md.

Invoke namespaced: /design-playbook:design-io <ask>. Bare /design-io is a --plugin-dir dev alias only.

🧩 Skills & commands

Eight model-invoked skills (/design-playbook:<name>):

SkillRole
design-playbook🎯 Orchestrator (full pipeline)
design-baseline🧭 Discover, validate, or draft project DESIGN.md before existing-product UI work
reference-intake📎 Reference contract (screenshot/URL/analogy → Keep/Change/Do not copy)
ux-spec📋 Six-layer spec declaration
ui-picker🧱 Shell + component semantics
craft-guard🛡️ Craft / anti-AI-slop
native-craft🖥️ Native-feel desktop declaration
ui-evaluator✅ Point-back acceptance + recirculate

Commands: design-io (full pipeline) · ux-spec (spec only) · ui-review (accept only) · run-review (cross-run)

🔗 Stack with ecosystem

PackageUse for
design-playbookBaseline? → Reference? → Spec? → plan? → shell → optional preview* → fill → craft → optional observe* → point-back
ui-ux-pro-maxStyle / palette / type search
frontend-designAnti-template visual direction
native-feel-skillFull native-feel depth (WebView, IPC, memory)

🔌 Adapters (bundled in v0.3+)

Preview and Evidence MCP runtimes ship inside the main plugin (packages/design-playbook/mcp/ + .mcp.json with ${CLAUDE_PLUGIN_ROOT}). Marketplace install therefore registers both tools without a second package. The orchestrator still probes and skips steps when a host has no MCP tools.

AdapterMCP toolEnablesNotes
design-playbook-previewpreview_prototypepreview* human confirm gate (G5)Bundled; needs system Edge/Chrome for the popup (falls back to default browser); sibling dir is a compatibility launcher
design-playbook-evidenceexecute_capture_planobserve* runtime evidence (G6) — needs Playwright + ChromiumBundled; capture still optional at runtime

Docs: preview · evidence

🗂️ Layout

.claude-plugin/marketplace.json   ← repo-root catalog (source: ./packages/design-playbook)
packages/design-playbook/         ← public plugin (skills, commands, mcp/, examples, showcase)
packages/design-playbook/mcp/     ← bundled Preview + Evidence MCP runtimes
packages/design-playbook-preview/ ← compatibility launcher + docs (G5)
packages/design-playbook-evidence/← compatibility launcher + docs (G6)
docs/agents/  docs/adr/           ← engineering shell (tracker, workflow, decisions)
CONTEXT.md  .scratch/             ← glossary, specs, tickets, dogfood logs

Runs land their artifacts under .scratch/<run>/ in your project — see the package README and SKILL.md steps 3, 5, 8.

Maintainer helpers: scripts/doctor.py (install health), packages/design-playbook/scripts/run_status.py (derive status/resume from run artifacts), scripts/release.py (tag gate), scripts/validate.py (static plugin surface).

Root = GitHub front door + engineering shell · Package = only runtime surface · product-* maintainer commands stay at root, never in the package.

📄 License

MIT (authored content). See LICENSE + NOTICE. No rights claimed over any third-party playbook corpus.


中文说明 · Showcase · Workflow