/cadrer-x:ranger [une partie du code, ou rien pour tout]from cadrer-x
Ranger 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é.
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.
None: SKILL.md is the whole skill.
Move existing code where ../cadrer-x-modules/references/structure.md puts it. Change nothing
product does. Move + bug fix or feature hides one in other: this skill does neither. First prove
what product does today; then move one module at a time, checks green after each; then someone who
didn't move it looks for what changed. All on own branch, merged on person's yes.
Talk and write in person's language, notes between tool calls too; in French, tu or vous as they write, vous when unsure, never both. File names, headings, labels, commit messages stay as written here.
Helpers. Where 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.
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, manifest's scripts, docs/architecture.md (Modules, À
faire), docs/glossaire.md, git worktree list,
git branch --list 'chore/ranger' 'feature/*'.
.worktrees/ and .cadrer-x/ in .git/info/exclude, then
git worktree add -b chore/ranger .worktrees/chore.ranger <main branch>, or reuse both. Copy
untracked .env* files from repo top
(never commit), run README → Commandes → Installer there once. Everything below runs there.docs/rangement.md on chore/ranger): pick up at first unticked
module, say so in one line.feature/* not merged into main branch): each takes this in at next
/realiser, conflicts land there. Say which, recommend laying out code once none in
progress; their call, one question.Vérifier in README → Commandes, nothing runs code: safety net below starts with one.Read ../cadrer-x-modules/references/structure.md and cadrer-x-modules, then code. Where code
goes, that file answers: never ask person, never call project too simple. Modules = areas of
product, named with words of docs/glossaire.md (never utils, helpers, services). Argument
names part of code: only that part.
Write docs/rangement.md:
# Rangement — <Produit>
**Cible** : <the layout in one line: the framework's way, or the tree of structure.md>
**Base** : <main branch> @ <commit>
## Avant
- Vérifs : <the command> — <its summary line>
- Écrans : <the pages and states captured, or aucun>
## Modules
- [ ] <module> — <ce qu'il possède> — depuis : <the files or functions it takes, from where>
- [ ] shared — <what several modules use and that holds no rule>
## Remarques
- <a bug or an oddity seen on the way: kept as it is, for a feature to fix>
Order modules so each moved one depends only on modules already moved, or code still in place.
Show it, plain words: what each module holds, what stays (framework folders, host files),
nothing person sees changes; then one question naming it. Clear yes ("oui", "ok", "ça va", "c'est
bon"); change asked for folded in. Commit plan: rangement — plan.
cadrer-x-tdd. Green on code as is. In project's runner;
none: smallest the stack ships (node --test, python3 -m unittest), check command learns it.Lancer, else folder on 127.0.0.1),
reach each page and state person can, at 390 and 1280 wide, save capture of each in
docs/rangement/avant/<page>-<état>-<largeur>.png; note console errors.rangement — avant.Each module of plan, in order:
api.<ext>, or what framework makes public) exporting what rest of
code uses.git mv, history follows. Part of file: cut/paste, word for
word; old place calls new entry until callers moved.structure.md puts them, each through entry. Test changes import,
never assertion.Never changed by move: what person sees, URL, stored key (localStorage key, cookie, table,
column), file host serves by name, outside call. Move needing one = question. Build script and check
command change only to find files where they now are.
Then whole check command; red: fix move (read cadrer-x-debug), never test. Tick module in
docs/rangement.md, commit: rangement — <module>. Next module same session unless person stops;
ticks in rangement.md let /ranger resume anywhere.
rangement — avant still there, assertion
unchanged (git diff commit of avant vs now, on tests).docs/rangement/apres/; compare each pair with own
eyes. Visible difference = move to fix.<the worktree>, read docs/rangement.md, then git diff <base>...chore/ranger.
It only moves code. Find each place where what the product does changed: a branch dropped in a
move,
a default or an order changed, an export lost, a handler no longer wired, a stored key, a URL or
a
served file renamed. Each with file:line and the old line. Change nothing; your last message is
the
list, or aucun. » Each real finding fixed, with test that would have caught it. No subagent
possible: say so, give person this prompt to run in fresh session before merging; no merge on own
reading.docs/architecture.md → Modules: new map, each module with what it owns and paths; a line
in STATUS.md → À faire asking for it removed (- aucun if none left). Commit:
rangement — fait.One message: modules now there, one line each; tests before/after (count, all green); screens
compared; second look findings + fixes; Remarques. Then ask merge into main branch. On yes: from
main checkout, git merge --ff-only chore/ranger (can't fast-forward: ask again before merge
commit), then git worktree remove .worktrees/chore.ranger and git branch -d chore/ranger. Never
push. With remote: say <main> now ahead of it; next /rendre pushes it first, on its
yes, so feature PRs carry only their own work. Each feature in progress: say next
/realiser takes this in. Then next step: /choisir <idée>.
| Thought | Instead |
|---|---|
| "While moving, fix this bug." | Remarque; feature fixes it. |
| "Test asserts something odd; correct it." | Pins today's behaviour: only import changes. |
| "All modules at once, then checks." | One module, green, committed; then next. |
| "No tests; move mechanical, fine." | Safety net first: tests + captures of today. |
| "Nicer key name for localStorage." | Stored and addressed names never change in move. |
"Project small; utils folder will do." | Areas of product, named from glossary. |
| "Diff looks clean to me." | Second look by someone who didn't move it. |
| "Moved: merge into main." | Ask; merge on yes, never push. |
What SKILL.md sets; muted values are Claude Code's defaults
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./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é./Other plugins' skills for the same job