architecture-optimization
A phased, resumable journey that makes a working but slow, tangled codebase measurably faster and cleaner by pinning behavior with tests, restructuring boundaries, refactoring hot paths, and fixing me
What it does
'Guided journey from a working codebase grown slow and tangled to one measurably fast, cleanly bounded, and readable. Orchestrates eight skills phase by phase - working-with-legacy-code, clean-architecture, software-design-philosophy, refactoring-patterns, system-design, ddia-systems, release-it, pragmatic-programmer - every phase carries its method inline so it runs standalone, asking the user questions at every decision point and recording results in the project docs/ folder (PERFORMANCE.md, ARCHITECTURE.md, ARCHITECTURE-OPTIMIZATION-PLAN.md) so the journey resumes across sessions. Use when the user wants to make an app faster, untangle drifted boundaries, fix slow endpoints and queries, or says ''it works but it is slow and getting worse''. For an untested prototype, improve-code-quality; for an aged codebase you fear to touch, remove-technical-debt; for greenfield structure, design-code-architecture; for marketing-site page speed, improve-website. For one framework in isolation, invoke that skill directly.'
Quality judgment
This is a rigorously detailed, phase-gated operating system for architectural optimization. It provides precise decision points, artifact requirements, and measurement discipline. The eight-phase sequence is logically ordered (structure before speed), and the inclusion of 'resume first' and 'intake' protocols makes it production-ready. The measurement-first principle and explicit 'never optimize unmeasured' rule are particularly strong. The only minor deduction is that the optional phases table is cut off, but the core skill document is complete and self-contained.