The turbo-flow-wizard.sh script is an interactive setup wizard that generates project-specific configuration files for Claude integration. It guides users through a series of questions about their project and automatically generates a CLAUDE.pre file that can be merged with existing CLAUDE.md configuration.
IMPORTANT: Execute this from your claude working directory so the API credentials are passed along.
The wizard is designed to:
- Detect project requirements through interactive questions
- Generate tailored Claude configuration based on user responses
- Automate the setup of Claude Code with project-specific settings
- Integrate with the claude-flow.wiki repository for comprehensive documentation
- Git - Required for cloning the claude-flow.wiki repository
- Bash - Compatible shell environment
- Internet Connection - Required for initial wiki repository clone
- Claude CLI - Required for automatic merge functionality
- Install via:
npm install -g @anthropic-ai/claude-code
- Install via:
# Run the wizard
./turbo-flow-wizard.shMake sure the script is executable:
chmod +x turbo-flow-wizard.shThe wizard follows a 5-step process:
- Setup Wiki Repository - Clones or updates the claude-flow.wiki repository
- Interactive Questions - Collects project information
- Generate CLAUDE.pre - Creates project-specific configuration
- Claude Merge - Automatically merges configurations (if Claude CLI is available)
- Completion - Displays results and cleanup
The wizard offers 12 application categories:
- Web Application - Full-stack frontend + backend
- API / Microservice - Backend-only services
- Mobile Application - iOS/Android development
- Desktop Application - Native desktop apps
- Data Science / Machine Learning - ML/DS projects
- Blockchain / Web3 - Blockchain and cryptocurrency projects
- IoT / Embedded Systems - Internet of Things projects
- Game Development - Gaming applications
- DevOps / Infrastructure - Infrastructure as code
- CLI Tool / Utility - Command-line tools
- Documentation / Static Site - Documentation sites
- Custom / Other - Custom project types
Based on the application type, the wizard configures:
- React, Vue.js, Angular, Svelte
- Next.js, Nuxt.js
- React Native, Flutter
- Node.js variants: Express, Fastify, NestJS
- Python variants: Django, FastAPI, Flask
- Go, Rust, Java/Spring, .NET Core
- Serverless architectures
- SQL: PostgreSQL, MySQL, SQLite
- NoSQL: MongoDB, Redis, Elasticsearch
- Cloud: DynamoDB, Firebase, Supabase
Choose from 7 development approaches:
- SPARC - Specification, Pseudocode, Architecture, Refinement, Completion
- TDD - Test-Driven Development
- BDD - Behavior-Driven Development
- Agile/Scrum - Agile methodology
- Feature-Driven Development - Feature-centric approach
- Domain-Driven Design (DDD) - Domain modeling approach
- Lean Development - Lean methodology
Select any combination of 19 available features:
- Core Features: Authentication, Real-time (WebSockets), File uploads, Payments, Email
- Infrastructure: Search, Caching, Rate limiting, Monitoring, CI/CD
- Development: Docker, Testing, Documentation, Performance, Security
- Collaboration: GitHub integration, Pair programming, Swarm orchestration
- Complete: All features (option 19)
The wizard generates a CLAUDE.pre file containing:
# Project Configuration
- Application Type: [category/type]
- Technology Stack: [frontend + backend + database]
- Development Methodology: [chosen methodology]
- Features: [selected features]
- Integration instructions for Claudeproject/
├── turbo-flow-wizard.sh # The wizard script
├── CLAUDE.md # Existing Claude configuration
├── CLAUDE.md.OLD # Backup of original configuration
├── CLAUDE.pre # Generated configuration (temporary)
└── claude-flow.wiki/ # Wiki repository (auto-cloned)
├── _Sidebar.md
├── Configuration
├── Guides
└── ...
If the Claude CLI is installed, the wizard automatically executes:
claude --dangerously-skip-permissions "Please merge CLAUDE.pre, CLAUDE.md, and CLAUDE.md.OLD into an optimized CLAUDE.md"The merge process:
- Preserves critical configurations from all three files
- Integrates new project-specific settings
- Optimizes for the detected project type
- Cleans up temporary files
If Claude CLI is not available, the wizard provides a manual command:
claude "Please merge CLAUDE.pre, CLAUDE.md, and CLAUDE.md.OLD into an optimized CLAUDE.md"The wizard sets these internal variables based on user responses:
APP_CATEGORY- High-level category (web, api, mobile, etc.)APP_TYPE- Specific type (fullstack, microservice, etc.)FRONTEND- Frontend frameworkBACKEND- Backend frameworkDATABASE- Database choiceMETHODOLOGY- Development approachFEATURES- Array of selected featuresSESSION_ID- Unique session identifier
The wizard includes comprehensive error handling:
- Git not found - Provides manual clone instructions
- Network issues - Continues with existing wiki if available
- Invalid input - Re-prompts for valid choices
- Permission issues - Clear error messages and resolution steps
The wizard uses color-coded logging:
- 🔵 INFO (
[INFO]) - General information messages - 🟡 WARN (
[WARN]) - Warning messages - 🔴 ERROR (
[ERROR]) - Error messages - 🟢 SUCCESS (
[SUCCESS]) - Success messages
-
Git not installed
# Install git (Ubuntu/Debian) sudo apt-get install git # Install git (macOS) brew install git
-
Claude CLI not found
# Install Claude CLI npm install -g @anthropic-ai/claude-code -
Permission denied
# Make script executable chmod +x turbo-flow-wizard.sh -
Wiki repository issues
- The wizard automatically handles missing wiki repositories
- Existing wiki repositories are updated if possible
- Script continues with existing version if update fails
If the wizard fails, you can:
- Manually clone the wiki repository
- Run the wizard again
- Manually merge generated files
# Manual wiki setup
git clone https://github.com/ruvnet/claude-flow.wiki.git claude-flow.wiki
# Restart wizard
./turbo-flow-wizard.sh- Run from project root - Execute the wizard from your project's root directory
- Backup existing configuration - The wizard automatically creates
CLAUDE.md.OLD - Review generated configuration - Check
CLAUDE.prebefore automatic merge - Commit changes - After merge, commit the updated
CLAUDE.mdto version control
- Current Version: v2.0.0 Alpha
- Compatibility: Claude Code with claude-flow integration
- Wiki Repository: https://github.com/ruvnet/claude-flow.wiki.git
For issues or questions:
- Check the claude-flow.wiki repository for documentation
- Review the generated
CLAUDE.prefile for configuration details - Verify Claude CLI installation for automatic merge functionality
This manual documents the turbo-flow-wizard.sh script v2.0.0 Alpha for Claude Flow Setup Wizard.