@ozlevy/design.md
v0.4.2
Published
Installable design systems for AI agents — registry + CLI for publishing and adding DESIGN.md packages
Maintainers
Readme
design.md
Installable design systems for AI agents.
npx @ozlevy/design.md list
npx @ozlevy/design.md add stripe
npx @ozlevy/design.md info stripe
npx @ozlevy/design.md initCommands
| | |
|---|---|
| list | List all design systems in the registry |
| search <query> | Search the registry |
| info <slug> | Show details for a design |
| add <slug> | Install a design into the current project |
| remove | Remove the installed design from current dir (--force) |
| random | Install a random design |
| init | Scaffold a new design.md |
| validate | Validate the local design.md (5-rule check) |
| publish | Validate → render preview → push to GitHub via gh → submit |
Aliases: ls → list, rm → remove, install → add.
Render agents (publish --agent=<name>)
| | |
|---|---|
| builtin | Server-side OpenAI (default — needs server with /api/render/*) |
| codex | codex exec — OpenAI Codex CLI |
| claude | claude -p — Claude Code |
External agents run in a working dir containing design.md, BRAND.txt, optionally FEEDBACK.txt. The agent must write preview.html; the CLI waits for it.
Environment
| | |
|---|---|
| DESIGN_MD_API | Registry endpoint (default: https://design.yadbarzel.info) |
| DESIGN_MD_TOKEN | Auth token sent on publish |
| DESIGN_MD_AGENT | Default render agent |
| DEBUG=1 | Show full stack traces on errors |
License
MIT
