code-refactoring

Installation
SKILL.md

Code Refactoring

Orchestrate large structural refactors using ast-grep to discover scope and gritql to apply transformations safely.

When to Use

Use this skill for:

  • Multi-file refactoring (rename classes, methods, variables)
  • API migrations (framework updates, library changes)
  • Pattern refactoring (inheritance → composition)
  • Code modernization (language idioms, best practices)

Don't use for:

  • Single-file simple changes → Use Edit tool directly
  • Logic changes requiring context → Manual review
  • Non-code files (YAML, JSON, MD) → Use Edit tool

Workflow

Installs
1
GitHub Stars
8
First Seen
Jun 3, 2026
code-refactoring — tstapler/dotfiles