refactor

Apply code transformations across repositories using parallel Snipper agents.

3|3|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/twikus/claude-configuration --skill refactor-twikus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/twikus/claude-configuration/tree/main/claude-code-config/skills/utils-refactor
Command: npx skills add https://github.com/twikus/claude-configuration --skill refactor-twikus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The refactor skill identifies and applies code transformations across the repository using parallel Snipper agents to accelerate large-scale changes.

Core Features & Use Cases

  • Batch-safe: plans and groups affected files to minimize conflicts while preserving functionality.
  • Pattern-driven: renames methods, updates patterns, and fixes code smells across multiple files.
  • Audit-ready: generates a clear task log and verification steps for reproducibility.

Quick Start

Submit a refactor request such as '/refactor rename getUserData to fetchUserProfile' across the codebase.

Frequently Asked Questions about refactor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename a method across multiple files in my codebase without breaking functionality?

To rename a method across multiple files, you can apply parallel code refactoring using explicit transformation instructions to update patterns while preserving functionality through post-change verification.

What is the best way to fix code smells across an entire repository?

Fixing code smells across a repository requires pattern-driven refactoring that identifies affected files, groups them to minimize conflicts, and applies consistent transformations using parallel agents for batch safety.

Can I update coding patterns in parallel across my codebase safely?

Yes, updating coding patterns in parallel is safe when the refactor process plans and groups affected files into batches to minimize conflicts while applying consistent changes across the codebase.

Do I need to specify a scope limit when refactoring my codebase?

Yes, you need to provide explicit transformation instructions and valid scope limits to ensure the parallel refactoring agents target the correct files and generate an audit-ready task log for reproducibility.

Why does large-scale code refactoring require post-change verification?

Large-scale code refactoring requires post-change verification to ensure functionality is preserved after applying transformations, generating clear verification steps that confirm the batch-safe changes did not introduce conflicts.