commandby willem4130
1-choose-project
Choose your Python project type and framework stack to configure your development environment
Installs: 0
Used in: 1 repos
Updated: 2d ago
$
npx ai-builder add command willem4130/1-choose-projectInstalls to .claude/commands/1-choose-project.md
# 🐍 Python Project Setup
Choose your Python project type and framework stack.
## Project Type Options
1. **FastAPI Web API** - REST APIs with async support and auto-docs
2. **AI Application** - OpenAI/Claude agents with Pydantic AI
3. **CLI Tool** - Typer with Rich output and configuration
4. **Automation** - APScheduler with background jobs
5. **Python Library** - Reusable package for distribution
## AI Provider Options (for AI projects)
1. **OpenAI** - GPT-4o, function calling, embeddings
2. **Anthropic** - Claude 3.5 Sonnet, safety-focused
3. **Local LLMs** - Ollama for privacy and cost control
## Database Options
1. **SQLite** - Local development, file-based
2. **PostgreSQL** - Production ready, concurrent access
3. **None** - No database needed
---
## 🤖 Claude Instructions
Interactive selection and immediate configuration:
```typescript
// Get user selections through prompts
const selections = {
project_type: "ai", // User chooses: api, ai, cli, automation, library
ai_provider: "openai", // For AI projects: openai, anthropic, local
database: "sqlite", // sqlite, postgresql, none
vector_store: "chroma", // For AI: chroma, none
auth: "none" // none, simple, oauth
};
// Store configuration immediately
const setupContent = `# Python Project Configuration
**Project Type:** ${selections.project_type}
**Framework:** ${getFrameworkName(selections)}
**Database:** ${selections.database}
**Authentication:** ${selections.auth}
**AI Provider:** ${selections.ai_provider || 'none'}
**Vector Storage:** ${selections.vector_store || 'none'}
Generated by /1-choose-project on ${new Date().toISOString()}
`;
fs.writeFileSync('PROJECT_SETUP.md', setupContent);
console.log("✅ Project configuration saved!");
console.log("✅ Selected: " + selections.project_type + " with " + getFrameworkName(selections));
function getFrameworkName(sel) {
if (sel.project_type === "api") return "FastAPI";
if (sel.project_type === "ai") return sel.ai_provider + " + Pydantic AI";
if (sel.project_type === "cli") return "Typer + Rich";
if (sel.project_type === "automation") return "APScheduler";
return "Standard Library";
}
```
Done! Ready for `/2-setup-foundation`.Quick Install
$
npx ai-builder add command willem4130/1-choose-projectDetails
- Type
- command
- Author
- willem4130
- Slug
- willem4130/1-choose-project
- Created
- 6d ago