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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdd_kit-2.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c5f838989fd1839d87a54b9db7540cfbaa5cb3795f56c674c39c1457bf1c4cbf
MD5 358af6d2545148137808a729e1d732ac
BLAKE2b-256 496f5d8fb78eadde39d18c176d8cd1657d78d3a16e5aa9bd686bd144129cade8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdd_kit-2.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e16ccd09f379931be743c4e9161fec782c215765181684e3d9afa81be68abbbc
MD5 949f6d59c8c947642d811d06ff85594c
BLAKE2b-256 088c0da79a3475bf9e22609fe19c5972bde48ed6f6d66be9c8a49246680b2e8d

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