Skip to content

sdtk-spec — Command Reference

Planning & specification CLI. Guide: SDTK-SPEC.

bash
npm install -g sdtk-spec-kit   # included in sdtk-kit
sdtk-spec --help

Workspace

sdtk-spec init

Initialize the SDTK-SPEC workspace in a project.

bash
sdtk-spec init

sdtk-spec generate

Scaffold the 17-file SDLC document set for a feature.

bash
sdtk-spec generate --feature-key CRM_LEADS --feature-name "Lead tracking"
OptionDescription
--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.md

Atlas

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 status

Project 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 refresh

Runtime assets

bash
sdtk-spec runtime install
sdtk-spec runtime status
sdtk-spec runtime uninstall

Licensing

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 management

Maintenance

bash
sdtk-spec update

Exit codes

CodeMeaning
0Success
1Validation or user error (bad args, missing auth)
2Dependency error (PowerShell not found)
3Integrity error (payload hash mismatch)
4Unexpected internal error

SDTK — governed, auditable, resumable AI-assisted engineering.