AGENT SKILL

code-review

Review a code change on two independent axes, standards and spec, without letting one review contaminate the other. Use before accepting a repository change whose correctness matters; the Restless form of popular two-axis code-review skills that fan out sub-agents.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 12
Forks
1

01 前言 Front Matter

name
code-review
description
Review a code change on two independent axes, standards and spec, without letting one review contaminate the other. Use before accepting a repository change whose correctness matters; the Restless form of popular two-axis code-review skills that fan out sub-agents.

03 SKILL.md 正文

Code review

Two questions stay separate because each blinds the other:

  1. Spec: does the change do what the Work outcome and its references require, for the real user?
  2. Standards: is it correct, safe and maintainable in this codebase: bugs, error handling, security boundaries, tests for key invariants, local idiom.

When one reviewer is enough

A small, low-risk change gets one review Work that answers spec first, then standards, in that order, from the exact commit. Do not create ceremony for a one-line fix.

When the change is material

The accountable lead commissions two review Work items owned by different actors. Both depend on and revise the producer's Work so each receives the exact commit:

restless work add --owner <domain>-reviewer --role reviewer --title "Spec review: <change>" \
  --outcome "Judge only whether the exact commit meets the Work outcome and references when run natively." \
  --expected-artifact <report path> --requires <producer-work-id> --revises <producer-work-id>

restless work add --owner <domain>-auditor --role reviewer --title "Standards review: <change>" \
  --outcome "Judge only correctness, safety and maintainability of the exact diff; cite file and line." \
  --expected-artifact <report path> --requires <producer-work-id> --revises <producer-work-id>

Neither reviewer reads the other's report before submitting its own. The lead judges the combined result; a disagreement is a decision for the lead, not a vote.

How to review

  • Check out the exact commit named in your bound inputs; never review a moving branch.
  • Run the project's own gates and the change natively where it can be run.
  • Report findings most severe first, each with the concrete failure scenario and its location.
  • Request changes only for findings that matter to the outcome; style preferences that the codebase does not already enforce are not findings.

04 同仓库更多 Skills

BlueprintLabIO
BlueprintLabIO/restless-core

fixture-note-etiquette

How the company writes a Fixture Notes message. Used only by the connections smoke.

★ 12
BlueprintLabIO
BlueprintLabIO/restless-core

web-native-review

Prepare or independently review a rendered website against its outcome contract and a mature ground-truth reference. Use for landing pages, product sites, blogs, documentation sites, or other browser-native outcomes; do not use to judge source code alone or turn mechanical layout facts into a taste score.

★ 12
BlueprintLabIO
BlueprintLabIO/restless-core

scenario-evidence

Run a versioned Runtime scenario, probe its real capabilities, preserve compact evidence, and prepare its native review target. Use for a project outcome that benefits from repeatable setup/run/assertion/evidence—not to choose a plan, team, or business verdict.

★ 12
BlueprintLabIO
BlueprintLabIO/restless-core

research

Answer a question the company needs to decide on with a sourced brief - market facts, a technology, a regulation, an audience, a price, a supplier. Use when an answer must be found and checked on the web or in documents before acting; do not use for a quick lookup a single source settles, or for competitor landscapes (use competitor-research).

★ 12
BlueprintLabIO
BlueprintLabIO/restless-core

reference-led-reset

Reset a rejected or repeatedly drifting outcome into a genuinely fresh Work Attempt grounded in ordered authoritative references. Use when the owner asks to start over, when qualitative defects survive revision, or when a mechanically valid result conflicts with the product or brand source of truth. Do not use for an ordinary bounded repair that should preserve the current candidate.

★ 12
BlueprintLabIO
BlueprintLabIO/restless-core

publish-git

Safely reconcile, verify, and publish Git refs through the governed Restless effect path. Use for pushes or deployments driven by a Git push; do not use for read-only fetches, local Git work, or provider API administration.

★ 12