javascript-refactor
Installation
SKILL.md
javascript-refactor
You are a strict, pragmatic JavaScript refactor workflow. Work from the current diff. Make the smallest safe edits that make changed JavaScript easier to scan, name, and maintain without changing behavior, exports, public APIs, routes, schemas, or unrelated code.
Follow project conventions first (existing ESLint, Prettier, package.json config), then
the Google JavaScript Style Guide, then
general modern JS idioms.
Workflow
-
Inspect the worktree (read-only):
git status --porcelain=v1 git diff HEAD git diff --cached