Skip to main content

Interactive Python CLI tool that scaffolds new projects optimized for Claude Code development

Project description

create-claude-app

Interactive Python CLI tool that scaffolds new projects optimized for Claude Code development. Creates structured project templates with comprehensive CLAUDE.md files to enable developers to quickly start new projects with Claude Code.

Features

  • ๐Ÿš€ Quick Project Setup: Bootstrap new projects in under 2 minutes
  • ๐ŸŽฏ Interactive Selection: Choose from multiple frontend, backend, and database options
  • ๐Ÿ“‹ Comprehensive Documentation: Auto-generated CLAUDE.md files for effective AI-assisted development
  • ๐Ÿ—๏ธ Clean Architecture: Industry best practices with Domain-Driven Design patterns
  • ๐Ÿ”ง Multiple Tech Stacks: Support for React, Vue, Angular, Python, Node.js, Golang, and more
  • ๐Ÿ“ฆ Database Integration: MySQL, PostgreSQL, SQLite with Atlas migration tool support
  • ๐ŸŽจ UI Framework Support: Tailwind CSS, shadcn/ui with automatic compatibility checking
  • โšก Build Tool Selection: Vite, Webpack, Babel + Webpack with optimized configurations
  • ๐Ÿ”„ GitHub Actions CI/CD: Automated workflow generation for testing and deployment
  • ๐Ÿ“ Framework Entry Points: Production-ready entry files for all supported frameworks
  • ๐Ÿ“š Enhanced README: Detailed setup, development, and deployment instructions
  • ๐Ÿณ Docker Infrastructure: Complete containerization with multi-stage builds and environment-specific configurations
  • ๐Ÿ—๏ธ Docker Compose: Development, staging, and production docker-compose files with optimized configurations

Installation

# Install via pip
pip install create-claude-app

# Install via homebrew (coming soon)
brew tap yourusername/create-claude-app
brew install create-claude-app

Usage

# Create a new project
create-claude-app my-new-project

# Follow the interactive prompts to select your tech stack

Interactive Component Selection

The tool will guide you through selecting components for your project:

Frontend Framework Options

  • React (TypeScript, modern hooks)
  • Vue (Vue 3 with Composition API)
  • Angular (Latest Angular with TypeScript)
  • Skip

UI Framework Options

  • Tailwind CSS (complete setup with configuration)
  • shadcn/ui (component library with TypeScript)
  • None/Skip

Backend Options

  • Python (FastAPI with DDD/Service Layer)
  • Node.js (Express.js with TypeScript)
  • Golang (Gin framework with clean architecture)
  • Skip

Database Options

  • MySQL
  • PostgreSQL
  • SQLite
  • Skip

Build Tool Options (for frontend)

  • Vite (recommended - fast HMR, optimized builds)
  • Webpack (traditional bundling with extensive configuration)
  • Babel + Webpack (custom transpilation with webpack bundling)

Additional Options

  • Atlas migration tool (recommended)
  • Package manager selection (npm, yarn)
  • GitHub Actions CI/CD workflows (recommended)
  • Docker infrastructure generation (recommended)
  • Comprehensive project documentation generation

Generated Project Structure

Full Stack Example

my-project/
โ”œโ”€โ”€ README.md              # Comprehensive project documentation
โ”œโ”€โ”€ CLAUDE.md              # Main project documentation
โ”œโ”€โ”€ .env.example           # Environment variables template
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ package.json           # Root-level npm scripts, workspaces
โ”œโ”€โ”€ requirements.txt       # Project Python dependencies
โ”œโ”€โ”€ docker-compose.yml     # Main docker-compose configuration
โ”œโ”€โ”€ docker-compose.dev.yml # Development environment configuration
โ”œโ”€โ”€ docker-compose.staging.yml # Staging environment configuration
โ”œโ”€โ”€ docker-compose.prod.yml # Production environment configuration
โ”œโ”€โ”€ .github/               # GitHub Actions workflows
โ”‚   โ”œโ”€โ”€ workflows/
โ”‚   โ”‚   โ””โ”€โ”€ ci.yml         # Continuous integration
โ”‚   โ””โ”€โ”€ CLAUDE.md          # CI/CD documentation
โ”œโ”€โ”€ infra/                 # Docker infrastructure
โ”‚   โ””โ”€โ”€ docker/
โ”‚       โ”œโ”€โ”€ frontend/
โ”‚       โ”‚   โ””โ”€โ”€ Dockerfile # Frontend container (multi-stage build)
โ”‚       โ”œโ”€โ”€ backend/
โ”‚       โ”‚   โ””โ”€โ”€ Dockerfile # Backend container (Python/Node.js/Golang)
โ”‚       โ””โ”€โ”€ database/
โ”‚           โ””โ”€โ”€ Dockerfile # Database container (MySQL/PostgreSQL)
โ”œโ”€โ”€ frontend/              # React/Vue/Angular application
โ”‚   โ”œโ”€โ”€ CLAUDE.md          # Frontend-specific documentation
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ”œโ”€โ”€ vite.config.ts     # Build tool configuration
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ main.tsx       # Application entry point
โ”‚   โ”‚   โ””โ”€โ”€ App.tsx        # Main component
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ backend/               # Python/Node.js/Golang API
โ”‚   โ”œโ”€โ”€ CLAUDE.md          # Backend-specific documentation
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ main.py        # FastAPI application entry point
โ”‚   โ”‚   โ”œโ”€โ”€ api/           # API routes
โ”‚   โ”‚   โ”œโ”€โ”€ domain/        # Domain models
โ”‚   โ”‚   โ”œโ”€โ”€ services/      # Business logic
โ”‚   โ”‚   โ””โ”€โ”€ repositories/  # Data access layer
โ”‚   โ”œโ”€โ”€ requirements.txt
โ”‚   โ”œโ”€โ”€ Dockerfile         # Container configuration
โ”‚   โ””โ”€โ”€ ...
โ””โ”€โ”€ migrations/            # Database migrations (Atlas)
    โ”œโ”€โ”€ CLAUDE.md          # Migration documentation
    โ””โ”€โ”€ atlas.hcl          # Atlas configuration

CLAUDE.md Documentation

Each generated project includes comprehensive CLAUDE.md files containing:

  • Project Description Template
  • Technology Stack Overview (including build tools and CI/CD)
  • Environment Setup Instructions
  • Development Commands (framework-specific with build tools)
  • Architecture Patterns
  • Coding Standards
  • Testing Guidelines
  • Build and Deployment Instructions
  • CI/CD Pipeline Documentation (if GitHub Actions selected)
  • Docker Commands and Infrastructure (complete containerization guide)
  • AI API Keys Setup (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY)

Environment Variables

Generated projects include .env.example templates with:

# AI API Keys
ANTHROPIC_API_KEY=your_anthropic_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
GEMINI_API_KEY=your_gemini_api_key_here

# Database Configuration
DATABASE_URL=your_database_url_here
DB_HOST=localhost
DB_PORT=5432

# Application Settings
ENV=development
DEBUG=true
PORT=8000

Requirements

  • Python 3.8+
  • Cross-platform compatibility (Windows, macOS, Linux)

Development

# Clone the repository
git clone https://github.com/swhsiang/create-claude-app.git
cd create-claude-app

# Install in development mode
pip install -e .
pip install -r requirements-dev.txt

# Run tests
pytest tests/ -v
pytest tests/ --cov=src/create_claude_app

# Run with coverage report
pytest tests/ --cov=src/create_claude_app --cov-report=html

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Follow Google Python Style Guide
  4. Add tests for new functionality
  5. Submit a pull request

Issues and Support

Report issues at: https://github.com/swhsiang/create-claude-app/issues

License

MIT License - see LICENSE file for details

Roadmap

โœ… Recently Completed (v0.3.0)

  • Docker Infrastructure: Complete containerization with multi-stage builds
  • Environment-Specific Configurations: dev, staging, prod docker-compose files
  • Docker Optimization: Security best practices, health checks, resource limits
  • Enhanced README with Docker: Complete Docker commands and infrastructure guide

โœ… Previous Features (v0.2.0)

  • Frontend Build Tools: Vite, Webpack, Babel + Webpack support
  • GitHub Actions CI/CD: Comprehensive workflow generation
  • Framework Entry Points: React, Vue, Angular, Python entry files
  • Enhanced README Generation: Detailed development instructions
  • Build Tool Configurations: Vite and Webpack config files
  • Package Manager Selection: npm, yarn support

๐Ÿ”„ In Progress

  • Testing Framework Integration: Jest, Vitest, Pytest templates
  • Database ORM Integration: Prisma, SQLAlchemy, TypeORM

๐Ÿ“‹ Planned Features

  • IDE Configuration Files: VS Code, JetBrains settings
  • Deployment Templates: Vercel, Netlify, AWS, GCP configurations
  • Kubernetes Support: Helm charts and k8s manifests

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

create_claude_app-0.1.0.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_claude_app-0.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file create_claude_app-0.1.0.tar.gz.

File metadata

  • Download URL: create_claude_app-0.1.0.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for create_claude_app-0.1.0.tar.gz
Algorithm Hash digest
SHA256 498cf90807f64a1533bdcaca408924cc31d20dc1c0d909fe21e0b5a274556835
MD5 ec75b2b357d0b61351fd4897b32a8d8c
BLAKE2b-256 5abcba0cd3ae34e0f3acac1e5b9b88403bfabc023a875e273e5abe00d741a469

See more details on using hashes here.

File details

Details for the file create_claude_app-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for create_claude_app-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5206ca5385e648077fc170daf3d44b80cde934309245be92fc46134df56029f0
MD5 0c03861932ba2c7900f5dbc5777ca888
BLAKE2b-256 717097924b0d20d234d25171beb7fc80e3b89deb9ef3336911a9a32cbcb1d708

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