Code Refactoring banner
tstapler tstapler

Code Refactoring

Development community

Description

--- name: code-refactoring description: Orchestrate large structural code refactors combining semantic search (ast-grep) with AST-based transformation (gritql). Use for multi-file renames, API migrations, and pattern modernization with mandatory quality gates. --- # Code Refactoring Orchestrate large structural refactors using `code-ast-grep` to discover scope and `code-gritql` to apply transformations safely. ## When to Use **Use this skill for:** - Multi-file refactoring (rename classe

Installation

Installs to ~/.claude/skills/tstapler-dotfiles-code-refactoring/SKILL.md

Terminal
mkdir -p ~/.claude/skills/tstapler-dotfiles-code-refactoring && curl -fsSL https://raw.githubusercontent.com/tstapler/dotfiles/HEAD/.claude/skills/code-refactoring.md -o ~/.claude/skills/tstapler-dotfiles-code-refactoring/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository