メインコンテンツまでスキップ

Commands, agents, and skills

This page lists what the plugin distributes. The distribution manifests are .claude-plugin/plugin.json (Claude Code) and .codex-plugin/plugin.json (Codex).

KindClaude CodeCodex
Slash commandsDistributedNot in the manifest
Sub-agentDistributedNot in the manifest
SkillsDistributedDistributed

.codex-plugin/plugin.json declares only skills and interface; it does not declare commands or agents.

Commands (Claude Code)​

The seven entries registered under commands in .claude-plugin/plugin.json. Descriptions summarize the frontmatter description of each commands/*.md.

CommandWhat it does
/river-review:setup-teamCreate .river/rules.md, confirm the plugin install, and check the integration mode
/river-review:review-localReview uncommitted changes, or the branch diff against the default branch when nothing is uncommitted
/river-review:review-teamParallel multi-role review merged with consensusLevel and a Tech Lead report
/river-review:challengePre-mortem, war-game, and logic-torturing analysis on current changes
/river-review:skillLoad the best-matching skill doc from skills/ and apply it to the current task
/river-review:checkPre-review check: run lint/tests and summarize failures and risks
/river-review:prDraft a review-ready PR description from a template

Agent (Claude Code)​

AgentDefinitionWhat it does
river-reviewagents/river-review.mdFollows the river-review skill, runs perspective-based reviewer roles, and verifies findings against the diff

Skills (Claude Code / Codex)​

The 12 skills under skills/agent-skills/. Descriptions summarize each SKILL.md description.

SkillWhat it does
river-reviewMain entry point: intent classification, specialist skill selection, execution, and finding verification
river-review-codeGeneral code quality; the default fallback
river-review-securityRegular security review (authn/authz, privacy design, and more)
river-review-security-auditExplicit security audit of a repository or subsystem
river-review-performanceN+1 queries, memory efficiency, caching strategy, observability
river-review-architectureDependencies, boundary design, data models, API design
river-review-testingTest coverage, naming, flaky tests, coverage gaps
river-review-frontendAccessibility, design-system conformance, UI state design, and more
river-review-docsConsistency between README / docs / AGENTS.md and the implementation
adversarial-reviewAdversarial review with Pre-mortem / War Game / Logic Torturing
review-teamRuns six specialist reviewer roles in parallel and merges the results
unknown-coverage-reviewSynthesizes unverified items (Unknowns) left in a diff and its verification evidence

In Claude Code, skills can also be invoked as /river-review:<skill-name>.

Stops when required files cannot be read​

The agent, the skills, and some commands read bundled files through ${CLAUDE_PLUGIN_ROOT} written in their body, which is replaced with the plugin root's absolute path at load time. The $CLAUDE_PLUGIN_ROOT environment variable is empty in Bash, so resolving it in Bash is only a fallback for when the text was not substituted. When the root cannot be resolved or a file cannot be read, they stop instead of continuing with guesses or substitute criteria. Cases that used to fall back silently now stop and report the reason.

TargetStop conditionWhat is reported
river-review agent / river-review skillThe river-review SKILL.md cannot be readThe review cannot run because the Skill Registry is unresolved
/river-review:setup-team.river/rules.template.md cannot be readThe template was not found (.river/rules.md is not created)
/river-review:review-teamThe review-team SKILL.md cannot be readThe skill definition was not found, with the paths tried and reason
/river-review:skillA skill ID delegated from another skill cannot be resolvedRecorded as unresolved; not filled in by keyword search or guesswork
Reviews that target a PRgh is unavailable and git fetch cannot get the diff eitherAsks you to provide the PR diff

What to check when it stops​

  1. Check the paths tried in the stop report. If a Read was rejected as outside the working directory, add the plugin root with --add-dir <plugin root> or permissions.additionalDirectories and run again. As a quick workaround, give the absolute path of SKILL.md in the request (for example, ~/.claude/plugins/cache/<marketplace>/river-review/<version>/skills/agent-skills/river-review/SKILL.md). Running echo "$CLAUDE_PLUGIN_ROOT" in Bash prints nothing even when the plugin is loaded correctly, so it cannot be used for this check.
  2. Run claude plugin list and confirm river-review@river-review-marketplace is installed and enabled. If it is disabled, run claude plugin enable; if it is outdated, run claude plugin update. Then restart Claude Code (Update, disable, and uninstall).
  3. If that does not help, uninstall it, reinstall it by following Install the plugin, restart, and run it again.
  4. If a PR-targeted review stopped, make gh available or provide the output of git diff <base>...<head>.

The repository root is used in place of an unresolved plugin root only when running inside the river-review repository itself.

Record evidence from actual use​

In this workflow, downstream projects use the Plugin, while the River Review CLI is used for development and verification of River Review itself. Record manual application of skill text separately from an actual Plugin runtime invocation.

Use this short record when comparing a change before and after an improvement. It is an optional usage note, not a new Review Artifact schema or an approval record. Reference existing output when available.

Separate installation from review​

  • Registration: A name appears in configuration or a marketplace. This does not prove it loaded in the session.
  • Loading: The target session could read the bundled skill. Application to the input and completion require separate evidence.
  • Execution: The input revision, applied skill, and actual output can be traced. Distinguish self-review, another session, manual delegation, and automatic dispatch.
  • Effectiveness: Assess only what has ground-truth labels or human evaluation. Zero findings or an iteration count alone does not guarantee quality.

Static manifest inspection and mocks do not count as Plugin runtime execution. Record stops, skips, unsupported capabilities, and unexecuted model calls with their reasons; do not reinterpret them as success. Mark unobserved states as unknown. Normal Plugin use applies skills through the host model, so the absence of a River Review API key alone does not establish that the model did not run.

Record template​

Case ID / timestamp:
Product version / commit SHA / entry path / host version:
Model / effort / execution conditions: unknown if unavailable
Task type / safe input ID / subject revision:
Expected behavior:
Observed behavior / evidence references:
Registration / loading / execution / effectiveness: observed and unknown per step
Lifecycle coverage: upstream definition / requirements / plan / design / code / QA
Each stage: distinguish out of scope, not executed, and executed; reference input/output
Finding disposition: accepted / rejected / deferred; decision owner and reason:
False positives / misses / usefulness / human time: measured or not measured
Public minimal reproduction / before-and-after revisions and results:
Remaining limitations / next check:

Lifecycle names are usage-note labels, not Flow entry names or evidence of execution. Completing a code review does not complete requirements or QA review. If a skill was applied manually from its text, record that fact without claiming Plugin loading or automatic delegation was verified.

Examples and feedback​

Independent illustrative examples (not execution logs):

  • example-load-only: Registration and skill-loading evidence exist, but the skill was not applied to the target input. Execution is not performed; effectiveness is not measured.
  • example-zero-findings: The subject revision and review output are available, with zero findings. Execution is observed, but effectiveness remains unmeasured without ground-truth labels or human evaluation.
  • example-unsupported: The host does not support the requested subagent. Record the limitation as not executed, separately from any manually supplied result.

Search existing issues and PRs before reporting feedback; append evidence to the same problem when found. Publish independent minimal inputs and reproduced product behavior, without private repository links, internal paths, source, conversations, or credentials. Ask the owner before publishing private evidence. Compare the same input and conditions on recheck, recording changed conditions and unmeasured outcomes. Usage notes and review evidence do not create Human / Host approval or merge authority.