refactoring-patterns
Safely refactor code to improve structure and maintainability while preserving behavior through TDD cycles and automated test verification.
Discover reusable agent skills, browse implementation details, and find the right skill for your workflow.
138 skills found
Safely refactor code to improve structure and maintainability while preserving behavior through TDD cycles and automated test verification.
6-phase read-only Python analysis workflow that identifies design principle violations, code smells, and modernization opportunities based on specific project types (POC to Open Source).
Behavioral guidelines for LLMs to reduce coding mistakes, follow best practices, and improve output quality by enforcing simplicity, surgical changes, and goal-driven verification.
Guide for implementing features using architecture-first design, TDD, rich domain models, and Swift 6.2 patterns, ensuring a clean separation between Domain, Infrastructure, and App layers.
Apply reality-first coding standards: intentional naming, focused functions, guard clauses, and deterministic side effects, with no speculative features.
Standardized workflow and guidelines for Laravel 11/12 application development, including stack detection, dependency management, and integration with Laravel Boost tools.
Linter-driven refactoring agent that resolves complexity issues like cyclomatic depth, primitive obsession, and long functions using automated pattern extraction.
Standardized Java development guidelines including naming conventions, exception handling, Spring Boot best practices, and concurrency patterns.
Refactor MoonBit code for idiomatic style: minimize public APIs, implement methods, leverage pattern matching with views, and enforce high test coverage for maintainable MoonBit projects.
React composition patterns for scalable codebases. Refactor complex components, build flexible libraries, and implement compound components or React 19 architecture patterns.
Perform rigorous code reviews for FastMCP projects, focusing on API design, dependency management, and codebase consistency.
Holistic, multi-dimensional code review skill providing prioritized, actionable feedback on correctness, security, performance, design, and accessibility.