@egka/create-ai-project
v1.1.0
Published
π€ Create AI-powered projects with GitHub Actions automation - Start any project with built-in Claude AI assistant
Maintainers
Readme
π€ create-ai-project
Create production-ready projects with AI-powered GitHub Actions automation in seconds.
π― What is this?
create-ai-project is an NPM package that scaffolds projects with built-in AI automation. Write an issue, get a Pull Request with working code - automatically!
β¨ Features
- π€ AI-Powered Development - Claude AI automatically implements features from GitHub issues
- π Multiple Templates - React Native, Next.js, Express, FastAPI, and more
- β‘ Zero Configuration - Works out of the box with sensible defaults
- π§ Fully Customizable - Adjust AI behavior, prompts, and workflows
- π¦ Production Ready - Includes CI/CD, testing, and linting
- π‘οΈ Self-Healing Workflows - Automatic error recovery and retry mechanisms (NEW in v1.1.0)
π¦ Quick Start
# Using npx (recommended)
npx create-ai-project my-app
# Or with npm
npm create ai-project my-app
# Or install globally
npm install -g create-ai-project
create-ai-project my-appπ¨ Templates
Choose from multiple project templates:
- π± React Native (Expo) - Mobile app with TypeScript
- βοΈ Next.js - Full-stack React framework with App Router
- π Express.js - Node.js backend API
- π FastAPI - Modern Python backend
- β‘ Vite + React - Lightning-fast frontend development
π€ How AI Automation Works
- Create an Issue - Describe what you want to build
- Add
tasklabel - This triggers the AI workflow - Wait ~1-2 minutes - AI analyzes and generates code
- Review the PR - AI creates a pull request with working code
- Merge! - Your feature is ready
Example Issue
Title: Create user authentication API
Description:
Implement JWT-based authentication with the following endpoints:
- POST /auth/register - Register new user
- POST /auth/login - Login and get token
- GET /auth/me - Get current user (protected)
Requirements:
- Use bcrypt for password hashing
- Return JWT tokens
- Add input validation
- Include error handling
- Write testsAI will generate:
- β Complete working code
- β Tests
- β Documentation
- β Type definitions
- β Error handling
π§ Setup
1. Create your project
npx create-ai-project my-app
cd my-app2. Push to GitHub
git remote add origin <your-repo-url>
git push -u origin main3. Get Anthropic API Key
- Visit console.anthropic.com
- Sign up / Login
- Go to API Keys β Create Key
- Copy the key
4. Add to GitHub Secrets
- Go to your repository on GitHub
- Settings β Secrets and variables β Actions
- Click New repository secret
- Name:
ANTHROPIC_API_KEY - Secret: Paste your API key
- Click Add secret
5. Create your first AI-powered task!
- Go to Issues β New issue
- Write a detailed description
- Add the
tasklabel - Submit and watch the magic! β¨
π Documentation
Detailed documentation is included in every project:
docs/AI_SETUP.md- AI configuration and usagedocs/GITHUB_SETUP.md- GitHub Actions setupdocs/DEVELOPMENT.md- Development guidedocs/AUTO_RECOVERY.md- Self-healing mechanisms and auto-recovery (NEW in v1.1.0)
π‘οΈ Self-Healing Features (v1.1.0)
The workflow now includes automatic error recovery:
- β
Auto-generates missing files -
package-lock.json,requirements.txt, scripts - β Retry mechanisms - AI processing and git push operations retry automatically
- β Graceful degradation - Workflow continues even when some steps fail
- β Smart error handling - Non-blocking errors with detailed logging
See docs/AUTO_RECOVERY.md for details.
π― CLI Options
# Interactive mode (recommended)
npx create-ai-project
# Specify project name
npx create-ai-project my-app
# Choose template
npx create-ai-project my-app --template nextjs
# Skip dependency installation
npx create-ai-project my-app --no-install
# Skip git initialization
npx create-ai-project my-app --no-gitπ§ Configuration
Each project includes an ai-config.yaml file for customization:
project:
name: my-app
type: nextjs
typescript: true
ai:
model: claude-sonnet-4-20250514
temperature: 0
max_tokens: 8000
conventions:
style: typescript
testing: jest
linting: eslintπ‘ Examples
React Native Mobile App
npx create-ai-project my-mobile-app --template react-nativeNext.js Web App
npx create-ai-project my-web-app --template nextjsExpress API
npx create-ai-project my-api --template expressPython API
npx create-ai-project my-python-api --template fastapiπ€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π License
MIT Β© Egemen Kayalidere
π Acknowledgments
- Powered by Anthropic Claude
- Inspired by create-react-app and create-next-app
- Built with love for developers who love AI
π Show your support
Give a βοΈ if this project helped you!
Made with π€ and β€οΈ by developers, for developers
