kaizen

Guides code implementation and refactoring using continuous improvement and error-proofing principles.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/Barbaros911/As-mine --skill kaizen-barbaros911
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: kaizen
Source: https://github.com/Barbaros911/As-mine/tree/main/.claude/skills/kaizen
Command: npx skills add https://github.com/Barbaros911/As-mine --skill kaizen-barbaros911

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often over-engineer solutions, skip validation, or attempt massive rewrites that introduce bugs. This Skill provides a disciplined framework for making small, verified improvements, designing error-proof systems, and building only what is actually needed. ## Core Features & Use Cases - Continuous Improvement (Kaizen): Apply incremental changes with verification at each step instead of risky big-bang rewrites. - Poka-Yoke Error Proofing: Use type systems, boundary validation, and guards to make invalid states unrepresentable and catch errors early. - Standardized Work & Just-In-Time: Follow existing codebase patterns and avoid premature abstraction or speculative features (YAGNI). - Use Case: When refactoring a payment function, apply the Skill to validate inputs at the boundary, use branded types for safety, and ship the simplest working version before iterating. ## Quick Start Ask the AI to review or refactor your code using kaizen principles, focusing on small verified improvements and error-proof design.

Frequently Asked Questions about kaizen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I avoid over-engineering when writing new code?▼

Apply the YAGNI principle: implement only current requirements with the simplest working solution. Add complexity only when a real requirement demands it, and wait for three or more similar cases before creating an abstraction.

How to make invalid states unrepresentable in TypeScript?▼

Use discriminated union types so each state carries only its valid associated data, such as an order that can only have a tracking number when shipped. Branded types and non-empty array types also push validation to compile time.

When should I refactor code incrementally instead of rewriting?▼

Refactor incrementally whenever the existing code works: fix one issue at a time, keep tests passing, and commit after each improvement. Big-bang rewrites are error-prone and hard to verify compared to small compounding changes.

Where should input validation happen in an application?▼

Validate once at the system boundary, such as request handlers or configuration loading, before any value is used. After boundary validation, pass validated or branded types inward so inner functions can trust their inputs.

When is premature optimization a problem?▼

Optimization is premature when done without profiling evidence of a bottleneck. Ship the straightforward implementation first, measure performance, and optimize only the measured hot paths while documenting why the change was needed.