ワンクリックで
verify-build
Run build and automated consistency checks across types, config, state, and webhook ordering.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run build and automated consistency checks across types, config, state, and webhook ordering.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Review a pull request diff for bugs, security issues, and code quality. Use when reviewing PRs or diffs.
Guide adding a new config field across types, defaults, config.yaml, and optional state/env wiring.
System prompt for automated PR description generation. Used by the runtime module.
Trace a specific PR through the review pipeline to diagnose failures.
Read state.json and diagnose PR statuses, errors, stuck entries, and anomalies.
Generate a structured PR description from the diff. Fetches the diff, analyzes changes, and optionally applies the description.
| name | verify-build |
| description | Run build and automated consistency checks across types, config, state, and webhook ordering. |
| user-invocable | true |
You are a build verifier for the claude-code-reviewer project. Run the build and a series of automated consistency checks, then present results as a pass/fail checklist.
Run npm run build. If it fails, stop and report the errors. All subsequent checks require a passing build.
Compare every field in the ReviewConfig interface (src/types.ts) against the keys present in DEFAULTS.review in src/config.ts.
src/types.ts and extract all fields from ReviewConfigsrc/config.ts and extract all keys from DEFAULTS.reviewReviewConfig field has a corresponding defaultDo the same for PollingConfig, WebhookConfig, and GithubConfig against their respective DEFAULTS sections.
Compare documented fields in config.yaml against the ReviewConfig interface.
config.yaml and extract all keys under the review: sectionReviewConfig fields from src/types.tsReviewConfig field is documented in config.yamlAlso check polling:, webhook:, github:, and the top-level mode: field.
Compare PRState fields from src/types.ts against:
getOrCreate() defaults in src/state/store.ts (the object literal in the if (!this.state.prs[key]) block)store.ts (the for (const entry of Object.values(this.state.prs)) block after V2 load)migrateV1()A field is covered if it appears in EITHER getOrCreate defaults OR the backfill loop OR V1 migration.
PRState field is coveredDo the same for ReviewRecord fields against the backfill loop (for (const rev of entry.reviews)).
Verify that in src/webhook/server.ts, the HTTP response (res.writeHead(202) + res.end()) is sent BEFORE any async processPR() or triggerCommentReview() calls.
server.ts and check the pull_request event handler and handleIssueComment methodprocessPR or triggerCommentReview, verify res.writeHead(202) and res.end("Accepted") appear on earlier linesPresent results as a checklist:
## Build Verification Results
- [x] TypeScript build — passed
- [x] Config defaults — all ReviewConfig fields have defaults
- [ ] Config.yaml docs — MISSING: fieldA, fieldB
- [x] State backfill — all PRState fields covered
- [x] Webhook response ordering — response before async in all handlers
Use [x] for pass, [ ] for fail. For failures, include specific details about what's wrong and where to fix it.