ワンクリックで
criteria
Translate the spec into a complete, traceable set of acceptance criteria in EARS form
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Translate the spec into a complete, traceable set of acceptance criteria in EARS form
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
A method for organizing a prototype that illustrates an agentic, spec-driven PR review—the type a person employs to determine if a merge is acceptable without scrutinizing each alteration. Applicable when a user intends to create, outline, or develop a review interface, a review dashboard, a PR-review process, or a "verdict screen" for an agent-generated modification set, particularly one generated by a specification-driven development (SDD) workflow. Triggers encompass: "review flow", "PR review prototype", "review UI", "how should I present this review", "verdict-first review", "visualize the PR", or asking how a developer should review an agent's output. This is a METHOD skill — it tells you how to think about and lay out the prototype; it does not lock you to a single output format. Do NOT use for performing the code review itself (finding bugs, judging the author) — that is a different skill.
Reviews a pull request in two stages — first interrogating the author to verify they understand and can defend every decision in their own submission (catching AI-generated code forwarded without comprehension), then performing a structural design review of intent fidelity, abstractions, coupling, and failure behavior. The comprehension gate must pass before the design review runs. Use when reviewing a feature PR, vetting incoming code for author ownership, screening for AI slop, or running a deep structural review beyond what CI and linters cover.
Interview the user one question at a time, walking the decision tree, to clarify a feature proposal before implementation
Capture feature-level design decisions and the technical constraints that follow, traceable to acceptance criteria
Stress-test the spec pipeline outputs against each other and the codebase before implementation begins
Generate an implementation task list from validated spec artifacts
| name | criteria |
| description | Translate the spec into a complete, traceable set of acceptance criteria in EARS form |
Translate the resolved spec into acceptance criteria using EARS templates.
Pipeline position: proposal → spec → criteria → rules → review → plan
You translate the spec into independently testable, implementation-agnostic acceptance criteria. You do not invent product decisions. If a behavior is too ambiguous for a testable criterion, route the gap back to the spec step.
Spec takes precedence over proposal where they disagree.
Use the smallest template that fits the requirement. Do not invent new templates.
Ubiquitous (always-true behavior):
The <system> shall <response>.
Event-driven (triggered by an event):
When <trigger>, the <system> shall <response>.
State-driven (active during a state):
While <state>, the <system> shall <response>.
Optional feature (applies when a feature is included):
Where <feature is included>, the <system> shall <response>.
Unwanted behavior (explicit handling of an undesired trigger):
If <trigger>, then the <system> shall <response>.
Combined (state plus event):
While <state>, when <trigger>, the <system> shall <response>.
Example:
If a CSV row is missing a required field, then the importer shall skip the row, log a warning with row number and field name, and continue processing.
Boundary (any bounded value): write three criteria, one within bounds, one at the boundary, one beyond.
Error: use the Unwanted behavior template. Specify what the system shall do (not just what it won't) and atomicity ( all-or-nothing vs partial with reported failures).
State transition: one criterion per transition.
While in state A, when <event> occurs, the <system> shall transition to state B and emit event X.
Negative (authz, side-effect paths): use the Unwanted behavior template and state the prohibited outcome explicitly.
If <unauthorized trigger>, then the <system> shall respond with 403 and not produce, log, or stage X. The "and not"
half is what makes it negative.
Non-functional (performance, security, observability, accessibility, compatibility): same templates with thresholds
and load context.
When 100 concurrent requests are sustained for 60s, the <system> shall return p95 < 200ms with zero 5xx.
Bad: SHALL store data in PostgreSQL using JDBC → Better: SHALL persist such that data survives application restart. Don't prescribe implementation.
Bad: ... SHALL load config AND init cache AND connect DB → Better: three separate criteria. Compound criteria aren't independently testable.
Bad: SHALL be fast / intuitive / work correctly → Better: SHALL return p95 < 200ms. Subjective adjectives aren't testable.
Bad: WHEN user clicks the blue button on the bottom-right → Better: WHEN user submits the registration form. Don't prescribe UI.
One observable outcome per criterion. If the SHALL clause splits naturally or contains "and" between distinct outcomes, split.
Every criterion has:
AC-1, AC-2, ... in document orderCovers: line listing the behavior(s) it addresses, using B-N IDs from the specIf a criterion covers spec content outside "Behaviors to verify" (e.g., an explicit assumption that doesn't appear as a
B-N), reference by section heading and a distinguishing phrase, e.g.
Covers: Resolved ambiguities, "currency conversion at order time".
Every B-N in the spec must be covered by at least one AC. If a spec item outside "Behaviors to verify" implies runtime behavior and no AC covers it, flag it as a spec gap. Do not silently invent the behavior.
Route back to the spec step when any of:
A single missing detail you can resolve by reading the codebase is not a route-back; resolve it and note the source. Don't pretend to understand to avoid the loop.
Complete only when ALL hold:
Covers: referenceRun a verification pass before writing. Do not write a partial file.
Write to spec/criteria.md:
# Acceptance Criteria: <Feature>
## Functional
### AC-1: <title>
**Covers:** B-N[, B-M ...]
<EARS statement>
### AC-2: ...
## Non-functional
### AC-N: ...
## Coverage exclusions
- <non-functional category>: <reason for not covering>