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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdd_kit-2.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 f2262ffad08ed2b017c2afbe47c32dbddc9dcea5f883bcd6640e432569bdb15a
MD5 ae5e6af460335fef32d769dccd407347
BLAKE2b-256 b790e0b488c6d1f897b013abc20c154d9c1feee718508f3547aac8c3d6b5b71e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdd_kit-2.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6924ff6d65ce3c1e1424a498343a3b4114ac675d9d508654f6188918e69982eb
MD5 a6c849b220961664be13db14fd4e9cf5
BLAKE2b-256 c35bc629c870d9281b9523bb19ba10ef7f8c8bd669e33a5ac0d3cd15f7057f0b

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