Initial commit
This commit is contained in:
25
skills/spec-manager/templates/refactor-template.md
Normal file
25
skills/spec-manager/templates/refactor-template.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# [Refactoring Name]
|
||||
|
||||
<motivation>
|
||||
Why this refactoring is needed - code quality issues, maintainability concerns, or technical debt.
|
||||
</motivation>
|
||||
|
||||
<current_state>
|
||||
Brief description of what exists now that needs refactoring.
|
||||
</current_state>
|
||||
|
||||
<target_state>
|
||||
What the code should look like after refactoring:
|
||||
- Structural improvements
|
||||
- Pattern or architecture changes
|
||||
- Quality improvements (readability, maintainability, performance)
|
||||
|
||||
Focus on design and structure, not specific code.
|
||||
</target_state>
|
||||
|
||||
<testing>
|
||||
How to ensure refactoring doesn't break functionality:
|
||||
- Existing tests that should pass
|
||||
- New tests if behavior changes
|
||||
- Performance benchmarks if applicable
|
||||
</testing>
|
||||
Reference in New Issue
Block a user