Skip to content
Back to skills

Improve

ASecurity

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.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
designrustgoshellbashvueangularnode

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add nirmalkcse/second-nature --skill improve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Improve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Improve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirmalkcse-improve/badge)](https://www.skillsdirectory.com/skills/nirmalkcse-improve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 `../second-nature/references/improve.md` sections 1, 6 and 8 before changing anything.

## 1. Measure

```bash
node ../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 ../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 `../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 ../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: `../second-nature` is the `second-nature` skill folder installed beside this one. Resolve it to a full path before running a command, because a shell resolves relative paths against its working directory, not this file. If that folder is missing, use the tools of the `second-nature` MCP server instead (`library_read`, `audit`, `improve`, `palette`, `tokens`, `effort`, `direction`).

Files in this skill

  • SKILL.md3 KB
  • agents/openai.yaml320 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.