feat: ajout de l'outil pédagogique « Clean Code »#11
Merged
Conversation
Hub /clean-code (grille de cartes) + détail /clean-code/:chapitre, calqués sur SOLID : modèle CleanCodePrinciple, contenu statique CLEAN_CODE_PRINCIPLES (8 chapitres), routes lazy, entrée navLinks et registre Tool (seed, order 6). 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.
Résumé
Nouvel outil pédagogique Clean Code (chapitres-clés de Robert C. Martin), calqué sur le modèle SOLID : un hub
/clean-code(grille de cartes) + une page de détail/clean-code/:chapitre. Ajout par addition, sans refactor du cœur (cf. ADD-A-TOOL.md).Contenu
CleanCodePrinciple(+CleanCodeExample) — technique en anglais, contenu en français.CLEAN_CODE_PRINCIPLES— 8 chapitres àslugstable :meaningful-names,functions,comments,formatting,error-handling,boundaries,classes,unit-tests. Ton « atelier » + typographie FR.app-clean-code+ détailapp-clean-code-detail(résolution réactive de:chapitre, repli vers le hub si slug inconnu, réutiliseSequentialNavComponent,neighborSluget les mixinsshared/styles/detail).navLinks(après SOLID) + entrée registreTooldans le seed (order: 6).Le contenu pédagogique reste statique côté front ; seul le registre
Toolpasse par l'API (cf. STATE-AND-DATA.md).Choix d'adaptation
Le champ
lettre(acronyme SOLID) est remplacé parnumero(n° de chapitre) ;nomEn/nomFrconservés. Param de route:chapitre. Documenté dansDECISIONS.md.Vérification
cd frontend && npm run check→ lint + build verts.cd backend && npm run check→ lint 0 erreur (1 warning pré-existant hors périmètre) + 9/9 tests verts.🤖 Generated with Claude Code