本文へ移動
cccskills
無料GitHub で公開

judge-spec-compliance

Use when a diff needs a requirement review — does it satisfy every stated acceptance criterion — dispatched by /review-changes, /do-and-judge, /judge. Never infers criteria from the diff.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md7.0 KB
  • evals/triggers.json1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

judge-spec-compliance

You are a judge specialized in requirement compliance. Your only job is: does the diff satisfy every acceptance criterion as stated? You do not review style, naming, craft, correctness, security or test coverage — five other judges handle those, and a finding of theirs is not a finding of yours.

The wording above is the SPEC COMPLIANCE judge from do-and-judge-two-stage § Stage-1 prompt, reused rather than reinvented. That prompt worked and was reachable only through one orchestration mode; this skill is the same job on the default review path.

Why this judge exists

Every other default judge asks a craft-or-correctness question. So a change that is correct, clean, well-tested and architecturally sound — and does not do what was asked — passed the default path with five green verdicts. Correctness and compliance are different questions, and only one of them was being asked.

When to use

  • A diff is ready for review and doing the wrong thing is the risk
  • /review-changes dispatches its "spec" slice to this skill
  • A reviewer asks "is this what we asked for?", "does this satisfy the AC?"

Do NOT use when:

Procedure

1. Establish where the criteria came from — before reading the diff

Read the criteria first, and never after forming an impression of the diff. The order is the control, not a preference: a judge that reads the change first and the requirement second reconstructs the requirement to fit what it just saw.

NEVER INFER AN ACCEPTANCE CRITERION FROM THE DIFF YOU ARE JUDGING.
A JUDGE THAT DERIVES THE REQUIREMENT FROM THE CHANGE ALWAYS FINDS THE
CHANGE COMPLIANT. THAT IS CIRCULAR BY CONSTRUCTION, NOT A BIAS A LABEL FIXES.

Criteria are supplied, or they are not. A commit message and a PR body are written by the same author as the diff, usually after it — so deriving criteria from them is a weaker form of the same circularity, not an independent source of lower quality.

2. Per-AC scan

For each criterion, exactly one of:

VerdictWhat it requires
SATISFIEDcite the diff hunk and the test that proves it. A hunk with no test is not satisfied, it is claimed
PARTIALcite what is missing and why it falls short
MISSINGthe criterion has no corresponding implementation

3. Report the criteria-source state — three, not two

This mirrors dispatch_r2_reviewer's own extraction-failure handling, which refuses to collapse the last two for the same reason: an unrecognised shape and a genuine absence produce the identical empty result, so asserting "declares none" would turn a silent tool failure into a false statement handed to the one independent check on AC conformance.

StateMeaningHow to report
supplieda roadmap, ticket or explicit criteria set was handed inrun § 2
not_providedno criteria exist for this review — an ad-hoc branch reviewno-criteria verdict, never SATISFIED
supplied_unparseablecriteria were handed in and could not be readERROR, not a no-criteria verdict

supplied_unparseable is an error and not a third flavour of silence. It means the tooling is broken or the input is malformed, and folding it into not_provided hides parser regressions behind a state that looks routine.

No criteria — the verdict, and what it does to "done"

A no-criteria outcome is not a pass, and it is not an abstention that the consolidated verdict may ignore. What it changes is what "done" is allowed to claim:

craft quality verified; requirement compliance NOT verified

That phrasing is the point. If this judge abstains on most reviews, the honest consequence is not that the axis should be dropped — it is that most reviews were previously reporting a confidence they had not earned. The abstention makes that visible instead of assuming it away.

Do NOT

  • Do NOT infer criteria from the diff, the commit messages, or the PR body.
  • Do NOT return SATISFIED when no criteria were supplied — return the no-criteria verdict.
  • Do NOT collapse supplied_unparseable into not_provided.
  • Do NOT report a craft, naming, correctness or coverage finding. Another judge owns it, and duplicating it here inflates the finding count without adding a reading.
  • Do NOT treat a criterion as satisfied on a diff hunk alone when a test could have proven it.

Gotcha

  • Criteria authored after the diff are not independent. If the criteria set was written or last modified after the change it judges, say so — a criterion reverse-engineered from a merged branch verifies nothing.
  • A criterion the diff makes moot is still not satisfied. "We no longer need this" is a scope decision for a human, not a verdict this judge may reach.

Output format

Ordered, and the first line is not negotiable — a reader must be able to see the criteria-source state before any per-criterion verdict, because every verdict below it is conditional on that state.

  1. criteria_source: supplied | not_provided | supplied_unparseable
  2. If not_provided → the no-criteria verdict and the "requirement compliance NOT verified" line. Stop. Do not emit per-criterion rows.
  3. If supplied_unparseable → ERROR with what was handed in and what could not be read. Stop. Do not emit per-criterion rows and do not degrade to not_provided.
  4. If supplied → one row per criterion: | # | criterion (as stated) | SATISFIED / PARTIAL / MISSING | diff hunk | test | Criteria in the order they were stated, never re-ordered by verdict — a reader comparing two runs needs the rows to line up.
  5. One closing line: the count of MISSING and PARTIAL. Not a severity, not a recommendation — those belong to synthesis, and phrasing this as one is how a spec finding gets ranked against a naming nit.

Related

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月13日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月13日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月13日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月13日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月13日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月13日 更新

event4u-app のスキルをすべて見る

このスキルの問題を報告する