design
Generate HTML + MD design docs for a feature or PR, matching the repo's existing design doc style. Always produces both formats in parallel.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- design
- description
- Generate HTML + MD design docs for a feature or PR, matching the repo's existing design doc style. Always produces both formats in parallel.
03 SKILL.md 正文
Generate a design reference doc for the current feature or PR.
Always produce both HTML and MD in parallel — this is the core contract of this skill.
Steps
-
Understand the feature — read relevant source files, PR description, roadmap/plan docs.
-
Check existing style — look in
docs/design/for.htmlfiles. Match CSS variables, card/grid layout, section patterns exactly. -
Determine slug — use the feature/PR name as a kebab-case slug (e.g.
autonomy-gaps,agent-gemini-plugin). -
Write both files in parallel (single message, two Write tool calls):
docs/design/<slug>.htmldocs/design/<slug>.md
-
HTML structure (match
docs/design/agent-gemini-plugin.htmlas canonical reference):- CSS root tokens:
--bg #f2efe7,--panel #fffdf8,--ink #1f1a16,--muted #6f6357,--brand #165a72,--line #dfd3c2 - Hero section: h1 title, muted subtitle, tag pills (PR ref, key files, line delta, status)
- Overview grid: one card per sub-feature/gap with priority badge and description
- Per-feature sections with
section-labeldividers: before/after code blocks, tables, flow diagrams - Summary section: what-changed table +
.calloutwith honest capability claim - Responsive:
.grid.two,.grid.three,.grid.fourbreakpoint at 900px
- CSS root tokens:
-
MD structure:
- No frontmatter
- H1 title with metadata block (PR, branch, date, beads, delta)
---dividers between major sections- Per-gap H2 with before/after code blocks and tables
- Summary table at end
-
Commit both to the current branch and push.
Invocation
/design
With slug override:
/design my-feature-name
04 同仓库更多 Skills
instinct
Use when the user invokes /instinct or /in, or asks to "message Instinct", "ask Instinct", "tell Instinct", "check Instinct", or read replies from the configured peer assistant. iMessage first, WhatsApp Web as fallback.
hr
Compatibility alias for history-resume; produce the same fresh-state, provenance-aware resume briefing.
history-resume
Resume briefing for the current repository branch or worktree using fresh state and admitted history sources.
grok
Alias for the canonical grokbot browser conversation workflow; /grok talks to the Grok bot the same way /dot talks to Dot.
codexa-bench
Compare `codexa` and normal `codex` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.