agentleFS
bsafronovbsafronov/prosto-skills/skills/.experimental/review-requirements/SKILL.md

review-requirements

Skill0 starsChanged 3 months agoApache-2.0View on GitHub

Review a concrete code change against its originating requirements and report missing, partial, incorrect, or unrequested behavior. Use when checking a PR, branch, commit, or WIP diff with an available request or spec. Do not use for defect-only code review, requirements drafting, or implementation.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep the review read-only.

    line 12
  2. Distinctive:

    If every requirement is satisfied, say so.

    line 27
  3. Very specific:

    Use Missing, Partial, Incorrect, and Scope as finding labels.

    line 30
  4. Distinctive:

    Stop when every explicit requirement and non-goal maps to implementation evidence or an actionable finding, with no code changes made.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review Requirements

Determine whether a change delivers the agreed outcome and only that outcome. Keep the review read-only.

  1. Pin the change scope. Use the supplied comparison point; otherwise infer the current branch's merge base when unambiguous. Confirm the diff is non-empty.
  2. Pin the requirements source from the user request, linked issue, PR, or named specification. Ask only when no authoritative source can be identified.
  3. Extract every explicit behavior, constraint, and non-goal. Do not invent requirements from design preference.
  4. Trace each requirement through changed code, tests, and affected boundaries. Classify it as satisfied, missing, partial, or incorrect. Identify behavior added outside the agreed scope.
  5. Report actionable gaps first. For each gap, cite the requirement source and the smallest relevant changed location, then state expected behavior, actual behavior, and impact. Verify that every cited source path and one-based line exists; do not substitute diff line numbers for source line numbers.
  6. If every requirement is satisfied, say so. Report material evidence gaps or unverifiable requirements separately.

Use Missing, Partial, Incorrect, and Scope as finding labels. Keep the report limited to requirement-conformance gaps. Leave optional design advice and unrelated defects to their separate review outcomes.

Stop when every explicit requirement and non-goal maps to implementation evidence or an actionable finding, with no code changes made.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.