feat: outil « mettre en place Claude Code » + porte de vérification#5
Merged
Merged
Conversation
Deux chantiers livrés ensemble (fichiers entremêlés : DECISIONS.md, kit). Outil pédagogique « claude-code-setup » (hub + détail, 4 sujets) suivant ADD-A-TOOL.md, contenu statique dans core/data, plus un kit autoportant claude-code-starter-kit/ généralisé depuis le setup réel de CraftCode. Porte de vérification : hook Stop verify-gate.mjs qui bloque la clôture tant qu'une édition de code (frontend/ ou backend/) n'a pas de npm run check postérieur, pendant Stop du résumé summarize-change.mjs. Version générique ajoutée au kit. Anti-boucle via stop_hook_active, exit 0 sur erreur. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intention
Deux chantiers non commités livrés ensemble (leurs fichiers sont entremêlés —
DECISIONS.mdetclaude-code-starter-kit/appartiennent aux deux, donc PR groupée assumée).1. Outil pédagogique « claude-code-setup » + kit de démarrage
claude-code-setup(hub + détail, 4 sujets) suivantADD-A-TOOL.md, contenu statique danscore/data/.claude-code-starter-kit/généralisé depuis le setup réel de CraftCode (hooks, commandes/briefet/add-module,CLAUDE.mdsquelette,settings.jsonavec placeholder MCP).2. Porte de vérification (hook Stop)
verify-gate.mjs: à la clôture, bloque tant qu'une édition de code (frontend//backend/) n'a pas denpm run checkpostérieur — pendantStopdu résumésummarize-change.mjs.stop_hook_active,exit 0sur erreur (ne bloque jamais le travail).Vérification
npm run check: lint + build OK (0 erreur).npm run check: lint 0 erreur (1 warning préexistant dansapp.js), 9/9 tests verts.🤖 Generated with Claude Code