Skip to main content

Spec-Driven Development CLI

Project description

sdd-kit v2.0.6

The Spec-Driven Development (SDD) Toolkit for AI-Native Engineering. Intelligently assemble AI context from enterprise data lakehouses (Databricks/Snowflake) directly into your IDE.

PyPI version License: MIT


🚀 Quick Install

# 1. Install the CLI
pip install sdd-kit

# 2. Install the VS Code extension (No API key required!)
sdd install-extension

✨ What makes sdd-kit different?

sdd-kit isn't just another AI tool. It's a context orchestration engine that bridges the gap between your enterprise data (Gold/Silver schemas) and your AI agent (Cursor/Copilot/ChatGPT).

  • IDE-Native AI: Use your existing IDE's AI credentials. No more ANTHROPIC_API_KEY errors in the terminal.
  • Lakehouse Aware: Pull live schema definitions and documentation from Databricks or Snowflake.
  • Token Budgeting: Automatically fits massive codebases into tight 8,000-token context windows.
  • Zero-Extension Mode: Full support for Cursor/Windsurf via MCP (Model Context Protocol).

🛠️ Main Workflows

1. Existing Projects (Audit & Evolve)

Perfect for onboarding a "maintaining" project into SDD without touching existing files.

cd my-legacy-project
sdd onboard          # surgically adds .sdd/ and .cursor/
@sdd /audit          # Run in VS Code Chat to audit the codebase
@sdd /specify-next   # Define a new feature based on existing code

2. New Projects (Spec-to-Code)

Initialize a project from a domain-specific "Gold" knowledge base.

sdd init my-app --domain banking
@sdd /specify        # Generate a perfect spec.md
@sdd /plan           # Generate plan.md and tasks.md

💬 Slash Commands

When you use VS Code (after running sdd install-extension) or Cursor, you get these powerful commands directly in your AI Chat panel:

Command Purpose
/audit Scan existing code for architecture and technical debt
/specify Generate a comprehensive master specification
/plan Create a step-by-step implementation plan and checklist
/integrate Reverse-engineer or generate live Lakehouse integrations
/doctor Run diagnostics on your local development environment
/sync-kb Mirror enterprise knowledge for offline development

🛡️ The 12 SDD Rules

The toolkit enforces a rigorous methodology for AI-assisted engineering:

  1. Think Before Coding — State assumptions. Ask if unclear.
  2. Simplicity First — Minimum code that solves the problem.
  3. Surgical Changes — Touch only what the task requires.
  4. Context Budget Discipline — No full files. 8K max tokens.
  5. Existing Projects Are Not Broken — Recommend delta only.
  6. Offline is First-Class — All commands work without internet.

🔧 Configuration (Optional)

If you want to pull live data from your lakehouse, set these variables:

# Databricks
export DATABRICKS_HOST=https://adb-xxx.azuredatabricks.net
export DATABRICKS_TOKEN=dapi...

# Snowflake
export SNOWFLAKE_ACCOUNT=xxx
export SNOWFLAKE_USER=xxx

📄 License

MIT © 2026 Your Company

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sdd_kit-2.0.7.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdd_kit-2.0.7-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file sdd_kit-2.0.7.tar.gz.

File metadata

  • Download URL: sdd_kit-2.0.7.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sdd_kit-2.0.7.tar.gz
Algorithm Hash digest
SHA256 d14325ee41918bedaa2228cf7069d6f101ba43083f2dc55a680ac4bea22ecd07
MD5 1c624a9e6416c4a89df7c59f74904f47
BLAKE2b-256 314efa5c5d2157a12242ac78d45d912e2d05c1bfb8a76aa64eac2b14d2ab5936

See more details on using hashes here.

File details

Details for the file sdd_kit-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: sdd_kit-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sdd_kit-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a186e7463ca80e8fa55d5952659912bc2f3554e51eab52dfd6aea6123cd7caa2
MD5 3f4eb0cbeba9d7e077616cec8bbc4a9c
BLAKE2b-256 ce13b2904a4148b32057d3a5e3a0d146c213af6462aa6fb12c49980d88408664

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page