agentleFS
tuana-vntuana-vn/system-reverse-engineer/.github/skills/requirement-compliance-review/SKILL.md

requirement-compliance-review

Skill0 starsChanged 2 months agoMITView on GitHub

Compare a user/customer requirement against a patch's reconstructed implemented behavior and the current-system baseline. Use to determine whether development is correct, complete, over-scoped, or likely to regress unrelated behavior.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create atomic rules R-001, R-002, ...

    line 17
  2. Distinctive:

    Do not invent acceptance criteria.

    line 29
  3. Very specific:

    Before a ready/pass verdict, reconcile executive summaries and aggregate counts with the row-level matrix.

    line 43
  4. Distinctive:

    Use implementation rules from the patch impact review where possible.

    line 48
  5. Distinctive:

    Never update baseline memory from an unmerged patch.

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Requirement vs Implementation Compliance

Inputs

  • requirement/specification
  • patch/diff
  • patch impact review if available
  • current baseline memory

Normalize Requirement

Create atomic rules R-001, R-002, ...

For each capture:

  • actor/trigger
  • preconditions
  • expected rule
  • expected result
  • failure/exception behavior
  • compatibility requirement
  • ambiguity

Do not invent acceptance criteria.

Requirement Fidelity Gate

For every normalized mandatory field/behavior/condition, point to the exact authoritative requirement clause that requires it. If no clause exists, it must not be represented as a requirement obligation. It may appear only as an explicitly labeled PROPOSED design option/guidance.

Required threshold:

UNSUPPORTED_REQUIREMENT_EXPANSION = 0

Before a ready/pass verdict, reconcile executive summaries and aggregate counts with the row-level matrix. A claim such as "all requirements fail" is invalid when any matrix row is PASS/NO_GAP.

Compare

Use implementation rules from the patch impact review where possible.

Central matrix:

Req IDExpected BehaviorImplemented BehaviorStatusGapRiskEvidence

Statuses:

  • PASS
  • PARTIAL
  • FAIL
  • NOT IMPLEMENTED
  • OVER-IMPLEMENTED
  • UNKNOWN

Detect

  • missing conditions
  • missing branches
  • wrong defaults
  • over-broad changes
  • compatibility regressions
  • requirement ambiguity
  • wrong integration/client selection
  • error-path mismatch
  • observability/audit mismatch

Overall Verdict

Use:

  • COMPLIANT
  • MOSTLY COMPLIANT
  • PARTIALLY COMPLIANT
  • NON-COMPLIANT
  • CANNOT VERIFY

Output

docs/reverse-engineering/reviews/<patch>-requirement-compliance.md

Never update baseline memory from an unmerged patch.

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.