Kaizen : guide d'orientation et choix de commande

VérifiéSûr

Guide d'orientation en lecture seule qui explique la boucle Kaizen (gates, livrables, profils) et recommande la commande exacte à lancer selon la situation et l'état réel du dépôt.

Spar Skills Guide Bot
DeveloppementDébutant
22/10/2026
Claude Code
#kaizen-workflow#orientation#read-only#repo-diagnostics#command-routing

Recommandé pour

Synthèse automatique

Guide d'orientation en lecture seule qui explique le cycle Kaizen et recommande la commande à lancer selon la situation décrite et l'état réel du dépôt.

Points forts

  • S'appuie sur `status --json` pour adapter la recommandation à l'état du dépôt : initialisation, plan, gate, revue et incidents.
  • Donne l'invocation exacte, la raison du choix, les alternatives possibles et le résultat attendu.
  • Répond aussi aux questions de fond sur le cycle, les gates, les livrables et les profils.
  • Distingue les situations proches et renvoie aux guides de référence sans les recopier.

Limites

  • Suppose que le plugin Kaizen et son script `kaizen.mjs` sont installés ; hors dépôt Git, l'aide se limite aux explications générales.
  • N'exécute aucune action et ne remplace pas les commandes qu'il recommande.
  • Périmètre restreint à l'écosystème Kaizen, pas à l'ensemble des outils de développement.
Quand l'utiliser

À utiliser quand l'utilisateur demande par où commencer, quelle commande Kaizen lancer ou ce qu'est Kaizen.

Quand l'éviter

À éviter pour obtenir une aide générique au développement ou pour exécuter une modification, puisque le skill est en lecture seule et centré sur Kaizen.

Analyse de sécurité

Sûr
Score qualité89/100

The skill is a read-only orientation/help guide. It only invokes the plugin's own `kaizen.mjs status --json` plus git reads to diagnose repo state, and explicitly forbids running recommended commands or writing anything on the user's behalf. There is no network exfiltration, no destructive command, no obfuscation, and no attempt to alter agent behavior or disable safeguards. The only execution surface is running a bundled Node script and git, which is appropriate for the stated purpose.

Points d'attention
  • •Executes a bundled Node script (`${CLAUDE_PLUGIN_ROOT}/scripts/kaizen.mjs status --json`) and reads git state; this is a legitimate read-only diagnostic, but its safety depends on the integrity of the installed plugin's script, not on this SKILL.md.
Comment cette analyse est faite

Exemples

Starting in a repository
I just cloned this repository and want to use Kaizen: where should I start and which command should I run?
Fixing a production bug
I have a production bug — which Kaizen command should I use, and what will it produce?
Understanding the gates
What is Kaizen, and how do the review and test gates work?

name: help description: Kaizen orientation guide — explains what Kaizen is (the loop, the gates, the deliverables, the profiles) and recommends the command to use for the situation described and the repo's actual state (setup done?, constitution?, plan in progress?, gate active?, review recorded?), with the exact invocation and what it will produce. Read-only. Use when the user asks "which command should I use?", "where do I start?", "what is kaizen?", "I want to fix a bug / ship / measure, what do I run?", "where am I?", /kaizen:help [question or situation]. allowed-tools: Bash(node:), Bash(git:), Read, Glob, Grep argument-hint: "[empty = overview + where the repo stands | question | situation]"

Help — knowing what to use

Outcome: the user knows what Kaizen is and which command to run now, with the exact invocation, why that one, and what it will produce. Read-only: no writes, no command run on their behalf. Answer in the user's language.

K="${CLAUDE_PLUGIN_ROOT}/scripts/kaizen.mjs"

1. Diagnose

node "$K" status --json (outside a git repo: say so, and only answer on the substance). It gives initialization, profile, constitution, latest plan and its stage, the gate, the branch's review state, open incidents or incidents without a postmortem, and next: the next step inferred from the state. Use it as a fact, not as an order: the situation the user describes wins.

2. Answer according to the invocation

Without an argument — in under 30 lines:

  1. Kaizen in three sentences: an AI-assisted development cycle, from the project's constitution to a watched production release; deterministic gates (green tests before finishing, recorded review before any push, PR size); a learning loop (learnings, ADRs, postmortems) read back by the next cycle. Merging stays with the human.
  2. The loop diagram (below).
  3. Where this repo stands: 3 to 5 lines from status.
  4. Next: the recommended command, with its reason, and at most two alternatives.

With a question or a situation — match it to the table below. Answer with the command (exact invocation, useful arguments), one sentence on what it does and produces, and what comes after. If two commands fit, say what tells them apart. If the situation is truly ambiguous, a single question. For a command's details, read its guide ${CLAUDE_PLUGIN_ROOT}/docs/guides/<command>.md and cite it, without copying it.

"What is / how does X work" (a gate, a deliverable, a notion) — explain from ${CLAUDE_PLUGIN_ROOT}/README.md, ${CLAUDE_PLUGIN_ROOT}/docs/configuration.md or ${CLAUDE_PLUGIN_ROOT}/docs/troubleshooting.md, citing the page to read next.

The loop

                 CONSTITUTION.md — principles, each with a verifiable check
ideate → brainstorm → plan ─► doc-review → work → review → ship → watch-pr → learn
                       ▲                                                         │
                       └──────────── docs/learnings/ · docs/adr/ ◄───────────────┘
debug → fix → review → learn       polish: user-guided UI touch-ups
release → deploy → monitor ─(threshold breached)→ rollback → postmortem → learnings, amendments
decide → ADR     metrics (real DORA, cost)
autopilot: from request to ready PR, autonomously

Which command for which situation

| Situation | Command | Why that one | |---|---|---| | Kaizen never used in this repo | /kaizen:setup | config, verification commands, detected deployment, profile (by the repo's stakes) | | Set up the SDLC, find out what the project lacks | /kaizen:setup audit | maturity per area (CI, tests, secrets, review, deployment, monitoring) and guided fixes by priority | | Choose or adjust the agents' model | node $K models, then models in .kaizen/config.json | one model per role depending on the profile: frugal research, critical judgments on the strongest | | Lay down the project's rules | /kaizen:constitution | 5 to 9 principles, each with a check that plan and review enforce | | Does not know what to do next | /kaizen:ideate | ideas grounded in the code, critiqued, ranked | | A feature idea, still fuzzy | /kaizen:brainstorm <idea> | defines what: R requirements, AE acceptance examples | | The requirements are clear | /kaizen:plan | decides how: units, threats, rollout, PR slices | | A plan to review before coding | /kaizen:doc-review <plan> | plan reviewers (called by plan) | | A ready plan, or a small precise change | /kaizen:work [plan] | test first, one commit per unit, gate, review | | A bug with an unknown cause | /kaizen:debug <symptom> | reproduction, causal chain, test-first fix | | Visual touch-ups to an interface | /kaizen:polish | dev server, feedback applied live | | Get code reviewed (branch or PR) | /kaizen:review [PR number] | reviewers chosen by the diff; records the review required at push | | Open the PR | /kaizen:ship | checks, size, description from the plan | | Review comments on the PR | /kaizen:address-feedback | verdict, fix pushed, reply, thread resolved | | Drive a PR to "ready" | /kaizen:watch-pr <url> | feedback, CI, branch update; never merges | | Chain everything without intervening | /kaizen:autopilot <request> | from request to ready PR (ideally after a brainstorm) | | A decision that is hard to undo | /kaizen:decide <question> | options compared on evidence, then an ADR | | A non-obvious problem was just solved | /kaizen:learn | a learning the next plan and the next review will read | | Many or stale learnings | /kaizen:prune-learnings | keep, update, merge, delete | | A production incident | /kaizen:postmortem | blameless: timeline, factors, actions, learnings | | Prepare a release | /kaizen:release | notes, SemVer, CHANGELOG, production checklist | | Deploy to production, or roll back | /kaizen:deploy <env> [ref], /kaizen:deploy rollback <env> | the team's commands, typed approval for production, tag, watch, rollback | | Is production healthy? | /kaizen:monitor [env] [watch n] | declared signals against the config's and plans' thresholds | | Detect incidents continuously, an alert just fired | /kaizen:monitor production continuous, /kaizen:monitor production incidents | scheduled check (patrol) or the team's alerts wired in, dated incidents | | Know whether things improve | /kaizen:metrics | approximated DORA, learning reuse, cycle cost | | Push refused, gate blocking, skill not triggering | — | docs/troubleshooting.md, then /kaizen:setup check |

Tie-breakers:

  • work or autopilot: work moves forward with the user; autopilot goes alone up to the PR.
  • debug or work: unknown cause → debug; obvious fix → work.
  • brainstorm or plan: not sure yet exactly what → brainstorm; known → plan.
  • Profile: it follows the repo's stakes. Too much ceremony on a low-stakes repo (prototype, internal tool) → lean profile (.kaizen/config.json), which lightens plan and review without touching the gates; a repo that went to production or handles sensitive data → standard or full.

What help does not do

It does not run the recommended command and writes nothing: it orients. If the user says "go ahead", invoke the recommended command, not help.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/kaizen-help-which-command-to-run-next-mvda87q4/download' --output '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md.part' && mv '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md.part' '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Outils déclarés par l’auteur (à vérifier dans votre agent) : Bash(node:*), Bash(git:*), Read, Glob, Grep

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md' && test -s '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/help' && cp -R '.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4' '.claude/skills/help'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4'

openskills read 'kaizen-help-which-command-to-run-next-mvda87q4'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/kaizen-help-which-command-to-run-next-mvda87q4/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires