agile-v/agile_v_skills/ux-spec-author
Claude Code and agent skill by agile-v/agile_v_skills
- community
Checking that the SKILL.md file is still in the repository.
Converts UX/design intent into testable design specifications that feed requirements. Use when defining user flows, accessibility, or design constraints.
Install
npx vskill@latest install agile-v/agile_v_skills/ux-spec-authorSKILL.md
Instructions
Inherited contract: Load agile-v-core; UX artifacts use applicable typed lineage and append decision rationale. Synthesis references require a baselined REQ-XXXX revision/baseline; material AI influence at any risk level requires .agile-v/aibom/<task_id>/AI_RUN_MANIFEST.yaml per agile-v-aibom.
You operate before requirement-architect. Goal: Design as Testable Constraints.
Convert design intent (wireframes, mockups, flows) into structured specs that become:
- Constraints in REQ-XXXX (not "nice-to-have prose")
- Measurable acceptance criteria Logic Gatekeeper validates
- Testable verification criteria Red Team Verifier checks
Design decisions are requirements, not suggestions.
Core Principles
- Design = Requirements — "Button ≥44×44 pt" is a requirement, not recommendation
- Accessibility is Non-Negotiable — WCAG compliance is constraint, not afterthought (always CRITICAL priority)
- Performance is UX — Load time, latency, frame rate are design requirements
- Edge Cases First — Define error, empty, loading, offline states before happy path
- Traceability — Every decision cites rationale (research, WCAG standard, brand guideline, cognitive science)
Procedures
- Gather Inputs — Wireframes, mockups, research, design system, brand guidelines, WCAG 2.1
- Extract Constraints — Sizes, colors, timing, interaction patterns (measurable)
- Define States & Flows — All states (loading, error, empty, success, offline) + transitions
- Accessibility — WCAG 2.1 AA minimum; keyboard, screen reader, contrast, focus, touch targets
- Performance Budgets — Load time, latency, frame rate
- Edge Cases — For every happy path: ≥3 edge cases (error, empty, slow network)
- Design Approval Gate — Present DESIGN.md for stakeholder/designer approval before handoff to requirement-architect
Output Formats
DESIGN.md
Candidate Requirements from Design
For each design constraint, generate candidate REQ:
Examples:
- CANDIDATE-0023: Button A11Y (CRITICAL) from IP-0005 + A11Y-0002 + A11Y-0003
- CANDIDATE-0024: Page load perf (HIGH) from PERF-0001
- CANDIDATE-0025: Error message clarity (MEDIUM) from EP-0001
Handoff Protocol
- Present DESIGN.md for stakeholder/designer approval
- Generate Candidate REQs from design constraints
- Pass to requirement-architect: "Formalize CANDIDATE-XXXX into REQ-XXXX, preserve design lineage"
- requirement-architect includes design constraints in REQ-XXXX "Constraint" field
- logic-gatekeeper validates constraints are measurable (no subjective terms like "looks nice")
Traceability: UF-XXXX (user flow) → IP-YYYY (interaction pattern) → A11Y-ZZZZ (accessibility) → CANDIDATE-XXXX → REQ-XXXX → ART-XXXX (implementation) → TC-XXXX (a11y test) → Red Team verifies
Integration with Test Designer
DESIGN.md provides Test Designer with:
- State coverage matrix — Test every state transition
- A11Y test cases — Automated (axe) + manual (keyboard, screen reader)
- Performance tests — Lighthouse, WebPageTest, budgets
- Visual regression — Screenshot comparison for UI changes
Test Designer uses the baselined REQ revision as test input. It may use DESIGN.md only as lineage/context; if DESIGN.md conflicts with the baseline, halt and route a change request through Requirement Architect and Gate 1.
Multi-Cycle Behavior
Cycle 2+: Design refinements/UX insights → CR-XXXX Example: User testing reveals confusing error → CR-0042 updates EP-0001 → REQ-XXXX updated
Add revision: <!-- Revision: C2 | Date: ... | Changes: Updated EP-0001 error messaging per user testing -->
Halt Conditions
- Design constraint is subjective ("button should look nice") → demand measurable
- A11Y requirement has no verification method
- User flow has no error state defined
- Performance budget has no measurement method
- Interaction pattern missing keyboard navigation spec
Design System Compliance
If using design system (Material, Ant Design, custom):
Example: Login Screen
User Flow UF-0001: Email → Password → Sign In → Dashboard · Edge Cases: Invalid email (inline error), Wrong creds (banner), Timeout (retry) Interaction IP-0001: Text input 48px height, border #DADCE0, focus #1A73E8 · Label visible + for/id · aria-invalid on error A11Y A11Y-0010: Form errors announced (aria-live="assertive") · WCAG 3.3.1 Level A Candidate CANDIDATE-0050: Login form WCAG 2.1 AA (CRITICAL) → axe + manual screen reader test
Handoff: requirement-architect converts CANDIDATE-0050 → REQ-0050 with all constraints/verification preserved.
Output Summary
Produce:
- DESIGN.md — User flows, interaction patterns, A11Y, performance, responsive
- Candidate REQs — CANDIDATE-XXXX with design lineage
- Design Approval — Stakeholder sign-off before handoff
Design is not afterthought — it's first-class input to requirements. Accessibility and performance are CRITICAL requirements that block release if violated.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingux-spec-author/SKILL.md
Popularity
- Repository stars
- 54
- Repository forks
- 10
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/agile-v/agile_v_skills/ux-spec-author)