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.2.4.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.2.4-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdd_kit-2.2.4.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.2.4.tar.gz
Algorithm Hash digest
SHA256 9e992b532bcdb030aa6e54991c9edbb5f1af2ac8bcb14cd37f7eea0b5439d692
MD5 ab43d806f93e4d6555018b70a030f4bc
BLAKE2b-256 a89426763a47d4f445330b91f3a2b0dbb20eb0b9bde92b5e0faf7854568d9d2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdd_kit-2.2.4-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.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8138d6778ace1fb60f97cf57f392f0cdfc23bc9277d8373c17da841f141debc9
MD5 250823e162084163c60b74fa896308e1
BLAKE2b-256 e73f02dad315d880af348bec0593b9f2c11c624f771d0ea07ac7fc66b0ec89b4

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