Back to Skills

refactoring-patterns

mattnigh
Updated 4 days ago
9 views
22
1
22
View on GitHub
Otherrefactoringcode-qualitytechnical-debtmaintainabilityclean-code

About

This skill applies safe refactoring patterns to improve code structure without altering its behavior, ideal for cleaning up code or reducing technical debt. It emphasizes a strict test-first cycle—make one small change, verify tests pass, then commit—to ensure reliability. Key capabilities include providing specific patterns and a repeatable workflow for enhancing maintainability.

Quick Install

Claude Code

Recommended
Primary
npx skills add mattnigh/skills_collection -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/mattnigh/skills_collection
Git CloneAlternative
git clone https://github.com/mattnigh/skills_collection.git ~/.claude/skills/refactoring-patterns

Copy and paste this command in Claude Code to install this skill

GitHub Repository

mattnigh/skills_collection
Path: collection/pacphi__ampel__claude__skills__refactoring-patterns__SKILL.md
0

Related Skills

tdd-london-chicago

Other

This Claude Skill helps developers apply both London (mock-based) and Chicago (state-based) TDD approaches when practicing test-driven development. It guides you to choose the appropriate style based on your context—using Chicago for domain logic and London for code with external dependencies. The skill follows the red-green-refactor cycle and works with specialized testing agents to generate, implement, and refactor tests.

View skill

refactoring-patterns

Other

This Claude Skill applies safe refactoring patterns to improve code structure while preserving existing behavior. It's designed for cleaning up code, reducing technical debt, and enhancing maintainability through a disciplined test-first approach. The skill emphasizes small, incremental changes with continuous testing to ensure reliability during code transformations.

View skill

code-review-quality

Other

This skill conducts automated code reviews focused on quality, testability, and maintainability, prioritizing critical feedback like bugs and security issues. It's designed for use during code reviews, when providing feedback, or when establishing review practices. The tool categorizes feedback by severity and emphasizes asking questions over issuing commands.

View skill

code-review-quality

Other

This Claude Skill performs context-driven code reviews focused on code quality, testability, and maintainability. It prioritizes actionable feedback on bugs, security, and design over style preferences, using a structured severity system. Developers should use it when reviewing code, providing feedback, or establishing team review practices.

View skill