review SKILL.md skillA

review from riot-org/riot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add riot-org/riot/review@git:20261014.9c3854a

Pins git:20261014.9c3854a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
riot-org/riot
Path
crates/riot-kernel/builtin/skills/review/SKILL.md
Versions recorded
2
Latest version
git:20261014.9c3854a, committed Oct 14, 2026
First version recorded
Aug 17, 2026
Size
3,373 bytes
Repository stars
22
License
a license file GitHub does not identify

审查一批改动时用。缺陷优先:找静默的错答案、反了的失败方向、没测试守着的关键分支,按严重程度报告并说清审了多大范围。风格问题交给 lint,不在这里人肉报。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 审查改动

## 先定范围

```bash
BASE=$(git rev-parse --abbrev-ref origin/HEAD 2>/dev/null) \
  || BASE=$(git rev-parse --verify -q origin/main >/dev/null && echo origin/main || echo origin/master)

git diff                          # 未提交的
git log --oneline "$BASE"..HEAD   # 这条分支有哪些提交
git diff --stat "$BASE"...HEAD    # 相对基线的全部改动
```

`origin/HEAD` 在有些克隆里没设置,所以开头带了回退。

用户说「审一下」时通常指整条分支,不只是未提交的那点。

## diff 只是入口,不是全貌

`[约束]` 逐个改动文件**读完整文件**,至少读到改动点所在的函数和它的
调用方。diff 里看起来对的行,放进调用方的语境里经常是错的——参数顺序、
单位、调用约定这类错误在 diff 视图里不可见。

范围太大读不过来时,说明白哪些只扫了 diff,不要假装全读了。

## 该找什么(按回报排序)

**1. 静默的错答案。** 不报错不崩、只是结果错的那类:错误被吞掉后返回
空集合、部分结果被当成全量、截断或超时提前收工没说出来、缓存该失效没
失效。判据:这条路上有没有可能「半份东西被当成全部」。

**2. 失败方向反了。** 解析失败、超时、认不出的输入,落在哪一侧?权限
判不准变成放行、校验失败当成通过、catch 里吞掉异常继续走——这类改动
单看每一行都合理,方向反了就是安全洞。

**3. 调用方没跟上。** 改了函数的签名、语义或返回值,所有调用点都重审
过吗?grep 一遍比信 diff 可靠:编译器只抓签名,抓不住语义(原来返回
空表示「没有」,现在表示「出错」——类型没变,含义全变)。

**4. 有实现没测试守着。** 对每个关键分支问:把这行删掉或改反,会有
测试红吗?答不上来就是发现。尤其是错误处理分支——它们几乎从不被手工
测到。

**5. 边界。** 空集合、0、负数、超长输入、重复调用、并发。别全列一遍,
只报这次改动**真的会碰到**的那几个。

**6. 不该入库的东西。** 密钥、调试输出、被注释掉的大段旧代码、意外
带上的生成物或临时文件。

## 怎么报

按**严重程度**排,不按文件顺序。每条给:

- 位置(`起始行:结束行:路径` 的引用格式);
- **会怎么表现**——具体症状,不是「可能有风险」。说不出症状的发现
  多半不是发现;
- 建议的改法,或「需要一个测试守着这里」。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add riot-org/riot/review@sha256:048e182f8369d884

The line at the top of this page pins the label git:20261014.9c3854a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ycet7ovcn767zb2j.svg)](https://markdownregistry.com/a/art_ycet7ovcn767zb2j)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Aug 17, 2026 and Oct 14, 2026, about one every 58 days.

versioncommittedcommitsizeaudit
git:20261014.9c3854a latest2026-10-14 9c3854a 3,373 BA view · diff
git:20260817.d4dfa412026-08-17 d4dfa41 3,214 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3373 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

riot-org/riot · 22 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_ycet7ovcn767zb2j
GET https://markdownregistry.com/api/v1/resolve?ref=riot-org/riot/review
GET https://markdownregistry.com/api/v1/blob/048e182f8369d884cbf30d96262a680a9f9993b2af3fdb1e1cf03ee57c14f709

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from riot-org/riot

add-command SKILL.md skill
riot-org/riot · .riot/skills/add-command/SKILL.md · 给前端加一个 Tauri 命令时用。要改五处,漏了其中三处只表现为运行时「command not found」;权限文件还有个先后顺序的坑会让 build.rs 直接 panic。
git:20260817.d00a470 · audit A · 22 stars
add-tool SKILL.md skill
riot-org/riot · .riot/skills/add-tool/SKILL.md · 给 Riot 加一个模型能调的工具时用。Tool trait 的必答项、fail-closed 默认值的判据、注册位置、以及几条写错了不报错只是行为悄悄降级的规则。
git:20261011.281dcd7 · audit A · 22 stars
commit-batch SKILL.md skill
riot-org/riot · .riot/skills/commit-batch/SKILL.md · 工作区堆了多个不相关主题的改动、要整理成提交时用。按主题切分而不是拆成一堆小提交,并照这个仓库的消息风格写。
git:20260817.d00a470 · audit A · 22 stars
mutate SKILL.md skill
riot-org/riot · .riot/skills/mutate/SKILL.md · 动过权限决策链、Bash 分析、路径围栏、安全检查、文件工具或进程执行器之后用。跑变异测试,并正确解读存活的变异。
git:20260817.d00a470 · audit A · 22 stars
protocol-change SKILL.md skill
riot-org/riot · .riot/skills/protocol-change/SKILL.md · 改了 crates/riot-protocol 里的类型之后用。重新生成绑定,并检查 serde tag 撞名这类 Rust 类型层面看不出来的问题。
git:20260817.d00a470 · audit A · 22 stars
review SKILL.md skill
riot-org/riot · .riot/skills/review/SKILL.md · 审查一批改动时用。缺陷优先,并按这个仓库特有的失效方式去找问题——那些编译通过、类型正确、看起来合理的写法。
git:20260817.d00a470 · audit A · 22 stars
verify SKILL.md skill
riot-org/riot · .riot/skills/verify/SKILL.md · 改完代码要验证时用。按这个仓库的分层防线依次跑,并说明每一层拦的是什么。别只跑 cargo build 就当验证过了。
git:20260817.d00a470 · audit A · 22 stars
add-mcp SKILL.md skill
riot-org/riot · crates/riot-kernel/builtin/skills/add-mcp/SKILL.md · 用户想加、改、排查 MCP 服务器,或从 Cursor / Claude Desktop / VS Code 搬 MCP 配置过来时用。用户级只认 stdio(远程走 mcp-remote 桥)、config.json…
git:20261014.9c3854a · audit B · 22 stars
commit SKILL.md skill
riot-org/riot · crates/riot-kernel/builtin/skills/commit/SKILL.md · 要把改动提交成 git commit 时用。先看清工作区里有几件事、按主题分组、只暂存这一组,以及消息里该写什么不该写什么。
git:20261014.9c3854a · audit A · 22 stars
create-plugin SKILL.md skill
riot-org/riot · crates/riot-kernel/builtin/skills/create-plugin/SKILL.md · 用户想写一个 Riot 插件、把已有的技能/命令/hooks/MCP 打包分发、或把 Claude Code / Cursor 插件搬到 Riot 时用。目录布局、三种清单格式、dev.riot 扩展字段、本地链接调试流程和市场发布。
git:20261014.9c3854a · audit A · 22 stars
debug SKILL.md skill
riot-org/riot · crates/riot-kernel/builtin/skills/debug/SKILL.md · 排查 bug 时用。顺序是硬的:先复现、再让证据淘汰假设、修根因、用原始复现路径验证。不要看到第一个可疑点就动手改。
git:20260817.d4dfa41 · audit A · 22 stars
extend-riot SKILL.md skill
riot-org/riot · crates/riot-kernel/builtin/skills/extend-riot/SKILL.md · 用户想加技能、斜杠命令、hook、项目约定(AGENTS.md),或要给命令配 API key、密码这类机密时用。各扩展点的目录、格式限制和优先级规则。MCP 服务器转 add-mcp,打成可分发的插件转 create-plugin。
git:20261014.9c3854a · audit B · 22 stars

Every file in riot-org/riot

Other files named review

review SKILL.md skill
garrytan/gstack · review/SKILL.md · Use when you review this PR's diff. (gstack)
v1.0.0 · audit A · 140,694 stars
review SKILL.md skill
qwenlm/qwen-code · packages/core/src/skills/bundled/review/SKILL.md · Review changed code for correctness, security, code quality, and performance. Use when the user asks to review code…
git:20261102.0ebbe15 · audit B · 29,081 stars
review SKILL.md skill
zereight/gitlab-mcp · .github/skills/review/SKILL.md · Code review with spec compliance and quality checks. Activate when user says: review this, code review, review my…
git:20260412.9d9ce51 · audit A · 2,088 stars
review SKILL.md skill
dzhng/skills · skills/engineering/review/SKILL.md · Closeout pass on a finished substantive change — sequence refactor-clean (shape), code-review (diff), and write-docs…
git:20260708.3797915 · audit A · 1,404 stars
review SKILL.md skill
sethgammon/citadel · skills/review/SKILL.md · 5-pass structured code review — correctness, security, performance, readability, consistency
git:20260611.0f3f8e7 · audit A · 927 stars
review SKILL.md skill
suboss87/fdeops · skills/review/SKILL.md · Review a proposed customer code change against its intended outcome and operational risks. Use for a diff or PR review…
git:20261005.ed7f271 · audit A · 827 stars
review SKILL.md skill
snowflake-labs/cocoplus · .cortex/skills/cocobrew/review/SKILL.md · Enter the Review phase of CocoBrew. Aggregates findings from Code Quality Advisor, CocoCupper intelligence, spec…
v1.0.2 · audit A · 728 stars
review SKILL.md skill
dcouple/pane · main/src/services/paneChatBundle/skills/review/SKILL.md · Review a PR against its linked issue, repository checks, correctness, architecture, and applicable conventions. Post…
git:20261105.60e9622 · audit A · 603 stars

Browse by kind, by grade A, or by owner.