code-refactoring
Installation
SKILL.md
Code Refactoring
When to use this skill
- Code review: Discovering complex or duplicated code
- Before adding new features: Cleaning up existing code
- After bug fixes: Removing root causes
- Resolving technical debt: Regular refactoring
Instructions
Step 1: Extract Method
Before (long function):
function processOrder(order: Order) {
// Validation
Related skills
More from autohandai/community-skills
tailwind-ui-patterns
Tailwind CSS v4 patterns, component styling, and responsive design
159typescript-refactoring-patterns
Expert TypeScript refactoring patterns for cleaner, type-safe code
58python-fastapi-patterns
FastAPI best practices, async patterns, and Pydantic validation
45api-design-restful
RESTful API design patterns, error handling, and documentation
31cli-tool-development
Build professional CLI tools with Node.js, commander, and Ink
16nextjs-app-router-mastery
Next.js 14+ App Router patterns, server components, and data fetching
15