Documentation
doctor
doctor is the deterministic structural validator for Specline repos. It reads only markdown, YAML, and folder structure — never your code, never a model, never the network — and answers one question the same way every time: is this repo structurally valid?
It runs three ways, over one engine and one output contract:
Getting started →
Set up a new repo, or convert an existing one's docs to Specline.
Install →
Get the
specline command on your machine. Node 22+, no build step.CLI →
specline doctor, rules, spec — flags, modes, exit codes.MCP server →
Wire doctor in as a tool an agent calls while it plans with you.
Rule catalog →
Every
rule_id, its severity, scope, tier, and downgradable flag.Agent setup →
The
CLAUDE.md brief that makes an agent aware of Specline.The orchestrator →
The pluggable runner that drives a ratified spec autonomously — Specline defines the contract, not the runner.
Why now →
Why Specline helps more as models get stronger.
Raw canon ↗
The full methodology as markdown — what doctor enforces, for your agents.
▲
doctor is deterministic and structural. It never judges meaning — sizing, tense, whether the spec is right. That stays yours, at the two gates.