From f7d9a10d676a85e1ecd5081f8dc2f2ba600cb7cc Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Mon, 6 Jul 2026 16:52:10 +0200 Subject: [PATCH] job3: A2+A4+A5+A6+A7 onboard body fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - A2: graphify build flag --output -> --out - A4: ROADMAP xref points to the real /onboard add gsd path, not a nonexistent STEP 9 decision - A5: exact gitflow init commit message (matches lib/gitflow.sh:163) - A6: bare skill names (design-review, browse) — no gstack: namespace exists - A7: eval pattern for recommend_anim_install_cmd (the function only echoes; must eval its output) --- skills/onboard/SKILL.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/skills/onboard/SKILL.md b/skills/onboard/SKILL.md index c2d92de..3be3c93 100644 --- a/skills/onboard/SKILL.md +++ b/skills/onboard/SKILL.md @@ -96,7 +96,7 @@ L'agent génère : - `.claudeignore` - `.gitignore` (safety check) - `.claude/tasks/TODO.md`, `.claude/memory/{decisions,learnings,blockers,journal,evals}.md` -- **Pas encore** `ROADMAP.md` (décision STEP 9) +- **Pas encore** `ROADMAP.md` (généré uniquement via `/onboard add gsd` — voir Next steps) Si `CLAUDE.md` existe déjà : lire son contenu, ne PAS écraser — fusionner après STEP 3. @@ -122,7 +122,7 @@ Cas : Stack: . Aucune lib d'animation détectée. Install `` ? (yes / skip) ``` - Sur `yes` → exécuter `recommend_anim_install_cmd "$pkg"` puis confirmer. + Sur `yes` → `cmd=$(recommend_anim_install_cmd "$pkg"); eval "$cmd"` puis confirmer. Sur `skip` → continuer silencieusement. - **`status=eligible` AND une lib anim déjà présente** (motion, framer-motion, gsap, lottie, react-spring, popmotion, auto-animate) → log info uniquement : @@ -143,7 +143,7 @@ bash "$HOME/.claude/lib/gitflow.sh" init Sur un repo existant, cela : renomme `master`→`main` si besoin (LOCAL), crée `develop` depuis main, réconcilie le socle `.gitignore` (additif — n'écrase jamais les règles du projet), installe le hook pre-commit versionné, et fait UN -commit `chore: adopt gitflow socle + hook` sur main (pendant que le hook est +commit `chore: adopt gitflow socle + pre-commit hook` sur main (pendant que le hook est inactif → jamais auto-bloqué). Idempotent — un re-run est un no-op. **Annoncer le renommage master→main** s'il a lieu. Le renommage est LOCAL ; @@ -251,7 +251,7 @@ test -f graphify-out/GRAPH_REPORT.md && echo "graph-exists" - **Graphe déjà présent + récent** (fichier < 7j) → skip, réutiliser l'existant. - **Sinon** → run : ```bash - graphify . --output graphify-out 2>&1 | tail -20 + graphify . --out graphify-out 2>&1 | tail -20 ``` Puis `test -f graphify-out/GRAPH_REPORT.md` pour valider. @@ -630,7 +630,7 @@ Agent( **Cas gstack ON + URL live OU dev server launchable :** ``` Skill( - skill="gstack:design-review", + skill="design-review", args="--url --output .onboard-audit/design.md --audit-only" ) ``` @@ -673,7 +673,7 @@ Agent( **Cas gstack ON + URL live :** ``` Skill( - skill="gstack:browse", + skill="browse", args="--lighthouse --url --output .onboard-audit/perf-lighthouse.json" ) ``` @@ -715,7 +715,7 @@ Agent( **Cas gstack ON + URL live :** ``` Skill( - skill="gstack:browse", + skill="browse", args="--axe --url --output .onboard-audit/a11y-axe.json" ) ```