Skip to main content

Spec-Driven Development CLI with IDE-native AI

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.1.9.tar.gz (2.0 MB 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.1.9-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sdd_kit-2.1.9.tar.gz
Algorithm Hash digest
SHA256 7019b4159e04ef47b3147ea8f53ed07e858de876d76bbaa61cc5a6a07fe1638f
MD5 dfd443e3e4d851efc4faad684b45d6af
BLAKE2b-256 42b83ce444b5c7ce3023eac94d9edf48a840c11db1164dad39ef31e92af66f57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdd_kit-2.1.9-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • 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.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cd259058b688bbdb5af8c4ba4e02e6ab50a525adc5e81af5a75d8325724b36cb
MD5 4c2e263ad206231bd6b2f390afcbf970
BLAKE2b-256 08c6d61449f3dfde344489ad7247e3ec1302cae69ae2d07c590f2175cc0a5acc

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