A spec kit for specifications: format, linter, and CLI
A specification format — even a clear Markdown template — is not enough when an AI coding agent will act on it. A missing section, a typo in an identifier, or a plan that does not cover the feature’s acceptance criteria (AC) will be treated as work to do. A spec kit, or specification kit, is the combination that makes that usage efficient and safe: a structured format, a linter that fails on missing or broken specs and references, including in continuous integration (CI), and command-line interface (CLI) helpers that scaffold, validate and navigate those specs. SpecScore is that kit: an open Markdown and YAML format, the specscore spec lint command, and a CLI that creates and queries the spec tree. CI is an automatic check on every proposed change; lint specs in CI is the step-by-step guide. Spec-driven development (SDD) is the practice of writing down what software must do before the code, and treating that written specification as the source of truth.
If you were looking for GitHub Spec Kit
GitHub also publishes a toolkit named Spec Kit, an open source project for spec-driven development. Its specify CLI initialises a project, and process commands such as /speckit.specify run inside your coding agent, not in the terminal. That is a workflow for driving an agent from a specification through a plan, tasks and implementation. This article is about what belongs in a specification kit — a format you can check, a linter, and CLI helpers — and how SpecScore provides those parts. The side-by-side is SpecScore vs Spec Kit; official sources are listed at the end.
What belongs in a spec kit
Three things have to work together. The format is the file shape: Markdown documents with a short YAML header, required sections, and stable identifiers so a requirement or acceptance criterion can be pointed at. The linter is a program that reads those files and exits with a failure code when the structure or a reference is wrong. The CLI helpers are the commands that create a lint-clean starting point, show a feature or a plan without opening every file, and wire the same check into a hook or a CI job.
A template alone covers only the first of those. It tells you where to write. It does not tell you, before an agent starts implementing, that a plan still names an acceptance criterion that does not exist, or that a feature README has no Open Questions section. That is the gap a spec kit is for.
The format: a structured specification, not only a template
A SpecScore feature is a Markdown file. The header names the format URL and the lifecycle status. The body has a title, a **Status:** line that must match that header (the linter’s status-mirror rule), and sections including Summary, Problem, Behavior, Acceptance Criteria and Open Questions. Acceptance criteria use a fixed heading, ### AC: <id>, with a kebab-case id. A plan can point at one of those criteria with a **Verifies:** line such as checkout-validation#ac:invalid-submission.
specscore feature new writes that shape for you, including the required sections. The initial status can be Draft, In Review, Approved, Implementing, Stable, Amending, Rejected or Deprecated; the default is Draft. For a filled-in starting point, use the feature spec template and acceptance criteria an agent can verify. Requirements can use EARS (Easy Approach to Requirements Syntax) sentences.
The format is open source in specscore/specscore under CC BY 4.0. The CLI is a separate repository, specscore/specscore-cli, under Apache-2.0.
The linter: catch broken specs before an agent acts on them
specscore spec lint walks the specification tree and reports structural convention violations. The command’s own help lists README files, Open Questions sections, heading levels, feature references, internal links and index entries. Violations are errors, warnings or info. The process exits 0 when the tree is valid and 1 when it finds violations, so the same command can run locally, in a git hook, or as a CI step. The published rule catalog documents each rule; specscore rules prints the same catalog from the installed CLI.
Here is a flaw a template will not catch, and a linter will. A feature defines a well-formed acceptance criterion, ### AC: invalid-submission. A plan for that feature has a task whose **Verifies:** line typos the id as invalid-submision — one “s” missing. An agent that takes the plan as its queue now has a reference that does not resolve, and the real criterion is not covered by any task.
### Task 1: <task name>
**Id:** task-1
**Verifies:** checkout-validation#ac:invalid-submisionplans/show-checkout-errors/README.md:5 [error] P-001: AC coverage gap: checkout-validation#ac:invalid-submission is neither covered by any task's **Verifies:** nor listed under ## Deferred AC Coverage
plans/show-checkout-errors/README.md:26 [error] P-002: Task 1: stale AC reference checkout-validation#ac:invalid-submision (no such AC in source Feature checkout-validation)
2 violations found (2 errors)What those two findings mean
Rule P-001 reports an acceptance-criterion coverage gap: checkout-validation#ac:invalid-submission is neither named in any task’s **Verifies:** line nor listed under Deferred AC Coverage. Rule P-002 reports the stale reference: Task 1 points at checkout-validation#ac:invalid-submision, and that id does not exist on the source feature. Both rules are documented in the lint rule catalog.
Other structural checks fail in the same report format. ac-heading-format requires ### AC: <id> with exactly one space after the colon and a kebab-case id; oq-section requires an Open Questions section in a feature README; index-entries requires a parent index to list every child; readme-exists requires a README.md in every spec directory. Some repairs are mechanical: specscore spec lint --fix applies the documented autofixes.
The linter does not grade vague prose. It checks structure, identifiers, references and status consistency — the mistakes that are cheap to catch in a program and expensive when an agent implements them. For the wording of a criterion, you still need a human or an AI review. The CI recipe, including this repository’s dogfood workflow that pins CLI version v0.39.1 and runs specscore spec lint, is in Lint specs in CI.
CLI helpers: scaffold, validate, and navigate
The linter is one command in a larger CLI. Helpers keep the tree consistent and let you — or an agent — ask the specification questions without reading every file. These commands were checked against specscore 0.55.1 on 21 November 2026.
Scaffold. specscore init creates specscore.yaml and a lint-clean spec/ tree. specscore feature new --title "Checkout validation" --slug checkout-validation writes a feature directory with the required sections. On 21 November 2026, that command (with no --description) pulled the published feature template, which includes the placeholder heading ### AC: <ac-slug> (verifies REQ:<req-slug>); ac-heading-format rejected the id <ac-slug> until it was replaced with a kebab-case id. specscore plan new show-checkout-errors --feature checkout-validation writes a plan that names that feature as its source. specscore agent setup claude (or another supported agent) writes instruction files so the coding agent knows the conventions and the CLI commands. Supported agents in 0.55.1 include claude, copilot, cursor, codex, opencode, pi.dev, deepseek and antigravity.google; specscore agent setup --all configures each of them.
Validate. specscore spec lint is the check described above. Run it after you edit a spec, in a pre-commit hook, and in CI so a pull request with a broken reference cannot merge quietly.
Navigate. specscore feature list prints feature ids. specscore feature info checkout-validation prints status, dependencies, inbound references and a table of contents for the sections, including each AC: heading. specscore feature tree, specscore feature deps and specscore feature refs show hierarchy, outbound dependencies and features that depend on a given id. specscore plan list and specscore plan info do the same for plans, including a task-status rollup. specscore code deps scans source files for specscore: annotations and embedded SpecScore URLs, and shows which features, plans or docs the code refers to.
Install the CLI covers macOS, Linux and Windows. The command reference lives in the CLI repository README and on the CLI page.
How this differs from GitHub Spec Kit — and how they can sit together
GitHub Spec Kit is an open source toolkit, announced on the GitHub Blog on 2 September 2025, for bringing spec-driven development to coding-agent workflows. Its documentation describes a core process — Specify, Plan, Tasks, Implement, Converge — driven by agent skills such as /speckit.specify, /speckit.plan, /speckit.tasks, /speckit.implement and /speckit.converge. Optional quality gates, /speckit.clarify, /speckit.checklist and /speckit.analyze, sit on that path. The specify CLI initialises the project and manages integrations, extensions and related building blocks; the process commands run in the agent. The project is MIT licensed.
Those quality gates are real, and they are not a deterministic CI linter. The documentation describes checklists as reviewer-owned requirements-quality artifacts: an item is marked done when a reviewer decides the criterion is satisfied, and implementation must not silently self-approve them. /speckit.analyze is a read-only consistency analysis the coding agent runs across spec.md, plan.md and tasks.md; it produces a report, and you fix the source artifacts. The CLI command specify check, per the core commands page, checks that CLI-based AI coding agents are installed. It does not lint the specification files.
That is a fair split, not a dismissal. Spec Kit is strong as a process: it keeps intent ahead of implementation and gives an agent a documented path. A format-plus-templates approach, on its own, still leaves a gap when a typo’d identifier or an uncovered acceptance criterion has to be caught the same way every time, including on a pull request, without waiting for an agent or a reviewer to notice. SpecScore’s linter and CLI close that gap for the specification files themselves.
The two can sit together. Use a workflow you already like — Spec Kit’s, or another — and keep the resulting specs in a lintable format. Then specscore spec lint fails the build when a reference is stale or a required section is missing. SpecScore vs Spec Kit is the full comparison; Spec Kit alternatives lists other tools, and spec-driven development tools puts them on one page.
Frequently asked questions
What is a spec kit?
A spec kit, or specification kit, is the set of tools needed to write, check and use software specifications with AI coding agents: a structured format, a linter that catches missing or broken specs and references, and CLI helpers that scaffold, validate and navigate those specs. SpecScore is one such kit.
Is SpecScore the same as GitHub Spec Kit?
No. GitHub Spec Kit is a spec-driven development workflow whose agent commands take a project from specification through planning, tasks and implementation. SpecScore is a specification format plus a linter and a CLI for those files. They can be used together. See SpecScore vs Spec Kit.
What does the SpecScore linter actually check?
specscore spec lint checks structural conventions: required files and sections, heading shapes such as ### AC: <id>, indexes, lifecycle status consistency, and whether references — including a plan task’s **Verifies:** line — resolve. It exits 1 when it finds violations. It does not judge whether the wording of a requirement is vague. The catalog is in docs/lint-rules.md.
Which CLI commands scaffold, validate and navigate specs?
Scaffold with specscore init, specscore feature new, specscore plan new and specscore agent setup. Validate with specscore spec lint. Navigate with specscore feature list, feature info, feature tree, feature deps, feature refs, plan list, plan info and specscore code deps. These commands exist in the released 0.55.1 CLI.
Can I use SpecScore with GitHub Spec Kit?
Yes. Spec Kit can drive the workflow; SpecScore can be the format of the specification files and the check that runs in CI. A pull request then fails when the spec is structurally wrong, not only when the code breaks. The comparison is SpecScore vs Spec Kit.
How do I run the linter in CI?
Install a pinned specscore CLI version and run specscore spec lint as a CI step. This repository does that in its dogfood workflow. The guide is Lint specs in CI; install the CLI covers macOS, Linux and Windows.
Sources
SpecScore CLI commands and lint output checked on 21 November 2026 against specscore 0.55.1. GitHub Spec Kit facts checked on 21 November 2026.
- SpecScore format repository
- SpecScore format licence (CC BY 4.0)
- Feature specification in the format repository
- SpecScore CLI repository
- SpecScore CLI README
- SpecScore CLI licence (Apache-2.0)
- specscore-cli v0.55.1 release
- SpecScore CLI lint rule catalog (v0.55.1)
- SpecScore dogfood workflow (pins CLI v0.39.1 and runs spec lint in CI)
- GitHub Spec Kit repository
- GitHub Spec Kit documentation
- GitHub Spec Kit: Spec-Driven Development Quickstart
- GitHub Spec Kit: Agentic SDD command reference
- GitHub Spec Kit: Core Commands (specify check)
- GitHub Blog: Spec-driven development with AI (2 September 2025)
- GitHub Spec Kit licence (MIT)