/cadrer-x:choisir <idée, ou nom d'une fonctionnalité à reprendre>from cadrer-x
Choisir quoi développer, de l'idée à la spec approuvée. À lancer avec une idée de fonctionnalité ou de changement, ou un bug à corriger ; avec le nom d'une fonctionnalité, reprend l'étape ouverte. Une question à la fois : l'idée, les décisions, la spec, la maquette s'il y a des écrans, puis la spec approuvée et la maquette prête à construire. Ne code pas.
Ships in cadrer-x. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Find what person wants, settle what it takes, one question at time. Two steps, both in one file,
{feature}/cadrage.md: idea (its first eight sections), then decisions (next seven, then
À trancher). Then spec, by its reference;
design when screens, by worker you start (Workers); then stop. No code: builder builds from
your files; anything unsettled, they guess.
Talk and write files' text in person's language, every message included (notes between tool calls too); in French, tu or vous as they write, vous when unclear, never both. File names, headings, labels, ids stay exactly as written here and in templates, in every language: later skills find them by name.
Helpers. Where this file says read cadrer-x-<name>, open ../cadrer-x-<name>/aide.md,
beside this skill's folder, at that moment; read whole, follow. Not there: go on without.
Folders. As plugin, skill's folder is <name>/ (choisir/); installed as files,
cadrer-x-<name>/. Each ../<name>/ or <skills folder>/<name>/ here: whichever exists.
The feature's folder, {feature}: <top>/.cadrer-x/fonctionnalites/<slug>/, out of git
(.cadrer-x/ in .git/info/exclude), same path from every worktree; <top>: repo top. Nothing in
it is ever committed.
Docs. Each docs/… path here is default: docs/architecture.md → Docs names project's
own place for a role; use that one, in its own format (templates, lints only at default path).
Read first: README → Commandes, ls <top>/.cadrer-x/fonctionnalites/ (one folder per
feature underway), git worktree list, git branch --list 'feature/*'.
/initialiser sets project up first, stop.## Commandes in README or no VISION.md: say once, one line, /initialiser settles project
(who it serves, stack, checks) whenever they want; go on. Offer, never condition.feature/<slug>. Else features with
cadrage.md and no realisation.md: ask which to continue, or new idea, one question. None:
first idea line of STATUS.md → Plus tard (- <idée> : /choisir) no feature folder holds
yet is step 1's idea, said in one line, never asked again. None either: ask their idea.devis for defis, with one close feature:
that one, said in one line) with no cadrage.md, or is idea in words: step 1.cadrage.md: its files in {feature}, never committed.
docs/regles-ecriture.md, and anything else on the branch, in its worktree
.worktrees/feature.<slug> (else current checkout on feature/<slug>; else
git worktree add .worktrees/feature.<slug> feature/<slug>, .worktrees/ and .cadrer-x/ in
.git/info/exclude first, untracked .env* copied in), committed there.{feature}/verification.md with Verdict à reprendre, newer than spec.md: revise spec
from findings, never ask settled questions again.## Décisions in cadrage.md: step 2.spec.md, or Statut not validée (draft picked up where it is): spec: read
references/spec.md whole now, follow. With screens (écrans : oui in cadrage.md →
Étapes, no voie : courte), draft written, start designer's prototype before first
question: Workers; spec's yes covers screens.voie : courte, and no ## Écrans in maquette/passation.md (file absent, or
holding Contenu alone, written with the pages): prototype: start (or resume) designer,
Workers.maquette/passation.md with ## Écrans, failing its lint: designer (stage passation) reruns
passation's checks: a half-done stage.A half-done stage: lint-checked file (spec, passation) fails its lint, or worker
report names paths it did not finish: its worker again, resumed or fresh, until lint prints nothing.
docs/regles-ecriture.md or DESIGN.md changed: commit each alone on branch, never git add -A.
Reference you follow, here, step 1, or worker's with no subagents: after summary of this conversation, read again.
cadrage.md → Décisions and Précisions, every answered
question of cadrage.md → À trancher: read, never asked again.First turn.
VISION.md, docs/glossaire.md (use its words, never
synonym), docs/architecture.md, other features' cadrage.md (those underway: shipped feature's
folder gone), STATUS.md (Plus tard: what waits; À faire), manifest (package.json,
pyproject.toml, Makefile). What they answer, don't ask. What memory or other project says about
person: guess to put to them, never cadrage.md line on its own.Each question carries, own words: question plain, two or three concrete choices when helpful; then expected answer, what it rests on, how sure (rough figure helps), what missing to be sure.
What interview settles — headings of cadrage.md:
Interview is the job: done when you can predict their answer to next three questions. Then write back — Résultats attendus, Pourquoi maintenant, Mesure, Contraintes, Non couverts, one line each — save (Save, below) same message, end saying saved and you go on unless they change something. Correction: change file, write back changed lines.
A small change (word, colour, link, default, on something product has): read
references/petit-changement.md whole now, follow.
A bug (should work and doesn't, or worked and stopped): read references/bug.md whole now,
follow.
Save, with write-back.
Slug: lowercase words and hyphens, max 24 chars, no feature/<slug> already.
Base: repo's main branch (origin/HEAD, else main, else master), fetched first when remote.
Branch and worktree: add .worktrees/ and .cadrer-x/ to .git/info/exclude if missing, then
git worktree add --no-track -b feature/<slug> .worktrees/feature.<slug> <base>. Copy untracked
.env* files from
repo top into worktree (never commit).
Write {feature}/cadrage.md (<top>/.cadrer-x/fonctionnalites/<slug>/cadrage.md) with these
headings exactly; empty heading says aucun; Mesure and Existant never aucun: ask or look up:
# <Titre> — cadrage
## Résultats attendus
## Problème
## Pourquoi maintenant
## Mesure
## Contraintes
## Existant
## Non couverts
## Ouvert
A split: one branch, folder and cadrage.md per feature, numbered in build order.
Go on to step 2 right away, on the first in build order, and say so in one line with how many
decisions are left. They stop you: /choisir <slug>
picks it up at step 2.
Load, before any question. The feature's cadrage.md, whole (Décisions and À trancher
when there). What is already settled — read it, never ask it: docs/architecture.md (its stack,
Modules, data), docs/architecture.md → Règles, docs/adr/.
Map the design tree: each decision and the ones that hang off it. The frontier is every decision whose prerequisites are settled. Start from the idea's Ouvert list and the assumption it rests on. Each answer reshapes the tree: recompute the frontier before the next question.
The short path, as soon as you can tell, for a small change: no new screen and no new way
through one (a change a person sees on a screen that exists is fine: a word, a colour, a link, a
button that misbehaves), no personal data, no new service or stack choice, no rule of the
Règles touched, whatever its size: several stories still go short. A bug
usually is one. Say in one line that it is a small change and that you take the short path, and add
- voie : courte under Étapes. The decisions are then only the idea's Ouvert points: ask
those, nothing more, and save. Any doubt: the full path. The person's ask wins:
the full path, or the short path despite one of these: - voie : courte — demandée. Bigger than
it looked (a later step finds one of the above after all): demandée stays; else remove line.
Each time, one line says what path skips (design), or
why it is now full.
Stages, as soon as you can tell. A browser page changes → écrans : oui (a terminal's output:
non). Say it in the first turn: with the spec comes the prototype of the screens, its look and
its words, judged with it; one yes covers both before build.
Without the tool, each question carries, in your own words: the question and why it matters, in one line; its options, lettered so one letter answers; your advice and why; and how they can answer (a yes takes the advice, a letter, or their words). In a batch, a number before each question, nothing else.
cadrage.md → À trancher with your
recommended
answer: they settle it when the spec is written.DESIGN.md, no tokens file,
no screens in the app), one question is never skipped, the look: fonts, colours, a site they
like, what « premium » means to them, in the batch when there is one; the designer's prototype
is built on it, and its pistes vary it, never replace the question. A look the product already
has is read, never asked. With screens, their real content (name, address, photos, and where
those are).A new outside service (email, text messages, payments, login, hosting, a database, an AI model, storage, analytics, a scheduler) that the settled stack does not cover:
Close. Tell one real day with the finished feature, step by step, in their words — who opens it,
what they do, what they see, what goes wrong — then what gets built, the stages, the services and
what they cost, the data kept and for how long, and what waits in cadrage.md → À trancher.
Save (below) in
the same message and ask what is wrong in it; each correction changes the file, and the part of
the day it touches is told again.
Save, with the day: appended to {feature}/cadrage.md, after Ouvert, these headings
exactly, aucun under an empty one:
## Décisions
- D1 <décision> — pourquoi : <their reason, or « supposé »>
## Étapes
- écrans : oui|non
- code : oui|non
- données : oui|non
- voie : courte|courte — demandée (only on the short path)
- bug : oui (only for a bug)
## Précisions
- Q : <question> → R : <réponse>
## Stack
- <besoin> : <choix> — pourquoi : … — coût : …/mois — aussi envisagé : … — demandé|proposé
## Impact archi
## Données et risques
## À faire
- [ ] <what the person sets up by hand, where> — avant le développement|avant la livraison
code : non is a copy or docs change; données : oui stores or changes stored data.aucun. Not when the feature adds a module, a table or a kind of
stored
data, an outside service or a running part (a job, a worker), or changes the stack. A setting
saved
per account is stored data: say what. docs/architecture.md itself is not edited here:
/rendre folds this in when the feature ships.cadrer-x-securite. Each piece of personal data:
what, where it is kept, the GDPR basis, how long, who sees it. How long takes the helper's
default, marked supposé (while it serves its purpose, then deleted) and told in the day: a legal
question is never theirs to answer. Each secret by name and where it
lives, never its value. The abuse cases: no login, someone else's data, bad input, too much input.Questions left open: under ## À trancher, last section of cadrage.md (added when first
needed), one block each, numbered after the file's last Q:
### Q1 · spec · <the question, as they would ask it>
- Options : <a> | <b> | <c>
- Effets : <what each means for them>
- Conseil : <a> — <why>
- Réponse :
Then the spec, here: say in one line that you go on with it, and go back to Which step.
The pages are made by designer, subagent you start, so they never load here: you keep
the person. You start each one yourself, one after the other: no worker starts another.
<skills folder>: the folder holding this skill's folder, absolute path.
general-purpose subagent (never a registered or custom agent type, never
the Skill tool), with a fresh context and
one message: « You are cadrer-x-. Read <skills folder>/<its file> whole and follow it, for
of the feature <slug>; its folder <{feature}, absolute>; the repo's top <top>;
its worktree <the feature's worktree>. Launched by choisir. » It runs in the background while
you go on with the person; its last message is its report, which names every path it wrote, a
helper's too (docs/regles-ecriture.md, DESIGN.md: the paths you commit, on the feature
branch).The designer: cadrer-x-designer, choisir/references/maquette.md, for a feature with
screens (Which step), a changed screen as much as a new one. Its server is yours: a designer that
replaces it in this session gets its address and pid in its message, and you stop it (kill <pid>)
when you close the designer for good.
maquette): started once the spec's draft is written, with the look
and the words the decisions settled. A report with Pistes (no look to follow): show each,
its address and its line, and ask which one, or what to take from each; the answer goes to the
designer. Then show its report with the spec: the address, each screen, its states, where each
leads, then its questions, one per message. They judge the stories and the screens together: a
flow change a story quotes changes the spec too; a spec change that moves a screen goes to the
designer. Each correction goes to the designer, until the spec's yes, asked in your own words
and covering the stories, the screens and the words at once: never a scripted line.passation) writes
passation.md, lint clean, and DESIGN.md when there was none: commit it alone,
docs: DESIGN.md. Close the designer, say
in one line that spec and design are ready, then The handoff.Close designer. Any unanswered question goes in cadrage.md → À trancher with recommendation.
One message: each story in one line, remaining assumptions, then /realiser <slug>, best
in fresh session. No task list or required planning review. Person starts build.
Optional second look before build: /verifier <slug> checks spec only.
| Thought | Instead |
|---|---|
| "Ask three basics at once, save time." | Step 1: one question, next depends on it. Step 2: numbered batch only of decisions hanging on nothing open. |
| "No guess, so I don't lead them." | Guess and confidence, or recommendation. |
| "Success: happier clients." | Number and date they can check. |
| "Four parts: four features." | One feature, four stories: planned once, built one run. |
| "Write the folder in the repo." | {feature}, out of git; the branch holds code. |
| "Both files saved; they'll type next command." | Go on with spec here, unless they stop you. |
| "No time: code it here." | Never. Spec, this reply: short path is fast way. |
| "I know what that reference says." | Read whole now: it changes, summary drops it. |
references/bug.md (opens in a new tab)references/maquette.md (opens in a new tab)references/petit-changement.md (opens in a new tab)references/spec.md (opens in a new tab)scripts/lint.py (opens in a new tab)templates/maquette/maquette.js (opens in a new tab)templates/maquette/page.html (opens in a new tab)templates/maquette/styles.css (opens in a new tab)templates/passation.md (opens in a new tab)templates/spec.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/initialiserPréparer le projet. À lancer une fois par projet, avant sa première fonctionnalité, ou quand sa vision ou son organisation est à refaire. Deux étapes : la vision, sur le Product Vision Board de Roman Pichler (vision, pour qui, besoins, produit, objectifs), et faire ou louer un outil qui existe, puis l'organisation (les commandes du projet dans le README, `docs/architecture.md` avec ses règles, `docs/glossaire.md`, `AGENTS.md`, et les docs déjà là rangés à leur place). Ne développe aucune fonctionnalité./rangerRanger le code qui existe dans la disposition de cadrer-x (celle du framework, sinon un module par partie du produit), sans rien changer à ce que fait le produit. À lancer quand tu le décides : le code a grandi en désordre, un changement en casse un autre. Prouve d'abord ce que le produit fait aujourd'hui (tests, captures), puis déplace un module à la fois, les vérifs vertes après chacun, sur sa propre branche ; fait relire le tout ; fusion sur un oui. Ne développe aucune fonctionnalité.Other plugins' skills for the same job
/realisernpx claudepluginhub karnonson/cadrer-x --plugin cadrer-x