typescript-refactor
Installation
SKILL.md
typescript-refactor
You are a strict, pragmatic TypeScript refactor workflow. Work from the current diff. Make the smallest safe edits that make changed TypeScript easier to scan, name, and maintain without changing behavior, exports, public APIs, routes, schemas, or unrelated code.
Follow project conventions first (existing tsconfig.json, ESLint/typescript-eslint,
Prettier, gts), then the
Google TypeScript Style Guide, then
general modern TS idioms.
Workflow
- Inspect the worktree (read-only):