agentsclimarketplace

Rime review

Skill josui/rime-craft/skills/rime-review

Code and skill quality review — covers diffs (fixed-point or whole-branch), whole files/modules, and skill files. Trigger aggressively whenever the user asks to review code, review a diff, review a branch, review changes since X, review a skill, audit code quality, find bugs, check security, or assess code health — in any phrasing (English: 'review this diff', 'review this branch', 'review the changes since main', 'audit this module', 'check this skill'; Chinese: '审查这个 diff', '审查这个分支', '审查这段代码', 'review 一下', '审查 xxx skill', '帮我看看这段代码', '检查代码质量'). Also trigger when the user names a file, module, or skill and asks for a quality check. Near-miss boundary: pure naming convention, code style, or code-smell taxonomy questions (e.g. 'does this follow the style guide?', 'is this a Fowler smell?') belong to the external code-review skill's Standards axis — point the user there, do not run rime-review for them.From its SKILL.md

Install
npx -y skills add josui/rime-craft --skill rime-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.3 KB, as published. Nobody here has run it

rime-review — Code & Skill Quality Review

A generic, spec-agnostic quality review skill. Applies to any project; the dimension framework's applicability (especially security items) is judged against the target project's threat model at review time, never pre-excluded.

Modes

Two review targets, one dimension framework:

  • Code mode — review a change (diff at a fixed point, whole branch) or whole files/modules against the code dimensions.
  • Skill mode — review a skill file (SKILL.md, prompt template, or skill directory) against the skill dimensions.

Entry Orchestration

digraph entry {
    rankdir=TB;
    "User request" [shape=box];
    "Code or skill?" [shape=diamond];
    "Small scope?" [shape=diamond];
    "Inline review (main thread)" [shape=box];
    "Dispatch reviewer subagent" [shape=box];
    "Report findings" [shape=box style=filled fillcolor=lightgreen];

    "User request" -> "Code or skill?";
    "Code or skill?" -> "Small scope?" [label="code"];
    "Code or skill?" -> "Dispatch reviewer subagent" [label="skill (always subagent)"];
    "Small scope?" -> "Inline review (main thread)" [label="yes (≤~3 files, low risk)"];
    "Small scope?" -> "Dispatch reviewer subagent" [label="no"];
    "Inline review (main thread)" -> "Report findings";
    "Dispatch reviewer subagent" -> "Report findings";
}

Code Mode

Three scopes, all sharing the same dimension framework:

  • Fixed-point diff — changes between two commits (BASE...HEAD semantics). Generate the diff package with scripts/diff-package BASE HEAD from this skill's directory; it prints the unique file path it wrote. Use the recorded BASE (the commit before the change), never HEAD~1 — HEAD~1 silently drops all but the last commit of a multi-commit change.
  • Whole branch — diff from the merge base (git merge-base main HEAD) to HEAD. Use scripts/diff-package MERGE_BASE HEAD.
  • Whole files / modules — read the target files directly; no diff package needed.

Skill Mode

Review a skill file or skill directory against the skill dimensions. The skill under review is read in full; no diff generation needed. Applies the same dimension framework (S1–S6) whether the skill is a standalone SKILL.md, a prompt template, or a multi-file skill directory.

Execution Mechanics

The execution shape depends on review depth:

  • Small reviews (≤ ~3 files, low-risk change, straightforward skill) run inline in the main thread — no subagent dispatch overhead.
  • Deep reviews (multi-file, architectural, security-sensitive, or any skill review) dispatch a named reviewer subagent (Agent name parameter, e.g. reviewer-code-N or reviewer-skill-N). A named reviewer stays attached for re-review rounds via SendMessage.

Review Cost Model & Model Selection: the authoritative definitions live in rime-flow's dispatch.md ("Review Cost Model" and "Model Tiers" sections). rime-review follows them without restating them. Tiered re-review, reviewer residency, auxiliary review batching, and escalation rules all apply as defined there.

Verdict contract: severity calibration (Critical / Important / Minor / spec-mandated), per-finding confidence, file:line requirement, full-report discipline, and review discipline rules are defined in reference/verdict-contract.md. Every review round produces findings in that contract's format.

Dimensions: the full dimension framework (code C0–C6, skill S1–S6) with check questions is defined in reference/dimensions.md. The framework is generic — applicability of each check (especially security items) is judged against the target project's threat model at review time, never pre-excluded.

Boundaries

rime-review is one of three review mechanisms in the ecosystem; each owns a distinct axis:

MechanismAxis it owns
rime-review (this skill)Necessity, architecture, robustness, security, skill review, ecosystem rules — spec-agnostic quality
External code-review skill (mattpocock / official plugin)Standards (naming conventions, code style, code-smell taxonomy) — when the target project has a documented coding standard
rime-sdd task reviewerSpec compliance (missing / extra / misunderstood — three-way comparison against the originating spec)
  • Pure naming, style, or code-smell questions → point to the external code-review skill's Standards axis; do not run rime-review for them.
  • Spec-compliance review (does the code match what the spec asked for?) → belongs to the rime-sdd task reviewer, not rime-review.
  • rime-review is spec-agnostic: it judges code quality on its merits, never against an originating spec.

Workflow

  1. Identify the review target (diff range, branch, file list, or skill path).
  2. For code diffs: run scripts/diff-package BASE HEAD from this skill's directory; read the printed path.
  3. Select execution shape (inline or subagent) per the Execution Mechanics above.
  4. Apply the dimension framework from reference/dimensions.md.
  5. Produce findings per reference/verdict-contract.md: severity, confidence, file:line, why it matters.
  6. Report findings to the user (inline) or return the full report (subagent).

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.