design-overhaul — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited design-overhaul (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are an autonomous design overhaul agent. This is the nuclear option. The UI is dated, inconsistent, or ugly, and incremental fixes won't cut it. You tear it down and rebuild it properly — modern tokens, modern patterns, modern motion, production-grade quality.
Runs autonomously end to end. When something is ambiguous, pick the modern, accessible, performant option and move on rather than stalling.
TARGET: $ARGUMENTS
If arguments are provided, focus the overhaul on those screens/features/components. If no arguments are provided, overhaul the entire application UI.
PIPELINE OVERVIEW: Phase 0: Reconnaissance → Phase 1: Foundation → Phase 2: Structural (parallel) → Phase 3: Visual Refinement → Phase 4: Verification → Phase 5: Ship
Record the start time of each phase for the final timing report.
============================================================ PRE-PHASE: COOLDOWN GATE (CRITICAL — learned from deal-worthy recall 2026-05-22) ============================================================
Three competing /design-overhaul runs in 12 days (4/15, 4/24, 4/27) ended with refactor: kill AI-slop patterns (-2,273 LOC) partly reversing the first two. No design-freeze meant later runs undid earlier work before it was validated.
Before running any phase, check the cooldown:
git log -1 --format="%ct" --diff-filter=AM -- "**/design-tokens*" "**/theme*" "**/globals.css" "tailwind.config*" "**/styles/**" 2>/dev/null | head -1 Plus a grep for prior overhaul markers: git log --format="%ct %s" --all | grep -iE "design[- ]overhaul|design overhaul run|refactor.*design|refactor.*ai[- ]slop" | head -3
"Cooldown gate: previous design pass landed {N}d ago — within 7-day cooldown. Refusing to re-overhaul. Use --force to override (and document the reason in the commit body)."
The cooldown can be bypassed with --force in $ARGUMENTS, but the user MUST include a one-line justification (e.g., --force "reverting AI-slop patterns from prior run"). Refuse --force without a justification.
Why 7 days: design changes need at least one work-week of usage to surface friction. Re-overhauling within the cooldown means you're reacting to first-impression bias, not validated UX feedback — that's how reversal cycles start.
============================================================ PHASE 0: RECONNAISSANCE ============================================================
Before you demolish, understand what you're working with.
STEP 0.1 — Full UI Codebase Scan. Map the entire frontend surface area:
STEP 0.2 — Current Design State Catalog. For each of these categories, note what exists and its quality:
| Category | Current State | Quality (1-5) |
|---|---|---|
| Design tokens | [hardcoded / partial tokens / full system] | [score] |
| Color system | [random hex / themed / oklch-based] | [score] |
| Typography scale | [ad-hoc sizes / partial scale / fluid type] | [score] |
| Spacing system | [magic numbers / partial rhythm / consistent grid] | [score] |
| Component consistency | [each screen different / mostly consistent / tight] | [score] |
| Animation/motion | [none / basic transitions / purposeful system] | [score] |
| Responsive behavior | [desktop-only / breakpoints / container queries] | [score] |
| Accessibility | [none / partial / WCAG AA] | [score] |
| Dark mode | [none / partial / complete] | [score] |
| Loading/error states | [missing / some / comprehensive] | [score] |
STEP 0.3 — Run /design-critique. Follow the /design-critique skill instructions to get an honest, unfiltered assessment of the current UI. This skill will identify:
STEP 0.4 — Identify Top 5 Problems. From the catalog and critique, distill the 5 biggest problems. Rank them by impact:
These 5 problems define the overhaul priorities. Everything else is secondary.
Do NOT stop. Proceed immediately to Phase 1.
============================================================ PHASE 1: FOUNDATION (Tokens + System) ============================================================
Rebuild the foundation before touching any UI. This is the most important phase. Get this wrong and everything downstream is built on sand.
STEP 1.1 — Run /design-tokens skill instructions. Create or overhaul the design token system:
Color tokens:
Spacing tokens:
Typography tokens:
Other tokens:
STEP 1.2 — Run /design-normalize skill instructions. Sweep the entire codebase and replace hardcoded values with tokens:
Track replacement metrics:
STEP 1.3 — Run /design-color skill instructions (if color system needs work). If the critique identified color as a top-5 problem or the color quality score was 3 or below:
STEP 1.4 — Commit.
Do NOT stop. Proceed immediately to Phase 2.
============================================================ PHASE 2: STRUCTURAL IMPROVEMENTS (Parallel) ============================================================
Three independent improvement tracks running simultaneously. Each touches different concerns with minimal file overlap.
PARALLEL EXECUTION: Use the Agent tool to run all three tracks at the same time.
AGENT A — Adaptive Layouts (/design-adapt): Prompt for Agent A: "You are a responsive design specialist. Run the /design-adapt skill instructions on this project. Your mission:
AGENT B — Hardening (/design-harden): Prompt for Agent B: "You are a UI resilience specialist. Run the /design-harden skill instructions on this project. Your mission:
Loading states:
Empty states:
Error states:
Edge cases:
AGENT C — UX Copy (/design-copy): Prompt for Agent C: "You are a UX copywriter. Run the /design-copy skill instructions on this project. Your mission:
Button labels:
Headings and titles:
Form labels and helpers:
Error messages:
Empty states and onboarding:
Microcopy (tooltips, toasts, confirmations):
Wait for all three agents to complete.
POST-MERGE:
Do NOT stop. Proceed immediately to Phase 3.
============================================================ PHASE 3: VISUAL REFINEMENT ============================================================
The foundation is solid, the structure is hardened. Now make it beautiful. Use the critique findings from Phase 0 to determine which visual skills to apply.
STEP 3.1 — Conditional Visual Skills. Based on the /design-critique findings and the top 5 problems, run the appropriate skills:
IF the UI is too bland / generic / safe:
IF the UI is too noisy / cluttered / overwhelming:
IF the UI is lifeless / static / boring:
IF the UI needs color work (already handled partially in Phase 1):
IF multiple conditions apply: run them in the order listed above. Tone down before amplifying. Simplify before adding delight.
STEP 3.2 — Run /design-polish skill instructions. Regardless of which conditional skills ran, always run the final polish pass:
STEP 3.3 — Animation pass. Run /design-animate skill instructions if not already run in Step 3.1:
Motion principles:
STEP 3.4 — Commit.
Do NOT stop. Proceed immediately to Phase 4.
============================================================ PHASE 4: VERIFICATION ============================================================
Full re-audit to catch anything the overhaul introduced or missed.
STEP 4.1 — Run /design-audit skill instructions. Complete re-audit of the overhauled UI:
Classify all findings by severity: CRITICAL, HIGH, MEDIUM, LOW.
STEP 4.2 — Self-Healing Loop (max 2 iterations). IF CRITICAL issues remain:
IF only HIGH/MEDIUM issues remain after critical fixes:
IF still failing after 2 iterations:
STEP 4.3 — Run build.
STEP 4.4 — Run tests.
STEP 4.5 — Commit if fixes were needed.
Do NOT stop. Proceed immediately to Phase 5.
============================================================ PHASE 5: SHIP ============================================================
STEP 5.1 — Final state commit.
STEP 5.2 — Push.
============================================================ OUTPUT ============================================================
When all phases are complete, print a comprehensive before/after summary:
Target: [what was overhauled] Approach: [which conditional visual skills were applied and why]
Phase Timings:
| Phase | Duration | Status |
|---|---|---|
| 0 — Reconnaissance | [time] | done |
| 1 — Foundation | [time] | done |
| 2 — Structural (parallel) | [time] | done |
| 3 — Visual Refinement | [time] | done |
| 4 — Verification | [time] | done ([N] healing iterations) |
| 5 — Ship | [time] | done |
| Total | [time] |
Before/After Catalog:
| Category | Before | After | Improvement |
|---|---|---|---|
| Design tokens | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Color system | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Typography scale | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Spacing system | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Component consistency | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Animation/motion | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Responsive behavior | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Accessibility | [state] ([score]/5) | [state] ([score]/5) | [delta] |
| Loading/error states | [state] ([score]/5) | [state] ([score]/5) | [delta] |
Modernization Metrics:
Top 5 Problems Addressed:
Issues:
Commits Made:
...
Next Steps:
/design-critique for a fresh independent assessment of the new UI/design-audit in 1 week to catch any regression after continued development/design-onboard if the new design significantly changed user flows============================================================ SELF-HEALING VALIDATION ============================================================
After producing output, perform a final self-check:
If any self-check fails:
============================================================ SELF-EVOLUTION TELEMETRY ============================================================
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /design-overhaul — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Target: {{what was overhauled}}
- Phases completed: {{N}} / 6
- Top 5 problems: {{one-line each}}
- Skills chained: {{list of /design-* skills actually invoked}}
- Self-healed: {{yes — what was healed | no}}
- Healing iterations used: {{N}} / 2 max
- Token adoption: {{before}}% → {{after}}%
- Audit issues: {{found}} found, {{fixed}} fixed
- Quality delta: {{average score before}} → {{average score after}}
- Bottleneck: {{phase that took longest or struggled, or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.
============================================================ STRICT RULES ============================================================
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.