code-refactoring
Installation
SKILL.md
Code Refactoring Patterns
Overview
This skill provides patterns and checklists for refactoring code in the Orient monorepo. Use this when:
- Extracting shared logic from duplicate implementations
- Migrating services between
src/andpackages/ - Unifying database access patterns
- Consolidating tool definitions
Pattern 1: Service Extraction
When to use: Two or more services share identical logic (>50 lines or complex logic).