Code Refactoring — Development skill for Claude Code
Orchestrate large structural code refactors combining semantic search.
How to install Code Refactoring
Installs to ~/.claude/skills/tstapler-dotfiles-code-refactoring/SKILL.md
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.
What Code Refactoring does
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
Alternatives in Development
- Mempalace Search — Search your memories across the MemPalace using semantic search with wing/room filtering 58.6k ★
- Serena — Code Intelligence Advanced code navigation and semantic search 14k ★
- Flow Parallel — Decompose and execute large changes, migrations, or multi-issue fixes in parallel with quality gates 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Vault Architect
Analyze the vault concept graph and propose structural refactors. Use when topics, relationships, or knowledge
Drupal Bootstrap
Auto-detect project state and bootstrap structural index, semantic docs, and CLAUDE.md hint
Context Pressure
Diagnose long-search, large-file, and context-window pressure in a live session
Long Context Retrieval
Read large files and broad search results progressively instead of blowing up the live context window.
Threadnote
Local-first engineering memory and large-scale polyglot graph search for Codex, Claude, Cursor, Copilot, and t
Quick Discovery Large Codebase.Prompt
Rapid discovery for large codebases using bounded search (8 min max)
Related Agents
Pedro
Use this agent for senior-level software engineering: architectural decisions, implementing features with prop
Clean Code Engineer
Use this agent when you need to write new code, refactor existing code, or improve code quality with a focus o
Expert
Implementation specialist with pattern compliance. Use for implementing features from PRDs following establish