# Change

Make a requested edit safe and visible by recording a baseline, editing minimally, and showing the human before/after changes.

**Canonical URL:** https://skillshunter.net/skills/discovered-27f8e80add3bbd430dd7d2507edff2f142fa7341c6002f8f

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-27f8e80add3bbd430dd7d2507edff2f142fa7341c6002f8f

**Markdown URL:** https://skillshunter.net/skills/discovered-27f8e80add3bbd430dd7d2507edff2f142fa7341c6002f8f.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-27f8e80add3bbd430dd7d2507edff2f142fa7341c6002f8f/download

**Category:** Software & Development

**Source URL:** https://github.com/DevPatel128/lilac-plugin/blob/7e77aadbd31442412fba6856e43e4a2d8b781a6d/skills/change/SKILL.md

**Source commit:** 7e77aadbd31442412fba6856e43e4a2d8b781a6d

**Listing approved at:** 2026-11-29

**Created at:** 2026-11-28T18:57:39.000000Z

**Updated at:** 2026-11-29T10:53:53.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before making any changes, run `node "${CLAUDE_PLUGIN_ROOT}/scripts/change.mjs" begin "<project>" --note "<the request in the human's words>"` to save a copy of the site and take screenshots at 360, 768, and 1280 px. If it prints `SKIPPED(no browser)`, no pictures will be taken.

### When to use it

- Making a requested edit safe and visible
- Recording a baseline before making changes
- Showing the human before/after changes

## Skill instructions

---
name: change
description: Make a requested edit safe and visible: record a baseline, edit minimally, diff screenshots and gates, show the human before/after, then keep or undo.
disable-model-invocation: false
---
# Lilac change

For requests like "make the hero bolder". The edit is yours; `change.mjs` makes it safe and visible.

1. Before you touch any file: `node "${CLAUDE_PLUGIN_ROOT}/scripts/change.mjs" begin "<project>" --note "<the request in the human's words>"`. It saves a copy of the site, screenshots every page at 360, 768 and 1280 px, and runs the checks as a baseline. If it prints `SKIPPED(no browser)`, say so: there will be no pictures.
2. Edit as little as you can. Change only what the request needs. No cleanups on the side.
3. Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/change.mjs" finish "<project>"`. It lists the changed files, the pages they touch, a pixel diff, any page that changed that should not have, and the checks again.
4. Read `<project>/.lilac/changes/<n>/CHANGE.md`. The verdict line is the only thing that may be called safe:
   - `SAFE`: no new check errors, no surprise visual change.
   - `REVIEW`: look at the pictures and the new warnings, then tell the human what you saw.
   - `BROKEN`: a check error that was not there before. Fix it (run `finish` again after another `begin`, or `undo`), do not argue with it.
5. Show the human `compare.html` (before | after | diff) from the same folder. Then ask exactly: "Keep or undo?" Do not decide for them.
6. If they say undo: `node "${CLAUDE_PLUGIN_ROOT}/scripts/change.mjs" undo "<project>" <n>` and say which files were reverted. If the tool refuses because the site changed after `finish`, tell the human; use `--force` only with their yes.
7. If they say keep: add one line to `CHANGELOG.md` in the project: date, the request, files changed, the verdict.

Rules
- Never call a change safe without a `CHANGE.md` verdict from this run. No verdict: say what you did and that it is unchecked.
- Never edit the tool, the baseline or `.lilac/changes/` to get a better verdict.
- `change.mjs list "<project>"` shows every recorded change.
- A change that needs a human eye (copy, taste, real devices) stays with the human: say so.

