skills/site-redesign/SKILL.md
Redesign a website/webapp with production-grade quality using an agent pipeline architecture. Each phase dispatches a specialized agent. Agents communicate through shared memory files in `_redesign/`. Context is handed off explicitly between phases.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers site-redesignInstall 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.
Redesign a website/webapp with production-grade quality using an agent pipeline architecture. Each phase dispatches a specialized agent. Agents communicate through shared memory files in _redesign/. Context is handed off explicitly between phases.
REQUIRES OPUS MODEL. If running on Sonnet or Haiku, STOP: "Site redesign requires Opus. Please switch to Opus before running /site-redesign."
$ARGUMENTS = project directory path (default: current directory)--phase N = skip to Phase N (reads existing _redesign/ context)--design-only = Phases 0-3 onlyAll agents communicate via files in _redesign/. Every agent reads _redesign/CONTEXT.md before doing any work. The orchestrator (main Opus agent) writes and updates this file between phases.
_redesign/CONTEXT.md — Master Context (written by orchestrator)PROJECT: [name]
CSS_FRAMEWORK: [Tailwind | CSS modules | styled-components | plain CSS] ← NEVER CHANGE THIS
TECH_STACK: [Next.js/React/Vue/etc.]
PACKAGE_MANAGER: [npm/pnpm/yarn]
SITE_SPECIFIC_COMMAND: [/mmalogic | /update-diamond | etc. | none]
ANTI_PATTERNS: [known bugs and regressions for this project]
PHASE_STATUS: [which phases completed]
Each agent writes _redesign/handoff_phaseN.md at the end of its work:
PHASE: N
AGENT: [type]
STATUS: complete | partial | failed
DECISIONS: [key decisions made]
FILES_WRITTEN: [list]
NEXT_AGENT_MUST_KNOW: [critical context for the next phase]
WARNINGS: [anything that could break if ignored]
~/Projects/site-to-repo-map.json — identify repo.package.json / config files._redesign/CONTEXT.md with all known values._redesign/ directory.Agent type: Explore
Input: _redesign/CONTEXT.md
Output: _redesign/phase1_discovery.md, _redesign/handoff_phase1.md
Dispatch prompt to Explore agent:
Read
_redesign/CONTEXT.mdfirst. Then map the entire codebase: all pages, all components, all data flows. Identify what works (KEEP), what's broken (FIX), what's ugly (REDESIGN). Screenshot every main page via browser tools. Document current color palette, fonts, spacing. Write findings to_redesign/phase1_discovery.md. End by writing_redesign/handoff_phase1.md.
Orchestrator reads handoff_phase1.md before proceeding.
Agent type: Main orchestrator (INTERACTIVE — requires user input)
Input: _redesign/phase1_discovery.md, _redesign/CONTEXT.md
Output: _redesign/phase2_direction.md
Do this yourself (no subagent) — user interaction required.
phase1_discovery.md — understand what currently exists.~/.claude/skills/frontend-design/SKILL.md — anti-generic rules. This is the creative north star.~/.claude/skills/impeccable-design/SKILL.md — AI slop detection checklist + deep reference library.~/.claude/skills/impeccable-design/reference/ (ALL mandatory):
typography.md — font alternatives, modular scales, fluid typecolor-and-contrast.md — OKLCH palettes, tinted neutrals, 60-30-10 rulespatial-design.md — 4pt base, squint test, container queriesmotion-design.md — timing rules, easing defaultspython3 ~/.claude/skills/ui-ux-pro-max/scripts/search.py "<project-type> <industry>" --design-system — get data-driven style/palette/font recommendations.brainstorming skill._redesign/phase2_direction.md with the chosen direction in full detail.Agent type: general-purpose
Input: _redesign/CONTEXT.md, _redesign/phase2_direction.md
Output: _redesign/THEME.md, updated config files, _redesign/handoff_phase3.md
Dispatch prompt:
Read
_redesign/CONTEXT.md— note CSS_FRAMEWORK, never change it. Read_redesign/phase2_direction.md— this is the chosen design direction. Read~/.claude/skills/impeccable-design/SKILL.md(includes design token generator) and~/.claude/skills/ui-ux-pro-max/SKILL.md. Build the design token system:
- If Tailwind: update
tailwind.configwith custom color/font/spacing tokens- If CSS modules: update shared variables file
- If plain CSS: update custom properties in globals.css
Create
_redesign/THEME.md— this is the single source of truth for all subsequent agents. Include: every color with hex + usage, font names + weights, spacing scale, shadow levels, animation timing. End by writing_redesign/handoff_phase3.md.
Orchestrator validates THEME.md exists and CSS framework was preserved before Phase 4.
Agent type: Multiple general-purpose agents (parallel where files are independent)
Input: _redesign/CONTEXT.md, _redesign/THEME.md, specific component files
Output: Updated component files, _redesign/phase4_progress.md, _redesign/handoff_phase4.md
Parallelism rule: Group components by independence. Components that share no files run in parallel. Components that share a CSS file run sequentially.
For EACH component group, dispatch:
Read
_redesign/CONTEXT.md— CSS_FRAMEWORK is [X]. This CANNOT change. Read_redesign/THEME.md— apply these tokens using the existing CSS framework. Do NOT convert Tailwind to inline styles. Do NOT convert CSS modules to any other approach. Update, do not rewrite.Components assigned to you: [list component files]
For each component:
- Read the current file fully before touching it
- Apply THEME.md tokens — swap classes/values, don't rewrite from scratch
- Handle all states: empty, loading, error, success
- Mobile-first responsive: 375px, 768px, 1280px
- Accessibility: ARIA labels, keyboard nav, contrast ratios
- Commit after every 2-3 components:
git add -A && git commit -m "redesign: [names]"Write progress to
_redesign/phase4_progress.md. Write_redesign/handoff_phase4.mdat the end.
Orchestrator validation after each agent: Check that no inline style={{}} objects were added where Tailwind classes existed. If framework was converted — revert and re-dispatch with stronger constraints.
Agent type: general-purpose (skip entirely if no API routes)
Input: _redesign/CONTEXT.md, _redesign/handoff_phase4.md
Output: _redesign/phase5_backend.md, _redesign/handoff_phase5.md
Dispatch prompt:
Read
_redesign/CONTEXT.md. Read~/.claude/skills/senior-backend/SKILL.md(includes architecture review protocol). Review all API routes for: security issues, performance problems, error handling gaps, frontend-backend contract mismatches. Fix P0/P1 issues directly. Write findings to_redesign/phase5_backend.md. Write_redesign/handoff_phase5.md.
Agent type: general-purpose
Input: _redesign/CONTEXT.md, all previous handoff files
Output: _redesign/phase6_testing.md, _redesign/handoff_phase6.md
Dispatch prompt:
Read
_redesign/CONTEXT.md. Read all_redesign/handoff_phase*.mdfiles — understand what was changed. Read~/.claude/skills/webapp-testing/SKILL.md. Run:
npm run build— must pass zero errors- Start dev server, visit every page via browser
- Check: console errors, broken layouts, missing data, wrong colors
- Site-specific rules from CONTEXT.md ANTI_PATTERNS — run each check
- Fix issues found. Commit fixes. Write
_redesign/phase6_testing.mdwith pass/fail per page. Write_redesign/handoff_phase6.md.
Agent type: Main orchestrator (screenshot tools required)
Input: _redesign/CONTEXT.md, _redesign/phase2_direction.md, _redesign/handoff_phase6.md
Do this yourself — screenshot and visual inspection tools are only available to the main agent.
phase2_direction.md — what mood/aesthetic was chosen?~/.claude/skills/screenshot-dissector/SKILL.md — methodical pixel examination.~/.claude/skills/impeccable-design/SKILL.md — run AI Slop Detection checklist (10 fingerprints).~/.claude/skills/design-critique/SKILL.md — run Nielsen's Heuristics scoring (/40) + cognitive load assessment + persona testing.Agent type: Main orchestrator
Input: All _redesign/ files
~/.claude/skills/website-guardian/SKILL.md — pre-deploy checklist.npm run build (or project's build command)./deploy or project's deploy method.~/.claude/anti-patterns.md.REDESIGN COMPLETE
=================
Project: [name] | Aesthetic: [name]
Fonts: [primary] + [secondary]
Colors: [dominant hex] + [accent hex] + [neutral hex]
Layout: [approach]
CSS Framework: [preserved — Tailwind/CSS modules/etc.]
Agent pipeline:
Phase 1 (Discovery): Explore agent
Phase 2 (Direction): Orchestrator + user
Phase 3 (Design System): general-purpose agent
Phase 4 (Components): [N] general-purpose agents ([M] parallel groups)
Phase 5 (Backend): general-purpose agent | skipped
Phase 6 (Testing): general-purpose agent
Phase 7 (Visual QA): Orchestrator
Phase 8 (Deploy): Orchestrator
Pages redesigned: [N] / [total]
Components updated: [N]
Backend fixes: [N]
Build: passing ✓
Verification:
- Desktop: [pass/fail]
- Tablet: [pass/fail]
- Mobile: [pass/fail]
- Accessibility: [pass/fail]
- Site-specific rules: [N/N passed]
Shared memory: _redesign/ ([N] files — direction, theme, handoffs, progress)
✅ Version bumped: v[old] → v[new]
✅ GitHub synced: committed and pushed (commit [SHA])
✅ Deployed: [method]
✅ Now live: verified at [URL]
_redesign/handoff_phaseN.md.tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.