/developer-skill-pack:ux-auto-improvefrom developer-skill-pack
Runs an automated improvement loop on a section of your app: reviews UX, DRY, modularity, speed, reliability, and missing user stories; judges proposals adversarially; implements survivors with regression tests; and produces narrated before/after walkthroughs.
Ships in developer-skill-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One round improves one section of the app (a feature area such as "Live
pages" or "Settings"). Run it under /loop to keep going section by section.
/ux-auto-improve # pick the next section not yet reviewed
/ux-auto-improve Live pages # review this section
The lead (you) owns choosing the section, checking claims, integration,
merging and the final report. Subagents do the reviewing, building and
recording. Every subagent gets an explicit model.
Several sections can be in flight at once (for example three): reviews and judging need no shared resources; builds use separate worktrees; only stacks are scarce. Keep at most one or two heavy stacks per machine, hand them out through a lock, and start the next section whenever one merges.
Use the argument, or the next unreviewed area. Keep a ledger at
docs/ux-auto-improve/ledger.md (section, date, PRs, videos) in the target
repo, or in a scratch folder if the repo should not carry it. Prefer recently
shipped areas that have had no UX pass.
Spawn one reviewer (sonnet; use opus or fable only when the section is an
architecture question). It reads the code and the plan docs, starts the app
(the project's demo/preview stack, never the user's live instance), seeds fake
data if needed, uses the section through a real browser, and screenshots it.
It answers, with file:line or screenshot evidence:
Output: at most 8 ranked proposals (problem with evidence, concrete change, user-visible effect, risk, size S/M/L) plus a screenshot list. Removing things counts as an improvement. No new product surfaces or speculative abstractions.
Lead check: reopen 2–3 of the strongest cited claims in the code yourself before passing them on.
Spawn one strong reviewer with the proposals file and screenshots. For each proposal it answers:
Output: approved work packages with a tightened spec each (exact behaviour, exact visible copy, files owned, the regression test that must fail first, what must NOT change), grouped so packages touch separate files; changed and rejected proposals with reasons; and a visual/UX regression checklist for testers (screens, states, light and dark, phone width).
Lead check: verify the reviewer's corrections that change the plan. A second reviewer often finds the first one's evidence came from bad seed data.
One sonnet implementer per package (merge tiny packages into a neighbour),
each in its own git worktree and branch, all launched in one message. Each brief
names: the spec section, owned files and other agents' files, failing
regression test first, focused tests and typecheck, a hand test in a real
browser (one demo stack at a time on a free slot; Storybook stories are fine
for isolated components), screenshots to a known folder, commit on the branch,
no push, no PR, no merge. Ask the first web implementer to write a
reusable, idempotent fake-data seed script so testers and the recorder can
reproduce the same states.
For every merged improvement, make a short narrated walkthrough (30–90 s):
Recording: drive the app with Playwright (recordVideo) or take a sequence of
agent-browser screenshots. Use a 1440×900 or 1920×1080 viewport, zoom so text is
readable on video, and pause on each state long enough to read it. Record the
before and after with one script, so the two clips show the same steps.
Annotate what the narration is talking about. A viewer cannot tell which
of twenty things on screen a sentence means. Whenever the narration points at
something ("the block below", "this badge", "the menu"), highlight it with the
bundled scripts/annotate.mjs. It dims the rest of the screen, draws a ring
around the element and adds a short caption (2–5 words, e.g. "No warning",
"Now: paused + date", "Menu moved here"). Hold each annotation 2–3 s, and clear
it before scrolling or navigating, because the overlay is fixed to the
viewport. Use one annotation at a time. Caption the problem in the before
clip and the fix in the after clip, on the same element.
import { annotate, clearAnnotations } from "./annotate.mjs";
await annotate(page, page.getByText("Payroll (paused)").locator(".."), "No warning");
await page.waitForTimeout(2500);
await clearAnnotations(page);
For stills and illustrations, put the same ring and caption into the image itself (draw it in the HTML before rendering).
Make keypresses visible. A viewer can't see a keyboard. Before each key
press, show it as a caption on the element it acts on ("Pressed j", "u marks it
unread"), and send exactly one press with Playwright's keyboard.press.
Check clips with contact sheets. Extract a frame every 2–3 s into one grid
image per clip (ffmpeg -vf fps=0.4,scale=640:-1,tile=3x3) and look at it: one
image shows whether every ring and caption landed, instead of opening many
stills.
Illustrations: render each slide as its own HTML file at 1920×1080 with
headless Chrome (--headless=new --window-size=1920,1080 --screenshot). Keep
one shared stylesheet; never build a slide by cutting text out of another
slide's file, or stray content from it shows up in the frame.
Code-only improvements (speed, DRY, reliability) get illustrations instead of screen recordings: simple diagrams rendered from HTML or SVG to PNG, one idea per frame, large type (at least 32 px at 1080p), at most about 6 boxes, the before and after shown side by side or as consecutive frames, with the change highlighted in one accent colour. No dense architecture diagrams.
Render the scenes with the bundled script:
# scenes.tsv: <png|mp4 path><TAB><narration>
skills/ux-auto-improve/scripts/make-video.sh scenes.tsv out/live-pages-paused.mp4
The voice is ElevenLabs "Rachel" (female) when ELEVENLABS_API_KEY is set;
UX_VOICE_ID picks another voice. Without a key it uses macOS say. Only narration
text is sent to the TTS service, so keep secrets and private data out of it.
Watch at least one scene of each video (or read back its frames) before
calling it done. Store videos outside a public repo unless the owner says
otherwise; link them in the report.
Report per improvement: what changed and why, tests, what was hand tested, the PR, the video path, and what remains unverified. Record deferred proposals and new user stories in the ledger, then start the next section.
git log for the commit that introduced the current behaviour before reversing it). Always let the judge re-read the code.keyboard.press before calling it an app bug.agent-desktop (headless by default). Prefer that over a desktop e2e suite that takes over the screen.git stash: the stash list is shared by every worktree, so one agent's stash pop can pull another agent's changes into its tree. Set work aside with git diff > file.patch instead. Before discarding stray changes, save them as a patch and check they match a committed branch.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dennisonbertram/developer-skill-pack --plugin developer-skill-pack18 skills in this plugin
/chiefTurn this session into the chief: it coordinates your OTHER Claude Code sessions on this machine. It shows what each session is doing, surfaces the questions they are blocked on, relays your answers, delegates big work to other sessions, and sends a notification when something needs you. Use when asked to 'be chief', 'run chief', 'coordinate my sessions', 'what are my sessions waiting on', 'what is blocked', or 'delegate this to another session'./coordinatorLaunch the coordinator — a pure-delegation control plane that plans, delegates, reviews, and learns. Use when asked to 'coordinate', 'plan and delegate', 'run the coordinator', 'use the state machine', 'start a structured session', or 'plan this work'./debugOther plugins' skills for the same job