ワンクリックで
code-review
Use after completing implementation to review code quality, user impact, test coverage, and documentation before creating a PR
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use after completing implementation to review code quality, user impact, test coverage, and documentation before creating a PR
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when you have PR review comments to address and want to evaluate each comment's validity before deciding to fix, reply, or skip
Use when creating new pipeline templates (YAML + seed files) for DataGenFlow. Guides through block selection, YAML authoring, seed file creation, and validation. Use for any task involving lib/templates/ directory, adding new template use cases, or creating seed files that match pipeline variables.
Use when creating new blocks for DataGenFlow pipeline system or modifying existing blocks to ensure consistency with established patterns
Use when testing pipelines end-to-end - running single-seed dry runs, batch generation, result analysis, and iterating on prompt quality. Use after creating a pipeline template, when validating output quality, or when improving generation results. Not for debugging crashes (use debugging-pipelines instead).
Use when creating data generation pipelines with DataGenFlow's extensibility system — user_templates, user_blocks, docker-compose setup, and dgf CLI. Use for any task involving generating synthetic data, building custom pipelines, or extending DataGenFlow from an external project without modifying its source.
Use when writing Playwright end-to-end tests for DataGenFlow UI. Covers test file creation, database cleanup, navigation, file uploads, confirmation modals, and job monitoring. Use for new UI features, extending existing test suites (pipelines, generator, review, settings), or verifying UI flows after frontend changes.
| name | code-review |
| description | Use after completing implementation to review code quality, user impact, test coverage, and documentation before creating a PR |
Review code for quality, user impact, tests, and documentation. Balance technical excellence with practical simplicity.
Core principle: Clean code should serve users, not just developers.
| Phase | Focus | Key Question |
|---|---|---|
| 1. Identify | What changed? | git diff --name-only develop |
| 2. User Impact | How does this affect users? | Is UX better or worse? |
| 3. Code Quality | Does it follow standards? | KISS + no anti-patterns? |
| 4. Tests | Is it covered? | New code = new tests? |
| 5. Docs | What needs updating? | llm/state-*.md current? |
Categorize changed files:
lib/, app.pyfrontend/src/tests/llm/, *.mdNote change type: new feature | bug fix | refactoring | enhancement
Ask for each change:
Red flags:
Can each function be explained in one sentence? If not, it's too complex.
any types or as assertions? placeholders)| Change Type | Required Test |
|---|---|
| New API endpoint | Unit test |
| New block | tests/blocks/test_*.py |
| Bug fix | Regression test |
| User workflow change | E2E test |
| Refactoring | Existing tests pass |
Test quality:
test_<method>_<scenario>_<expected>Update llm/state-*.md when:
state-backend.mdstate-backend.mdstate-frontend.mdstate-project.mdCode comments: explain WHY, not what. Lowercase, concise.
### User Impact
[UX improvements or issues found]
### Anti-patterns
[location + violation + fix, or "none"]
### Code Quality Issues
[severity + location + fix, or "none"]
### Test Coverage
[required: present/missing | gaps if any]
### Documentation Updates
[files needing update, or "none"]
### Verdict
[BLOCK | REQUEST CHANGES | APPROVE]
Reason: [brief explanation]
| Condition | Verdict |
|---|---|
| Anti-patterns found | BLOCK |
| Security issues | BLOCK |
| Missing required tests | REQUEST CHANGES |
| Needs doc updates | REQUEST CHANGES |
| All checks pass | APPROVE |