https://github.com/specsmith-ai/specsmith-cli
Specsmith CLI: Turn vague ideas into actionable specs with AI. Works with Jira, GitHub and coding agents.
https://github.com/specsmith-ai/specsmith-cli
ai ai-agent ai-agents chat-application chatbot cli github github-integration jira jira-integration python specification specification-generation technical-specs
Last synced: 2 months ago
JSON representation
Specsmith CLI: Turn vague ideas into actionable specs with AI. Works with Jira, GitHub and coding agents.
- Host: GitHub
- URL: https://github.com/specsmith-ai/specsmith-cli
- Owner: specsmith-ai
- License: mit
- Created: 2025-08-06T12:59:23.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-09-02T14:30:16.000Z (4 months ago)
- Last Synced: 2025-09-29T16:36:05.509Z (3 months ago)
- Topics: ai, ai-agent, ai-agents, chat-application, chatbot, cli, github, github-integration, jira, jira-integration, python, specification, specification-generation, technical-specs
- Language: Python
- Homepage: https://specsmith.ai
- Size: 148 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Specsmith CLI
> **Forge clear specifications from product ideas.**
> *AI-powered agent for developers and builders.*
[](https://badge.fury.io/py/specsmith-cli)
[](https://www.python.org/downloads/)
[](https://opensource.org/licenses/MIT)
The Specsmith CLI is a thin client for AI-powered specification generation using the Specsmith platform. Run `specsmith`, describe what you need, and get structured, implementation-ready technical specs.
## π What is Specsmith?
Specsmith helps engineers move from rough ideas to actionable specifications. It asks clarifying questions, identifies ambiguities, and produces detailed specs designed to feed directly into AI coding agents or human implementation.
### β¨ Key Capabilities
* **π§ Structured Specs**: From natural language to clear acceptance criteria & Definition of Done
* **π¬ Clarifying Conversations**: Interactive chat that refines requirements before finalizing
* **π File Handling**: Create and update spec files right from the CLI
* **β‘ Streaming Responses**: Real-time feedback as the AI reasons through your request
* **π― Simple Entry Point**: Just run `specsmith` β no flags required
## π― Perfect For
* Product managers defining features
* Engineers planning implementations
* Architects documenting systems
* DevOps & infra teams writing technical runbooks
## π¦ Installation
```bash
pip install specsmith-cli
specsmith --version
```
## β‘ Quickstart
### 1. Get Your API Keys
Learn more at [specsmith.ai](https://specsmith.ai) or go straight to [signup](https://app.specsmith.ai/signup) β **Settings** β **API Keys** β generate a new key pair.
### 2. Configure Authentication
Recommended:
```bash
specsmith setup
```
Advanced alternatives:
* **Env vars**
```bash
export SPECSMITH_ACCESS_KEY_ID="your-access-key-id"
export SPECSMITH_ACCESS_KEY_TOKEN="your-access-key-token"
```
* **Config file**
```bash
mkdir -p ~/.specsmith
cat > ~/.specsmith/credentials << EOF
access_key_id=your-access-key-id
access_key_token=your-access-key-token
EOF
```
### 3. Test
```bash
specsmith test
```
### 4. Start Workinggit add 0p
```bash
specsmith
```
Thatβs it β describe what you need, and specsmith will generate detailed specifications.
## π¨ Usage Examples
Interactive session:
```bash
specsmith
```
Example:
```
You: I need a real-time chat app
specsmith: Letβs cover scale, features, tech stack, and platforms.
...
```
File management:
```bash
# Inside a chat session
# β Create new file: database-schema.sql? (y/n): y
```
Configuration:
```bash
specsmith config
```
## π οΈ Advanced Features
* **Custom API Endpoint**
```bash
export SPECSMITH_API_URL="https://your.company/api"
```
* **Debug Mode**
```bash
specsmith --debug
```
* **Available Commands**
```bash
specsmith chat # start chat (default)
specsmith setup # configure credentials
specsmith test # test connection
specsmith config # show current config
specsmith version # version info
specsmith --help # all options
```
## π§ Configuration Options
| Variable | Description | Default |
| ---------------------------- | -------------------- | -------------------------- |
| `SPECSMITH_ACCESS_KEY_ID` | API key ID | required |
| `SPECSMITH_ACCESS_KEY_TOKEN` | API key token | required |
| `SPECSMITH_API_URL` | API endpoint | `https://api.specsmith.ai` |
| `SPECSMITH_DEBUG` | Enable debug logging | `false` |
Config sources (priority order):
1. `~/.specsmith/credentials`
2. Env vars
3. CLI args
## π Real-World Use Cases
```bash
specsmith
# "Plan a notification system for a mobile app with push + email"
```
```bash
specsmith
# "Design a REST API for a multi-tenant SaaS with RBAC"
```
```bash
specsmith
# "Specify a CI/CD pipeline for microservices on Kubernetes"
```
```bash
specsmith
# "Create a database schema for a social app with posts, comments, likes"
```
## π Troubleshooting
**Auth Errors**
```bash
specsmith test
specsmith setup
```
**Connection Issues**
```bash
curl -I https://api.specsmith.ai/health
specsmith test --debug
```
**File Permissions**
```bash
chmod 755 .
```
More help:
* Docs: [README](https://github.com/specsmith-ai/specsmith-cli#readme)
* Issues: [GitHub](https://github.com/specsmith-ai/specsmith-cli/issues)
* Website: [specsmith.ai](https://specsmith.ai)
* Signup: [app.specsmith.ai/signup](https://app.specsmith.ai/signup)
* Support: [support@specsmith.ai](mailto:support@specsmith.ai)
## π License
MIT License β see [LICENSE](LICENSE)
## π Why specsmith?
Good code starts with good specs. specsmith makes your requirements:
* **Complete**: No missing edge cases
* **Actionable**: Ready for humans or AI agents
* **Consistent**: Following best practices & standards
* **Contextual**: Informed by your repo & architecture
**Transform your workflow. Start with better specs.**
---
**[Get Started](https://specsmith.ai)** β’ **[Signup](https://app.specsmith.ai/signup)** β’ **[Docs](https://github.com/specsmith-ai/specsmith-cli#readme)**
Made with β€οΈ by specsmith