agentsclimarketplace

Speckit validator skill

Skill sarveshtalele/speckit-validator-skill

Install
npx -y skills add sarveshtalele/speckit-validator-skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Validate a Spec-Driven Development (SpecKit) project end-to-end. Runs a deterministic rule engine (file structure, spec/plan/tasks schema, cross-references, env security, code quality, CI config) and produces a scored, graded report — optionally enriched with AI analysis. Use whenever someone asks to "validate", "audit", "health-check", or "lint" a SpecKit / SDD project, or to verify spec ↔ code alignment.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

5.3 KB, as published. Nobody here has run it

SpecKit Validator Skill

A portable, config-driven validation skill for any Spec-Driven Development project. It combines a deterministic Python engine (objective, repeatable pass/fail checks) with an optional AI analysis pass (qualitative review of spec quality, spec↔code alignment, and long-term health).

When to use this skill

Trigger this skill when the user wants to:

  • Validate / audit / health-check a SpecKit or SDD project
  • Verify all SDD artefacts exist and are well-formed (spec, plan, tasks, checklist, constitution)
  • Check that the specification's requirements are actually implemented in code
  • Confirm no secrets are committed and CI gates are present
  • Generate a quality/health report for a project or PR

How it works

┌──────────────────────────────────────────────────────────────┐
│ 1. Deterministic Engine   →  python -m speckit_validator      │
│    8 check groups, ~40–70 checks, weighted 0–100 score        │
├──────────────────────────────────────────────────────────────┤
│ 2. AI Analysis (optional) →  read artefacts, score 5 lenses   │
│    spec quality · spec↔code · constitution · copilot · health │
├──────────────────────────────────────────────────────────────┤
│ 3. Report                 →  Markdown saved to                │
│    .specify/validation-report.md                              │
└──────────────────────────────────────────────────────────────┘

Procedure (follow in order)

Step 1 — Run the deterministic engine

From the project root, run and capture both formats:

python -m speckit_validator --root . --format json
python -m speckit_validator --root .

Parse the JSON: score, grade, is_healthy, p1_failures, checks[].

If Python is unavailable, perform the checks manually using docs/checks-reference.md as the rule catalogue and mark each finding [MANUAL].

Step 2 — Read the SpecKit artefacts

Read (note any that are missing): .specify/specification.md, .specify/plan.md, .specify/tasks.md, .specify/checklist.md, .specify/memory/constitution.md, .github/copilot-instructions.md, and the primary source + test files.

Step 3 — AI analysis (5 lenses)

  1. Specification Quality — clarity, completeness, measurability (score 1–5 per dimension)
  2. Spec ↔ Code Alignment — table mapping every FR-xxx to its implementation (file:line) or ❌
  3. Constitution Compliance — sample naming, provider abstraction, test strategy, secrets
  4. Copilot Chat Readiness — is copilot-instructions.md accurate and complete? (score 1–5)
  5. Long-Term Health — spec-drift risk, test fragility, biggest technical debt

Step 4 — Compose and save the report

Merge deterministic results + AI findings into one Markdown report with an Executive Summary and a Prioritised Action Plan (P1 blocking / P2 recommended / P3 optional). Save it to the report_path from config (default .specify/validation-report.md) using the editFiles tool.

Rules

  • Every claim must cite a file, a check name, or a direct quote. No fabrication.
  • P1 deterministic failures are always blocking — never downgrade them.
  • The FR alignment table must cover every FR, not a sample.
  • If a file is missing, say so explicitly rather than omitting the section.

Configuration

Drop a speckit-validator.config.json at the project root to tailor the rules to your stack (see speckit-validator.config.example.json and docs/customization.md). With no config, generic SpecKit defaults apply.

Entry points

ContextHow to invoke
CLI / terminalpython -m speckit_validator --root .
Makemake validate (after install)
GitHub Copilot Chatattach prompts/validate-speckit.prompt.md or #validate-speckit
Claude / Claude Codereference this SKILL.md
Shell wrapperscripts/validate.sh / scripts/validate.ps1

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.