/agents:redesign-ui [phase: discovery | mockups | contract | frontend | backend | verify]from agents
Redesign an app's UI from scratch - a desktop GUI, a terminal TUI or a CLI's output - in four gated phases - discovery interview and design brief, SVG mockup review loop, frontend-backend contract, then frontend, backend and verification - with the Laws of UX, keyboard-only use and built-in help, on macOS and Linux. Requirements differ by kind. GUI gets 8 themes, windows and tabs; TUI gets one dark look on the cell grid; CLI gets output, help and errors. Use when the user says redesign the GUI, TUI, CLI or UI, give this app a new design, make this a proper GUI app, or runs /redesign-ui. Interviews first; writes no UI code until the mockups and the contract are approved.
Ships in agents. 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.
Redesign the app's UI from scratch. Keep nothing of the current layout or visual style. Full creative freedom, within references/requirements.md. The result looks modern, feels polished and comfortable, and comes alive with smooth animations. Consistency and alignment come first.
Before anything else, read the code and name the app's kind. It picks the requirements file and shapes every phase:
| Kind | What it is | Requirements |
|---|---|---|
| GUI | Desktop app with windows | GUI |
| TUI | Full-screen terminal app | TUI |
| CLI | Commands that print, exit | CLI |
An app with more than one kind: ask which part to redesign. Say the kind in the first reply. Where a step below names windows, themes, font scaling or menus, it applies to a GUI; for a TUI or CLI follow that kind's file instead.
Four approvals. Never pass one without the user's explicit yes:
docs/design-brief.md.docs/interface-contract.md.The work spans many sessions. Find the phase before doing anything:
/redesign-ui mockups names the phase.docs/ in the target repo and the git log of the redesign
branch. The furthest approved deliverable sets the phase:| Found | Phase |
|---|---|
| Nothing | 1, discovery |
docs/design-brief.md, approved | 2, mockups |
| Mockups approved | 3, step 1, contract |
docs/interface-contract.md approved | 3, step 2, frontend |
| Frontend approved | 3, step 3, backend |
| Contract tests pass on the real one | 3, step 4, verify |
When an approval is not on record, ask; never assume one.
Before designing anything, read https://lawsofux.com/ in full: the main page and every law's page it links to. Apply the laws to every design decision. Name the laws behind the main decisions in the brief and in every mockup round.
Interview before designing anything.
AskUserQuestion), about:
docs/design-brief.md: kind, goals, users, key
screens, window and tab model, constraints, stack decisions, guiding Laws
of UX.docs/mockups/, one SVG per screen or state, named like
01-main-window-dark.svg. Version them (-v2, -v3); never overwrite.
Mockups and their generators are kept in git, so a later session can
build from them. Ignore only generated caches.docs/mockups/index.html, newest round
first, and open it for the user. Each mockup has a caption, and a legend
for every symbol and mark it uses.docs/keyboard-map.md: per screen, the tab order, focus groups and
shortcuts, in macOS and Linux versions.docs/motion-spec.md: every animation, with what moves, trigger,
duration and easing. Key animations also get a before/after frame
sequence in the mockups.Before any UI code:
docs/interface-contract.md. Per call: name, inputs, outputs, error
cases, sync or async, progress and cancel behavior where relevant.docs/keyboard-checklist.md, one entry
per workflow. Run through it.docs/motion-spec.md, reduced when reduce motion is on.When: each time the user gives feedback as the work goes on. Afterwards, carry on with the task.
Signals: feedback that is a rule for every redesign of its kind. Feedback
about this app only is no signal; it goes in that app's
docs/design-brief.md. One suggestion per rule.
Every suggestion follows skill_improvement.md. Read it first. Change nothing without a yes.
Where it goes: the file for the rule's kind. Only a rule true for GUI, TUI and CLI goes in the shared file or here.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub raveensrk/agent1 --plugin agents20 skills in this plugin
/all-doneThe last prompt before the user exits a session. Checks this session's work for loose ends - git state, things still running, leftover files, unverified work, dropped requests, the task list, open improvement notes, installed versus source - shows them in a question dialog, fixes the ones picked, offers to save the rest as tasks, then says whether it is safe to exit. Use when the user says all done, wrap up, am I safe to exit, closing check, or runs /all-done./ask-simpleAsk the user clear questions in simple language, as if they are new to the topic, so each one is easy to answer. Use when the user says ask simple questions, assume I am a newbie, keep it simple, explain like I am new, I do not understand your question, I do not know what you mean, idkwym, I do not understand your last response, or runs /ask-simple. Also use whenever a task needs the user's decision and they have asked for plain words. When run also ask about any open decisions remains to be answered. When invoked manually review the previous response and ask questions based on that./detective-antCheck a change against what it was asked to do - a task, an issue or a plan - and find real bugs, each with its cause and a fix plan a worker can build. Never edits code. In normal use it checks the current branch against main and the task text and answers in the session with pass or fail. Run by Ishikari's detective ant it checks a task or a fix and replies in the ant's JSON. Use when the user says check this against the task, does this do what the issue asked, find bugs in my branch, or runs /detective-ant./determinizeScan a directory and its agent instruction files, turn every rule a program can decide into a check, a guard or a git hook, and thin the instructions to decisions and routing. Use when the user says determinize, make this rule deterministic, convert these rules to checks, add a linter or a hook for a rule, thin an AGENTS.md, or asks which rules could be code instead of prose. Prints the per-rule plan and waits for a yes before writing./docsCreate, update or publish a repo's four books in docs/ - docs/design/ (the design doc and repo bible, complete enough that an engineer can rebuild the project from it alone), docs/manual/ (the user manual, in GNU manual chapter order, with real screenshots), docs/notes/ (working notes, tidied and listed) and docs/rules/ (the AI agent working rules, moved out of a thin AGENTS.md) - with D2/TALA and Mermaid diagrams, a build script for checks, a publish mode that makes the HTML, PDF and EPUB book in docs/book, a docs-only rebuild test and a fresh-reader manual test. Use when the user says create docs, write the docs, document this repo, write a design doc or repo bible, write the user manual, tidy the notes, thin AGENTS.md, move the rules, publish the book, docs book, update the docs, sync the docs, docs are stale or runs /docs. Run by hand after a task is done, or by Ishikari's docs ant after a merge; never on its own. Create mode researches first, interviews the user, waits for an OK on the outline, and works on a docs-book branch without pushing; called by an ant it takes its answers from the ant's docs brief and asks nothing. Update mode brings the docs in line with what changed and what was learned./docs-to-doorstopTurn a directory of docs and specs into a Doorstop requirements tree in ASPICE 4.0 form - the full V-model, SYS.1 to SYS.5, HWE.1 to HWE.4 and SWE.1 to SWE.6 - written in short, simple YAML items with D2, Mermaid or animated SVG diagrams where a picture explains it more simply. Scans the input first and asks every doubt before writing, then proves the tree with Doorstop and a bundled ASPICE checker. Use when the user says convert docs to doorstop, make requirements from these specs, ASPICE requirements, doorstop tree, or runs /docs-to-doorstop.