Results for “safe-refactoring”
72 skillsRefactoring Patterns
Apply named refactoring transformations to improve code structure without changing behavior, guided by code smells and safe transformation sequences.
1.6k · bundle
Refactoring
Identifies and removes dead code safely, with test verification at each step and categorization of risk levels.
1
Cpp Coding Standards
Enforces modern, safe, and idiomatic C++ coding practices based on the C++ Core Guidelines for writing, reviewing, or refactoring C++ code.
226k
Legacy Code Safety
Guides adding characterization tests before modifying or refactoring untested legacy code, using the RGR workflow and strangler fig pattern to reduce risk.
7 · bundle
Ivx Cf Refactoring
Safely refactor code to improve structure without changing behavior. Use when cleaning up code, extracting components, or modernizing patterns.
0 · bundle
Look Before Edit
Forces investigation of file dependencies before editing code to prevent cascade failures.
28
More results
Kaizen
Guides incremental code improvements, error-proofing through types and validation, and standardization for higher code quality.
5
Rust Patterns
Enforce idiomatic Rust patterns for ownership, error handling, enums, traits, concurrency, and best practices to build safe, performant applications.
226k
Kaizen
Guides incremental code improvements, error-proofing through types and validation, and standardization for higher quality and fewer defects.
3
Pharo Rename Method
Rename Pharo methods safely through Genie's `rename_method` MCP refactoring tool. Use when a selector should be renamed while preserving behavior, updating senders and symbol references across the live image, including as one step in larger refactorings such as clarify API names, split responsibilities, or move behavior behind better messages.
15 · bundle
Sweep
Reviews a codebase for structural smells and refactors them with provable safety, using micro commits and green-bar discipline.
7
Cpp Pro
Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.
505
Cpp Pro
Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.
23
Gitnexus Refactoring
Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: "Rename this function", "Extract this into a module", "Refactor this class", "Move this to a separate file"
1
Code Refactoring
Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical debt, dependency updates, and backward compatibility. Use PROACTIVELY for legacy system updates, framework migrations, or technical debt reduction.
23
Nick Refactor Planner
Safe refactor planning for Nick's codebases. Use when planning large refactors, reducing blast radius, sequencing cleanup work, or deciding how to improve messy code without breaking product velocity.
0 · bundle
Refactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
0
Refactor
Improve code structure and readability without changing external behavior through surgical refactoring techniques.
36.2k
Refactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
0
Refactor
Executes automated refactoring for specific files, directories, or semantic queries. This skill should be used when the user asks to refactor specific files or directories, simplify recently changed code, clean up dead code in a limited scope, or invokes "/refactor".
580 · bundle
Refactor Pipeline
Composite skill — safely refactor a module end-to-end with sequencing, parallel implementation, post-refactor cleanup, and rationale capture. Chains refactor-plan (phased plan + rollback) → three-man-team (architect/builder/reviewer in parallel) → fix-the-suite post-refactor → adr-write → docs-sync. Use for non-trivial refactors that need both careful sequencing and durable record.
1 · bundle
Refactoring
Improve code quality and maintainability through systematic identification of code smells and application of proven refactoring patterns. Use when the user requests refactoring or provides relevant inputs for this workflow.
159
Refactor Project
Executes automated project-wide refactoring with a focus on cross-file optimization. This skill should be used when the user asks for project-wide refactoring, cross-file simplification, consistency standardization across the codebase, duplication reduction, or invokes "/refactor-project".
580 · bundle
Refactoring
Improves structure without behavior changes, using tests and focused slices; not for features unless behavior change is explicit.
0
Script Refactorer
Modernizes legacy scripts (bash, Node, Python) by replacing deprecated APIs, adding error handling, converting callbacks to async/await, and improving maintainability. Turns brittle one-off scripts into reliable, documented tools.
10
Refactoring Analyst
Refactoring Analyst
2 · bundle
Review And Simplify Changes
Review git diffs or file scopes for code reuse, quality, efficiency, and clarity issues, then optionally apply safe, behavior-preserving fixes.
3.8k
Gitnexus Refactoring
Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: "Rename this function", "Extract this into a module", "Refactor this class", "Move this to a separate file"
11
Refactor Plan
Plan a multi-file refactor with proper sequencing and rollback steps
0
Workflow Refactor
Guide for refactoring code to improve quality without changing behavior. Use when refactoring, cleaning up code, reducing duplication, improving readability, or restructuring code. Integrates Firecrawl for researching modern patterns before refactoring, and codebase-aware dependency analysis to avoid breaking changes.
8
Review And Refactor
Review and refactor code according to project-specific coding guidelines and instructions.
36.2k
Refactor Method Complexity Reduce
Reduces cognitive complexity of a specified method by extracting logic into focused helper methods, improving readability and maintainability.
36.2k
Refactor Plan
Creates a concrete, multi-phase plan before starting a multi-file refactor, including affected files, dependencies, verification steps, and rollback procedures.
36.2k
Refactor
Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green suite over that target before any edit, a planned sequence of small named refactorings, and the full suite re-run after every step. Use when the user wants to refactor, restructure, clean up, simplify, or improve the design of existing code, or to apply refactoring recommendations from a code-review or architectural-analysis report. This skill changes code; it does not review code (use code-review), assess architecture (use architectural-analysis), or build new behavior test-first (use tdd). Do not use it on code inside an active tdd loop; the refactor step of tdd owns that cleanup. Runs its planned sequence to completion without pausing for review; to review each named refactoring as it lands, use pairing.
218 · bundle
Refactor
Refactors code for better readability, performance, and maintainability
0
Names
Refactors code by renaming variables, methods, classes, and types to improve clarity and intent, with automatic testing and commits after each rename.
7