AI-powered research, planning, and task management CLI tool
Project description
Shotgun
Spec-Driven Development for AI Code Generation
Shotgun is a CLI tool that turns work with AI code-gen tools from "I want to build X" into: research → specs → plans → tasks → implementation. It reads your entire codebase, coordinates AI agents to do the heavy lifting, and exports clean artifacts in the agents.md format so your code-gen tools actually know what they're building.
🌐 Learn more at shotgun.sh
Features
📊 Complete Codebase Understanding
Before writing a single line, Shotgun reads all of it. Your patterns. Your dependencies. Your technical debt. Whether you're adding features, onboarding devs, planning migrations, or refactoring - Shotgun knows what you're working with.
🔄 Five Modes. One Journey. Zero Gaps.
Research (what exists) → Specify (what to build) → Plan (how to build) → Tasks (break it down) → Export (to any tool)
Not another chatbot. A complete workflow where each mode feeds the next.
➡️ Export to agents.md
Outputs plug into many code-generation tools including Codex, Cursor, Warp, Devin, opencode, Jules, and more.
📝 Specs That Don't Die in Slack
Every research finding, every architectural decision, every "here's why we didn't use that library" - captured as markdown in your repo. Version controlled. Searchable.
Installation
Using uvx (Recommended)
Quick start (ephemeral):
uvx shotgun-sh
Install permanently:
uv tool install shotgun-sh
Why uvx? It's 10-100x faster than pipx and handles binary wheels more reliably. If you don't have uv installed, get it at astral.sh/uv or curl -LsSf https://astral.sh/uv/install.sh | sh
Using pipx
pipx install shotgun-sh
If you encounter build errors with kuzu on macOS:
pipx install --pip-args="--only-binary kuzu" shotgun-sh
Using pip
pip install shotgun-sh
Quick Start
# Research your codebase or a topic
shotgun research "What is our authentication flow?"
# Generate specifications
shotgun spec "Add OAuth2 authentication"
# Create an implementation plan
shotgun plan "Build user dashboard"
# Break down into tasks
shotgun tasks "Implement payment system"
# Export to agents.md format for your code-gen tools
shotgun export
Support
Have questions? Join our community on Discord
License: MIT Python: 3.11+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shotgun_sh-0.2.10.dev5.tar.gz.
File metadata
- Download URL: shotgun_sh-0.2.10.dev5.tar.gz
- Upload date:
- Size: 187.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ae0c3397369df22abf8096b29fc567e30cac3d068afabf2cda9c7c12d1f41ff
|
|
| MD5 |
cd462f05cae428eaf90755e54a6f2b26
|
|
| BLAKE2b-256 |
829ccd24558822106e25e943bfe4f981e54a685be9d51c0ea93f7fe2812a1183
|
File details
Details for the file shotgun_sh-0.2.10.dev5-py3-none-any.whl.
File metadata
- Download URL: shotgun_sh-0.2.10.dev5-py3-none-any.whl
- Upload date:
- Size: 254.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f065657124e19a17dfc51ba3c539c8cd802901ccf51833c417ed18beb7000b8a
|
|
| MD5 |
1364c0320428d319c250ea5d8e01bedf
|
|
| BLAKE2b-256 |
57457bf7e745b8eaf71f87ed2793e73192fd391c15e330fdd362188e357da7d4
|