architecture-survey
Ce qu’il fait
Cette compétence fait examiner à un agent la structure d'un projet pour trouver où les modifications deviennent plus difficiles. Elle s'adresse aux personnes qui veulent un bilan périodique de l'organisation de leur code avant de décider quoi corriger.
Quand l’utiliser
- ✓Quand votre code semble plus difficile à modifier qu'auparavant.
- ✓Quand une petite modification touche sans cesse de nombreux fichiers ou des tests sans rapport.
- ✓Quand vous voulez un examen régulier de la structure du projet et de ses points faibles.
Lien du skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/architecture-survey/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Notre code devient plus difficile à modifier. Peux-tu examiner la structure du projet et me dire quelles parties simplifier en premier ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lit les documents de référence du projet et l'historique récent des modifications. Il parcourt les modules du code, repère les parties superficielles ou emmêlées, et remonte des pistes classées avec leurs preuves. Il s'arrête là et ne refactorise rien.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
A surveyor charts the reef; the captain decides whether to dredge. The survey reads the water, reports what it found with evidence, and stops. It is the maintenance twin of the loft: where the loft answers one design question before building, the survey answers "where is this repo getting harder to change, and what would deepen it" after building.
When to survey
- Periodically — every few days of active building, or after a batch of tickets lands.
- Out of turn, when the repo starts feeling harder to change than it was last week: edits touching more files than they should, interfaces growing to satisfy one caller, tests that must be updated in lockstep for unrelated reasons.
Optional argument narrows the survey to a directory or area; with no argument, survey the whole repo.
The survey
- Read the repo's architecture principles (CLAUDE.md, ADRs) and the seeded seam vocabulary in
docs/standards/architecture.md— the definitions of seam and deep module. - Walk the module graph of the target area — and when no direction was given, weight the walk toward the yard's busy water: read a good stretch of the commit history first and let the areas that keep coming up pull the survey, because deepening pays off where future edits will land. A scattered history with no hot spot widens the net.
- Look for three finding classes:
- Shallow modules — wide interface, thin behavior; callers know more than the module hides.
- Hypothetical seams — a boundary crossed by exactly one adapter with no second caller; checkable by counting callers.
- Logic behind the wrong seam — behavior living on the far side of a boundary that does not own its data.
Apply the demolition test to every suspect: if the module were removed, would its complexity vanish (a pass-through wearing a uniform) or reappear across its callers (load-bearing)? Only load-bearing shallowness is a finding.
The report
Rank candidates by leverage against risk. Each candidate carries:
- Evidence — file:line for the interface, its callers, and the behavior.
- The deepening move — what to deepen, merge, or move, in one sentence.
- The risk note — what the move touches and what could break.
Every candidate states the yard's shared findings vocabulary — severity (how much friction the shallowness causes), confidence (a survey finding is heuristic-class and therefore low by construction; the mechanically checkable end of the scale belongs to the drydock --check audit), and actionable (whether the deepening move is specific enough to start from the report alone). End the report with the top recommendation: the one candidate to deepen first, and why — the captain reads one card, not the whole reef.
Logbook conflicts. A candidate that contradicts an existing ADR is nominated only when the friction is real: the card names the ADR and why the water has changed. Theoretical conflicts stay off the report — the logbook's rejections are not re-litigated by default.
The report may be rendered visually with the repo's diagram skill when the yard has one; the prose report stays the source of truth either way.
Handoff
The report is decision input, not work. Candidates feed the mission brief (launch Phase 1) or grilling material for the next effort. Survey proposes; the captain disposes.
Grill the top candidate on the spot. When the captain wants to act on the survey immediately rather than filing it, the report's top recommendation becomes the first question of a design-tree interview in the same session — launch Phase 1's frontier protocol, run right here: what would deepening this candidate involve, what does it cost, what does it unblock. The evidence is fresh and the captain is present; a finding worked now is a decided effort, not a report waiting to go stale. The survey still makes no edits — the interview decides, and delivery goes through launch's own gates.
A candidate the captain declines with a load-bearing reason is offered as an ADR — the same ADR test launch applies (hard to reverse, surprising without context, a real tradeoff) — so the next survey does not re-nominate the same reef. Declined without one, it simply sinks.
Non-goals
- No code edits. The survey never refactors, not even "while it's fresh."
- Not a gate. Nothing blocks on the report.
- Not merged into the drydock drift audit.
--checkstays strictly mechanically checkable — high-confidence findings only.
Questions fréquentes
L'agent corrige-t-il les problèmes qu'il trouve ?
Non. Il signale seulement des pistes, et c'est une personne qui décide de ce qu'il faut modifier.
Puis-je limiter l'examen à un seul dossier ?
Oui. Un argument facultatif restreint l'examen à un répertoire ou à un domaine.
À quelle fréquence le lancer ?
Périodiquement, par exemple après un lot de tâches terminées, ou dès que le code commence à devenir plus difficile à modifier.
Détails
Description originale de l’auteur
Periodic architecture survey — walks the module graph and reports ranked deepening candidates (shallow modules, hypothetical seams, logic behind the wrong seam). Survey, not rescue: it finds candidates and hands them to the captain; it never refactors on its own.
Popularité
- Étoiles GitHub
- 41k
- Position au classement
- #6991
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
agent-doc-discipline
41kApprend à votre agent à rédiger des instructions que d'autres agents IA peuvent suivre seuls, avec des règles vérifiables et une raison claire derrière chacune.
ai-slop-cleaner
41kAide votre agent à nettoyer le code écrit par IA qui fonctionne mais est alourdi ou répétitif, en supprimant le code superflu sans modifier son comportement.
ask-navigator
41kAide votre agent à transformer un projet flou en carte de questions de décision claires, puis à les traiter une à une jusqu'à ce que la voie soit dégagée.
ask
41kAide votre agent à envoyer une question ou une tâche à un autre outil IA, comme Codex, Gemini ou Claude, et à enregistrer la réponse dans un fichier.
Skills similaires
diffs
394kPermet à votre agent de produire un diff réel et partageable de vos modifications, sous forme de lien ou d'image, plutôt qu'un résumé écrit à la main.
coding-agent
394kAide votre agent à confier une tâche de programmation plus importante à Codex, Claude Code ou OpenCode comme travailleur en arrière-plan, puis à suivre sa progression.
gh-issues
394kAide votre agent à trouver des tickets GitHub, choisir ceux à traiter et ouvrir des pull requests avec des correctifs, y compris le suivi des commentaires de relecture.