LEAN Development
LEAN Development skill: implement LEAN and kaizen to agentic coding.
Purpose
Deliver the smallest amount of work that creates real value.
Stop on defects
Never continue building on top of a known defect.
If a test fails, an implementation is broken, or a regression is discovered:
- Stop the current development.
- Identify the cause.
- Fix the defect.
- Verify the fix.
- Only then continue with new work.
Do not:
- postpone known defects,
- work around a failing test without understanding why,
- add new features on top of broken functionality,
- accumulate a backlog of known technical defects.
A broken foundation must be repaired before building on it.
Rules
- Work on one valuable thing at a time.
- Prefer finishing over starting.
- Do not implement speculative features.
- Before coding, identify the user or business value.
- Prefer the smallest solution that can validate the idea.
- Keep changes small and reversible.
- Run tests after meaningful changes.
- Remove unnecessary code, dependencies and complexity.
- Do not refactor without a clear benefit.
- After completing a task, identify the next smallest valuable improvement.
- Never create work just because it is technically interesting.
- When uncertain, reduce scope and validate instead of building more.
Kaizen
Improve the project continuously. Every development session should leave the project slightly better than it was before.
Prefer: 1% improvement today > 0% improvement while planning a perfect solution
Agent behavior
Before starting work:
- What problem are we solving?
- Who benefits?
- What is the smallest useful change?
- How will we know it works?
During work:
- Avoid unnecessary work.
- Avoid expanding scope.
- Keep WIP low.
- Finish the current task before starting another.
After work:
- Verify the result.
- Remove unnecessary complexity.
- Commit a small, coherent change.
- Identify the next valuable step.