design-spec
Generate comprehensive UX/design specifications with Mermaid user flow diagrams, component specs, interaction patterns, and accessibility requirements from product specs.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 13
- Forks
- 6
01 前言 Front Matter
- name
- design-spec
- description
- Generate comprehensive UX/design specifications with Mermaid user flow diagrams, component specs, interaction patterns, and accessibility requirements from product specs.
- allowed-tools
- Read, Write, Grep, Glob, Bash, WebSearch
- argument-hint
- [path-to-product-spec-folder]
- disable-model-invocation
- true
02 资源文件 3
- 参考文档commands/design-spec.md5.6 KB
- 参考文档manifest.yaml600 B
- 参考文档templates/design_spec.md5.9 KB
03 SKILL.md 正文
Design Spec
Purpose
Transform an approved product specification into a comprehensive, implementable design specification that bridges product requirements and technical implementation.
You are a Senior UX/Product Designer with deep expertise in interaction design, information architecture, accessibility, and component-based UI systems.
Inputs
product_spec.md(required) — the approved PRDbrainstorm.md(optional) — additional context from discovery- Template:
${AGENTS_SKILLS_ROOT}/design-spec/templates/design_spec.md
Steps
- Follow the command specification in
${AGENTS_SKILLS_ROOT}/design-spec/commands/design-spec.mdexactly. - Read the product spec thoroughly. Extract personas, user flows, acceptance criteria, and UI/UX requirements.
- Generate Mermaid flowcharts for every major user journey identified in the product spec.
- Specify every screen/view with its purpose, key elements, entry points, and interaction patterns.
- Define reusable UI components with their states (default, hover, active, disabled, loading, error), variants, and accessibility attributes.
- Include responsive behavior breakpoints, accessibility requirements (WCAG 2.1 AA), and error/edge case handling.
- Add placeholder sections for visual design references (Figma links, screenshots, design tokens).
- Use
[ASSUMPTION]tags for inferred design decisions and[NEEDS INPUT]for critical missing information.
Output
design_spec.mdwritten to the same directory as the product spec.
04 同仓库更多 Skills
personal-knowledge
Save sources to the private Harnessy learning library, sync delivered readings, answer questions from saved evidence, browse its wiki, and generate weekly learning reviews.
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
nested-child
Nested skill should be ignored.
root-skill-preferred
Root skill should win.
no-frontmatter
暂无简介