원클릭으로
check-doc
Verify documentation and CLAUDE instructions are updated alongside code changes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Verify documentation and CLAUDE instructions are updated alongside code changes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when creating a pull request for this project - triggers on "open a PR", "create a PR", "gh pr create", or any request to open/create a PR. Commits pending work, runs parallel CGU + security checks, writes a French PR description, then creates the PR with confirmation.
Use when running, debugging, or reasoning about the API's integration and e2e test stack (the `(api) integration tests` / `(api) e2e tests` CI jobs, the "Build stack" step, `just ci_test_*` / `just dc_e2e` recipes, or `*.integration.spec.ts` / e2e specs). Triggers whenever CI hangs or fails on building the Docker test stack, when an integration spec needs to run locally (there is no bare local Postgres — the DB only exists inside the compose stack), or when diagnosing the `wait` service, a stuck "Build stack", or a Postgres/api container that won't come up. Also use before telling someone "just run the integration tests locally" — the stack has real gotchas (busybox DNS, stale volumes, required env) documented here.
Use when preparing the weekly standup ("point d'équipe", "stand-up hebdo", "visio hebdo", "prépare mon point équipe", "résume mes tâches de la semaine pour le standup"). Compiles tasks the current user closed this week (État Done + Date fermeture tâche), plus current blockers and next items, into a tight aide-mémoire formatted as numbered bullets (1.X / 2.X / 3.X) with GEN-* links, validates with the user, then writes a new row in the standup table.
Use when working on the Deno/TypeScript backend API — creating actions, repositories, service providers, or modifying routing. Covers ILOS framework patterns, decorators, SQL queries, and Docker stack.
Use when verifying the monthly APDF (appels de fonds) files before publishing them - triggers on "vérifie les APDF", "check APDF du mois", "APDF checker", "vérifier les appels de fonds", or the recurring "Publication des APDF <mois>" task (run mensuel, le 6 du mois). Downloads the month's XLSX from the S3 bucket, runs 3 coherence checks with DuckDB, interprets the warnings, and consigns the result in the Notion ticket.
Use for the morning briefing / start-of-day routine ("good morning", "bonjour", "brief du matin", "ma matinée", "what's on today", "prépare ma journée"). Syncs the current user's open Zammad tickets to Notion (via zammad-sync), summarises and prioritises those tickets, triages the unassigned Zammad queue and flags the ones that could be assigned to the user, then lists the user's top Notion tasks by priority.
| name | check-doc |
| description | Verify documentation and CLAUDE instructions are updated alongside code changes |
| disable-model-invocation | true |
| context | fork |
| agent | Explore |
| allowed-tools | Bash(git diff*), Bash(git show*), Read, Grep, Glob |
Ensure documentation stays synchronized with code changes.
Review changes from: !git diff --name-only HEAD~1 or files specified in $ARGUMENTS
| File | Purpose | Update When |
|---|---|---|
CLAUDE.md | Main project guide | Architecture changes |
.claude/CLAUDE-API.md | API instructions | Backend changes |
.claude/CLAUDE-APP-PARTNERS.md | Partners app guide | Frontend changes |
.claude/CLAUDE-OBSERVATORY.md | Observatory guide | Observatory changes |
.claude/CLAUDE-DATALAKE.md | Datalake (dbt) guide | Data pipeline changes |
README.md | Project overview | Major changes |
api/justfile | Command reference | New commands |
@deprecatedIdentify changed components:
git diff --name-only HEAD~1 | grep -E '\.(ts|tsx|sql|py)$'
Check for documentation changes:
git diff --name-only HEAD~1 | grep -E '(\.md|CLAUDE)'
Cross-reference: Ensure code changes have corresponding doc updates
## Documentation Review Summary
**Status**: [UP TO DATE | NEEDS UPDATE | OUTDATED]
**Code Files Changed**: X
**Doc Files Changed**: Y
### Missing Documentation
#### [PRIORITY] Missing Doc for Feature/Change
- **Code change**: path/to/file.ts - description of change
- **Documentation needed**: Which file(s) need updates
- **Suggested content**: Brief outline of what to document
### Stale Documentation
- Documentation that no longer matches the code
### Documentation Updates Included
- Doc changes that correctly reflect code changes
### Required Actions
- [ ] Update specific documentation files
- [ ] Add inline comments for complex logic
- [ ] Update CLAUDE instructions for new patterns
When suggesting updates, provide specific text that can be added:
### Suggested Addition to .claude/CLAUDE-API.md
Add to "Service Modules" section:
| `new-service` | Description of what it does |
Add to "Action Pattern" section:
New decorator option `newOption` controls...
/check-doc # Review uncommitted changes
/check-doc src/pdc/services/ # Check docs for specific directory
/check-doc --suggest # Generate documentation suggestions