npx claudepluginhub xoai/sageThis skill uses the workspace's default tool permissions.
<!-- sage-metadata
Generate a structured UX brief for a feature before implementation — diagnosis + prioritized patches + success criteria — that downstream implementer agents (Sonnet, Qwen3.6, Haiku) execute without clarification. Invoked by architect/craft when the spec contains UI components. Solo frontend-design by default; combined mode (frontend-design + ui-ux-pro-max) for complex UI based on spec complexity tag.
Generates design briefs for UX/UI and product design projects covering overview, goals, user personas, constraints, success criteria, and deliverables. Includes generate/validate scripts.
Compares design system against category benchmarks for structured gap analysis, classifying elements as MUST/SHOULD/MAY keep or SHOULD improve. Use after ux-audit/ux-research.
Share bugs, ideas, or general feedback.
Translate evaluation findings into a design brief that the spec and plan skills can execute against. This is where analysis becomes direction.
Core Principle: A design brief bridges the gap between "what's wrong" (evaluation) and "what to build" (spec + plan). Without it, the developer interprets the evaluation themselves — and developers optimize for code elegance, not user experience. The brief makes design decisions explicit so implementation follows design intent.
After ux-evaluate and the user has confirmed classifications. Before the normal quick-elicit / specify flow. The design brief becomes an INPUT to the specification — enriching it with visual direction that the spec alone wouldn't contain.
Review the evaluation's classifications with the user. For each SHOULD IMPROVE item, confirm the direction:
"The evaluation found [N] items to improve. For each one, I'll propose a direction. Tell me if you agree or want something different."
For each priority improvement:
Current: [what exists now]
Issue: [why it should change — from evaluation]
Proposed direction: [specific change]
→ Agree / Adjust / Skip
Example:
Current: Hero shows animated image grid with tagline "Smart learning platform"
Issue: CTA is below fold. No clear value proposition. Category leaders
answer "what is this?" and "why should I care?" in the hero.
Proposed direction: Replace image grid with focused hero —
Headline: outcome-focused (e.g., "Ace your IELTS with AI-powered practice")
Subheadline: how it works in one line
Primary CTA: "Start Learning Free"
Trust badges: "100,000+ students" + award logos
→ Agree / Adjust / Skip
Record each decision.
Based on confirmed decisions, establish the visual direction:
## Visual Direction
### Color Direction
Keep: [brand colors that are MUST KEEP]
Change: [colors classified as MAY CHANGE or SHOULD IMPROVE, with new direction]
Add: [any new colors needed — e.g., a distinct CTA color]
### Typography Direction
Keep: [font family if it works]
Change: [size scale adjustments, hierarchy fixes]
Specific: [e.g., "Increase hero heading to 36px mobile / 56px desktop"]
### Layout Direction
Pattern: [e.g., "Full-width hero → Product cards grid → AI features →
Social proof → Reviews → CTA footer"]
Mobile-first: [describe the mobile layout, then how it expands]
Key change: [the biggest structural change from current]
### Component Direction
Keep: [components that work — e.g., "Course cards (add key metric)"]
Redesign: [components that need significant change]
New: [components that don't exist yet — e.g., "Trust badge bar"]
Remove: [components to eliminate — e.g., "Repeated background pattern"]
For each section of the redesigned page:
## Section Directions
### 1. Hero
**Current:** [description from audit]
**Direction:** [what it becomes]
**Must include:** [specific elements]
**Mobile:** [how it works on mobile]
### 2. [Section name]
**Current:** [description]
**Direction:** [what changes]
...
## Constraints
- Brand elements that MUST NOT change: [list from MUST KEEP]
- Technical constraints: [e.g., "Images from CMS via next/image",
"Must work for /vi/ and /en/ routes"]
- Performance targets: [e.g., "LCP < 2.5s, no layout shift on images"]
- Accessibility requirements: [e.g., "WCAG 2.2 AA, sequential heading
hierarchy, 44px touch targets"]
Save to .sage/work/<feature>/design-brief.md:
# Design Brief: [page/product] Redesign
**Based on:** design-evaluation.md (confirmed by user on [date])
**Prepared for:** [Sage specify + plan skills]
## Objective
[One sentence: what this redesign achieves]
Example: "Modernize the Prep homepage to improve conversion by
clarifying the value proposition above the fold and strengthening
social proof."
## User Decisions
| Item | Classification | Decision | Direction |
|------|---------------|----------|-----------|
| Brand colors | MUST KEEP | Keep | Orange palette stays |
| Hero layout | SHOULD IMPROVE | Agreed | Outcome-focused hero with CTA above fold |
| Bee mascot | MUST KEEP | Keep | Retain in key positions |
| CTA placement | SHOULD IMPROVE | Agreed | Primary CTA above fold on all breakpoints |
| Section count | MAY CHANGE | Agreed | Reduce from 7 to 5 sections |
| ... | ... | ... | ... |
## Visual Direction
[from Step 2]
## Section Directions
[from Step 3]
## Constraints
[from Step 4]
## Success Criteria
[from evaluation priorities — measurable outcomes]
1. CTA visible above fold on mobile (375px)
2. LCP < 2.5s
3. WCAG 2.2 AA compliance
4. Social proof visible within first viewport on desktop
Show the complete brief. This document feeds directly into the specify
skill as additional input — the spec will reference it for visual
requirements alongside the functional requirements from quick-elicit.
"Here's the design brief. This will guide the spec and implementation. Ready to proceed to specification?"
ux-audit → ux-research → ux-evaluate → ux-brief
↓
design-brief.md
↓
BUILD workflow: scan → elicit → specify (reads design-brief) → plan → build
The design brief is an INPUT to specify, not a replacement for it. Specify adds functional requirements, acceptance criteria, and technical constraints. The brief adds visual direction, brand constraints, and design decisions. Together, they give the plan skill everything needed for task decomposition.
MUST (violation = implementation without design direction):
SHOULD (violation = vague brief):
MAY (context-dependent):
Communication style: Design direction language. Be visual and concrete — describe what the user will see and experience. Ground every direction in evaluation findings.
Good UX brief output:
Before presenting your output, check each quality criterion above. For each, confirm it's met or note what's missing. Present your findings AND your self-assessment:
"Self-review: [X/Y criteria met]. [Note any gaps and why they exist.]"