Results for “safe-refactoring”

25 skills
More results
github
Refactor
Improve code structure and readability without changing external behavior through surgical refactoring techniques.
36.2k
affaan-m
Rust Patterns
Enforce idiomatic Rust patterns for ownership, error handling, enums, traits, concurrency, and best practices to build safe, performant applications.
226k
github
Review And Refactor
Review and refactor code according to project-specific coding guidelines and instructions.
36.2k
github
Refactor Method Complexity Reduce
Reduces cognitive complexity of a specified method by extracting logic into focused helper methods, improving readability and maintainability.
36.2k
github
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
sdiamante13
Names
Refactors code by renaming variables, methods, classes, and types to improve clarity and intent, with automatic testing and commits after each rename.
7
sdiamante13
Functional
Refactors Swift code toward declarative functional programming with immutability, value types, pure functions, transformations, and closure-based APIs.
7
sdiamante13
Refactor Tests
Refactors test files to improve behavioral coverage, clarity, structure, assertions, fixture setup, and mocking strategy, removing implementation-detail or low-value tests.
7
dimillian
Orchestrate Batch Refactor
Plan and execute large refactor or rewrite efforts efficiently with parallel multi-agent analysis and implementation.
3.8k · bundle
sdiamante13
Srp
Refactors a class toward the Single Responsibility Principle by identifying responsibilities, grouping cohesive behavior, and extracting focused classes.
7
sdiamante13
Tidy
Refactors production code with test coverage using a TDD workflow that applies approved refactorings one at a time, gates each on passing tests, and commits or reverts accordingly.
7 · bundle
galyarderlabs
Refactor Cleaner
Resolves legacy references to the refactor-cleaner capability by routing to the current runtime equivalent, such as an agent or modern skill.
20
sdiamante13
Declutter
Refactors code by removing unused imports, variables, methods, redundant comments, and fixing formatting, with automatic test runs and commits after each step.
7
machenjie
Refactoring
Splits, merges, moves, or deletes code while preserving behavior, tests, contracts, and boundaries, with characterization evidence and reversible steps.
4 · bundle
phoroth
Kaizen
Guides incremental code improvements, error-proofing through types and validation, and standardization for higher quality and fewer defects.
3
sdiamante13
Sweep
Reviews a codebase for structural smells and refactors them with provable safety, using micro commits and green-bar discipline.
7
dimillian
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
infinition
Simplify Code
Runs three parallel reviewers to find code reuse, quality, and efficiency issues in a diff, then applies safe fixes and reports risky ones.
2
wondelai
Working With Legacy Code
Safely change and test untested codebases using techniques from Feathers' 'Working Effectively with Legacy Code': seams, characterization tests, sprout/wrap, and dependency-breaking.
1.6k · bundle
tinh2
Dead Code
Finds and safely removes dead code across a codebase: unreachable paths, unused exports, functions, variables, CSS selectors, dependencies, env vars, and commented-out blocks. Builds an import graph, verifies no dynamic references, and runs build and tests after cleanup.
13