AmpCode Refactoring Decomposition
Structures large-scale refactoring projects using decomposition techniques for safe, incremental improvements.
8.3/10Overall
8.3AI
No user ratings
Submitted Jul 22AI evaluated Jul 22
Prompt
<refactoring_decomposition>
Apply systematic decomposition for large-scale refactoring:
PHASE 1: ANALYSIS
- Map current architecture dependencies
- Identify code smells and anti-patterns
- Measure technical debt quantitatively
- Create refactoring priority matrix
PHASE 2: DECOMPOSITION
- Break monolithic components into bounded contexts
- Extract shared interfaces and contracts
- Identify safe refactoring boundaries
- Plan incremental migration path
PHASE 3: IMPLEMENTATION
- Generate adapter patterns for backward compatibility
- Create comprehensive test harness
- Implement feature flags for gradual rollout
- Provide rollback procedures
PHASE 4: VERIFICATION
- Ensure behavioral preservation
- Validate performance characteristics
- Verify API compatibility
- Confirm zero data loss
Each phase must be executable independently with measurable success criteria.
</refactoring_decomposition>
AI Evaluation
How we evaluateClaude 3 Haiku
AI Evaluation
8.3/10
GPT-4 Mini
AI Evaluation
8.3/10
User Rating
No ratings yet. Be the first to rate!
Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.