/cadrer-x:initialiser [le produit en une phrase]from cadrer-x
Pré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é.
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.
Set project up with person, once, before first feature. Two steps, each ends in files on one branch:
vision (VISION.md), then layout (README → Commandes, docs/architecture.md,
docs/glossaire.md, AGENTS.md, existing docs moved to place). No
feature, no code: first feature sets up what code needs.
Talk and write files' text in person's language, every message (notes between tool calls too); French: tu or vous as they write, vous when unsure, never both. File names, headings, labels stay exactly as written here, all languages: later skills find them by name.
Folders. As plugin, skill's folder is <name>/ (choisir/); installed as files,
cadrer-x-<name>/. Each ../<name>/ or <skills folder>/<name>/ here: whichever exists.
<skills folder>: folder holding this skill's folder, absolute path.
Read first: README, manifest (package.json, pyproject.toml, Makefile…), docs/,
git log --oneline | head, git branch --list 'chore/cadrer-x-init'.
python3 <skills folder>/cadrer-x-securite/scripts/secrets.py tout <top> (tracked files, every
commit). A hit: ../cadrer-x-securite/aide.md → The stop, before anything else.VISION.md on main or chore/cadrer-x-init: step 1.## Vision (pre-board): step 1, missing sections only. Existing stays; its
Problème and Succès become Besoins and Objectifs.## Commandes in README, docs/architecture.md (or no ## Règles in it),
docs/glossaire.md or AGENTS.md: step 2, missing parts.git init, commit files as-is (or empty README if
none) as initialiser.The branch. Both steps write on chore/cadrer-x-init, in its worktree, main checkout untouched:
add .worktrees/ and .cadrer-x/ to .git/info/exclude if absent, then
git worktree add -b chore/cadrer-x-init .worktrees/chore.cadrer-x-init <main branch> (or reuse
existing). Commit each step there. Main
branch never written without person's yes.
First turn. Start research on what exists — longest — in background subagent: product one sentence, who for, problem as understood; per kind of alternative (existing products, open-source, no-code like forms, Airtable, Notion, plain spreadsheet, paper routine) what it does for problem, monthly cost at this size, what it lacks, links; existing product: also cost of moving (below). No background: do yourself after their first answer. Then one message: one line saying you check what exists and using one instead of building is good ending (existing product: keep-or-switch weighed with them), then Q1.
Each question carries, their language, own words: plain question, two-three choices when helpful; then guess, basis, confidence (rough figure helps), what missing to be sure.
The sections of VISION.md — Roman Pichler's Product Vision Board, its order, then Faire ou
louer:
Question order not file's: Pour qui, then Besoins, easy ones. Then Vision, drafted from their words to correct — never cold, empty "quelle est ta vision ?" stalls. Faire ou louer once research back; on build, Produit, then Objectifs.
Existing product (running code, or users): repo answers part of board before asking. Read
README, screens (routes, or app via manifest's dev command), data code keeps, draft Pour qui,
Besoins, Produit from them: draft rides with questions on what repo can't tell; they correct
wrong parts, more sure where repo plain. What repo can't tell (who pays, last real case,
Objectifs numbers) still asked. Faire ou louer becomes keep or switch: per option, research
prices move — data to carry, people to bring, what today's product does they'd lose — question: go
on or switch. Recommend switch only if option does what they use today and move worth it. Switch
recorded as louer : <X> with move in one line, ends here like any louer: cadrer-x does not do
move.
The voice. VISION.md is owner's text: as they'd say it, active, product as subject (« Agendo
montre… »), « je » rare, plain verbs (« prévoir », never « craindre » for plan).
Faire ou louer. Research back: show short table (option · fait · coûte · manque), then one
question: build, or use one. Recommend honestly: 10 €-a-month product or spreadsheet covers most →
recommend it, say why in their terms: what it gives day one, monthly cost, what building costs
instead (weeks before first use, then code to keep alive, host, fix), against what it lacks for
them. "Louer X" ends here: VISION.md records verdict, Produit and Objectifs say aucun,
nothing built, no step 2 — say it's a win (no code to maintain). Build verdict names what every
option lacks that matters: first draft of Produit.
Save — one yes, at end. When you can predict their next answers, write back six lines (Vision ·
Pour qui · Besoins · Produit · Objectifs · Faire ou louer), ask own words if that's it: step's one
yes. Clear yes: write VISION.md in branch's worktree:
# <Produit> — vision
## Vision
## Pour qui
## Besoins
## Produit
## Objectifs
## Faire ou louer
Commit: vision — <Produit>. Then step 2 right away, one line. They stop you: /initialiser
resumes at step 2.
Four parts, this order, written on branch, committed as you go: branch is draft. What repo or
../cadrer-x-modules/references/structure.md answers, don't ask; question only where both silent
(new project's stack, doc content can't place, failing check). Then one yes (see Save).
Nothing moves: no doc, no code, no asset, no config. Repo's own layout is the project's.
references/carte.md. Open each doc (heading, first lines):
name guesses, content decides (HISTORY.md telling product's story not changelog). Each doc
holding a role of carte.md: row in docs/architecture.md → Docs (role, path), used there
from now on, in its own format. Role no doc holds: carte.md's default path, made when a step
has something to put in it. What file can't settle = one question, with guess.Commands repo defines, never invented (except plain server below): manifest scripts, lockfile's
manager (pnpm-lock.yaml → pnpm install --frozen-lockfile), pyproject.toml, Makefile. Where
each lives:
package.json → scripts, Makefile…): checks under one check script
(added, chaining existing ones, when missing), app under dev (or start); README names them.README (created if none), on branch:
## Commandes
- Installer : `<command>`
- Vérifier : `<command>`
- Lancer : `<command>` — http://localhost:<port>
Only lines with value: no placeholder. Lancer whenever person runs app, address only for pages
(plain pages, no dev script: python3 -m http.server <port> --bind 127.0.0.1). Tell them checks
run during build, so existing failures slow every feature: run each once now, drop or fix failing
with them. No code yet: - Vérifier : aucune, Lancer only plain pages, say first feature's
builder fills them. No ## En ligne: /rendre adds it first time online.
.claude/settings.json: each command of Commandes (Installer, Vérifier, Lancer) in
permissions.allow as Bash(<the command>), plus each references/permissions.json rule missing
from permissions.allow / permissions.ask (git commands steps run, gh auth status; push, PR
merge, deploy and rollback scripts stay asked), so build not prompt per check or merge.
Nothing else; never git push in allow. Committed with rest.
docs/architecture.mdFrom templates/architecture.md. Existing repo: fill each section from repo (manifest, folders,
env files by name), unknown left (à compléter); Modules names each code folder, what it owns,
paths. No code yet: settle stack with them first, one question per message:
choisir would ask it again); unchosen setups under Écarté.
Modules, no code yet: open ../cadrer-x-modules/references/structure.md, write layout for
chosen stack. Framework with own way (folders, unit of code, test location): that way as-is, plus
what module is in it. Only for what it leaves open: that file's tree, with shared row, inside
framework's own src/ if any, never second. Modules themselves come with features needing them.
Existing repo laid out neither way: map of code as it is, no target, no move
(../cadrer-x-modules/references/structure.md → An existing project).
STATUS.md, repo top, from templates/STATUS.md: what true now, read first by every skill;
rules in template's comment. New: each section - aucun, except Plus tard: each feature idea
person gave (command's sentence, answers), in their order, their words, one line each
(- <idée> : /choisir); choisir starts from first. Never asked again there.
docs/glossaire.md, both cases, from templates/glossaire.md: product name first, as vision
gives, then only non-obvious words: trade word newcomer wouldn't know, word used in own sense here,
or one chosen over synonym (« Jeton : … », « Inscription : jamais réservation »), from README,
screens, code, their answers, so every spec, screen, module, test uses same word. Never common word
in everyday sense. Existing glossary: used where it is, row under Docs, these rules for words
added.docs/architecture.md → Règles, AGENTS.mdRègles, section of architecture.md, holds rules every change keeps: what, broken, puts bug,
leak, liability in product. From template's ## Règles: default rules, plus what repo implies
(tests, modules), minus what doesn't apply (no personal data: no M3, no M4; code mapped as is, no
module entries: no M6).
Existing rules file (principles.md, conventions.md): its rules first, this shape. Rules go in
summary as one table, who checks each and when. Each requested change folded in. Rules take effect
on their yes; after, rule changes only via ADR they approve (docs/adr/), written by
/rendre when feature needing change ships.
AGENTS.md for agents, loaded every session: from templates/AGENTS.md, short — where docs are,
pointer to Règles, never rules or commands copied. Existing
AGENTS.md: add only missing lines. No CLAUDE.md: create with one line @AGENTS.md, so one
file serves every agent; existing CLAUDE.md gets that line if lacking.
Save. Commit initialiser — organisation du projet; then
python3 <skills folder>/cadrer-x-securite/scripts/secrets.py installer <top>: each commit of
project checked for secret's value from now on (one line on it in message). Then one message,
plain words: where docs are, check commands, stack in few lines plus one action followed
through, where code goes and whether there yet, rules table. Files themselves only on request. Then
one question, your words: anything to change, else you put it in main project now. One yes covers
both; each change folded in, committed, asked again.
On that yes (or, louer, the vision's yes plus one question: put it in main project): from main
checkout, first untracked file branch also holds (installer's .claude/settings.json): identical,
git add it so merge keeps it; different, say so, ask which to keep. Then
git merge --ff-only chore/cadrer-x-init (no fast-forward: merge commit, same yes), then
git worktree remove .worktrees/chore.cadrer-x-init and git branch -d chore/cadrer-x-init. Never
push. Then next step: /choisir, starting from first idea under Plus tard (none: their
idea).
| Thought | Instead |
|---|---|
| "Idea clear enough to draft vision." | Ask: Pour qui, Besoins, Objectifs are theirs. |
| "Vision: app that books in two clicks." | That's Produit. Vision says what changes for them. |
| "Besoins drafted; check with them before Vision." | One yes, on six lines: section rides above next question. |
| "They gave 2 hours a day; is that right?" | Taken. Next question. |
| "Alternatives would only discourage." | Faire ou louer first; using one is win. |
| "Already built; Faire ou louer moot." | Keep or switch, move priced. |
| "I'll ask who it's for; code is someone else's business." | Draft from README, screens, data; ask what they can't tell. |
| "src/lib/ should be module, I'll move it." | Code stays; Modules maps it as is. |
| "docs/glossary.md should be docs/glossaire.md." | Stays; Docs row points to it. |
| "Project simple; index.html at top fine." | Projects grow: structure.md layout, stated. |
| "Rule in way, drop it." | Rules change via ADR they approve. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub karnonson/cadrer-x --plugin cadrer-x6 skills in this plugin
/choisirChoisir 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./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é./realiserDévelopper toute la spec approuvée, puis vérifier les récits comme une vraie personne dans l'application. Choisit librement son plan, son code et ses tests, corrige les échecs rencontrés et écrit `realisation.md` avec les preuves et ce qui reste non vérifié. Aussi pour corriger les constats de la relecture de `rendre`./rendreRelire indépendamment une fonctionnalité construite depuis sa spec, puis la livrer. La relecture et les corrections précèdent la doc du projet, l'ADR, la version, le CHANGELOG et `livraison.md`. Un seul oui pour envoyer, fusionner et mettre en ligne selon le plan montré. Ne corrige jamais le code./verifierVérifier la spec approuvée avant de construire, dans une session neuve. Facultatif : cherche les scénarios invérifiables, décisions perdues et contradictions avec les règles du projet. Écrit `verification.md`, ne corrige rien.