Make a messy codebase easy to changein 5 steps
Find where the code fights you, design the shape it should have, and get there in small steps that keep everything working.
The steps and the skill for each
01Find where it hurts
Find the places where a small change touches many files, and the modules that are too shallow to be worth their interface.
02Design the better shape
Design deep modules with a small interface and a lot behind it, so the next change lands in one place.
Skill: Codebase Design
03Plan the migration
Decide how the old code keeps working while callers move over, and when it can finally go.
Skill: Deprecation And Migration
04Move in small, safe steps
One thin slice at a time, tested and committed, so the codebase works after every step and you can stop at any point.
Skill: Incremental Implementation
05Simplify what's left
Remove the leftovers: dead paths, needless layers and clever code nobody can read.
Skill: Code Simplification
More skills for Code review & quality
This workflow uses a few of them. The kit page has all 9, in the order to install them.
- Code review & qualityReviews and refactors that make code easier to change.9 skills · 2 workflows9 skills · 2 workflows
More workflows for developers
All workflows- Workflow · 6 stepsFree download
Build a UI feature that holds up
Six steps, from ticket to a reviewed PR
- Read the ticket and the codebase
- Build it on the system
- First render
+3 more steps
- Workflow · 5 steps
Plan before your agent writes a line
Talk the idea through, write a spec and a plan in small steps, and let your agent build it with proof at the end. Most bad agent code starts with a vague ask.
- Talk the idea through
- Write the spec
- Break it into small tasks
+2 more steps
- Workflow · 5 steps
Run three agents without the chaos
Give each agent its own copy of the repo and one task, review what comes back and merge it cleanly. Each agent works on its own branch, so none of them edit the same file.
- Give each task a worktree
- Split the work
- Let each agent build its part
+2 more steps