dezign0
v0.9.1
Published
Portable design capability layer for AI coding agents: design OS, craft rules, skills, CLI, MCP server and review tools
Maintainers
Readme
Dezign0
A portable design capability layer for AI coding agents. It gives an agent a design operating system, checkable craft rules, review templates and measurement tools, and packages them as a native OpenCode 2 / OpenChamber plugin plus installers for other harnesses.
Status: alpha. The kit, plugin, installer and review tools are usable today. The CLI, local studio and additional adapter integrations are next.
What is inside
- Design OS — a design read, brief, direction, design spec, build, critique, fix and handover loop.
- Craft rules — typography, color, layout, states, accessibility, motion and content rules with mechanical checks.
- Templates — brief, design spec, critique, handover, tokens and memory.
- Thirteen skills — brief, frontend design, redesign, critique, system extraction, state boards, Figma context, design language, template start, Figma-to-code, code handoff, visual review and media brief.
- Addon pack — 152 design languages plus starter templates, Figma bridge, React/Next/Vue handoff, visual review and media prompt/storyboard packs.
- Plugin — zero-dependency OpenCode 2 / OpenChamber integration that installs the kit into a project and registers the skills.
- Tools — a static linter and a Playwright-based rendered measurement tool.
Compatibility
- Core
dezign00.9.1 pairs with addon packdezign0-design-languages0.2.1. - The pack is optional; core skills and tools work without it.
- Design-system discovery checks the project
design-systems/, an installed pack, and the sibling source checkout.
Interfaces
- CLI:
npx dezign0 lint|measure|audit|doctor|systems|addons|new|exportwith--json, stable exit codes and no dependencies. - MCP server:
npx dezign0 mcpexposes lint, measure, doctor, systems, addons, content lint and token export over stdio. - GitHub Action:
.github/actions/dezign0-reviewruns a P0/P1 gate, uploads screenshots and writes one sticky review comment. - Lifecycle hooks: Claude
PostToolUse/Stopgates lint HTML and block P0 findings;stop_hook_activeprevents loops. OpenCode observesfile.editedandsession.idleand raises a warning toast. - Advanced tools:
dezign0 tool ingest|gallery|conformance|review|safety-scan|audit-matrix|compliance|context-report. - Evals:
npm run eval -- --adapter "..."reports WITH/WITHOUT deltas.
Quick start
OpenChamber / OpenCode 2 (native plugin)
In Settings → Plugins → Add plugin:
- From local path: the absolute path to this repo directory.
- From npm:
dezign0— live at npmjs.com/package/dezign0. The live0.9.0release is live;0.9.1removes the last branding comments from the core tarball. - From git (no npm publish needed):
github:Paatricious/Dezign0#v0.9.1. This is the current tool-enabled version; the repository is public.
Optional addon pack — 152 design languages plus templates, Figma bridge, handoff, review and media prompts. Install the release tarball in the project:
npm install https://github.com/Paatricious/Dezign0/releases/download/v0.9.1/dezign0-design-languages-0.2.1.tgzOnce [email protected] is published, npm install dezign0-design-languages is equivalent.
Or use the sibling design-languages/ folder in a source checkout.
Choose User or Project scope. On load the plugin copies the kit to .design-os/,
registers thirteen dezign0-* skills and five read-only tools (dezign0_lint,
dezign0_measure, dezign0_doctor, dezign0_design_systems, dezign0_addons).
It needs no npm dependencies; Playwright is optional for rendered measurement.
Details: plugin/README.md.
OpenCode 1.x
node design-os/install.mjs --target=../my-app --harness=opencode --with-agentsThen use /design-new, /design-review, /design-ship. Skills are installed at
.opencode/skills/<name>/SKILL.md.
DSH
node design-os/install.mjs --target=../my-app --harness=dsh --with-agentsIf your DSH build only discovers global skills, add --scope=global.
Other harnesses
The installer supports 12 targets (OpenCode, Claude Code, Codex, Cursor, Windsurf/Devin, Cline, Roo, OpenHands, Aider, DSH, Gemini CLI, files-only):
node design-os/install.mjs --target=../my-app --harness=cursor --with-agentsClaude Code plugin
/plugin marketplace add Paatricious/Dezign0
/plugin install dezign0@dezign0This uses .claude-plugin/ and updates through the marketplace. A
SessionStart hook bootstraps .design-os/ in the project so the skills resolve.
Claude Code / Codex (installer fallback)
node design-os/install.mjs --target=../my-app --harness=claude --with-agents
node design-os/install.mjs --target=../my-app --harness=codex --with-agentsThe installer never installs Playwright or deletes files. It copies the kit to
.design-os/, installs the thirteen skills to the harness's native path and writes an
AGENTS.md fragment. Use --dry-run to inspect first.
How it works
The core loop is:
Design Read -> Brief -> Direction/Design System -> Design Spec -> Build
-> Self-check -> Critique -> Fix -> Handover -> MemoryA design task starts with a one-line read of the page kind, audience and visual language. It then becomes a numeric brief, a frozen design spec, a build and a five-dimension critique with measured evidence. The critique is fixed against the artifact, not the review text. The handover records the contract another agent needs to implement it.
Mechanical checks:
node .design-os/tools/design-lint.mjs path/to/artifact.html
node .design-os/tools/measure-artifact.mjs path/to/artifact.html --strictBring your own design systems
The core package does not bundle third-party design systems, templates, fonts, images or skill bodies. The optional design-languages pack adds all 152 the upstream catalog design systems with their Apache-2.0 license and attribution. Install it separately when you want the catalog.
Use the design-system extraction skill to create a DESIGN.md and tokens.css
for a brand, or select a prebuilt language with the design-language skill.
Repository map
| Path | What it is | |---|---| | design-os/ | The design operating system, craft rules, templates, skills, installer and tools | | plugin/ | Zero-dependency OpenCode 2 / OpenChamber plugin | | server.js | Directory plugin entrypoint used by OpenCode | | docs/ARCHITECTURE.md | Product layers, content strategy and roadmap | | docs/ADOPTION.md | Install and daily-loop instructions per harness | | docs/PUBLISHING.md | Publish to npm and install from OpenChamber's "From npm" field | | docs/VERIFICATION.md | What was tested, on which versions, and what is still a limit | | docs/figma.md | Optional Figma MCP bridge and evidence rules | | design-languages/ | Optional 152-package design-language pack from the upstream catalog | | CHANGELOG.md | Release history | | SECURITY.md | Threat model and reporting |
Roadmap
- Current: kit, installer, plugin, docs, npm packaging.
- Next:
dezign0CLI (init,add,new,measure) and a local studio for preview, library, comments and versions. - Later: brand extraction, reference browser, multi-agent critic and export.
Details: docs/ARCHITECTURE.md.
Licensing and credits
The repository is Apache-2.0 (see LICENSE). Prior-art credits are in ATTRIBUTION.md and design-os/ATTRIBUTION.md.
No third-party application code is included in the core package. The optional design-languages pack contains the upstream catalog under its own license and notice.
