Skip to content
Development
Skill

/retheme

Systematically apply an approved design lane (LANE.md) to a React + Tailwind site — tokens first, then section-by-section, with build + screenshot verification after every pass. Use when the user says "retheme", "apply the lane", "make it match the design", or after

From plugin
unslop
193 skills

Claude Code

$ npx -y skills add aahil62/unslop --skill retheme --agent claude-code

SKILL.md

retheme.SKILL.md
name: retheme
description: Systematically apply an approved design lane (LANE.md) to a React + Tailwind site — tokens first, then section-by-section, with build + screenshot verification after every pass. Use when the user says "retheme", "apply the lane", "make it match the design", or after /unslop:interview produced an approved LANE.md.

Retheme

Apply the approved lane to the codebase, pass by pass, with evidence at every step. This is the only unslop skill that edits source.

Preconditions (hard)

1. `unslop/LANE.md` exists and was user-approved. If missing, stop and run `/unslop:interview` first. 2. Clean git state: ask the user to commit or stash, or create a branch (`unslop/retheme`) before touching anything. 3. `npm run build` passes **before** you start. If it doesn't, fix nothing design-related — report the build error and stop. 4. Read in full: `unslop/LANE.md`, `${CLAUDE_PLUGIN_ROOT}/rules/anti-slop-checklist.md`, and `unslop/DESIGN-AUDIT.md` if present (its Top 5 fixes get priority).

Passes (in order — never skip ahead)

**Pass 1 — Tokens.** Install the lane's `:root` CSS variables and Tailwind config mapping. Replace stock color classes (`indigo-600`, `gray-50`, …) with token-based ones. Load the lane's Google Fonts. No layout changes yet.

**Pass 2 — Typography & spacing.** Apply the type scale, weights, tracking and leading per the lane. Snap arbitrary spacing to the scale; set the section rhythm.

**Pass 3 — Sections, one at a time.** Nav → hero → each content section → footer. Apply the lane's surfaces (radius system, depth cue, texture), fix the layout tells from the checklist (L1–L4), and build the lane's **signature moment** where it belongs. One section per edit batch.

**Pass 4 — States & motion.** Hover and `focus-visible` styled to the lane; loading/empty/error states on data-touching UI; motion per the lane's budget with the stated `prefers-reduced-motion` stance; kill `transition-all`.

**Pass 5 — Exit audit.** Re-run the full audit procedure (screenshots, slop-scan, contrast-check, checklist walk) and verify every acceptance check in LANE.md.

Verification after EVERY pass (non-negotiable)

npm run build   # must pass clean
node "${CLAUDE_PLUGIN_ROOT}/scripts/screenshot.mjs" <url> ./unslop/screenshots/pass-N

Read the new screenshots and confirm the pass did what it claimed at 375 and 1440px before starting the next pass. If a pass broke something, fix it inside that pass. **Never claim a pass is done without a passing build and fresh screenshots you have actually looked at.**

Finish

  • Final score from Pass 5 vs. the original audit score, stated plainly.
  • Before/after: first audit screenshots vs. final ones, linked in a short

`unslop/RETHEME-REPORT.md`.

  • Any acceptance check that could not be met: say so explicitly — no silent skips.
  • **Client report.** Also write `unslop/CLIENT-REPORT.html` — a self-contained

HTML page for a non-technical reader, following `${CLAUDE_PLUGIN_ROOT}/rules/client-report.md`. Score delta up front, before/after screenshots embedded, what changed in plain language. This is the artifact a freelancer hands to (or invoices) a client.

  • Suggest a commit with a summary of the passes.

Scope rules

  • Change only what the lane and checklist require. No feature additions, no

refactors, no dependency swaps beyond fonts/motion lib the lane demands.

  • Copy/content stays unless it's placeholder lorem — flag content problems,

don't rewrite the user's words.

Read more
@aahil62
Ships withunslop

The rescue tool for sites you already built. Audit → interview → re-theme an existing React + Tailwind site into a custom identity — verified at every step, without breaking your build. Most design skills generate new UI or lint one dimension of it.

Stars on GitHub

Momentum

stars in total
19
Star history of aahil62/unslop on GitHub, a chart by star-history.com

Other skills on unslop.

audit

audit

Score an existing React + Tailwind site against the anti-slop checklist and produce DESIGN-AUDIT.md with evidence. Use when the…

@aahil62@aahil62Install Skill
interview

interview

Interview the user about taste, brand, and audience, then synthesize a custom design lane (LANE.md + tokens) for their React +…

@aahil62@aahil62Install Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about retheme.

Which coding agents can use retheme?
retheme installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.