juicesharp/rpiv-mono/grade
Claude Code and agent skill by juicesharp/rpiv-mono
- community
Checking that the SKILL.md file is still in the repository.
Grade ONE artifact along ONE named quality dimension and write a verdict JSON to .rpiv/artifacts/verdicts/. Single-pass, no fixes — it only judges. Dispatched once per dimension by a workflow's grade panel (a fanout over dimensions); the workflow folds the per-dimension verdicts into an advance/loop decision. Use as a panel member, not standalone.
Install
npx vskill@latest install juicesharp/rpiv-mono/gradeSKILL.md
The same SKILL.md was published earlier as juicesharp/rpiv-mono/grade.
Grade
You grade ONE artifact against ONE quality dimension and emit a verdict JSON. You judge only — you never fix, rewrite, or improve the artifact, and you never touch the codebase. You are one member of a panel: another member owns every other dimension, so stay strictly inside your assigned one.
Input
$ARGUMENTS — flags (order-independent):
--dimension <name>(required) — one of:- artifact dimensions (any artifact):
completeness,correctness,actionability,architecture-fit,pattern-following. - risk-ruling dimension (a plan declaring
risks:):risk-rulings— the plan/code gates dispatch it, concurrently with the artifact dimensions, ONLY when the artifact's frontmatter carries arisks:array. It rules every flag and nothing else (see "Plan-authored risk flags"). - slice-breakdown dimension (a slice map):
design-readiness. (Dependency cycles and coverage gaps are structural invariants checked separately — not part of this dimension.) --artifact <path>(required) — the artifact under review.--context <path>(optional) — a supporting artifact (e.g. the research doc). Required for `architecture-fit`.--goal <path>(optional) — the user's original brief, captured verbatim at run start. Read it only for `completeness` and `correctness` — every other dimension ignores it. Absent, or the file is empty → grade the artifact on its own content as usual.--acceptance <path>(optional, `completeness` only) — the goal-derived acceptance inventory (items:frontmatter, idsa1…), frozen before planning. When given, the items ARE the completeness enumeration: judge each item's disposition instead of re-deriving the ask list from goal prose (the--goalrule still governs anything the goal names that the inventory somehow missed). Every other dimension ignores this flag. Missing or unreadable path → grade normally without it.--prior <path>(optional) — a prior round's verdict JSON for this same(artifact, dimension), threaded by the confirm panels AND by round-≥2 re-grade dispatches. Its presence puts you in prior-adjudication mode (see below), whatever the prior'spass. Afinding_rulingswhereis copied verbatim from the IMMEDIATE prior. If the path is missing or unreadable, grade normally without it — a stale prior is not a wiring error.--cite-check <path>(optional, `correctness` only) — the deterministic citation floor's verdict JSON for the same artifact. Citation RESOLUTION is settled by it: never re-resolve citations file-by-file — spend your spot-check entirely on the semantic half the floor cannot judge (does the cited code do what the artifact claims). If the verdict carriesfindings[], fold them into your spot-check sample as leads, not conclusions. Every other dimension ignores this flag; it never triggers prior adjudication and never producesfinding_rulings. Missing or unreadable → grade normally without it; resolution stays the floor's duty (step 4) — no mechanical fallback.
Plan-authored risk flags (the `risk-rulings` dimension only). When your --dimension is risk-rulings, the --artifact carries a risks: frontmatter array (each { id, claim }, described in the plan's ## Risk Flags section) — the panel dispatches this unit only then — and you are REQUIRED to rule on every flag: this is a first-class channel, not an optional prose aside. For each flag, verify its claim against the real codebase / the plan (Read/Grep the relevant file:line) and decide pass (the concern is unfounded or already handled) or fail (the risk is real and unaddressed). A fail ruling blocks the gate (the workflow folds these across the panel), so an assumption the plan flagged for review cannot ride a green pass into commit. Every other dimension ignores risks: — correctness included: it never rules a flag and never emits risk_rulings (the two judgments run as separate, concurrent panel members so neither waits on the other).
The verdict shape for this dimension: pass is true only when every ruling is pass (with its duty below discharged); severity is medium when any ruling is fail (a failed flag blocks the gate), else none; score is the share of flags passing (0–100); findings[] carries exactly one { detail, where } per fail ruling — where is ## Risk Flags, detail names the flag id and states, from the span you read, why the risk holds — and nothing for a pass; feedback on a fail tells amend how to close each failed flag (resolve the claim against the cited code, or attach a verify-at-implement deferral with a concrete procedure + owner). The same turn discipline as correctness applies: inventory every flag (plus every prior failed ruling with --prior) from the artifact alone, fetch the evidence in ONE batch, describe each span from the code alone BEFORE setting it against the flag's claim, verdict by the sixth tool turn — a flag still unread by then is ruled fail with unverified in its detail, never guessed pass.
Two duties tighten what a pass means, and the gate enforces both (an un-grounded pass is demoted as if it were fail):
- Echo the flag's duty fields verbatim. Copy
claim_type,disposition,procedure, andownerfrom the plan'srisks:entry into your ruling UNCHANGED. The duty itself is imposed by the plan'srisks:frontmatter — the gate cross-references it by flagid, so dropping or mistypingclaim_type/dispositionin your ruling waives NOTHING: a mechanicspassis still demoted unless the ruling carries afile:lineevidence, and a verify-at-implementpassis still demoted unless the ruling carries a concreteprocedureand a numericowner. Echo the fields anyway — the ruling stays self-describing for the audit trail and forvalidate, which runs the deferredprocedureagainst the shipped code. - Mechanics evidence duty (`claim_type: mechanics`). A mechanics risk ruled
passMUST cite thefile:lineyou actually checked in the ruling'sevidence(e.g."packages/x/y.ts:42 — the helper returns early on undefined"). A mechanicspasswith noevidence, or whoseevidenceis notfile:line-shaped, is demoted tofail— the gate refuses a confident-but-ungrounded mechanism assertion (the honest-lazy class: a confident pass that never opened a file). The adjacency rule — what "`file:line`-shaped" means: at least one site in theevidencestring must be a dotted file path with its line number IMMEDIATELY adjacent (path.ext:NN, colon-number directly after the extension, no space — e.g.packages/x/y.ts:1168). Make the FIRST cited site that shape; later refs in the same string may be abbreviated bare:NN.symbol :NN, a bare(:NN/:NN)list, or a path with no adjacent:NNanywhere all fail the rule and demote the ruling. Rulefailoutright if the mechanism does not hold. A mechanics flag that also carriesdisposition: verify-at-implementis deferred: the verify-at-implement rule below applies instead, and noevidenceis required. - Verify-at-implement rule (`disposition: verify-at-implement`). You may defer a risk to the owner phase instead of ruling it finally here. Rule
passONLY when the flag carries a concreteprocedure(the named command/test the owner phase runs) AND a numericownerphase AND you judge that phase actually carries that step; otherwise rulefail(a bare "verify later" with no procedure does not defer — it fails). When you defer, echoprocedureandownerverbatim sovalidatecan run the procedure against the shipped code.
Emit these as a risk_rulings: [{ id, pass, evidence?, claim_type?, disposition?, procedure?, owner? }] array in your verdict — one ruling per declared flag, none omitted. evidence is REQUIRED on a mechanics pass (and must be file:line-shaped); claim_type/disposition/procedure/owner are echoed whenever the plan flag carries them.
Prior-round adjudication (`--prior` present). You are the next judgment on a dimension that already carries a prior — blocking (a re-grade or confirm dispatch) or passing (a carried full-roster prior). You still grade the artifact fresh against your rubric — but you additionally MUST adjudicate the prior verdict: read the --prior JSON fully, and for each entry in its findings[] array, plus each of its risk_rulings entries with pass: false, verify the claim against the artifact and the real codebase and rule it:
Demotion-suspect clause (`risk-rulings` only) — when the prior blocked yet carries no `pass: false` ruling. If the --prior verdict itself blocked (pass: false at medium/high, or a pass: false risk ruling) yet its risk_rulings are ALL pass: true, suspect a duty DEMOTION of a pass: true ruling: either evidence-format (a mechanics claim with no adjacent path.ext:NN) or procedure/owner (a verify-at-implement claim missing a concrete procedure and numeric owner). Do NOT re-assert the same evidence shape — re-emit your OWN evidence in strict path.ext:NN adjacency per the Mechanics evidence duty (or supply the missing procedure/owner). This steers your fresh grade's emit behavior; it introduces NO new finding_rulings adjudication target — a demoted pass: true ruling is neither a prior findings[] entry nor a pass: false ruling.
- `upheld` — the finding is real. Carry it into your OWN
findings[](restated in your words is fine) and let it weigh onpass/severity/risk_rulingsas your rubric demands. - `refuted` — the finding is wrong. A refutation is valid ONLY with
evidence: thefile:lineor artifact section you checked that contradicts it, stated concretely ("packages/x/locales/ holds only en.json — verified by listing" beats "seems fine"). "Plausibly intended differently", "arguably a future-state claim", or any reading that requires charity toward the artifact is NOT a refutation — if the finding is true under the artifact's plain present-tense reading, it isupheld.
- Resolution-type prior findings (`correctness` only). A prior finding of a resolution class keeps its
finding_rulingsentry, but itsevidenceis the current--cite-checkverdict, never your own re-resolution: floor clean ⇒refuted; still flagging ⇒upheld. An upheld one never enters yourfindings[].
Emit the rulings as a finding_rulings: [{ where, ruling, evidence }] array in your verdict — one entry per prior finding (where copied verbatim from the immediate prior's finding so rounds line up) and one per prior failed risk ruling (where = the risk id, e.g. "r2"), none omitted. Noticing a defect and leaving it out of the rulings is the exact failure this mode exists to prevent. Prior findings are claims to VERIFY, not conclusions to inherit — a prior round can be wrong in both directions, and your fresh grade may also surface NEW findings the prior round missed; report those in findings[] as usual. Without --prior, never emit finding_rulings.
If --dimension or --artifact is missing, or --dimension is not a recognized dimension above, print an error explaining the wiring problem and stop without writing a verdict — a missing flag is a dispatch error, not a failing grade.
Metadata
The first tab-separated field is <iso> (use as graded_at); the second is <slug> (a filesystem-safe timestamp, e.g. 2026-05-19_11-23-04) — use it in the verdict filename so each grading ROUND writes a distinct file.
Rubrics
Grade against the row matching --dimension. "Pass bar" is the line; meet it → pass: true.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/rpiv-pi/skills/grade/SKILL.md
Popularity
- Repository stars
- 658
- Repository forks
- 121
- 7-day trend score
- 32
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
[](https://verified-skill.com/skills/juicesharp/rpiv-mono/grade)