code-refactoring-small

Installation
SKILL.md

Code Refactoring: Keep Code Small

Refactor overly large code you just added or extended into smaller, more focused components.

When to Use This Skill

Use this skill when:

  • Functions or methods are too long (typically >50 lines)
  • Classes have too many responsibilities
  • Files have grown too large or handle multiple concerns
  • Code has deeply nested blocks
  • After implementing a feature and noticing bloat

Instructions

Step 1: Identify the Bloat

Review your recent changes (committed or uncommitted) to find:

  • Functions or methods that are too long
Related skills

More from majiayu000/claude-skill-registry

Installs
1
GitHub Stars
299
First Seen
Feb 5, 2026