Kaizen Loop
Use this workflow when the task starts with product evaluation rather than a known implementation request. First evaluate the product as a user, engineer, and maintainer; then present concrete improvement candidates; after the user approves items, execute them with implement-to-merge-ready and repeat the evaluation loop.
Workflow
- Establish evaluation scope.
- Identify the product, target user, primary workflows, success criteria, repository, branch, and deployment or local run path.
- Read local instructions such as
AGENTS.md and CLAUDE.md.
- Inspect
git status and preserve unrelated user changes.
- Ask only when the evaluation target or approval boundary is unclear.
- Set an evaluation goal.
- Use goal tracking for product-wide evaluation or work expected to continue into implementation and PR follow-up.
- Include evaluation, recommendation, approval gate, approved implementation, verification, PR creation, and merge-readiness follow-up.
- Build product understanding.
- Read product docs, routes, screens, tests, analytics assumptions, configuration, and recent changes.
- Run the app locally when practical.
- For frontend products, inspect key screens in a real browser across representative desktop and mobile viewports.
- For APIs or libraries, inspect public interfaces, examples, error behavior, docs, and test coverage.
- Evaluate relevant dimensions.
- User value, UX/UI, correctness, performance, reliability, engineering quality, security, privacy, docs, and release risk.
- Label inferences clearly when evidence is indirect.
- Produce an evaluation report before editing.
- Lead with highest-impact findings.
- For each candidate include problem, impact, evidence, likely fix direction, estimated scope, risk, and suggested verification.
- Separate must-fix defects from product improvements and speculative ideas.
- Ask for approval to proceed.
- Present a short prioritized list of recommended improvements.
- Treat silence or ambiguity as no approval for implementation.
- If multiple items are approved, group them into the smallest coherent PRs.
- Implement approved improvements only.
- Use
implement-to-merge-ready for each approved change or coherent group.
- Use
ui-imagegen-director before coding when UI visual direction matters.
- Do not opportunistically fix unapproved items.
- Review, open PRs, and bring them toward merge-ready.
- Self-review against the approved scope and evaluation evidence.
- Open regular ready-for-review PRs by default.
- Monitor CI and review feedback when practical.
- Re-evaluate after approved changes.
- Confirm the approved problems were resolved.
- Identify newly visible opportunities and wait for approval before repeating.
Recommendation Format
Evaluation summary:
- <one short product-level assessment>
Recommended improvements:
1. <title> [impact: high|medium|low, scope: small|medium|large]
Problem: <what is wrong>
Evidence: <what was observed>
Fix direction: <what should change>
Verification: <how to know it worked>
Please tell me which item numbers to implement.
Guardrails
- Evaluation may inspect broadly, but implementation must stay within approved scope.
- Do not fabricate user research, metrics, analytics, security findings, or benchmark results.
- Prefer concrete, verifiable improvements over broad redesign advice.
- Do not merge PRs unless the user explicitly asks and repository policy permits it.
Final Report
Include evaluation scope and evidence, approved improvements implemented, PR URLs/branches/status, verification before and after implementation, resolved issues, remaining recommendations, and goal status when used.
1---2name: kaizen-loop3description: Run a continuous product improvement loop: evaluate a product or codebase, present prioritized recommendations for approval, then implement only approved improvements through verification and PR follow-up.4---56# Kaizen Loop78Use this workflow when the task starts with product evaluation rather than a known implementation request. First evaluate the product as a user, engineer, and maintainer; then present concrete improvement candidates; after the user approves items, execute them with `implement-to-merge-ready` and repeat the evaluation loop.910## Workflow11121. Establish evaluation scope.13 - Identify the product, target user, primary workflows, success criteria, repository, branch, and deployment or local run path.14 - Read local instructions such as `AGENTS.md` and `CLAUDE.md`.15 - Inspect `git status` and preserve unrelated user changes.16 - Ask only when the evaluation target or approval boundary is unclear.172. Set an evaluation goal.18 - Use goal tracking for product-wide evaluation or work expected to continue into implementation and PR follow-up.19 - Include evaluation, recommendation, approval gate, approved implementation, verification, PR creation, and merge-readiness follow-up.203. Build product understanding.21 - Read product docs, routes, screens, tests, analytics assumptions, configuration, and recent changes.22 - Run the app locally when practical.23 - For frontend products, inspect key screens in a real browser across representative desktop and mobile viewports.24 - For APIs or libraries, inspect public interfaces, examples, error behavior, docs, and test coverage.254. Evaluate relevant dimensions.26 - User value, UX/UI, correctness, performance, reliability, engineering quality, security, privacy, docs, and release risk.27 - Label inferences clearly when evidence is indirect.285. Produce an evaluation report before editing.29 - Lead with highest-impact findings.30 - For each candidate include problem, impact, evidence, likely fix direction, estimated scope, risk, and suggested verification.31 - Separate must-fix defects from product improvements and speculative ideas.326. Ask for approval to proceed.33 - Present a short prioritized list of recommended improvements.34 - Treat silence or ambiguity as no approval for implementation.35 - If multiple items are approved, group them into the smallest coherent PRs.367. Implement approved improvements only.37 - Use `implement-to-merge-ready` for each approved change or coherent group.38 - Use `ui-imagegen-director` before coding when UI visual direction matters.39 - Do not opportunistically fix unapproved items.408. Review, open PRs, and bring them toward merge-ready.41 - Self-review against the approved scope and evaluation evidence.42 - Open regular ready-for-review PRs by default.43 - Monitor CI and review feedback when practical.449. Re-evaluate after approved changes.45 - Confirm the approved problems were resolved.46 - Identify newly visible opportunities and wait for approval before repeating.4748## Recommendation Format4950```text51Evaluation summary:52- <one short product-level assessment>5354Recommended improvements:551. <title> [impact: high|medium|low, scope: small|medium|large]56 Problem: <what is wrong>57 Evidence: <what was observed>58 Fix direction: <what should change>59 Verification: <how to know it worked>6061Please tell me which item numbers to implement.62```6364## Guardrails6566- Evaluation may inspect broadly, but implementation must stay within approved scope.67- Do not fabricate user research, metrics, analytics, security findings, or benchmark results.68- Prefer concrete, verifiable improvements over broad redesign advice.69- Do not merge PRs unless the user explicitly asks and repository policy permits it.7071## Final Report7273Include evaluation scope and evidence, approved improvements implemented, PR URLs/branches/status, verification before and after implementation, resolved issues, remaining recommendations, and goal status when used.