Upgrade an existing interface on any stack: find what makes it feel unfinished, apply the safe fixes as a reviewable diff, then work through the rest with the remediation playbook.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Improve?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nirmalkcse-improve-second-nature)
---
name: improve
description: "Upgrade an existing interface on any stack: find what makes it feel unfinished, apply the safe fixes as a reviewable diff, then work through the rest with the remediation playbook."
argument-hint: "[path to improve; defaults to the current project]"
disable-model-invocation: true
---
Improve this: $ARGUMENTS (if empty, the project's source directory).
It reads CSS, SCSS, Less, HTML, Vue, Svelte, Angular, JSX/TSX (class strings, style objects, styled-components) and Tailwind class lists. Read `${CLAUDE_PLUGIN_ROOT}/skills/second-nature/references/improve.md` sections 1, 6 and 8 before changing anything.
## 1. Measure
```bash
node ${CLAUDE_PLUGIN_ROOT}/skills/second-nature/scripts/improve.mjs <path>
```
Note the score and the counts per band. Find the project's own tests, type-check and a way to run it, and take screenshots of the screens involved at a phone and a desktop width, light and dark, before any change.
## 2. Apply the safe fixes
```bash
node ${CLAUDE_PLUGIN_ROOT}/skills/second-nature/scripts/improve.mjs <path> --diff
```
Read the diff. Each edit is an in-place substitution (a colour moved along its own hue, a :focus-visible rule, a reduced-motion block, a class swap) and the file is re-parsed before anything is kept. If the person asked only for a report, show the findings and stop here. Otherwise apply it with `--write --yes` (a `.bak` copy is kept beside each file), and keep it as its own reviewable step.
## 3. Work through what is left
Take the remaining findings band by band (Breaks trust, then Feels cheap, then Polish), using the symptom table (section 2) and the by-hand fixes (section 7) of `${CLAUDE_PLUGIN_ROOT}/skills/second-nature/references/improve.md`. Preserve behaviour: change presentation, not logic, and keep element types, ids, classes and props that code depends on unless the fix is exactly that (a `div` becoming a `button`), done as its own step. When the person asked for a full upgrade rather than fixes, follow the order in section 3: tokens, type, spacing, colour, components, motion, copy, accessibility.
## 4. Verify
- Run the project's tests and type-check.
- Run `node ${CLAUDE_PLUGIN_ROOT}/skills/second-nature/scripts/improve.mjs <path>` again: the fixed findings are gone and nothing new appeared.
- Where the page runs, sweep contrast in the browser in both appearances with `tools/contrast-sweep.js` from the Second Nature repository, if it is available.
- Take the same screenshots again and compare them side by side.
## 5. Report
What was fixed automatically, what by hand, what was suggested and left (with the reason), the score before and after, and what could not be verified from code: feel on a real device, screen-reader output, real content. Do not call the result accessible or polished on the strength of a clean report.
Paths: if a path above still begins with a literal dollar sign and braces, your host did not fill it in. The folder it means is `second-nature`, beside this skill's own folder; if that is missing too, use the tools of the `second-nature` MCP server instead (`library_read`, `audit`, `improve`, `palette`, `tokens`, `effort`, `direction`).