design-document

Generates UI/UX design documents with wireframes and WCAG contrast reports through multi-critic review loops.

2|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/DoctorMozg/claude-pipelines --skill design-document-doctormozg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-document
Source: https://github.com/DoctorMozg/claude-pipelines/tree/main/plugins/mz-design/skills/design-document
Command: npx skills add https://github.com/DoctorMozg/claude-pipelines --skill design-document-doctormozg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Producing a thorough UI/UX design specification requires coordinating research, drafting, accessibility validation, and expert critique — work that is slow and error-prone when done ad hoc. This Skill automates that pipeline, turning a short design brief into a complete, accessibility-verified design document. ## Core Features & Use Cases - End-to-end design pipeline: Researches the codebase and domain, drafts a 14-section design document, ASCII wireframes, Mermaid diagrams, and a computed WCAG 2.2 contrast report. - Parallel specialist critique: Four critics (UI, UX, art direction, accessibility) review each draft in parallel for up to 5 iterations, with a hard WCAG AA contrast gate. - User approval gate: Presents the finalized artifacts for explicit approval, with a feedback-revision loop before writing the final summary. - Use Case: Ask for a design spec for a new billing settings page; the Skill scans your existing component library and design tokens, drafts the spec, runs the critic loop until all reviewers pass, and delivers an approved document under .mz/design/. ## Quick Start Ask the AI to create a design document for the screen or flow you need, providing a short brief such as the page purpose and target users.

Frequently Asked Questions about design-document

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a UI/UX design document from a brief?

Invoke the skill with a short design brief describing the page, screen, or flow you need. It researches your codebase and domain, drafts a 14-section design document with wireframes and a contrast report, then refines it through specialist critics until approved.

What does the design document output include?

The pipeline produces design.md following a 14-section template, wireframes.md with ASCII wireframes and Mermaid diagrams, and wcag-report.md with computed contrast ratios for every color pair. A final-summary.md indexes all artifacts after user approval.

How is WCAG accessibility compliance enforced?

An accessibility-specialist critic recomputes every contrast ratio from scratch using the WCAG luminance formula and verifies all color pairs are reported. Any text pair failing the 4.5:1 AA-normal threshold triggers a hard gate failure that blocks finalization.

Can I give feedback on the generated design before it is finalized?

Yes. The finalized design is presented in an approval gate where you can approve, reject, or reply with feedback. Feedback dispatches a revision writer that updates the artifacts and re-presents them, looping until you explicitly approve.

When should I not use this design document skill?

Do not use it to implement designs in code, review existing design docs, or brainstorm directions without committing to a spec. It is also out of scope for print, brand, or industrial design work.

What happens if the critique loop does not converge?

The loop is capped at 5 iterations. If critics still report failures at the cap, the skill escalates to you with options to accept the design with unresolved findings logged, abort the task, or provide guidance for one final revision.