一键导入
check-qa
Quality code review enforcing Deno standards and project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Quality code review enforcing Deno standards and project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Verify documentation and CLAUDE instructions are updated alongside code changes
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.
| name | check-qa |
| description | Quality code review enforcing Deno standards and project conventions |
| disable-model-invocation | true |
| context | fork |
| agent | Explore |
| allowed-tools | Bash(git diff*), Bash(git show*), Bash(deno lint*), Bash(deno fmt*), Read, Grep, Glob |
Review code for quality, consistency with project conventions, and Deno best practices.
Review changes from: !git diff --name-only HEAD~1 or files specified in $ARGUMENTS
Run automated checks first:
cd api && deno lint
cd api && deno fmt --check
../../../ paths, use @/)any: Avoid any, use unknown or proper typesInterface suffix for interfacesimport type for type-only importsundefined over null unless interfacing with external APIsAction class with proper handle method@handler() configurationservice:method for RPC callssql template literal, no string concatenation.unit.spec.ts or .integration.spec.ts suffixshared/ or define in service contractsenv_or_* helpers for environment variablesjsr:@std/* packagesnode: prefix for Node.js APIs## Quality Review Summary
**Quality Score**: [A | B | C | D | F]
**Files Reviewed**: X files
**Lint Issues**: X errors, Y warnings
### Code Issues
#### [SEVERITY] Issue Title
- **File**: path/to/file.ts:line
- **Issue**: What's wrong
- **Standard**: Which convention is violated
- **Fix**: How to correct it
### Style Issues
- Minor formatting or naming issues
### Suggestions
- Non-blocking improvements for code quality
### Approved Changes
- Changes that meet quality standards
### Required Actions
- [ ] Fix all ERROR level issues
- [ ] Address WARNING level issues
- [ ] Run `deno fmt` before commit
/check-qa # Review uncommitted changes
/check-qa src/pdc/services/auth/ # Review specific directory
/check-qa --strict # Enable stricter checks