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

peer-review

Run an independent peer review via Claude. Use when the user asks to "peer review", "peer review my code", "peer review my plan", "get a second opinion", or "independent review".

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.9 KB

SKILL.md(原文)

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

Peer Review

Independent peer review via Claude. Translates a natural-language review request into a Claude-specific prompt so invocations stay implementation-agnostic.

Step 1: Determine Review Request

Extract from the current context:

  • Material — code diff, files, plan, feedback, or other artifact to review
  • Review dimensions — correctness, security, API usage, consistency, simplicity, coverage, plan readiness, feedback interpretation, or explicit user criteria
  • Criteria — reference file paths Claude should read directly, inline criteria text, or the material's own domain conventions
  • Prior adjudications — findings already judged, one line each with its verdict and the recorded reason; optional
  • Output format — findings schema, verdict labels, priority scale, and any required metadata fields

If no reviewable material is available, stop and state that material is required.

Step 2: Build the Claude Prompt

Assemble a prompt for Claude:

  • State that Claude is acting as an independent peer reviewer for Codex.
  • Identify the exact material and scope. Pass text you did not author as file paths and diff commands rather than pasted content.
  • When the review revisits material an earlier round already covered, rebuild the review subject from the material's current content and state that any earlier version of it is superseded.
  • Instruct Claude to read referenced criteria files directly.
  • When prior adjudications were identified in Step 1, state them inline in the prompt, labeled as decisions already reached on proposed changes rather than as established properties of the material, and state that a listed finding is raised again only on evidence its recorded reason does not already account for.
  • Bound Claude's reads to the material under review, the sources needed to verify claims about it, and the criteria identified in Step 1. Exclude documents unrelated to those three.
  • Preserve independent dimensions. If multiple dimensions are requested and Codex sub-agent fan-out is unavailable, ask Claude to review each dimension in a separately labeled section. When the request instead asks explicitly for a single-pass review covering all dimensions, keep it to one pass with each dimension in its own labeled section rather than fanning out, stating an explicit outcome for every dimension, including one with no qualifying findings.
  • Require the exact output format expected by the calling skill.
  • Require evidence for every actionable finding.
  • Tell Claude not to modify files.
  • Tell Claude to perform the review itself rather than delegating to another peer review skill or back to Codex. The prompt has already crossed the tool boundary; further forwarding would loop.

Step 3: Run $claude-print Skill

Run the $claude-print skill in read-only mode with the assembled prompt.

Step 4: Validate Output

Compare Claude's output against the reviewed material and the dimensions and structure requested in Step 2, then classify it into one of three branches:

  • Claude returned the requested findings — output them verbatim.
  • Incomplete output (any reason — partial fan-out with missing dimensions, mid-run truncation, sections cut off, sub-agent failure, single-dimension review that ends mid-finding, etc.) — output what came back verbatim, name what is missing relative to Step 2's request, then append: "Action required: Peer review returned partial output. Use request_user_input to ask the user whether to retry peer review now (transient Claude errors like usage limits often clear within minutes) or proceed with the partial findings. State what is missing so the user can decide."
  • No output / Claude failed — Claude returned nothing, errored, hit a usage limit, or returned off-topic output that addresses code, files, or topics outside the reviewed material instead of the requested findings. Do not emit off-topic content as findings. Output a single notice stating the cause, then append: "Action required: Peer review failed. Use request_user_input to ask the user whether to retry peer review now (transient Claude errors like usage limits often clear within minutes) or proceed without peer review."

Do not synthesize peer findings locally to fill a gap. Peer review's value is independence; locally written findings labeled "peer" mislead the consumer.

Then call update_plan to mark this step completed and continue with the next step of the active workflow.

Rules

  • $peer-review is the stable abstraction. Pipeline skills should not call $claude-print directly unless they need raw Claude print-mode behavior.
  • Do not apply Claude findings directly. Evaluation and application belong to downstream skills.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Apply findings by making the suggested code changes. Applies accepted verdicts, escalates ambiguous findings to the user, and offers to note genuine improvements for later. Use when the user asks to "apply findings", "apply fixes", "apply suggestions", "apply accepted findings", "fix the findings", or "apply the review results".

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

tobihagemann/turbo4092026年10月12日 更新

Audit the turbo skill lessons that /self-improve writes into this repo's .turbo/handoff/ from other projects, apply the ones the user approves, delete the consumed handoffs, commit and push, and update the installed Turbo skills. Use when the user asks to "read .turbo/handoff and let me know what you think", "read the handoff files and let me know what you think", "review the lesson handoffs", "apply the self-improve handoffs", or "process the turbo handoffs".

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

tobihagemann/turbo4092026年10月12日 更新

Assess project-wide structural technical debt: complexity hotspots, deprecated API usage, duplication clusters, architecture rot, and low-value tests. Ranks findings by impact and refactor effort into a report at .turbo/technical-debt.md. Use when the user asks to "assess technical debt", "find technical debt", "review technical debt", "what should we refactor", "find refactoring candidates", "where is the code rot", "what's our worst code", "find low-value tests", or "which tests can we delete". Analysis-only — does not modify code.

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

tobihagemann/turbo4092026年10月12日 更新

Shared changelog conventions and formatting rules referenced by $create-changelog and $update-changelog. Not typically invoked directly.

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

tobihagemann/turbo4092026年10月12日 更新

Shared changelog conventions and formatting rules referenced by /create-changelog and /update-changelog. Not typically invoked directly.

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

tobihagemann/turbo4092026年10月12日 更新

Run a non-interactive Claude Code print-mode call from Codex. Use when the user asks to "claude print", "ask claude", "run claude", "consult claude", or when a Codex Turbo skill needs Claude as an independent peer reviewer.

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

tobihagemann/turbo4092026年10月12日 更新

tobihagemann のスキルをすべて見る

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