skills/designer-upgrade/SKILL.md
Full UI/UX redesign pipeline — audits design, creates design systems, generates interactive HTML mockups, launches local browser for user interaction. Fuses /production-upgrade rigor with design agency methodology.
npx skillsauth add ShaheerKhawaja/ProductionOS designer-upgradeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the designer-upgrade orchestrator. You run a 5-phase design transformation pipeline that produces interactive HTML mockups with annotation capabilities.
This is one of ProductionOS's 4 primary commands. It can be invoked standalone or as part of /omni-plan-nth and /auto-swarm-nth.
target — Target frontend directory or repo (default: current directory). Optional.grade — Target design score (default: 10.0). Optional.focus — Focus areas: design-system | mockups | audit | full (default: full). Optional.mockup_views — Comma-separated list of views to mockup (default: auto-detect top 5). Optional.competitive — Number of competitor products to analyze (default: 5). Optional.Before executing, run the shared ProductionOS preamble:
.productionos/ for existing outputThen initialize the designer-upgrade output directory:
mkdir -p .productionos/designer-upgrade/{audit,mockups,self-eval}
Dispatch 5 parallel auditors:
| Agent | Role | Output | |-------|------|--------| | ux-auditor | Heuristic evaluation, user journey analysis, friction mapping | agent-1-ux-auditor.md | | design-system-architect | Token inventory, consistency check, component patterns | agent-2-design-system.md | | frontend-designer | Visual hierarchy, color harmony, typography, spacing | agent-3-frontend-designer.md | | comparative-analyzer | Competitor UI analysis, best-in-class patterns | agent-4-competitors.md | | performance-profiler | Render performance, bundle impact of UI, animation cost | agent-5-performance.md |
Each auditor must:
After all 5 complete, synthesize into .productionos/designer-upgrade/AUDIT-SYNTHESIS.md:
Are audit findings evidence-based? Score >= 8.0 to proceed. If < 8.0, self-heal loop (max 3).
Create or refine the comprehensive design system:
Generate tokens.css with CSS custom properties:
/* Colors */
--color-primary: ...;
--color-surface: ...;
--color-text: ...;
/* Typography */
--font-heading: ...;
--font-body: ...;
--font-mono: ...;
/* Spacing (4px base grid) */
--space-1: 4px;
--space-2: 8px;
/* ...etc */
/* Radii, shadows, transitions, z-index layers */
Document every UI component in the codebase:
| Component | Location | Props | Variants | Token Usage | Issues |
|-----------|----------|-------|----------|-------------|--------|
Document recurring UI patterns:
Write to: DESIGN-SYSTEM.md, tokens.css, COMPONENT-INVENTORY.md, PATTERN-LIBRARY.md
Is the design system complete and consistent? Score >= 8.0 to proceed.
Generate interactive, self-contained HTML mockups for each view:
Each mockup HTML file must include:
.productionos/designer-upgrade/mockups/Are mockups interactive, responsive, and annotatable? Score >= 8.0 to proceed.
Launch mockups for user interaction:
annotations.json with:
/browse skill is available, use it for automated visual QA:
Generate priority-ordered implementation plan from audit findings + user annotations:
# Implementation Plan
## P0 — Critical (must fix before any other work)
| # | Finding | Source | Effort | Files | Impact |
|---|---------|--------|--------|-------|--------|
## P1 — High (fix in current iteration)
| # | Finding | Source | Effort | Files | Impact |
|---|---------|--------|--------|-------|--------|
## P2 — Medium (fix in next iteration)
| # | Finding | Source | Effort | Files | Impact |
|---|---------|--------|--------|-------|--------|
## Annotation-Driven Fixes
[Fixes derived from user annotations in Phase 4]
## Design System Migration Steps
[Steps to adopt the new token system incrementally]
Is the implementation plan specific and prioritized? Score >= 8.0 to declare success.
Dispatch quality-loop-controller to monitor the entire pipeline:
FAIL: {agent}. Continue with remaining auditors. Degrade gracefully./production-upgrade instead.Escalate when:
/security-auditFormat:
STATUS: BLOCKED | NEEDS_CONTEXT
REASON: [what went wrong]
ATTEMPTED: [what was tried, with results]
RECOMMENDATION: [what to do next]
.productionos/designer-upgrade/
audit/
agent-1-ux-auditor.md
agent-2-design-system.md
agent-3-frontend-designer.md
agent-4-competitors.md
agent-5-performance.md
AUDIT-SYNTHESIS.md
DESIGN-SYSTEM.md
tokens.css
COMPONENT-INVENTORY.md
PATTERN-LIBRARY.md
mockups/
index.html
{view-name}.html (per view)
annotations.json (user feedback)
IMPLEMENTATION-PLAN.md
self-eval/
{timestamp}-{phase}.md
CONVERGENCE-LOG.md
tools
Implementation planning workflow that turns approved ideas into dependency-aware execution plans.
development
Local RAG and Graph RAG over the SecondBrain wiki vault. Progressive context loading (hot cache -> index -> domain -> entity). Graph traversal via wikilink resolution. Use when agents need cross-project context, when answering questions that span multiple domains, or when building context for planning tasks. Triggers on: "wiki context", "cross-project context", "what do we know about", "check the wiki", "graph context", "/wiki-rag".
devops
UX improvement pipeline — creates user stories from UI guidelines, maps user journeys, identifies friction, dispatches fix agents. The user-experience equivalent of /production-upgrade.
development
Test-driven development workflow that writes failing tests first, implements minimally, and refactors safely.