sdtk-spec — Command Reference
Planning & specification CLI. Guide: SDTK-SPEC.
bash
npm install -g sdtk-spec-kit # included in sdtk-kit
sdtk-spec --helpWorkspace
sdtk-spec init
Initialize the SDTK-SPEC workspace in a project.
bash
sdtk-spec initsdtk-spec generate
Scaffold the 17-file SDLC document set for a feature.
bash
sdtk-spec generate --feature-key CRM_LEADS --feature-name "Lead tracking"| Option | Description |
|---|---|
--feature-key (alias --key) | Stable feature identifier |
--feature-name (alias --name) | Human-readable feature name |
sdtk-spec analyze
Analyze an existing source document into structured planning input.
bash
sdtk-spec analyze --source ./legacy-notes.mdAtlas
Knowledge graph + viewer over spec artifacts. Requires Python 3.8+ for build (the wiki atlas does not — see sdtk-wiki atlas).
bash
sdtk-spec atlas init
sdtk-spec atlas build
sdtk-spec atlas open
sdtk-spec atlas watch
sdtk-spec atlas statusProject Intelligence Pro
Docs baseline for existing codebases. Fails closed without a Pro entitlement.
bash
sdtk-spec project ingest
sdtk-spec project audit
sdtk-spec project refreshRuntime assets
bash
sdtk-spec runtime install
sdtk-spec runtime status
sdtk-spec runtime uninstallLicensing
bash
sdtk-spec activate # activate Pro on this machine
sdtk-spec entitlement status # show current entitlements
sdtk-spec entitlement sync # refresh entitlement state
sdtk-spec auth # advanced auth managementMaintenance
bash
sdtk-spec updateExit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Validation or user error (bad args, missing auth) |
| 2 | Dependency error (PowerShell not found) |
| 3 | Integrity error (payload hash mismatch) |
| 4 | Unexpected internal error |