ワンクリックで
code-review
Review a diff against project rules and acceptance criteria before merging
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review a diff against project rules and acceptance criteria before merging
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Appliquer les règles de développement et la mémoire technique durable de gba_translator/Pokémon Unbound. Utiliser pour toute tâche dans ce dépôt, notamment avant de planifier, modifier, tester, déboguer ou relire le pipeline ROM, les traductions FR/IT/DE, l'encodage CFRU, les patchs binaires, l'émulateur mGBA ou le workflow Git.
Use when fixing any bug or patch script in gba_translator — before closing the ticket, verify the fix does not break (or silently already affects) the other registered languages (FR/IT/DE/Indie). Covers deciding whether a change is shared or per-language, which test paths and rebuild targets to run, and how to check a base-ROM quirk against every language.
Use when building or rebuilding the French ROM of Pokémon Unbound end-to-end — from a translation_ready.json through make build-fr, the post-build patch chain, and validation.
Use before any new feature, pipeline change, or architectural decision — explores intent and design before implementation
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when implementing any feature or bugfix, before writing implementation code
| name | code-review |
| description | Review a diff against project rules and acceptance criteria before merging |
| when_to_use | After completing a task, implementing a feature, or before any merge to main |
Check the diff against project conventions and the ticket's acceptance criteria. Flag gaps before merge.
Run git diff or git show and verify every item below.
.claude/project-rules.md).py files at repo root (only Makefile, README.md, requirements.txt, .gitignore, configs).md files at root except README.mdsrc/ subfolder (extractors/, analyzers/, translators/, utils/)src/ are numbered (NN_name.py)docs/ and are numbered (NN_NAME.md)output/ with YYYY-MM-DD_ prefixinput/roms/ — never modified, never written tosrc/core/, not duplicated across scriptssrc/core/ — no copy-paste of existing logicROMReader, TextExtractor)read_pointer, decode_text)GBA_ROM_BASE)0xFF.gba.bak) before any ROM writetests/unit/ or tests/integration/xfail to hide failurespytest tests/ passes with 0 failures and 0 errors (100% required)type(scope): description courte
Description détaillée si nécessaire.
- Point 1
- Point 2
Types: feat, fix, refactor, docs, test, chore
Co-Authored-By trailers# See all changes
git diff HEAD~1
# See changed files
git diff --stat HEAD~1
# Run full test suite
pytest tests/ -v
# Run with coverage
pytest --cov=src tests/
Report findings as:
Critical (blocks merge): wrong file location, skipped test, hardcoded offset fix, ROM modified without backup, missing 0xFF terminator
Important (fix before proceeding): missing docstring, missing type hint, duplicated code that should be in src/core/, magic number
Minor (note for later): naming inconsistency, comment clarity, overly long function
Assessment: Ready / Fix critical issues / Fix important issues
pytest tests/ shows failures → block mergeif offset == 0xABCDEF → block merge (project-rules.md: forbidden)