rfxn/rdf/r-review

Claude Code and agent skill by rfxn/rdf

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

You are the review command. You dispatch the reviewer subagent in

Install

npx vskill@latest install rfxn/rdf/r-review

SKILL.md

The same SKILL.md was published earlier as rfxn/rdf/r-review.

You are the review command. You dispatch the reviewer subagent in one of two modes: challenge (spec review) or sentinel (diff review).

Invocation

/rdf:r-review [--challenge <file>] [--sentinel] [scope]

  • --challenge <file> — review a spec or plan file for design flaws,

missed edge cases, and simpler alternatives

  • --sentinel [scope] — review a diff for anti-slop, regression,

and security issues

  • No flags — defaults to --sentinel against current branch diff

Protocol

1. Parse Mode and Arguments
  • If $ARGUMENTS contains --challenge:
  • Extract the file path argument following --challenge
  • Validate the file exists and is a readable markdown file
  • If no file path provided: report error "Usage: /rdf:r-review

--challenge <spec-file>" and stop

  • Set mode to challenge
  • If $ARGUMENTS contains --sentinel:
  • Extract optional scope (file paths, directories) after the flag
  • If no scope: use current branch diff

(git diff main...HEAD or detect base branch)

  • Set mode to sentinel
  • If no flags in $ARGUMENTS:
  • Default to sentinel mode
  • If arguments contain a path to a .md file in docs/specs/:

infer challenge mode (convenience shortcut)

  • Otherwise use current branch diff as scope
2. Determine Diff Scope (sentinel mode)
  • If scope is specified: use those files/directories
  • If no scope: compute branch diff
  • Detect base branch (main, master, or parent branch)
  • Run git diff <base>...HEAD --name-only to identify changed files
  • If no diff found (clean branch, no divergence from base):

fall back to git diff --name-only + git diff --cached --name-only for uncommitted changes

  • If still no changes: report "No changes found to review.

Specify a scope or make changes first." and stop

3. Load Governance Context
  • Read .rdf/governance/index.md
  • If governance index does not exist, warn: "No governance found.

Review will use general best practices only. Run /rdf:r-init for project-specific review criteria."

  • Governance files loaded depend on mode:
  • Challenge mode: architecture.md, constraints.md (for design

review context)

  • Sentinel mode: anti-patterns.md, constraints.md,

conventions.md (for code review context)

4. Assemble Dispatch Payload

Challenge mode:

MODE: challenge
TARGET: <absolute path to spec/plan file>
FILE_CONTENT: <contents of the target file>
GOVERNANCE:
index: .rdf/governance/index.md
architecture: .rdf/governance/architecture.md
constraints: .rdf/governance/constraints.md
PROJECT_ROOT: <absolute path to project root>

Sentinel mode:

MODE: sentinel
SCOPE: <file list or "branch diff">
CHANGED_FILES: <list of files in scope>
BASE_BRANCH: <base branch name>
DEPTH: full
GOVERNANCE:
index: .rdf/governance/index.md
anti-patterns: .rdf/governance/anti-patterns.md
constraints: .rdf/governance/constraints.md
conventions: .rdf/governance/conventions.md
REPORT_FORMAT:
Include per-finding: file, line, severity, description, why,
suggested fix, CH_RESULT, CH_REASON.
Include footer: DISCARDED_FINDINGS count and log.
PROJECT_ROOT: <absolute path to project root>
5. Dispatch Reviewer Subagent

Dispatch the reviewer subagent with the assembled payload, choosing the agent by mode.

Agent routing: if mode is challenge, dispatch rdf-reviewer-challenge (high effort); if mode is sentinel, dispatch rdf-reviewer (xhigh effort). Never pass a per-invocation model — model and effort live in the agent definitions.

  • Challenge mode: reviewer performs design review and produces a

challenge report with MUST-FIX(blocking-concern) / SHOULD-FIX(advisory-concern) / INFORMATIONAL(risk-area) findings

  • Sentinel mode: reviewer performs 3-pass adversarial review

(anti-slop, regression, security) and produces a sentinel report with MUST-FIX(fix-or-refute) | SHOULD-FIX(pass:<name>) findings

6. Report Result

After the reviewer subagent returns:

  • Display the review report directly to the user
  • Challenge mode: highlight MUST-FIX findings that must be

resolved before implementation; summarize SHOULD-FIX and INFORMATIONAL counts

  • Sentinel mode: highlight MUST-FIX findings; summarize verdict

(APPROVE / MUST-FIX / CONCERNS)

  • To route each finding to a structured FIX / REBUT / DEFER response and

record an audit trail, run /rdf:r-review-answer (advisory — no merge gate)

Constraints

  • Never modify source files — review is read-only
  • Never commit — review is advisory
  • If governance is missing, dispatch anyway — reviewer uses general

best practices and notes that project-specific anti-patterns and constraints were unavailable

  • Challenge mode requires a file argument — it does not operate on

diffs

  • Sentinel mode defaults to branch diff — it does not operate on

individual spec files (use challenge mode for that)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
20
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rfxn/rdf/r-review/badge)](https://verified-skill.com/skills/rfxn/rdf/r-review)

Something wrong with this skill or its page? Tell us.