Synthèse automatique
Exécute une phase de développement à partir d’un fichier de spécification en lançant une exploration parallèle du code, puis en cadrant le plan et l’implémentation selon les règles du projet.
Points forts
- Impose un déroulé explicite — lecture de la spec, identification de la phase, exploration, plan, implémentation — plutôt qu’une conversation libre.
- Répartit l’exploration entre plusieurs agents ciblés, un par préoccupation, exécutés en parallèle.
- Déclenche automatiquement une compilation Go et golangci-lint côté backend après une édition.
- Prévoit une réflexion avant chaque transition de phase pour vérifier la complétude et l’alignement avec l’intention utilisateur.
Limites
- Suppose une organisation de projet précise : dossiers backend/frontend, spec et phases numérotées, fichier CLAUDE.md.
- Dépend des hooks, sous-agents et arguments propres à Claude Code.
- Le nombre d’agents d’exploration peut rendre l’exécution coûteuse sur une grande base de code.
À utiliser pour implémenter une phase déjà spécifiée d’une fonctionnalité dans un projet Claude Code structuré.
À éviter pour une modification ponctuelle sans spec, ou dans un projet qui n’utilise ni hooks ni sous-agents Claude Code.
Analyse de sécurité
PrudenceThe skill includes a PostToolUse hook that runs Go build and lint commands. These are legitimate development validation steps, not destructive or exfiltrating, but they do execute shell commands, warranting caution.
- •Uses a shell command hook to run `go build` and `golangci-lint` after file edits; hardcoded, non-destructive, but still executes shell commands and depends on a `backend` directory existing.
Exemples
/dev spec=specs/checkout.md phase=2 done=1 auto=trueUse /dev to implement phase 3 from specs/user-auth.md; phases 1 and 2 are already done./dev spec=specs/billing.md phase=1 auto=falsename: dev description: Develop phase with exploration and plan validation model: opus argument-hint: spec=<path> phase=<number> [done=<phases>] [auto=<bool>] hooks: PostToolUse: - matcher: "Edit|Write" hooks: - type: command command: | if [[ -d "backend" ]]; then cd backend && go build ./... 2>&1 | head -10 && golangci-lint run ./... 2>&1 | head -20 || true fi once: true
YOU ARE EXECUTING THE /dev SKILL. The user triggered this skill. Follow ALL instructions below step by step. Do NOT treat this as a freeform conversation - execute the skill workflow.
Follow CLAUDE.md rules.
Ultra Think Strategy
Ultra think before each phase transition:
- After exploration results: reflect on completeness before planning
- Before implementation: consider edge cases, patterns to follow, potential issues
- After validation: ensure the approach aligns with user intent
1. UNDERSTAND
- Read spec:
$ARGUMENTS.spec - Identify phase:
$ARGUMENTS.phase - Phases completed:
$ARGUMENTS.done - Extract from phase description:
- Scope: backend / frontend / both
- Files to create/modify
- Libraries needed
2. EXPLORE (PARALLEL)
Launch focused agents in a single message (parallel execution). There is no upper limit on agent count. Spawn one agent per distinct concern, area, or file-cluster the task actually has, and scale up freely with its breadth. The lists below are a starting menu, not a quota: add as many agents as full coverage requires.
Agent-count principle
- You decide the count from the actual scope. Assess how many distinct concerns / areas / file-clusters the task really spans on this codebase, and launch one focused agent for each. Do not anchor to a fixed number or to file counts.
- No ceiling, real floor. Use at least 2 agents per domain in scope (1 only for a genuinely trivial single-file change). Above that floor there is no maximum; on a large codebase the realistic count usually sits well above it.
- One distinct focus per agent. Split by concern so two agents never run the same search. Add agents to widen coverage, never to duplicate it.
- No batching. Launch them all in one message; the harness schedules them, so you never hold back to stay under a number.
Backend Agents (≥2 when backend in scope, one per distinct concern, no maximum)
- Domain & data flow -
explore-codebase: "Find entities, repository interfaces, value objects, and DTOs related to [feature] in backend/internal/domain/ and backend/internal/application/dto/" - Usecases & business logic -
explore-codebase: "Find usecases related to [feature] in backend/internal/application/usecases/. Read their Execute methods, dependencies, and error handling" - Handlers & routing -
explore-codebase: "Find HTTP handlers and routes related to [feature] in backend/internal/presentation/. Check middleware, validation, response patterns" - Infrastructure & services -
explore-codebase: "Find repo implementations, external service adapters, and config related to [feature] in backend/internal/infrastructure/" - Similar patterns -
explore-codebase: "Find the most similar existing feature to [feature] in backend/. I need to replicate its patterns"
Frontend Agents (≥2 when frontend in scope, one per distinct concern, no maximum)
- Components & UI -
explore-codebase: "Find components related to [feature] in frontend/src/components/. Check props, state, Shadcn UI usage" - Hooks & state -
explore-codebase: "Find hooks, React Query calls, and state management related to [feature] in frontend/src/hooks/ and frontend/src/lib/" - Pages & routing -
explore-codebase: "Find pages and layouts related to [feature] in frontend/src/app/. Check route structure, data fetching, i18n" - Types & API layer -
explore-codebase: "Find TypeScript types, API client functions related to [feature] in frontend/src/types/ and frontend/src/lib/" - Similar patterns -
explore-codebase: "Find the most similar existing feature to [feature] in frontend/src/. I need to replicate its patterns"
The supporting agents below fan out the SAME way as the code agents: one agent per distinct concern, no maximum. None of them is capped at a single instance.
Database Agents (≥1 when DB in scope, one per distinct concern, no maximum)
Launch one explore-db per distinct DB concern in the same single message. One agent is enough for a single-table lookup; scale up freely when the phase spans multiple table clusters, both dev and prod, or several concerns. First token of each prompt selects the env (dev/prod, defaults to dev).
- Schema & relationships -
explore-db: "dev - Map tables and foreign keys related to [feature]: columns, types, FK relationships" - Constraints & policies -
explore-db: "dev - Inspect constraints and RLS policies (if used) on tables related to [feature]" - Migrations & advisors -
explore-db: "dev - List migrations touching [feature] tables, run get_advisors for security/perf issues"
Add one agent per distinct table cluster, or to cover prod alongside dev.
Documentation Agents (≥1 when external docs needed, one per library/feature, no maximum)
Launch one explore-docs per distinct library or per distinct feature within a library. One agent is enough for a single lib question; scale up when the phase touches multiple libraries or several independent features of one.
- [library A] -
explore-docs: "[library A] [specific feature] documentation" - [library B] -
explore-docs: "[library B] [specific feature] documentation"
Web-research Agents (≥1 when external research needed, one per topic, no maximum)
Launch one websearch per distinct external question. One agent is enough for a single topic; scale up when there are several independent questions.
- [topic A] -
websearch: "[topic A] best practices 2025 2026" - [topic B] -
websearch: "[topic B] ..."
2.5 POST-EXPLORATION CHECK
After agents return, verify coverage across all dimensions:
- Full code path traced? Can I trace handler -> usecase -> repository -> DB (backend) and page -> hook -> API -> component (frontend)? If gaps -> launch targeted
explore-codebase - Similar patterns identified? Do I have a reference implementation to follow? If not -> launch
explore-codebase - Data model complete? Tables, columns, relationships, policies known? If not -> launch additional parallel
explore-dbagents (one per missing concern / cluster / env) - Library docs sufficient? If not -> launch additional parallel
explore-docsagents (one per missing library / feature)
Do NOT proceed with incomplete context.
3. SHOW PLAN
Display enriched plan:
## Phase $ARGUMENTS.phase
### Files to Create
- `path/file` - [purpose]
### Files to Modify
- `path/file:XX` - [what to change]
### Patterns to Reuse (from exploration)
- [existing code patterns found]
### Order
Backend: Domain -> Application -> Infrastructure -> Presentation
Frontend: Types -> API -> Hooks -> Components -> Pages
4. VALIDATE
If $ARGUMENTS.auto is true:
- Skip the gate. Log "Auto-confirmed (auto=true), proceeding to implementation." and go directly to step 5.
Otherwise (default):
- Ask with AskUserQuestion: "Proceed with implementation?"
- "Implement"
- "Modify"
5. IMPLEMENT
After validation, implement in appropriate order:
Backend: Domain -> Application -> Infrastructure -> Presentation
- context.Context as first parameter for I/O
- Follow Clean Architecture patterns
- Complete error handling
- Write unit tests for all new usecases/services (colocated
*_test.go) - Follow existing test patterns (testify, hand-written mocks,
*Envstruct helper) - Tests must cover happy path + main error cases
Frontend: Types -> API -> Hooks -> Components -> Pages
useTranslationsfromnext-intlfor ALL user-facing text- Shadcn UI for standard components
- Strict TypeScript (no
any) - Write unit tests for new components with branching logic, new hooks, and new utility/parser functions (colocated
*.test.ts/*.test.tsx) - Follow existing test patterns (vitest +
@testing-library/react,vi.mockfor module-level deps, jest-dom matchers via the shared test setup) - Tests must cover happy path + main error / edge cases
For significant UI: Skill(skill="frontend-design:frontend-design")
6. VERIFY
# Backend
cd backend && go build ./... && go vet ./... && golangci-lint run ./... && go test ./...
# Frontend
cd frontend && npm run test:run && npm run build
Backend and frontend tests are MANDATORY: All existing tests must pass (zero regressions). If a test fails, fix it before proceeding.
Database verification (if schema/policies changed): run get_advisors via explore-db (dev/prod).
7. UPDATE SPEC
Check off completed items in the Execution Plan of the spec file.
Rules
- EXPLORE FIRST - Always explore before implementing
- REUSE - Existing code/patterns as much as possible
- VALIDATE - Always ask before implementing
- STAY IN SCOPE - Only the specified phase
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/development-phase-with-exploration-and-validation-mso6xfhd/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/development-phase-with-exploration-and-validation-mso6xfhd' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/development-phase-with-exploration-and-validation-mso6xfhd/download' --output '.skill-downloads/development-phase-with-exploration-and-validation-mso6xfhd/SKILL.md.part' && mv '.skill-downloads/development-phase-with-exploration-and-validation-mso6xfhd/SKILL.md.part' '.skill-downloads/development-phase-with-exploration-and-validation-mso6xfhd/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.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
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/development-phase-with-exploration-and-validation-mso6xfhd/SKILL.md' && test -s '.skill-downloads/development-phase-with-exploration-and-validation-mso6xfhd/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/dev' && cp -R '.skill-downloads/development-phase-with-exploration-and-validation-mso6xfhd' '.claude/skills/dev'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/development-phase-with-exploration-and-validation-mso6xfhd'openskills read 'development-phase-with-exploration-and-validation-mso6xfhd'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/development-phase-with-exploration-and-validation-mso6xfhd/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.