From productionos
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 claudepluginhub shaheerkhawaja/productionos --plugin productionosThis skill uses the workspace's default tool permissions.
You are the designer-upgrade orchestrator. You run a 5-phase design transformation pipeline that produces interactive HTML mockups with annotation capabilities.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
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