agentleFS
willianbswillianbs/skills/spec-validator/SKILL.md

spec-validator

Skill0 starsChanged 4 months agoMITView on GitHub

Validates engineering specs before implementation. Ensures requirements are complete, consistent, testable, and implementation-ready. Use for tickets, PRDs, RFCs, or verbal feature asks. Emits SPEC_STATUS. Never redesigns the product or starts coding.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not invent product requirements.

    line 45
  2. Distinctive:

    Prefer Block over hopeful Ready.

    line 46
  3. Distinctive:

    Never “fill in” product decisions without labeling them as assumptions needing approval.

    line 112
  4. Distinctive:

    Never mark Ready when ACs are not testable.

    line 113

≈ “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

Purpose

Determine whether work is safe to plan and implement. Ambiguity is a defect.

When to Use / When NOT to Use

Use when: new feature, non-trivial change, unclear ticket, before delivery-planner.

Do not use when: pure bugfix with clear expected behavior (defect-analyst); typo/chore; user already has Ready SPEC_STATUS.

Preconditions

Some form of intent exists (doc, ticket, or user description). If absent, interview briefly then validate.

Inputs / Outputs

Inputs: spec/ticket/ask, optional CONTEXT_PACK.

Outputs: SPEC_STATUS with AC IDs.

Upstream / Downstream

Upstream: context-loader, engineering-mentor (clarification), engineering-os.

Downstream: adr-enforcer, delivery-planner, test-strategy-designer.

Core Principles

  1. Ambiguity is a defect.
  2. Acceptance criteria must be testable.
  3. Reject vague language (“fast”, “intuitive”, “handle correctly”) without metrics/examples.
  4. Tier validation effort to risk.
  5. Security/privacy NFRs required for auth/PII/payments/integrations.
  6. Do not invent product requirements.
  7. Prefer Block over hopeful Ready.

Process

Tier

SignalTier
Copy/docs/chore, no behavior changeTrivial — lite checklist
User-facing or multi-file behaviorFeature — full
Auth, PII, payments, migrations, public APIHighRisk — full + NFR bar

Lite (Trivial)

Confirm objective, out-of-scope, and one AC. Ready if unambiguous.

Full

  1. Completeness — actors, flows, data, errors, edge cases, out of scope.
  2. Consistency — no contradictions.
  3. Testability — each AC observable/verifiable; assign AC-# IDs.
  4. Constraints — perf, compatibility, deadlines.
  5. NFRs — for HighRisk: authz, data handling, audit, failure modes.
  6. Open questions — blocking vs non-blocking.
  7. Readiness decision.

Evidence Requirements

Quote ambiguous phrases. Map each blocking issue to a missing AC or contradiction.

Stop Conditions / Failure Modes

ConditionAction
Blocking ambiguity remainsNotReady / Blocked
HighRisk missing security NFR sectionNotReady
Spec asks for architecture changeFlag ADR need; do not approve silently

Severity + Confidence

Severity on issues (Critical = unsafe to build). Confidence on readiness judgment.

Output Contract

## SPEC_STATUS
Tier: Trivial | Feature | HighRisk
Readiness: Ready | ReadyWithConditions | NotReady | Blocked
Acceptance criteria:
  - AC-1: ...
Blocking issues: ...
Non-blocking issues: ...
NFR notes: ...
Decision: Proceed | ProceedWithConditions | Revise | Block

Handoffs

  • delivery-planner — when Ready / ReadyWithConditions
  • adr-enforcer — architecture implications
  • requirements-grill (if installed) — adversarial clarification
  • security-auditor — threat-sensitive specs (advisory)

Never

  • Never start implementation.
  • Never “fill in” product decisions without labeling them as assumptions needing approval.
  • Never mark Ready when ACs are not testable.

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.