/cadrer:executer [dossier] [tranche | parallele]from cadrer
Construire les tranches. À utiliser quand les tranches existent. Vérifie ce que la personne devait préparer, puis enchaîne seul chaque tranche ouverte : un sous-agent la construit en local, un autre l'audite comme la compétence reviser, un troisième corrige un défaut trouvé, puis la suivante. Les questions pour la personne vont dans `a-trancher.md` sans arrêter la construction. Une tranche nommée : celle-là seule. `parallele` : les tranches ouvertes en même temps, chacune dans son worktree.
Ships in cadrer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You run the build loop; the building and the auditing happen in sub-agents, never in this window. Read builds/<NN>-<slug>/tranches.md (first argument picks the folder, else the only one, else ask). Open slices are those not yet audited fusionner whose Bloqué par all are — the Audit : lines say which. A slice number after the folder: that slice only — built, audited, fixed and audited again if the audit asks — then stop. parallele: see below. Otherwise one open slice at a time, first open first, until none is left. Answer, and write the files' contents, in the person's language; file names and headings stay as written here. Put questions to the person through the AskUserQuestion tool when you have it: your pick as the first option, the context it needs in your message just before.
This window keeps only reports, so it lasts the whole run: never read the code, the diffs or the screenshots here until the end. Before each slice, re-read tranches.md and take the next open slice from it, not from memory — a run that stopped, or was compacted, picks up where the file says: a slice with ticked boxes and no Audit : line starts at 2, one with an Audit line not yet committed — a typed /cadrer:reviser leaves it so — starts at 3, one whose Audit line says corriger d'abord starts at 1 as a fix pass.
Before the first slice, note the commit you start on — when that slice picks up where a stopped run left it, the commit before its first build instead — then read À faire à la main in architecture.md. No architecture.md: the builds and audits need it — say the affiner step writes where it runs, and stop. Put every unticked avant la construction item to the person in one message — what to do, where, why it is needed. A secret's value never passes through this conversation — and a command typed here with ! lands in it, with what it prints: give them the page where they paste the value, or the command to run in a terminal of their own outside this window, into the place Comptes et secrets names. ! only for a command with no value in it and none in what it prints, such as a login that opens a browser. Wait until they say it is done. Check each one you can from here without showing a secret's value — the variable is named where Comptes et secrets says, the command answers, the account lets you in — and tick it; one nothing here can check, tick on their word with confirmé par la personne after it; commit architecture.md as À faire à la main : <what was checked>. One that fails: say what you saw, and start no slice until it passes or they cut it.
Each slice, on the branch you are on:
${CLAUDE_SKILL_DIR}/construire.md and follow it. Wait for its report. If it returns a question, put it to the person, send the answer to that same sub-agent, and wait again.${CLAUDE_PLUGIN_ROOT}/skills/reviser/SKILL.md and follow it. Wait for its verdict. A question it returns goes to the person the same way.audits/<NN>.md, tranches.md and a-trancher.md if it changed, as audit <NN> — <verdict>.An audit that found a secret's value in a tracked file stops the run before any fix pass: tell the person which secret and which commit — never the value — that its value must be changed where it was issued, since a later commit leaves it in git history, and that the branch must not be pushed until that commit is taken out of it; offer to do that, and do it only with their yes.
A new entry in a-trancher.md never stops the run and never starts a fix pass: the slice goes on with what was built.
With parallele: every open slice at once, one worktree each — git worktree add ../<slug>-<NN> -b tranche-<NN> from the branch you are on — and every brief names its worktree, where the sub-agent works and commits. On fusionner, git merge --no-ff tranche-<NN> into your branch, git worktree remove ../<slug>-<NN>, then start the slices that merge opened. A merge whose only conflict is a-trancher.md: keep both slices' entries in that file, git add it and finish the merge. Any other conflict: git merge --abort, start nothing new, let running slices finish their audit, and stop naming the files both slices changed.
Stop when no slice is open, on retour à la tranche, on a merge conflict, on a committed secret, or when the person leaves a returned question unanswered. If a slice was built or resumed in this run, start one sub-agent for the Code axis. Brief: the folder, and to read the Code axis paragraph in ${CLAUDE_PLUGIN_ROOT}/skills/reviser/SKILL.md and follow it over git diff <start commit>...HEAD with the same excludes that file gives, never edit code, write the report under a heading naming the two commits at the end of audits/code.md beside tranches.md, return under 100 words. Commit that file as audit code. Then look at the screenshots the reports named, and end with:
/cadrer:executer again once that is done; every slice fusionner and every a-trancher answer placed, /cadrer:livrer puts it online;Then put each a-trancher.md entry with an empty Réponse : to the person — up to four per tool call, what was built as the first choice — and write each answer there. If an answer changes what was built, commit the file and say the repartir skill turns it into slices; if none does, commit it and say so.
Never merge anything but a fusionner slice's worktree, never fix code here, never change a verdict.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub karnonson/cadrer --plugin cadrer7 skills in this plugin
/affinerTrancher les décisions. À utiliser quand `idee.md` existe et avant toute spec. Interroge la personne une question à la fois jusqu'à ce que chaque décision derrière l'idée soit prise, ou laissée ouverte en connaissance de cause — ce qu'on construit, puis où ça tourne, ce que ça coûte et ce qu'il faut préparer — et les écrit dans `decisions.md` et `architecture.md`. Ne construit jamais, ne spécifie jamais./choisirTrouver l'idée. À utiliser quand quelqu'un arrive avec un problème, un agacement ou une vague idée d'appli et n'a pas encore décidé quoi construire. Une séance d'idéation — le problème d'abord, une large divergence, un seul choix — qui se termine par `idee.md` et aucun code. Pas pour planifier, spécifier ni construire quelque chose de déjà décidé./detaillerÉcrire la spec. À utiliser quand les décisions sont prises et avant tout découpage. Transforme `idee.md`, `decisions.md` et `architecture.md` en une seule spec — synthèse seulement, pas d'entretien. Ne construit jamais./livrerMettre en ligne. À utiliser quand les tranches sont auditées fusionner et que `architecture.md` existe. Vérifie ce que la personne devait préparer avant la livraison, montre ce qui va être créé, payé ou envoyé et attend son accord, met en ligne, refait le trajet sur la vraie adresse et écrit `livraison.md`. Ne corrige jamais le code./repartirDécouper en tranches. À utiliser quand la spec existe et avant tout code. Découpe la spec en tranches traçantes, chacune disant ce qui la bloque, dans `tranches.md`. Ne construit jamais./reviserAuditer la tranche. La compétence executer l'enchaîne après chaque tranche ; à lancer à la main pour auditer une tranche déjà construite. Tourne dans un sous-agent qui ne voit pas la conversation. Audite les changements de la tranche sur deux axes — fait-elle ce que la tranche, la spec et l'architecture demandaient, le code est-il sain — et écrit un audit avec un verdict. Ne corrige jamais le code, ne fusionne jamais.