/loom-engineering:loom-requesting-code-review <spec_dir or PR context>from loom-engineering
Generates a structured code review request with change summary, self-test results, and focus areas for reviewers. Use after verification before PR handoff.
Ships in loom-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What SKILL.md sets; muted values are Claude Code's defaults
Prepare a review request after verification, including change summary, tests, and reviewer focus areas.
Three short reads, in order
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest/PreSkillShellCommand at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest/PreSkillShellCommand at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
loom-receiving-code-review 处理反馈在请求审查前,确保:
loom_graph_status 查询,否则注明图查询已跳过)请求人工审查前,先对当前 diff 做本地预审查。必须先确定 fixed point,例如用户指定的 commit/branch/tag、PR base、main 或 HEAD~1;fixed point 不明确时先问用户。
检查代码是否符合项目标准和通用工程质量:
.loom/rules/constitution.md、ADR、CONTRIBUTING、CODING_STANDARDS 等项目规范。检查实现是否忠实满足来源需求:
从 commit message、PR 描述、specs/<date+feature>/spec.md、plan.md、issue/PRD 或用户原始请求定位 spec 来源。
对照验收标准、Requirement ID、边界条件和不做范围。
缺少 spec 来源时,明确写“Spec 轴跳过:未找到来源”,或向用户请求来源;不得凭想象补需求。
输出必须分成独立区块,不合并、不重排:
## Standards
- <finding 或 无发现>
## Spec
- <finding、跳过原因 或 无发现>
## Spec 遗漏自审
- <见 Step3>
## 预审查摘要
- Standards findings: <数量>,worst: <最严重问题或 none>
- Spec findings: <数量/跳过>,worst: <最严重问题或 none>
- Spec 遗漏: <数量/跳过>,worst: <最严重遗漏或 none>
若任一轴或遗漏自审发现 blocker,先修复并重新验证,再生成审查请求。
有 spec 来源时必须执行;缺少 spec 来源时写明跳过原因,不得凭想象补需求。本步检查的是“spec 里有的是否都实现了”,与 Spec 轴的符合性检查分开记录。
逐条对照 spec.md(及 requirements.json / traceability.json,若存在):
REQ-xxx-Bnn 是否有代码落点;traceability.json 是否有 tests / evidence。requirements.json 与 traceability.json,调用 loom_omission_hunt(参数 spec_dir)。blocker 视为本步失败。输出必须单独成块:
## Spec 遗漏自审
- 检查条目: <N>
- 遗漏: <列表或无>
- omission-hunter: <pass/blocked/跳过原因>
若发现遗漏(含 omission-hunter blocker),先修复并重新验证,再进入下一步。不得用“整体看起来完整”代替逐条核对。
git diff --stat
git log --oneline -10
# 代码审查请求
**功能:** <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] 图后端已同步,或已注明索引查询跳过
- [x] Spec 遗漏自审通过,或已说明跳过原因
## 变更详情
| 文件 | 变更类型 | 说明 |
| ------------- | -------- | --------------- |
| path/to/file1 | 新增 | XxxService 实现 |
| path/to/file2 | 修改 | 新增方法 |
## 审查重点
- [ ] 架构合规性
- [ ] 代码质量
- [ ] 安全性检查
- [ ] 性能影响
22 skills in this plugin
/loom-analyze-artifactsRead-only cross-artifact consistency analysis after planning and before approval. Verifies that spec.md, requirements.json, plan.md, tasks/Tn.md, traceability.json are mutually consistent: no duplicate/ambiguous requirements, every behavior mapped to a task, no orphan tasks, no coverage gaps, no contradictions. Outputs artifact-analysis.json with coverage% and severity. CRITICAL/HIGH findings block the approval gate. Use when: planning produced plan.md + tasks + traceability.json, before the user approves the plan.
/loom-brainstormingExplore 2-3 implementation options with trade-offs when the user describes a new feature or requirement. Use when: the user asks for a new feature design, implementation options, or technical trade-off analysis.
/loom-convergeCheck local behavior references, then independently review code and test semantics against approved requirements. Use when: executing produced test-report.md and implementation drift must be checked before final verification.
/loom-detail-expansionExpand each requirement into verifiable Behavior Obligations across 15 fixed dimensions (happy-path, boundary, invalid-input, authorization, state-transition, idempotency, concurrency, atomicity, external-failure, compatibility, security, performance, observability, recovery, forbidden-behavior) before planning. Use when: brainstorming produced requirements.json and spec is approved, but behaviors are still placeholders or only happy-path; before loom-writing-plans.
/loom-dispatching-parallel-agentsDispatch multiple independent tasks to parallel subagents when no shared file conflicts exist. Use when: a confirmed plan has independent tasks that can run concurrently without touching shared files.
/loom-finishing-a-development-branchClean up a feature branch after verification: merge, create PR, keep, or discard. Follows conventional commits. Use when: a development branch has passed verification and needs merge, PR, keep, or discard handling.
Other plugins' skills for the same job