Skip to main content
Alias: specpilot v.

Options

What it does

  1. Finds .specs/, or an older .project-spec/, specs/ or specifications/ folder.
  2. Checks that the required files exist, then runs each file’s own checks. Each spec file’s page lists them.
  3. Prints errors and warnings. One warning is for Cursor’s old rules file, .cursor/rules/project.mdc, which --fix doesn’t change. See specpilot migrate.
  4. When only content issues are left, prints prompts to paste into your agent so it can fix them.

What --fix does

  • Creates missing required files.
  • Renames a tasks.md heading when exactly one heading is a variant of a missing lane.
  • Renames a root key in api.yaml that isn’t OpenAPI to its x- form.

Exit status

1 with any error, 0 with warnings only. To run it on every pull request, see Check specs in CI.

Examples

Checked against SpecPilot 2.22.0.