loom-requesting-code-review

loom-requesting-code-review is a skill for Claude Code, Codex from xiqin/loom. It costs 45 tokens per session (1,145 once invoked), scanned A, original, MIT.

A code-review request workflow for preparing changes for reviewers. It gathers a change summary, verification results, and areas that need attention before review begins.

In plain words
What is it for?
It helps confirm required checks, inspect changes against project standards and the specification, note skipped checks, and prepare a structured review request.
Why use it?
It helps reviewers receive evidence that the code builds and tests correctly and makes clear what should be examined.

Skill for Claude CodeCodex

Part of the loom-engineering plugin — 22 skills shipped together

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.

agentmods
npx agentmods add skills/xiqin/loom/loom-requesting-code-review
Any agent
npx skills add xiqin/loom --skill loom-requesting-code-review
Clone the repo
git clone --depth 1 https://github.com/xiqin/loom

Made for: Claude Code, Codex.

Or install loom-engineering, the plugin that ships this one along with the rest of its 22 skills.

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 loom-requesting-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiqin/loom/loom-requesting-code-review.svg)](https://agentmods.dev/skills/xiqin/loom/loom-requesting-code-review)
Your own site
<a href="https://agentmods.dev/skills/xiqin/loom/loom-requesting-code-review"><img src="https://agentmods.dev/badge/skills/xiqin/loom/loom-requesting-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,145 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00045 $0.01145
Opus 5 $0.00023 $0.00573
Sonnet 5 $0.00009 $0.00229
Haiku 4.5 $0.00005 $0.00114

Measured 5d ago against content hash 3281356d4dd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

loom-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 5d 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.

skills/loom-requesting-code-review/SKILL.md · 143 lines

How it starts

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

请求代码审查

触发条件

  • verification-before-completion 通过后,需要人工代码审查时
  • 用户主动要求发起代码审查
  • 分支开发完成、准备合并前

完成条件与下一步

  • 审查请求已生成并发送
  • 下一步:等待审查反馈 → 使用 loom-receiving-code-review 处理反馈

预审查清单

在请求审查前,确保:

  • 所有变更已提交
  • 编译通过(BUILD_CMD)
  • 静态分析通过(VET_CMD)
  • 所有测试通过(TEST_CMD)
  • 代码符合项目编码红线
  • 图后端状态已确认(可用时通过 loom_graph_status 查询,否则注明图查询已跳过)
  • 已完成 Standards + Spec 双轴预审查,或已说明跳过某一轴的原因

执行流程

Step1:准备审查材料

  1. 确认所有变更已完成
  2. 运行验证确保代码质量(读取宪章中的 BUILD_CMD、VET_CMD、TEST_CMD 并执行)

Step2:双轴预审查

请求人工审查前,先对当前 diff 做本地预审查。必须先确定 fixed point,例如用户指定的 commit/branch/tag、PR base、mainHEAD~1;fixed point 不明确时先问用户。

Standards 轴

检查代码是否符合项目标准和通用工程质量:

  • .loom/rules/constitution.md、ADR、CONTRIBUTING、CODING_STANDARDS 等项目规范。
  • 架构分层、模块边界、命名、错误处理、日志、配置、安全和性能。
  • 测试质量:是否测行为、是否覆盖边界、是否避免实现耦合。
  • 固定坏味道基线:重复、过长函数、霰弹式修改、循环依赖、全局状态、过度 mock、临时兼容层、未解释的复杂度。
Spec 轴

检查实现是否忠实满足来源需求:

  • 从 commit message、PR 描述、specs/<date+feature>/spec.mdplan.md、issue/PRD 或用户原始请求定位 spec 来源。
  • 对照验收标准、Requirement ID、边界条件和不做范围。
  • 缺少 spec 来源时,明确写“Spec 轴跳过:未找到来源”,或向用户请求来源;不得凭想象补需求。

输出必须分成两个独立区块,不合并、不重排:

## Standards

- <finding 或 无发现>

## Spec

- <finding、跳过原因 或 无发现>

## 预审查摘要

- Standards findings: <数量>,worst: <最严重问题或 none>
- Spec findings: <数量/跳过>,worst: <最严重问题或 none>

若任一轴发现 blocker,先修复并重新验证,再生成审查请求。

Step3:整理变更摘要

git diff --stat
git log --oneline -10

Step4:生成审查请求

# 代码审查请求

**功能:** <feature-name>
**分支:** feature/<date>-<feature-name>

## 变更统计

<git diff --stat 输出>

## 主要变更

1. <变更说明 1>
2. <变更说明 2>

## 重点关注

1. 架构设计:xxx
2. 安全性:xxx
3. 性能:xxx

## 自测情况

- [x] 编译通过(BUILD_CMD)
- [x] 静态分析通过(VET_CMD)
- [x] 测试通过(TEST_CMD)
- [x] 代码符合编码红线
- [x] 图后端已同步,或已注明索引查询跳过

## 变更详情

| 文件          | 变更类型 | 说明            |
| ------------- | -------- | --------------- |
| path/to/file1 | 新增     | XxxService 实现 |
| path/to/file2 | 修改     | 新增方法        |

## 审查重点

- [ ] 架构合规性
- [ ] 代码质量
- [ ] 安全性检查
- [ ] 性能影响

约束

  • 审查请求必须包含完整的变更摘要
  • 必须标注重点关注项
  • 必须提供自测情况
  • Findings 必须优先于总结,且包含文件/行号或明确的证据来源。
  • 缺少 spec 来源时不得伪造 Spec findings。

Read the full file on GitHub · 143 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. 5d ago First seen · 143 lines · 45 tokens per session scan A 3281356d4dd7

Subscribe to this mod's changes

loom-requesting-code-review is a skill published in the GitHub repository xiqin/loom (5 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 1,145 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens