agentleFS
dannys-code-cornerdannys-code-corner/incan/.agents/skills/review-orchestrate/SKILL.md

review-orchestrate

Skill73 starsChanged 6 days agoApache-2.0View on GitHub

Orchestrate a broad Incan review using specialized reviewer roles, parallel slice reports, and a canonical merged review report. Use when the user asks for delegated review, multi-agent review, or when a broad dirty worktree should be reviewed by specialized passes rather than one generic reviewer.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 8 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not copy every per-file checklist from worker reports into the canonical report.

    line 66
  2. Distinctive:

    Every worker slice report must identify the worker that produced it, and the canonical report must record the worker set used for the run.

    line 84
  3. Very specific:

    Use orchestrate-parallel-work when the user explicitly asked for subagents/delegation and the slices are worth parallelizing.

    line 98
  4. Distinctive:

    Do not require consensus for a finding.

    line 104
  5. Distinctive:

    Every merged finding must keep:

    line 105
  6. Very specific:

    Do not drop a finding merely because it is unverified or contested.

    line 123
  7. Distinctive:

    no open findings remain,

    line 134
  8. Distinctive:

    Do not treat “no finding from one reviewer” as proof the file is clean.

    line 201
  9. Distinctive:

    Do not require consensus to keep a finding open.

    line 202
  10. Very specific:

    If two reviewers truly disagree, record that explicitly in ## Disagreements.

    line 203
  11. Distinctive:

    no real reviewer subagents were spawned

    line 219
  12. Very specific:

    If subagents cannot be used, do not pretend this skill ran successfully.

    line 227
  13. Very specific:

    Use orchestrate-parallel-work as the worker-spawning substrate when delegation is justified.

    line 241
  14. Very specific:

    Use review-incan-source-quality for touched .incn source before treating a branch as stylistically clean.

    line 242
  15. Very specific:

    Use /fix after review-orchestrate if the user wants findings repaired.

    line 243
  16. Very specific:

    Use /review-and-fix only for smaller scopes or after narrowing the problem.

    line 244

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review Orchestrate — Incan Compiler

Purpose

/review-orchestrate is the review control plane for broad worktrees.

It does not replace the reviewer roles. It:

  • derives scope,
  • chooses the reviewer roster,
  • spawns specialized reviewers,
  • gathers slice reports,
  • merges them into the canonical .agents/state/review-report.md,
  • preserves findings with provenance,
  • records disagreements when they matter,
  • applies a Boy Scout closing gate,
  • and decides whether the branch is clean, blocked, or should move to /fix.

Use this when:

  • the user explicitly wants multi-agent review,
  • the dirty worktree spans multiple subsystems or both code and docs,
  • or serial reruns are becoming more expensive than parallel review.

For small local reviews, use /review instead.

This skill is only valid when it uses real subagents for reviewer slices. If the orchestrator stays single-agent and merely writes multiple slice reports itself, that run is non-compliant with review-orchestrate.

Reviewer roster

Core reviewer roles:

  • review-incan-source-quality
  • review-rust-prose
  • review-docs-claims
  • review-test-style
  • review-scope
  • review-architecture
  • review-code-smells

Cross-cutting orchestrator gates:

  • boyscout_gate
  • disagreement resolution
  • canonical report merge

Reports

The slice reports are the primary review artifacts.

The canonical report is a thin merged index:

  • who reviewed what,
  • what findings remain,
  • where disagreements exist,
  • what was verified,
  • and whether the branch is clean or blocked.

It is not a second full review document. The slice reports remain the detailed evidence.

Do not copy every per-file checklist from worker reports into the canonical report. Keep the detail in the slice reports and let the canonical report point at it.

Worker slice reports:

  • .agents/state/review-report.rust-prose.md
  • .agents/state/review-report.incan-source-quality.md
  • .agents/state/review-report.docs-claims.md
  • .agents/state/review-report.test-style.md
  • .agents/state/review-report.scope.md
  • .agents/state/review-report.architecture.md
  • .agents/state/review-report.code-smells.md

Canonical merged report:

  • .agents/state/review-report.md

Workers do not write to the canonical report directly. Every worker slice report must identify the worker that produced it, and the canonical report must record the worker set used for the run.

Workflow

  1. Derive review scope from the current dirty worktree.
  2. Decide which reviewer roles are needed. Use the lightest honest roster:
    • touched .incn source -> review-incan-source-quality
    • touched .rs with prose comments -> review-rust-prose
    • touched user-facing .md, CLI help, examples, scaffolds, release notes -> review-docs-claims
    • touched tests or code implying coverage drift -> review-test-style
    • broad branch-intent / RFC / issue validation -> review-scope
    • subsystem-level code changes -> review-architecture
    • touched code files with local maintainability risk -> review-code-smells
  3. Spawn real subagents for the reviewer slices. Do not perform the reviewer roles yourself except for final orchestration and merge.
  4. Use orchestrate-parallel-work when the user explicitly asked for subagents/delegation and the slices are worth parallelizing. For broad dirty-worktree review, that should be the default execution model of this skill.
  5. Give each reviewer explicit owned scope and forbid edits unless the user explicitly asked for review-and-fix behavior.
  6. Collect the slice reports from those worker agents.
  7. Merge them into .agents/state/review-report.md.
  8. Preserve reviewer findings by default. Do not prune aggressively at merge time just because the orchestrator is skeptical. High recall matters more than prematurely cleaning the queue.
  9. Merge duplicates aggressively. If multiple reviewers identify the same real issue, record it once with multiple sources.
  10. Do not require consensus for a finding. One well-grounded finding is enough to keep it open.
  11. Every merged finding must keep:
  • its reviewer role(s),
  • its source slice report(s),
  • a kind used for handling, not suppression.
  1. Useful kind values include:
  • behavior
  • docs
  • rustdoc
  • test-gap
  • maintainability
  • source-quality
  • design-tension
  1. A finding may also carry a merge disposition:
  • open
  • fixed
  • blocked
  • unverified
  • contested Do not drop a finding merely because it is unverified or contested; keep it visible with provenance.
  1. Record disagreement only when it is real and useful:
  • a reviewer explicitly disputes a clean call on a risky surface,
  • reviewers materially disagree on severity, ownership, or whether something is in scope,
  • or a clean/blocked decision depends on the disagreement.
  1. Silence is not disagreement. “Reviewer A found an issue and reviewer B did not mention it” is not consensus and is not disagreement by itself.
  2. Review the whole presented worktree. Do not arbitrarily narrow the review surface to the orchestrator's guess at the user's "real task". Findings about adjacent churn, stale docs, or quality regressions are fair game. Relevance and fixability are decided later by /fix or the human, not by suppressing the finding.
  3. Apply the boyscout_gate: ask whether touched code/docs ended at least as clean as they were.
  4. Mark the canonical report clean only when:
  • applicable reviewer slices are complete,
  • no open findings remain,
  • and no open disagreements remain on risky clean claims.

Canonical report merge shape

# Review Report

- branch: <branch>
- status: in_progress | clean | blocked

## Workers
- rust-prose: <agent-id or stable label>
- docs-claims: <agent-id or stable label>
- ...

## Scope
- reviewed worktree:
- reviewer roster:
- primary slice reports:
  - .agents/state/review-report.rust-prose.md
  - ...

## Activity
...

## Findings

- [ ] F1 | warning | rustdoc | rustdoc prose | loaves/oven/oven_model/src/project_lifecycle/version.rs:122
  roles: rust-prose
  sources:
    - .agents/state/review-report.rust-prose.md
  status: open
  summary: Manually chopped single-paragraph rustdoc.

- [ ] F2 | error | behavior | env dependency overlays are inspectable but not executable | loaves/toolchain/incan-cli/src/commands/lifecycle.rs:193
  roles: scope, architecture
  sources:
    - .agents/state/review-report.scope.md
    - .agents/state/review-report.architecture.md
  status: open
  summary: Env overlays resolve for display but do not enter command execution/dependency resolution.

## Disagreements

- none

## Clean Corroboration

- loaves/oven/oven_model/src/project_lifecycle/env.rs — rust-prose clean
- workspaces/docs-site/docs/tooling/tutorials/getting_started.md — docs-claims clean

Only record clean corroboration where the lack of findings materially matters:

- touched `.rs` files with prose comments,
- touched user-facing `.md`,
- docs/CLI/example claim surfaces,
- or files involved in a resolved disagreement.

Do not bloat the canonical report with routine clean restatements for every slice.

## Verification
- <command> — <result>

Disagreement policy

  • Do not treat “no finding from one reviewer” as proof the file is clean.
  • Do not require consensus to keep a finding open.
  • If two reviewers truly disagree, record that explicitly in ## Disagreements.
  • A risky clean claim is final only when:
    • two relevant reviewers support the clean call, or
    • the orchestrator resolves the disagreement explicitly and says why.

Risky file classes include:

  • touched .rs files with prose comments
  • touched user-facing .md
  • CLI/help/examples/scaffolds with behavioral claims
  • release notes for implemented user-facing work

Compliance rules

A review-orchestrate run is invalid if any of the following is true:

  • no real reviewer subagents were spawned
  • the orchestrator wrote the slice reports itself instead of collecting them from workers
  • the canonical report omits worker identities for the slices
  • the canonical report is missing
  • the canonical report copies worker checklists wholesale instead of acting as a thin merged index
  • the orchestrator claims corroborated clean/disagreement state without worker-produced slice reports
  • the orchestrator silently drops findings instead of preserving them as open, unverified, or contested

If subagents cannot be used, do not pretend this skill ran successfully. Fall back explicitly to /review and say that review-orchestrate could not be honored.

Findings ledger

When the canonical report's ## Findings section is non-empty at the end of a run, or when this run confirms findings from a prior run are now fixed, append one line per materially distinct finding (not per worker slice) to .agents/state/findings-ledger.md (a symlink into a private, non-git location — see AGENTS.md):

- YYYY-MM-DD | review-orchestrate | <one-line finding, e.g. "F2: env overlays inspectable but not executable"> | <what changed, or "pending">

Skip this for a run that closes with zero open findings. If .agents/state/findings-ledger.md doesn't exist, skip silently rather than creating it yourself.

Relationship to other skills

  • Use orchestrate-parallel-work as the worker-spawning substrate when delegation is justified.
  • Use review-incan-source-quality for touched .incn source before treating a branch as stylistically clean.
  • Use /fix after review-orchestrate if the user wants findings repaired.
  • Use /review-and-fix only for smaller scopes or after narrowing the problem; for broad scopes, prefer review-orchestrate followed by /fix.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.