本文へ移動
cccskills
無料GitHub で公開

pr-code-reviewer

Reviews a GitHub pull request or focused branch diff for correctness, regressions, security, compatibility, test gaps, and maintainability. Use when an implementation needs an independent source-aware review before merge. Produces prioritized findings with evidence and actionable fixes. Not for architecture-only audits, formatting preferences, or processing existing review feedback.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

PR Code Reviewer

Review the change, not the author's intent. Prefer concrete evidence from the PR diff, surrounding code, tests, history, and the stated contract.

Establish the review boundary

  1. Identify the base and head revisions and inspect the complete diff.
  2. Read the PR description, linked requirements, acceptance criteria, and relevant design or ADR material.
  3. Trace changed code into direct callers, consumers, persistence, external interfaces, and error paths where needed.
  4. Inspect changed tests and identify important behavior that remains unproved.

Do not spend equal time on every file. Follow changed behavior and risk.

Review dimensions

Check, in order of likely impact:

  • Correctness: broken logic, incorrect state transitions, race conditions, error handling, invalid assumptions, and regressions.
  • Security: authorization/authentication gaps, injection, secret exposure, unsafe deserialization, trust-boundary violations, and sensitive logging.
  • Compatibility: public API, schema, migration, config, data-format, backward-compatibility, and rollout risks.
  • Reliability: retries, timeouts, idempotency, resource cleanup, concurrency, partial failure, and observability.
  • Performance: avoidable hot-path work, unbounded operations, N+1 access, excessive allocations, or latency changes supported by the code path.
  • Tests: missing regression coverage, assertions that cannot fail for the defect, brittle tests, and gaps at important boundaries.
  • Maintainability: misleading ownership, duplicated policy, hidden side effects, or complexity that materially raises future change risk.

Do not report pure style or personal preference unless the repository enforces it or the style creates a concrete defect risk.

Validate findings

Every finding must have:

  • severity: P0 blocker, P1 high, P2 medium, or P3 low;
  • precise file/line or diff location;
  • the violated behavior, contract, or invariant;
  • evidence explaining why the issue is real;
  • a minimal, actionable fix or verification step.

Before reporting a finding, inspect enough surrounding code to rule out a false positive. Run focused tests or static checks when available. Distinguish a defect from a missing-proof finding.

Review output

Return findings in priority order. For each finding use:

[P1] path/to/file.ts:42
Problem: <what is wrong>
Evidence: <why the current implementation fails or is risky>
Fix: <smallest useful correction>

Then provide:

  1. Verdict: approve, approve with follow-up, or request changes.
  2. Coverage gaps: important behavior not directly proven.
  3. What was checked: tests, static analysis, or other evidence.

If no actionable findings remain, say so explicitly and still report important coverage gaps or verification limits. Never call a PR safe solely because CI is green.

Completion condition

The review is complete when the changed behavior has been inspected in context, high-risk paths have evidence, findings are prioritized and actionable, and remaining uncertainty is explicitly stated.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Designs and runs reproducible evaluations for AI agents, prompts, tools, skills, and model-backed workflows using realistic datasets, isolated baselines, objective assertions, rubric grading, trajectory analysis, cost/latency tracking, and regression comparison. Use when measuring agent quality, optimizing skill triggering, comparing prompts or models, or gating an AI feature release. Not for ordinary deterministic unit tests.

日本語の概要は準備中です。原文の説明を表示しています。

thiientv/godmode962026年8月26日 更新

Designs or reviews HTTP, REST, GraphQL, RPC, CLI, webhook, event, and service interfaces with explicit inputs, outputs, errors, compatibility, idempotency, pagination, authentication, versioning, and observability. Use when introducing or changing an API or cross-component contract. Not for internal implementation details with no boundary or for debugging one API failure; use root-cause-debugging there.

日本語の概要は準備中です。原文の説明を表示しています。

thiientv/godmode962026年8月26日 更新

Reviews an existing codebase for structural friction, unclear ownership, leaky or shallow interfaces, excessive coupling, misplaced state, poor testability, and risky dependency direction, then prioritizes evidence-backed improvement candidates. Use for architecture audits, modularization, modernization, or recurring cross-cutting change pain. Not for designing one new interface, simplifying a local function, or fixing a reproduced bug.

日本語の概要は準備中です。原文の説明を表示しています。

thiientv/godmode962026年8月26日 更新

Validates a running application, CLI, API, service, or generated artifact as a user or operator against a prewritten observable behavior contract while remaining source-blind. Use for acceptance checks, runtime proof, anti-fake probes, release smoke tests, or an independent companion to code review. Not for source-quality findings, root-cause diagnosis, or visual design judgment outside the contract.

日本語の概要は準備中です。原文の説明を表示しています。

thiientv/godmode962026年8月26日 更新

Closes a completed development branch by checking the final diff and proof, presenting merge, pull-request, keep, or discard options, and cleaning up only after the user or repository workflow chooses a path. Use when feature work is complete and the branch must be integrated or retired. Not for claiming a feature is complete before verification.

日本語の概要は準備中です。原文の説明を表示しています。

thiientv/godmode962026年8月26日 更新

Tests a real web user flow with a browser by asserting semantic behavior, network and loading states, keyboard access, responsive layouts, and stable visual evidence. Use for browser bugs, end-to-end UI behavior, responsive or accessibility checks, and screenshot baselines. Not for static source review without a browser or for backend-only tests.

日本語の概要は準備中です。原文の説明を表示しています。

thiientv/godmode962026年8月26日 更新

thiientv のスキルをすべて見る

このスキルの問題を報告する