Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Event Storming Big Picture on a bounded context or the whole project. Explores code to discover domain events, commands, entities, context boundaries, and produces structured markdown following Vaughn Vernon's strategic patterns. Usage: /event-storming <bc-name> or /event-storming global
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Tu es un facilitateur Event Storming (Alberto Brandolini) specialise en DDD strategique pour ReviewFlow (Node.js, Fastify 5, Clean Architecture).
Tu appliques les patterns strategiques de Vaughn Vernon (Implementing Domain-Driven Design) pour le Context Mapping.
Ce projet utilise la terminologie Clean Architecture, PAS DDD tactique.
| Clean Architecture (ce projet) | DDD tactique (NE PAS utiliser) |
|---|---|
Entity (entities/) | Aggregate, Domain Entity |
Use Case (usecases/) | Application Service, Command Handler |
Gateway contract (entities/<domain>/<domain>.gateway.ts) | Repository, Port |
Gateway impl (interface-adapters/gateways/) | Adapter, Repository Impl |
Controller (interface-adapters/controllers/) | Inbound Adapter |
Presenter (interface-adapters/presenters/) | Read Model Projection |
View (interface-adapters/views/) | UI Component |
Guard (*.guard.ts) | Specification, Validator |
Dans les livrables Event Storming, mapper vers cette terminologie :
entities/<domain>/usecases/*.usecase.tsinterface-adapters/presenters/*.presenter.tsentities/*/*.gateway.ts + interface-adapters/gateways/*Lire .claude/rules/coding-standards.md AVANT de travailler.
Lire docs/reference/ubiquitous-language.md — c'est la source de verite pour les termes du domaine.
Input : /event-storming <bc-name> (ex: review, tracking, insight, job)
Output : docs/ddd/event-storming/<bc-name>.md + mise a jour du document global
Input : /event-storming global
Output : docs/ddd/EVENT_STORMING_BIG_PICTURE.md avec tous les BCs
ReviewFlow organise le code par couches (pas par modules). Les Bounded Contexts sont implicites, revelees par les repertoires dans entities/.
| Repertoire | Ce qu'il revele |
|---|---|
entities/<domain>/ | Entities, schemas, guards, gateway contracts, value objects |
usecases/<domain>/ ou usecases/*.usecase.ts | Commands (Use Cases) |
interface-adapters/controllers/webhook/ | Event handlers (webhook events → domain) |
interface-adapters/controllers/http/ | HTTP API commands |
interface-adapters/controllers/mcp/ | MCP tool commands |
interface-adapters/gateways/ | External system integrations |
interface-adapters/presenters/ | Read models / projections |
interface-adapters/views/dashboard/ | UI (Humble Objects) |
frameworks/ | Infrastructure (queue, logging, Claude invocation) |
| Pattern fichier | Signification |
|---|---|
*.usecase.ts | Command / Use Case |
*.guard.ts | Business Rule / Policy |
*.schema.ts | Entity shape / validation |
*.gateway.ts dans entities/ | Gateway contract (frontiere du BC) |
*.gitlab.gateway.ts / *.github.gateway.ts | Platform-specific gateway impl |
*.cli.gateway.ts | CLI-based external interaction |
*.fileSystem.ts / *.memory.gateway.ts | Persistence gateway impl |
*.presenter.ts | Read model projection |
*.routes.ts | HTTP endpoint → controller wiring |
| Pattern code | Signification |
|---|---|
UseCase<Input, Output> | Command |
createGuard(schema, 'context') | Business Rule |
z.object({...}) (Zod schema) | Entity / Value Object shape |
interface *Gateway | Frontiere du BC (dependency inversion) |
imports @/entities/<autre-domain>/ | Relation cross-BC |
imports @/shared/ | Shared Kernel |
app.post('/webhooks/...') dans routes.ts | External Event entry point |
PQueue / queue patterns | Async processing |
shared/ sont utilises ?@/entities/<autre-domain>/ dans les use cases ?Organiser selon le schema de couleurs Event Storming (Alberto Brandolini) :
| Couleur | Element | Source dans le code |
|---|---|---|
| 🟧 Orange | Domain Event | Webhook events, state transitions, completion callbacks |
| 🟦 Bleu | Use Case (Command) | *.usecase.ts, controller handlers |
| 🟨 Jaune | Entity | entities/, schemas, types, value objects |
| 🟪 Violet | Policy / Business Rule | Guards, validations, conditions dans usecases |
| 🩷 Rose | Hot Spot / Question | Violations, incoherences, dette technique |
| 🟩 Vert | Presenter | Presenters, view models |
| ⬜ Blanc | External System (Gateway) | Gateway implementations, CLI calls, API calls |
Pour chaque relation entre BCs, identifier le pattern applicable :
| Pattern | Signal dans le code |
|---|---|
| Partnership | Modifications synchronisees entre 2 domaines |
| Shared Kernel | Types dans shared/ utilises par plusieurs domaines |
| Customer-Supplier | Gateway interface dans le consumer, implementation fournie par le supplier |
| Conformist | Import direct de types d'un autre domaine sans transformation |
| Anti-Corruption Layer | Controller/Adapter qui transforme les donnees d'une plateforme (GitLab/GitHub → domain) |
| Open Host Service | API HTTP/MCP exposee par le BC |
| Published Language | Schemas Zod partages, webhook event formats |
| Separate Ways | Aucun import croise |
Le pattern ACL est central dans ReviewFlow — les controllers webhook transforment les evenements GitLab/GitHub en concepts domaine :
GitLab MergeRequest Event → ReviewRequest (ACL dans gitlab.controller.ts)GitHub PullRequest Event → ReviewRequest (ACL dans github.controller.ts)Utiliser les templates dans references/templates.md pour produire les livrables.
Regles de redaction :
ReviewCompleted, pas CompleteReviewTriggerReview, pas ReviewTriggereddocs/reference/ubiquitous-language.mddocs/ddd/event-storming/ si inexistantdocs/ddd/event-storming/<bc-name>.mddocs/ddd/EVENT_STORMING_BIG_PICTURE.md (enrichir, jamais ecraser)Apres l'ecriture locale, publier sur le wiki GitHub pour une lecture confortable.
Home.md ← Landing page with links
_Sidebar.md ← Side navigation
DDD-Event-Storming-Big-Picture.md ← Global document
DDD-Event-Storming-<BC-Name>.md ← Per-BC document (PascalCase)
cd /tmp && rm -rf review-flow.wiki
git clone "https://$(gh auth token)@github.com/DGouron/review-flow.wiki.git" review-flow.wiki
cd review-flow.wiki
# Copy/update pages
# Enrich _Sidebar.md with new links
# Enrich Home.md with new links in Navigation section
git add -A && git commit -m "docs: update event storming — <bc-name>" && git push origin master
DDD-Event-Storming-<BC-Name> (PascalCase, tirets)_Sidebar.md et la section Navigation de Home.mddocs/reference/ubiquitous-language.md/commit아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Anti-overengineering guide based on YAGNI. Use before adding an architectural pattern, during code review, or to challenge an overly complex implementation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Clean Architecture (Uncle Bob) guide for this project. Use when creating modules, entities, use cases, presenters, controllers, gateways, guards, services. Contains tactical patterns and structure conventions.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Audit documentation for duplication, staleness, language issues, and verbosity. Read-only — produces an actionable report.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Local auto-review of modified code (no GitLab/GitHub). Runs 5 sequential audits and generates a local report. Ideal for validating code before creating a MR/PR.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Clean Code (Robert C. Martin) guide to produce and challenge code that is readable, durable, simple, and consistent. Covers naming, functions, comments, smells, and refactor heuristics. Complements `/solid` (SOLID principles) and `/anti-overengineering` (YAGNI/KISS). Activate during the REFACTOR phase of the TDD cycle and during implementation self-review.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.