
Kaizen
Keep agent-led implementation and design decisions small, iterative, and error-proof instead of big-bang refactors or over-engineered architectures.
Overview
Kaizen is a journey-wide agent skill that applies continuous improvement and anti-over-engineering discipline—usable whenever a solo builder needs to improve quality incrementally before committing to large changes.
Install
npx skills add https://github.com/neolabhq/context-engineering-kit --skill kaizenWhat is this skill?
- Four pillars: continuous improvement, error-proofing, follow patterns, avoid over-engineering
- Incremental changes with verify-before-next discipline
- Leave code better: small fixes, scoped refactors, dead-code removal while working
- Applies to implementation, refactoring, architecture, workflows, and validation
- Always-on mindset: quality through prevention, not one massive perfection pass
- 4 improvement pillars (continuous improvement, error-proofing, established patterns, avoid over-engineering)
Adoption & trust: 573 installs on skills.sh; 1.1k GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your agent ships oversized refactors and clever abstractions that are hard to test, debug, and maintain.
Who is it for?
Builders who want a default quality mindset on every coding, design, and workflow task without a separate review meeting.
Skip if: Situations that require a deliberate big-bang migration or regulated change window where incremental edits are forbidden.
When should I use this skill?
Code implementation and refactoring, architecturing or designing systems, process and workflow improvements, or error handling and validation—when you want iterative improvements and to avoid over-engineering.
What do I get? / Deliverables
Work proceeds in small verified improvements with simpler designs and fewer preventable errors across implementation and architecture choices.
- Incremental change recommendations
- Scoped refactors within current task
- Simpler designs aligned to existing patterns
Recommended Skills
Journey fit
Useful at every journey phase - explore requirements and options before committing to a direction.
Where it fits
Trim prototype scope to the smallest shippable slice before agents scaffold extra layers.
Add one validated endpoint change instead of redesigning the whole service graph.
Suggest scoped cleanups and pattern alignment rather than blocking on a perfect rewrite.
Address production friction with a single measurable improvement per deploy cycle.
Improve onboarding or email flows one step at a time with verified metrics.
How it compares
Use as an always-on process lens instead of ad-hoc “just make it work” prompting without iteration or scope control.
Common Questions / FAQ
Who is kaizen for?
Solo and indie developers using agents for daily implementation, refactoring, and system design who want simplicity and incremental quality by default.
When should I use kaizen?
During Build when coding or architecting, during Ship when reviewing changes, during Operate when iterating on errors, and during Validate when scoping prototypes—whenever you want small improvements instead of over-engineering.
Is kaizen safe to install?
It is behavioral guidance without required tools; review the Security Audits panel on this page for the hosting repository trust signals.
SKILL.md
READMESKILL.md - Kaizen
# Kaizen: Continuous Improvement Apply continuous improvement mindset - suggest small iterative improvements, error-proof designs, follow established patterns, avoid over-engineering; automatically applied to guide quality and simplicity ## Overview Small improvements, continuously. Error-proof by design. Follow what works. Build only what's needed. **Core principle:** Many small improvements beat one big change. Prevent errors at design time, not with fixes. ## When to Use **Always applied for:** - Code implementation and refactoring - Architecture and design decisions - Process and workflow improvements - Error handling and validation **Philosophy:** Quality through incremental progress and prevention, not perfection through massive effort. ## The Four Pillars ### 1. Continuous Improvement (Kaizen) Small, frequent improvements compound into major gains. #### Principles **Incremental over revolutionary:** - Make smallest viable change that improves quality - One improvement at a time - Verify each change before next - Build momentum through small wins **Always leave code better:** - Fix small issues as you encounter them - Refactor while you work (within scope) - Update outdated comments - Remove dead code when you see it **Iterative refinement:** - First version: make it work - Second pass: make it clear - Third pass: make it efficient - Don't try all three at once <Good> ```typescript // Iteration 1: Make it work const calculateTotal = (items: Item[]) => { let total = 0; for (let i = 0; i < items.length; i++) { total += items[i].price * items[i].quantity; } return total; }; // Iteration 2: Make it clear (refactor) const calculateTotal = (items: Item[]): number => { return items.reduce((total, item) => { return total + (item.price * item.quantity); }, 0); }; // Iteration 3: Make it robust (add validation) const calculateTotal = (items: Item[]): number => { if (!items?.length) return 0; return items.reduce((total, item) => { if (item.price < 0 || item.quantity < 0) { throw new Error('Price and quantity must be non-negative'); } return total + (item.price * item.quantity); }, 0); }; ``` Each step is complete, tested, and working </Good> <Bad> ```typescript // Trying to do everything at once const calculateTotal = (items: Item[]): number => { // Validate, optimize, add features, handle edge cases all together if (!items?.length) return 0; const validItems = items.filter(item => { if (item.price < 0) throw new Error('Negative price'); if (item.quantity < 0) throw new Error('Negative quantity'); return item.quantity > 0; // Also filtering zero quantities }); // Plus caching, plus logging, plus currency conversion... return validItems.reduce(...); // Too many concerns at once }; ``` Overwhelming, error-prone, hard to verify </Bad> #### In Practice **When implementing features:** 1. Start with simplest version that works 2. Add one improvement (error handling, validation, etc.) 3. Test and verify 4. Repeat if time permits 5. Don't try to make it perfect immediately **When refactoring:** - Fix one smell at a time - Commit after each improvement - Keep tests passing throughout - Stop when "good enough" (diminishing returns) **When reviewing code:** - Suggest incremental improvements (not rewrites) - Prioritize: critical → important → nice-to-have - Focus on highest-impact changes first - Accept "better than before" even if not perfect ### 2. Poka-Yoke (Error Proofing) Design systems that prevent errors at compile/design time, not runtime. #### Principles **Make errors impossible:** - Type system catches mistakes - Compiler enforces contracts - Invalid states unrepresenta