requesting-code-review

requesting-code-review is a skill for Claude Code from XRenSiu/claude-code-forge. It costs 27 tokens per session (2,472 once invoked), scanned A, original, MIT.

A procedure for requesting code review, the inspection of code changes by another person or agent, at defined points such as after planned tasks or before merging a pull request. It includes checks for builds, tests, formatting, linting, and debug code.

In plain words
What is it for?
Use it after meaningful code changes, before merging a pull request, and for changes involving authentication, payments, sensitive data, or core business logic.
Why use it?
It makes review a repeatable quality gate instead of an optional last-minute step. The checks help reviewers assess changes that are compilable, tested, and ready to inspect.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pdforge plugin — 10 skills, 13 commands, 5 agents, 2 hooks shipped together

Good fit Use it after meaningful code changes, before merging a pull request, and for changes involving authentication, payments, sensitive data, or core business logic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xrensiu/claude-code-forge/requesting-code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XRenSiu/claude-code-forge --skill requesting-code-review
Clone the repo
git clone --depth 1 https://github.com/XRenSiu/claude-code-forge

Made for: Claude Code.

Or install pdforge, the plugin that ships this one along with the rest of its 10 skills, 13 commands, 5 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for requesting-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/requesting-code-review/github.svg)](https://agentmods.dev/skills/xrensiu/claude-code-forge/requesting-code-review)
Your own site
<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/requesting-code-review"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/requesting-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for requesting-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/requesting-code-review"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/requesting-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.02472
Opus 5.5 $0.00011 $0.00989
Sonnet 5.5 $0.00005 $0.00494
Haiku 4.5 $0.00003 $0.00247

Measured 1mo ago against content hash 9a93e21f503b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

requesting-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pdforge/skills/requesting-code-review/SKILL.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

请求代码审查

核心原则:审查不是可选的。每个有意义的代码变更都需要经过审查。

宣告开始时说:"I'm using the requesting-code-review skill to ensure proper review process."

触发时机

必须请求审查的情况

场景 审查类型 原因
完成计划中的任务步骤 三阶段审查 确保符合计划且质量达标
PR 准备合并 完整审查 合并前的最后质量门
涉及认证/授权 安全审查必需 安全风险最高的领域
涉及支付/敏感数据 安全审查必需 合规和数据保护要求
修改核心业务逻辑 规格+代码审查 确保正确性和可维护性

可以跳过审查的情况

场景 条件
纯文档更新 不涉及代码逻辑
依赖版本 bump 只有 lockfile 变更
格式化变更 仅空格/缩进/格式
测试修复 测试本身的修复(非逻辑变更)

⚠️ 注意:即使可以跳过,遇到不确定时宁可审查。

审查前检查清单

在请求审查之前,确保以下事项:

自检清单

  • 代码可编译:npm run build 或 tsc --noEmit 通过
  • 测试通过:npm test 全绿
  • 格式化完成:npm run format 或 prettier --check
  • Lint 通过:npm run lint 无错误
  • 没有调试代码:无 console.log, debugger, TODO: remove

检测命令

# 快速自检脚本
echo "🔍 Running pre-review checks..."

# 1. TypeScript 编译
echo "Checking TypeScript..."
npx tsc --noEmit || { echo "❌ TypeScript errors"; exit 1; }

# 2. 测试
echo "Running tests..."
npm test || { echo "❌ Tests failed"; exit 1; }

# 3. Lint
echo "Running lint..."
npm run lint || { echo "❌ Lint errors"; exit 1; }

# 4. 调试代码检查
echo "Checking for debug code..."
grep -rn "console.log\|debugger\|TODO:\s*remove" --include="*.ts" src/ && {
  echo "⚠️ Found debug code"
}

echo "✅ Pre-review checks passed"

审查流程

质量审查采用多阶段流程,顺序不可颠倒:

┌─────────────────────────────────────────────────────────────┐
│                    审查流程                                  │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│   阶段 0: 设计还原审查 (design-reviewer) [按需]              │
│   └── 检查:视觉还原度、布局结构、组件映射                    │
│   └── 触发:上下文有设计参考(Figma URL/截图/设计稿)时       │
│       │                                                     │
│       ▼ 通过后(或无设计参考时跳过)                          │
│                                                             │
│   阶段 1: 规格合规审查 (spec-reviewer)                       │
│   └── 检查:实现是否满足 PRD 和计划中的所有需求               │
│   └── 通过条件:需求覆盖 100%,无缺失实现                     │
│       │                                                     │
│       ▼ 通过后                                              │
│                                                             │
│   阶段 2: 代码质量审查 (code-reviewer)                       │
│   └── 检查:代码质量、最佳实践、可维护性                      │
│   └── 通过条件:无严重问题,重要问题已知晓                    │
│       │                                                     │
│       ▼ 通过后                                              │
│                                                             │
│   阶段 3: 安全审查 (security-reviewer) [按需]                │
│   └── 检查:OWASP Top 10,敏感数据处理                       │
│   └── 触发:涉及认证/授权/敏感数据时必需                      │
│       │                                                     │
│       ▼ 全部通过                                            │
│                                                             │
│   ✅ 审查完成,可以合并                                      │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 261 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 261 lines · 27 tokens per session scan A 9a93e21f503b

Subscribe to this mod's changes

requesting-code-review is a skill published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 29d ago), licensed MIT. It adds 27 tokens to every session and 2,472 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

github-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

github

GitHub via gh CLI: PRs, issues, reviews, repos, auth.

NousResearch/hermes-agent · 19 tokens

otto-drive-pr

PR mergeability, CI, and live preview.

omnigent-ai/omnigent · 14 tokens

voicestudio-maintainer

Triage GitHub issues, review contributor pull requests, diagnose CI, and prepare explicitly requested releases for VoiceStudio's Electron desktop app and Python backend. Use for repository maintenance work, not ordinary VoiceStudio audio generation.

debpalash/VoiceStudio · 50 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

github

Full GitHub CLI control — issues, PRs, code reviews, repo management. Uses gh CLI with auth detection, rate limiting, and templates. Triggers on: github, issue, pull request, PR, code review, repo, branch, label, assignee, milestone, release, workflow, actions.

adolfousier/opencrabs · 0 tokens