PD

pymodel/designer-skill

开发工具
33 stars 0 forks 质量 55 趋势 55

Plug-and-play MCP that gives your coding agent UI superpowers. One-line install, zero config. Claude Code, Codex, Cursor, VS Code, and more.

概览

dispatch_intent maps vague requests like "make it pop" or "it feels off" to the right design verb and reference files. 15 reference files cover type, color, motion, a11y, anti-slop, and redesign loops. Your agent reads the right file before writing UI code. A 44-rule deterministic detector plus anti_slop_checklist runs before shipping. Generic UI gets caught before it lands. is a small MCP server you add in one line. Your agent gets design tools, reference docs, and a ship gate so UI work stops looking generic. Add the server. Ask in plain language. The agent handles the rest. pythinker.com — a live production site designed end-to-end with this skill. One install gets both the skill and the MCP server: Then install from the marketplace in /plugins. The skill appears as designer-skill:designer-skill.

README

designer-skill-mcp is a small MCP server you add in one line. Your agent gets design tools, reference docs, and a ship gate so UI work stops looking generic.

flowchart LR
  A[Your prompt] --> B[dispatch_intent]
  B --> C[get_reference]
  C --> D[Build / polish UI]
  D --> E[anti_slop_checklist]
  E --> F[Ship]
  style A fill:#f8fafc,stroke:#94a3b8,color:#18181b
  style B fill:#eff6ff,stroke:#3b82f6,color:#1e3a8a
  style C fill:#faf5ff,stroke:#7c3aed,color:#4c1d95
  style D fill:#fff7ed,stroke:#e87a3d,color:#7c2d12
  style E fill:#ecfdf5,stroke:#10b981,color:#065f46
  style F fill:#f1f5f9,stroke:#64748b,color:#0f172a

Add the server. Ask in plain language. The agent handles the rest.

Skills CLI

npx skills add PyModel/designer-skill --skill designer-skill

One install gets both the skill and the MCP server:

/plugin marketplace add PyModel/designer-skill
/plugin install designer-skill@pymodel

Codex CLI:

codex plugin marketplace add PyModel/designer-skill

Then install designer-skill from the pymodel marketplace in /plugins. The skill appears as designer-skill:designer-skill.

Cursor: install from the marketplace (or open this repo). Plugin ships mcp.json, skills, and /designer-setup · /designer-status commands.

Plug in (any client)

Same one-liner everywhere. No API key. Repo-root mcp.json is the canonical MCP config (plugins reference it too):

{
  "mcpServers": {
    "designer-skill": {
      "command": "npx",
      "args": ["-y", "@pymodel/designer-skill-mcp@latest"]
    }
  }
}

Updates: @latest for newest npm; pin @0.15.0 for teams. Plugin skill content updates separately (/plugin update …). Registry: io.github.pymodel/designer-skill-mcp (publish via mcp-publisher after npm release).

Skill-only

cp -r skills/designer-skill/ ~/.claude/skills/designer-skill/   # Claude Code
cp -r skills/designer-skill/ ~/.codex/skills/designer-skill/     # Codex

Invoke with the Skill tool or $designer-skill on design tasks.

Invoke

Files

Intent → verb

Preflight

Resources: designer://skill · designer://reference/{name}

Prompt: design (args: task required, aesthetic optional)

cd designer-skill-mcp
npm install
npm run build   # syncs skills/designer-skill/ → assets/skill/, compiles TypeScript
npm test

HTTP mode (remote clients):

node dist/index.js --http --port 3017             # 127.0.0.1 (default)
node dist/index.js --http --port 3017 --host 0.0.0.0  # public: add auth/proxy

Endpoint: http://127.0.0.1:3017/mcp (Streamable HTTP). Includes Origin guard against DNS-rebinding; no built-in auth for public exposure.

Local checkout: replace npx with "command": "node", "args": ["/abs/path/to/designer-skill-mcp/dist/index.js"] in any config above.

View this README on GitHub

安装

npx -y @pymodel/designer-skill-mcp@latest

配置

{ "mcpServers": { "designer-skill": { "command": "npx", "args": ["-y", "@pymodel/designer-skill-mcp@latest"] } } }