Synthèse automatique
Réalise une auto-évaluation avant revue des changements d'une branche en lançant un agent « reflector » qui vérifie correction, conventions, architecture, tests et complétude.
Points forts
- Cadre précisément le périmètre : un identifiant REQ, une branche, ou la branche courante comparée à main via `git diff main...HEAD`.
- Centralise la checklist dans un unique agent reflector réutilisé par la phase 5 de `/proceed`, ce qui évite la divergence des critères entre étapes.
- Prévoit les environnements dégradés : checklist exécutée en ligne si les sous-agents manquent, avec avertissement qu'un nom d'agent non listé peut basculer silencieusement vers un agent générique.
- Recoupe les fichiers conventions.md et architecture.md chargés et fouille `.adlc/knowledge/lessons/` pour les leçons applicables.
Limites
- S'arrête net si `.adlc/context/conventions.md` est absent : inutilisable dans un dépôt n'ayant pas lancé `/init`.
- La checklist réelle réside dans le fichier de l'agent reflector, pas dans le skill ; sans cet agent installé, l'apport chute fortement.
- Couvre correction, conventions, architecture, tests et complétude, mais pas la sécurité ni la performance.
À utiliser juste après avoir terminé une implémentation, avant la `/review` formelle, pour repérer les problèmes évidents sur son propre diff.
À éviter dans un dépôt sans structure `.adlc/`, ou lorsqu'il faut un audit indépendant de sécurité ou de performance plutôt qu'une auto-vérification.
Analyse de sécurité
PrudenceThe skill is legitimate developer workflow automation with no destructive, exfiltration, obfuscation, or safety-disabling behavior. Its risk is moderate because it invokes local shell commands, reads repository files, dispatches subagents, and may automatically apply fixes, while no allowed-tools are declared to bound that capability.
- •Uses shell commands to run git operations and cat .adlc/ETHOS.md; these are read-only in intent but execute local shell tooling.
- •Dispatches an autonomous 'reflector' subagent and instructs immediate fixes for Critical findings without explicit user confirmation, so it can modify the working tree.
- •Declares no allowed-tools, leaving tool and permission scope unconstrained despite reliance on shell, file reads, Agent dispatch, and possible edits.
- •Subagent names may silently fall back to generic agents if not listed, though the skill does warn about this and provides an inline fallback.
- •The Ethos section uses a `!`-prefixed inline command (`test -s .adlc/ETHOS.md && cat ...`), which in Claude Code-style harnesses executes automatically when the skill is loaded, before any user confirmation — benign in content but unannounced auto-execution.
- •Instructs the agent to run shell commands (git branch/diff-tree/status/diff) and to dispatch subagents, yet the skill declares no allowed-tools; there is no declared capability boundary for the bash/Agent usage.
- •Reads and relays repository-local files (`.adlc/ETHOS.md`, `.adlc/context/*.md`, `.adlc/knowledge/lessons/`, `.adlc/agents/*.md`) whose contents flow into the agent's context, so a malicious repo could inject instructions via those files.
- •Falls back to reading `$ADLC_TOOLKIT_ROOT/agents/<name>.md` outside the repo when `.adlc/agents/` is missing, expanding the trusted file surface.
- •Step 5 permits applying code fixes and running tests, i.e., write/execute actions, not just review.
Exemples
/reflect/reflect REQ-142/reflect feature/user-authname: reflect description: Post-implementation self-review — catch issues before /review (/adlc:review on the plugin install) argument-hint: Optional REQ-xxx ID or branch name to scope the reflection
/reflect — Post-Implementation Reflection
You are performing a self-review of recently implemented code to catch issues before the formal /review step. This is a fast, honest assessment of your own work.
Ethos
!test -s .adlc/ETHOS.md && cat .adlc/ETHOS.md || echo No ethos found — run /init, or /adlc:init on the plugin install, to vendor .adlc/ETHOS.md
Context
Run this block first, with your shell tool, and read its output before you continue. Each read prints a notice instead of failing when its file is absent.
# adlc-context
echo '--- Current branch'
git branch --show-current 2>/dev/null || echo 'Not a git repo'
echo '--- Committed changes vs main'
git diff-tree --stat -r main HEAD 2>/dev/null || echo 'No diff available'
echo '--- Uncommitted changes'
git status --short 2>/dev/null || echo 'Not a git repo'
Context files loaded on demand: .adlc/context/conventions.md and .adlc/context/architecture.md are loaded by Step 1 below — skip the Read if they are already in the current conversation (e.g., when invoked from /proceed, which preloads them at Phase 0).
Input
The scope is the argument: whatever follows /reflect in the invocation (on Claude Code it can also arrive as an ARGUMENTS: line appended to this text). With none, Step 1 reviews every change on the current branch.
Prerequisites
Before proceeding, verify that .adlc/context/conventions.md exists. If it doesn't, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init (/adlc:init on the plugin install) first to set up conventions."
Instructions
Step 1: Determine Scope
- If given a REQ ID, find the associated branch and review its changes
- If given a branch name, review all changes on that branch vs
main - If no argument, review all changes on the current branch vs
main - Get the full diff:
git diff main...HEAD - Context files: if
.adlc/context/conventions.mdand.adlc/context/architecture.mdare NOT already in your conversation context, Read them now. Otherwise skip — they're already loaded.
Step 2: Dispatch the reflector agent
Launch the reflector agent via the Agent tool. The agent owns the canonical self-review checklist (Correctness, Convention Compliance, Architecture, Testing, Completeness) and handles reading changed files and cross-referencing lessons learned. Keeping the checklist in the agent ensures a single source of truth that /proceed Phase 5 also uses.
If this harness can run subagents, dispatch these agents in parallel; if it cannot, or you are a subagent, run each checklist inline from .adlc/agents/<name>.md. Agent names are bare on the symlink install and adlc:-prefixed on the plugin install (adlc:<name>): before dispatching, check which form the Agent tool lists and use that one, and do not wait for an error, because a name it does not list can silently run a generic agent without the checklist; if neither form is listed, say which agent is missing and run its checklist inline. When .adlc/agents/ is absent, say that /init (/adlc:init on the plugin install) vendors it, then read $ADLC_TOOLKIT_ROOT/agents/<name>.md (the toolkit root is the parent of this skill's base directory) where your file tool can reach it; never improvise a checklist. An inline run of a review or audit agent is read-only: report findings, apply no fixes, and run no test runner, build tool, package manager or interpreter.
Provide the agent with:
- The scope (REQ ID, branch name, or "current uncommitted changes")
- The full diff from Step 1
conventions.mdandarchitecture.mdcontent (from Step 1)
Instruct it: "Read all changed files in full, grep .adlc/knowledge/lessons/ for applicable lessons, run your checklist, and report findings + questions. Do not apply fixes."
The agent will return:
- Issues Found — grouped by severity (Critical / Major / Minor) with file/line, description, suggested fix
- Clean Areas — 1-2 sentences on what was checked and looked good
- Questions for the User — ambiguities, design tradeoffs, assumptions, deferred edge cases
Step 3: Present the Agent's Report
Relay the agent's Issues Found and Clean Areas sections to the user verbatim. Do not re-run the checklist yourself — that would duplicate work and risk drift.
Step 4: Surface Questions from the Agent
The reflector agent returns a "Questions for the User" block covering ambiguous requirements, design tradeoffs, assumptions made, deferred edge cases, and UX/behavioral uncertainties. Relay that block to the user as a numbered list. If the agent returned "No questions — implementation is unambiguous," state that explicitly.
Do not proceed past this step until the user has answered — their responses may change what needs to be fixed.
Step 5: Fix or Defer
- If Critical issues are found, fix them immediately
- If Major issues are found, ask the user whether to fix now or note for
/review(/adlc:reviewon the plugin install) - Minor issues can be listed for the user to decide
- After fixes, re-run tests to verify nothing broke
Step 6: Recommend Next Action
- If no issues or only minor ones: "Ready for
/review(/adlc:reviewon the plugin install)" - If fixes were applied: "Fixes applied. Re-run
/reflectto verify, or proceed to/review(/adlc:reviewon the plugin install)" - If blockers remain: "Address these issues before
/review(/adlc:reviewon the plugin install)"
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/post-implementation-reflection-mwlmgk4y' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/post-implementation-reflection-mwlmgk4y/download' --output '.skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md.part' && mv '.skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md.part' '.skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Extrait original : Prerequisites
Before proceeding, verify that .adlc/context/conventions.md exists. If it doesn't, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init (/adlc:init on the plugin install) first to set up conventions."
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md' && test -s '.skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/reflect' && cp -R '.skill-downloads/post-implementation-reflection-mwlmgk4y' '.claude/skills/reflect'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/post-implementation-reflection-mwlmgk4y'openskills read 'post-implementation-reflection-mwlmgk4y'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/post-implementation-reflection-mwlmgk4y/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.