Create local installation system for Enhanced BMAD System
Updated installation approach to use local repository paths instead of incorrect GitHub links: **New Local Installation Script (install-bmad.sh):** - Copies complete BMAD system from local repository to project - Installs both bmad-system/ and bmad-agent/ directories - Creates CLAUDE.md reference file in project root - Generates project-specific configuration - Automatic installation verification - Clear next steps guidance **Installation Process:** 1. Copy install-bmad.sh from BMAD repository to project directory 2. Run ./install-bmad.sh to install complete BMAD system 3. Creates .bmad/ directory with all system files and agents 4. Creates CLAUDE.md reference file for persistent Claude Code integration **Files Copied to Projects:** - Complete bmad-system/ documentation and modules - Complete bmad-agent/ personas, tasks, checklists, templates - Project-specific configuration (project-config.yml) - CLAUDE.md reference guide for Claude Code sessions **Updated Documentation:** - README.md: Local installation instructions instead of GitHub links - bmad-system/README.md: Complete installation process with file structure - CLAUDE.md: Persistent reference guide for Claude Code sessions **Usage Pattern:** 1. Download/clone BMAD-METHOD repository locally 2. Copy install-bmad.sh to your project 3. Run installation script 4. Reference CLAUDE.md in Claude Code sessions 5. Claude reads .bmad/ files for BMAD-powered development The Enhanced BMAD System now has a complete local installation system that works correctly with downloaded repositories. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3b55d22062
commit
ad07aa34cd
46
README.md
46
README.md
|
|
@ -1,14 +1,50 @@
|
||||||
# The BMAD-Method 3.1 (Breakthrough Method of Agile (ai-driven) Development)
|
# The BMAD-Method 3.1 (Breakthrough Method of Agile (ai-driven) Development)
|
||||||
|
|
||||||
|
## 🚀 Enhanced BMAD System Available!
|
||||||
|
|
||||||
|
**NEW**: The Enhanced BMAD System provides enterprise-grade, autonomous development capabilities with Claude Code integration!
|
||||||
|
|
||||||
|
### Quick Start with Enhanced BMAD System (Recommended for Claude Code Users)
|
||||||
|
|
||||||
|
#### Local Installation from Downloaded Repository
|
||||||
|
```bash
|
||||||
|
# Download or clone this repository first
|
||||||
|
git clone https://github.com/your-repo/BMAD-METHOD.git
|
||||||
|
cd BMAD-METHOD
|
||||||
|
|
||||||
|
# Copy install script to your project directory
|
||||||
|
cp install-bmad.sh /path/to/your-project/
|
||||||
|
cd /path/to/your-project/
|
||||||
|
|
||||||
|
# Run the installation script
|
||||||
|
./install-bmad.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Use with Claude Code
|
||||||
|
After installation, start Claude Code in your project:
|
||||||
|
```
|
||||||
|
Please read CLAUDE.md for the BMAD system setup guide and use the recommended startup prompt.
|
||||||
|
```
|
||||||
|
|
||||||
|
Or directly:
|
||||||
|
```
|
||||||
|
I have the Enhanced BMAD System installed in my .bmad/ directory.
|
||||||
|
Please read the documentation and help me build my project using BMAD intelligence.
|
||||||
|
```
|
||||||
|
|
||||||
|
**Enhanced System Features**: 4 autonomy levels, universal LLM integration, enterprise features, self-optimization, 27 comprehensive modules.
|
||||||
|
|
||||||
|
📚 **Full Documentation**: See `/bmad-system/` directory for complete guides.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Original BMAD Method
|
||||||
|
|
||||||
Old Versions:
|
Old Versions:
|
||||||
[Prior Version 1](https://github.com/bmadcode/BMAD-METHOD/tree/V1)
|
[Prior Version 1](https://github.com/bmadcode/BMAD-METHOD/tree/V1)
|
||||||
[Prior Version 2](https://github.com/bmadcode/BMAD-METHOD/tree/V2)
|
[Prior Version 2](https://github.com/bmadcode/BMAD-METHOD/tree/V2)
|
||||||
|
|
||||||
## Do This First, and all will make sense
|
### Web Quickstart Project Setup (Original Method)
|
||||||
|
|
||||||
There are lots of docs here, but I HIGHLY suggest you just try the Web Agent - it takes just a few minutes to set up in Gemini - and you can use the BMad Agent to explain how this method works, how to set up in the IDE, how to set up in the Web, what should be done in the web or ide (although you can choose your own path also!) - all just by talking to the bmad agent!
|
|
||||||
|
|
||||||
### Web Quickstart Project Setup (Recommended)
|
|
||||||
|
|
||||||
Orchestrator Uber BMad Agent that does it all - already pre-compiled in the `web-build-sample` folder.
|
Orchestrator Uber BMad Agent that does it all - already pre-compiled in the `web-build-sample` folder.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,295 @@
|
||||||
|
# Enhanced BMAD System Installation Guide
|
||||||
|
|
||||||
|
## 🎯 Installation Overview
|
||||||
|
|
||||||
|
The Enhanced BMAD System is designed to work **directly with Claude Code** by copying documentation and configuration files to your project. This guide provides step-by-step installation instructions.
|
||||||
|
|
||||||
|
## 📋 What You Need
|
||||||
|
|
||||||
|
- **Claude Code** (any plan - Free, Pro, or Max)
|
||||||
|
- **Git** (for downloading BMAD files)
|
||||||
|
- **Project directory** (new or existing)
|
||||||
|
|
||||||
|
## 🚀 Installation Methods
|
||||||
|
|
||||||
|
### Method 1: Download and Copy (Recommended)
|
||||||
|
|
||||||
|
#### Step 1: Download BMAD System
|
||||||
|
```bash
|
||||||
|
# Download the BMAD repository
|
||||||
|
git clone https://github.com/anthropics/BMAD-METHOD.git
|
||||||
|
cd BMAD-METHOD
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Step 2: Copy Files to Your Project
|
||||||
|
|
||||||
|
**For New Projects:**
|
||||||
|
```bash
|
||||||
|
# Create your project
|
||||||
|
mkdir my-awesome-project
|
||||||
|
cd my-awesome-project
|
||||||
|
|
||||||
|
# Create BMAD directory
|
||||||
|
mkdir .bmad
|
||||||
|
|
||||||
|
# Copy essential BMAD files
|
||||||
|
cp ../BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp ../BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
cp ../BMAD-METHOD/bmad-system/USE_CASES_AND_EXAMPLES.md .bmad/
|
||||||
|
cp ../BMAD-METHOD/bmad-system/ARCHITECTURE_OVERVIEW.md .bmad/
|
||||||
|
cp ../BMAD-METHOD/bmad-system/INTEGRATION_GUIDE.md .bmad/
|
||||||
|
|
||||||
|
# Initialize your project
|
||||||
|
git init
|
||||||
|
echo "# My Awesome Project with BMAD" > README.md
|
||||||
|
```
|
||||||
|
|
||||||
|
**For Existing Projects:**
|
||||||
|
```bash
|
||||||
|
# In your existing project root
|
||||||
|
mkdir .bmad
|
||||||
|
|
||||||
|
# Copy BMAD files (adjust path as needed)
|
||||||
|
cp /path/to/BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp /path/to/BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
cp /path/to/BMAD-METHOD/bmad-system/USE_CASES_AND_EXAMPLES.md .bmad/
|
||||||
|
cp /path/to/BMAD-METHOD/bmad-system/ARCHITECTURE_OVERVIEW.md .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Method 2: One-Line Installation Script
|
||||||
|
|
||||||
|
Create this installation script:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
#!/bin/bash
|
||||||
|
# install-bmad.sh
|
||||||
|
|
||||||
|
echo "🚀 Installing Enhanced BMAD System..."
|
||||||
|
|
||||||
|
# Create .bmad directory
|
||||||
|
mkdir -p .bmad
|
||||||
|
|
||||||
|
# Download BMAD files directly
|
||||||
|
curl -o .bmad/README.md https://raw.githubusercontent.com/anthropics/BMAD-METHOD/main/bmad-system/README.md
|
||||||
|
curl -o .bmad/QUICK_START_CLAUDE_CODE.md https://raw.githubusercontent.com/anthropics/BMAD-METHOD/main/bmad-system/QUICK_START_CLAUDE_CODE.md
|
||||||
|
curl -o .bmad/USE_CASES_AND_EXAMPLES.md https://raw.githubusercontent.com/anthropics/BMAD-METHOD/main/bmad-system/USE_CASES_AND_EXAMPLES.md
|
||||||
|
curl -o .bmad/ARCHITECTURE_OVERVIEW.md https://raw.githubusercontent.com/anthropics/BMAD-METHOD/main/bmad-system/ARCHITECTURE_OVERVIEW.md
|
||||||
|
|
||||||
|
echo "✅ BMAD System installed successfully!"
|
||||||
|
echo "Next: Open Claude Code and reference .bmad/ files"
|
||||||
|
```
|
||||||
|
|
||||||
|
Use it:
|
||||||
|
```bash
|
||||||
|
# Download and run installer
|
||||||
|
curl -o install-bmad.sh https://raw.githubusercontent.com/anthropics/BMAD-METHOD/main/install-bmad.sh
|
||||||
|
chmod +x install-bmad.sh
|
||||||
|
./install-bmad.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📁 File Structure After Installation
|
||||||
|
|
||||||
|
Your project should look like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
your-project/
|
||||||
|
├── .bmad/ # BMAD System Directory
|
||||||
|
│ ├── README.md # Core system overview (REQUIRED)
|
||||||
|
│ ├── QUICK_START_CLAUDE_CODE.md # Claude Code integration guide
|
||||||
|
│ ├── USE_CASES_AND_EXAMPLES.md # Real-world examples and patterns
|
||||||
|
│ ├── ARCHITECTURE_OVERVIEW.md # System architecture diagrams
|
||||||
|
│ └── INTEGRATION_GUIDE.md # Advanced integration patterns
|
||||||
|
├── src/ # Your application source code
|
||||||
|
├── tests/ # Your test files
|
||||||
|
├── package.json # Your project dependencies
|
||||||
|
├── .gitignore # Git ignore file
|
||||||
|
└── README.md # Your project README
|
||||||
|
```
|
||||||
|
|
||||||
|
## ✅ Verify Installation
|
||||||
|
|
||||||
|
### Step 1: Check Files
|
||||||
|
```bash
|
||||||
|
# Verify BMAD files are in place
|
||||||
|
ls -la .bmad/
|
||||||
|
# Should show: README.md, QUICK_START_CLAUDE_CODE.md, etc.
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 2: Test with Claude Code
|
||||||
|
|
||||||
|
Open Claude Code in your project directory and run this test:
|
||||||
|
|
||||||
|
```
|
||||||
|
I have installed the Enhanced BMAD System in my .bmad/ directory.
|
||||||
|
|
||||||
|
Please read .bmad/README.md and confirm:
|
||||||
|
1. Can you access the BMAD system documentation?
|
||||||
|
2. What are the key capabilities available?
|
||||||
|
3. What autonomy levels are supported?
|
||||||
|
|
||||||
|
Test the BMAD system integration.
|
||||||
|
```
|
||||||
|
|
||||||
|
**Expected Response:**
|
||||||
|
```
|
||||||
|
✅ Enhanced BMAD System detected and loaded!
|
||||||
|
|
||||||
|
I can access your BMAD documentation. Key capabilities include:
|
||||||
|
|
||||||
|
1. Autonomous Development (4 levels: Guided → Collaborative → Supervised → Full)
|
||||||
|
2. Universal LLM Integration
|
||||||
|
3. Enterprise Features (Security, Compliance, Governance)
|
||||||
|
4. Self-Optimization and Learning
|
||||||
|
5. Advanced Code Intelligence
|
||||||
|
|
||||||
|
System is ready for intelligent development assistance!
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🎯 Configuration Options
|
||||||
|
|
||||||
|
### Minimal Installation (Most Projects)
|
||||||
|
Copy only essential files:
|
||||||
|
```bash
|
||||||
|
mkdir .bmad
|
||||||
|
cp BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Standard Installation (Recommended)
|
||||||
|
Copy core documentation:
|
||||||
|
```bash
|
||||||
|
mkdir .bmad
|
||||||
|
cp BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/USE_CASES_AND_EXAMPLES.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/ARCHITECTURE_OVERVIEW.md .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Full Installation (Enterprise)
|
||||||
|
Copy all documentation and modules:
|
||||||
|
```bash
|
||||||
|
mkdir .bmad
|
||||||
|
cp -r BMAD-METHOD/bmad-system/* .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🔧 Project-Specific Configuration
|
||||||
|
|
||||||
|
### Web Application Setup
|
||||||
|
```bash
|
||||||
|
# Standard BMAD installation
|
||||||
|
mkdir .bmad
|
||||||
|
cp BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/USE_CASES_AND_EXAMPLES.md .bmad/
|
||||||
|
|
||||||
|
# Create project-specific BMAD config
|
||||||
|
cat > .bmad/project-config.yml << EOF
|
||||||
|
bmad_config:
|
||||||
|
project_type: "web_application"
|
||||||
|
tech_stack: ["react", "node", "postgres"]
|
||||||
|
autonomy_level: "collaborative"
|
||||||
|
optimization_focus: ["performance", "maintainability"]
|
||||||
|
features:
|
||||||
|
- code_analysis
|
||||||
|
- automated_testing
|
||||||
|
- performance_monitoring
|
||||||
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
|
### Mobile App Setup
|
||||||
|
```bash
|
||||||
|
# BMAD installation for mobile
|
||||||
|
mkdir .bmad
|
||||||
|
cp BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/USE_CASES_AND_EXAMPLES.md .bmad/
|
||||||
|
|
||||||
|
# Mobile-specific config
|
||||||
|
cat > .bmad/project-config.yml << EOF
|
||||||
|
bmad_config:
|
||||||
|
project_type: "mobile_application"
|
||||||
|
platforms: ["ios", "android"]
|
||||||
|
framework: "react_native"
|
||||||
|
autonomy_level: "supervised"
|
||||||
|
optimization_focus: ["performance", "battery", "size"]
|
||||||
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
|
### Enterprise Setup
|
||||||
|
```bash
|
||||||
|
# Full BMAD installation for enterprise
|
||||||
|
mkdir .bmad
|
||||||
|
cp -r BMAD-METHOD/bmad-system/* .bmad/
|
||||||
|
|
||||||
|
# Enterprise config
|
||||||
|
cat > .bmad/project-config.yml << EOF
|
||||||
|
bmad_config:
|
||||||
|
project_type: "enterprise_application"
|
||||||
|
compliance_frameworks: ["SOX", "GDPR", "HIPAA"]
|
||||||
|
autonomy_level: "guided"
|
||||||
|
security_level: "high"
|
||||||
|
features:
|
||||||
|
- security_scanning
|
||||||
|
- compliance_checking
|
||||||
|
- audit_logging
|
||||||
|
- governance_controls
|
||||||
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🚨 Common Issues and Solutions
|
||||||
|
|
||||||
|
### Issue: Files Not Found
|
||||||
|
```bash
|
||||||
|
# Check if .bmad directory exists
|
||||||
|
ls -la .bmad/
|
||||||
|
|
||||||
|
# If missing, recreate:
|
||||||
|
mkdir .bmad
|
||||||
|
# Re-copy files
|
||||||
|
```
|
||||||
|
|
||||||
|
### Issue: Claude Code Can't Access Files
|
||||||
|
Make sure you're in the correct directory:
|
||||||
|
```bash
|
||||||
|
# Check current directory
|
||||||
|
pwd
|
||||||
|
# Should be your project root with .bmad/ folder
|
||||||
|
|
||||||
|
# Check Claude Code can see files
|
||||||
|
ls .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Issue: Permission Errors
|
||||||
|
```bash
|
||||||
|
# Fix permissions
|
||||||
|
chmod -R 755 .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🎯 Next Steps After Installation
|
||||||
|
|
||||||
|
1. **Test Integration**: Run the verification steps above
|
||||||
|
2. **Read Documentation**: Start with `.bmad/QUICK_START_CLAUDE_CODE.md`
|
||||||
|
3. **Choose Use Case**: Review `.bmad/USE_CASES_AND_EXAMPLES.md`
|
||||||
|
4. **Configure Project**: Set autonomy level and optimization focus
|
||||||
|
5. **Start Development**: Begin your first BMAD-powered Claude Code session
|
||||||
|
|
||||||
|
## 📚 Additional Resources
|
||||||
|
|
||||||
|
- **Getting Started**: Read `.bmad/README.md`
|
||||||
|
- **Quick Setup**: Follow `.bmad/QUICK_START_CLAUDE_CODE.md`
|
||||||
|
- **Real Examples**: Browse `.bmad/USE_CASES_AND_EXAMPLES.md`
|
||||||
|
- **Advanced Integration**: Study `.bmad/INTEGRATION_GUIDE.md`
|
||||||
|
|
||||||
|
## 🎉 You're Ready!
|
||||||
|
|
||||||
|
After installation, start your first BMAD-powered development session with:
|
||||||
|
|
||||||
|
```
|
||||||
|
I have the Enhanced BMAD System installed in .bmad/
|
||||||
|
|
||||||
|
Please read the documentation and help me build my project using BMAD collaborative development.
|
||||||
|
|
||||||
|
Project: [describe your project]
|
||||||
|
```
|
||||||
|
|
||||||
|
Welcome to the future of AI-powered development! 🚀
|
||||||
|
|
@ -4,13 +4,42 @@
|
||||||
|
|
||||||
This guide helps you immediately start using the Enhanced BMAD System within your Claude Code sessions.
|
This guide helps you immediately start using the Enhanced BMAD System within your Claude Code sessions.
|
||||||
|
|
||||||
## Step 1: Initialize in Claude Code
|
## Prerequisites Setup
|
||||||
|
|
||||||
When starting a new Claude Code session, simply reference the BMAD system:
|
Before starting a Claude Code session, you need BMAD files in your project:
|
||||||
|
|
||||||
|
### Step 1: Copy BMAD Files to Your Project
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# For new projects
|
||||||
|
mkdir my-project && cd my-project
|
||||||
|
mkdir .bmad
|
||||||
|
|
||||||
|
# For existing projects
|
||||||
|
# (in your project root)
|
||||||
|
mkdir .bmad
|
||||||
|
|
||||||
|
# Copy essential BMAD files
|
||||||
|
cp BMAD-METHOD/bmad-system/README.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/QUICK_START_CLAUDE_CODE.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/USE_CASES_AND_EXAMPLES.md .bmad/
|
||||||
|
cp BMAD-METHOD/bmad-system/ARCHITECTURE_OVERVIEW.md .bmad/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 2: Initialize in Claude Code
|
||||||
|
|
||||||
|
Open your project in Claude Code and start with this prompt:
|
||||||
|
|
||||||
```
|
```
|
||||||
I want to use the Enhanced BMAD System for autonomous development assistance.
|
I have the Enhanced BMAD System installed in my project's .bmad/ directory.
|
||||||
Please load the BMAD configuration and set autonomy level to collaborative.
|
|
||||||
|
Please:
|
||||||
|
1. Read .bmad/README.md to understand the BMAD system
|
||||||
|
2. Configure BMAD for collaborative autonomous development
|
||||||
|
3. Enable learning and optimization features
|
||||||
|
4. Help me with my project using BMAD intelligence
|
||||||
|
|
||||||
|
Project type: [describe your project]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 2: Configure Your Development Mode
|
## Step 2: Configure Your Development Mode
|
||||||
|
|
|
||||||
|
|
@ -57,34 +57,127 @@ The system is built on a 4-phase architecture with 27 comprehensive modules:
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Claude Code or compatible LLM interface
|
- Claude Code (any plan)
|
||||||
- Python 3.8+ (for running system components)
|
|
||||||
- Git for version control
|
- Git for version control
|
||||||
- Basic understanding of AI-powered development
|
- Basic understanding of AI-powered development
|
||||||
|
|
||||||
### Quick Start with Claude Code
|
### Installation and Setup with Claude Code
|
||||||
|
|
||||||
1. **Initialize the BMAD System in your Claude Code session:**
|
#### Step 1: Install BMAD System from Local Repository
|
||||||
|
|
||||||
|
**Automatic Installation (Recommended):**
|
||||||
```bash
|
```bash
|
||||||
# Load the Enhanced BMAD System configuration
|
# Navigate to your downloaded BMAD-METHOD repository
|
||||||
bmad init --enhanced --claude-code
|
cd /path/to/BMAD-METHOD
|
||||||
|
|
||||||
# Configure your development environment
|
# Copy install script to your project directory
|
||||||
bmad configure --llm claude --autonomy-level collaborative
|
cp install-bmad.sh /path/to/your-project/
|
||||||
|
cd /path/to/your-project/
|
||||||
|
|
||||||
|
# Run the installation script
|
||||||
|
./install-bmad.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Start an autonomous development session:**
|
**Manual Installation:**
|
||||||
```bash
|
```bash
|
||||||
# Begin an intelligent development session
|
# From your BMAD-METHOD repository directory
|
||||||
bmad start --mode autonomous --project my-project
|
cd /path/to/BMAD-METHOD
|
||||||
|
|
||||||
# The system will analyze your project and provide intelligent assistance
|
# For new projects
|
||||||
|
mkdir /path/to/your-project
|
||||||
|
cd /path/to/your-project
|
||||||
|
mkdir .bmad
|
||||||
|
|
||||||
|
# Copy BMAD system and agents
|
||||||
|
cp -r /path/to/BMAD-METHOD/bmad-system/* .bmad/
|
||||||
|
cp -r /path/to/BMAD-METHOD/bmad-agent .bmad/
|
||||||
|
|
||||||
|
# For existing projects (in your project root)
|
||||||
|
mkdir .bmad
|
||||||
|
cp -r /path/to/BMAD-METHOD/bmad-system/* .bmad/
|
||||||
|
cp -r /path/to/BMAD-METHOD/bmad-agent .bmad/
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Enable self-optimization:**
|
#### Step 2: What Gets Installed
|
||||||
```bash
|
|
||||||
# Enable continuous learning and optimization
|
The installation script copies the complete BMAD system to your project:
|
||||||
bmad optimize --enable --learning-mode adaptive
|
|
||||||
|
```
|
||||||
|
your-project/
|
||||||
|
├── .bmad/ # BMAD system directory
|
||||||
|
│ ├── README.md # Core system overview
|
||||||
|
│ ├── QUICK_START_CLAUDE_CODE.md # Claude Code setup guide
|
||||||
|
│ ├── ARCHITECTURE_OVERVIEW.md # System architecture reference
|
||||||
|
│ ├── USE_CASES_AND_EXAMPLES.md # Real-world examples
|
||||||
|
│ ├── INTEGRATION_GUIDE.md # Integration patterns
|
||||||
|
│ ├── INSTALLATION_GUIDE.md # Installation reference
|
||||||
|
│ ├── project-config.yml # Project configuration
|
||||||
|
│ ├── autonomous-development/ # Autonomous development engine
|
||||||
|
│ ├── code-intelligence/ # Advanced code intelligence
|
||||||
|
│ ├── self-optimization/ # Self-optimization engine
|
||||||
|
│ ├── enterprise-architecture/ # Enterprise architecture platform
|
||||||
|
│ ├── governance/ # Advanced governance framework
|
||||||
|
│ ├── strategic-intelligence/ # Strategic intelligence dashboard
|
||||||
|
│ ├── security-compliance/ # Enterprise security & compliance
|
||||||
|
│ ├── monitoring-analytics/ # Advanced monitoring & analytics
|
||||||
|
│ ├── cost-optimization/ # Cost optimization engine
|
||||||
|
│ └── bmad-agent/ # BMAD agent personas and tasks
|
||||||
|
│ ├── personas/ # Agent personalities
|
||||||
|
│ ├── tasks/ # Specialized tasks
|
||||||
|
│ ├── checklists/ # Quality checklists
|
||||||
|
│ ├── templates/ # Document templates
|
||||||
|
│ └── data/ # Knowledge base
|
||||||
|
├── CLAUDE.md # Claude Code reference guide
|
||||||
|
├── src/ # Your project source
|
||||||
|
├── package.json # Your project config
|
||||||
|
└── README.md # Your project README
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Step 3: Initialize with Claude Code
|
||||||
|
|
||||||
|
Open your project in Claude Code and use the CLAUDE.md reference:
|
||||||
|
|
||||||
|
**Method 1: Use CLAUDE.md Reference**
|
||||||
|
```
|
||||||
|
Please read CLAUDE.md for the BMAD system setup guide and use the recommended startup prompt.
|
||||||
|
```
|
||||||
|
|
||||||
|
**Method 2: Direct Initialization**
|
||||||
|
```
|
||||||
|
I have the Enhanced BMAD System installed in my .bmad/ directory.
|
||||||
|
|
||||||
|
Please:
|
||||||
|
1. Read .bmad/README.md to understand the BMAD system capabilities
|
||||||
|
2. Read .bmad/QUICK_START_CLAUDE_CODE.md for setup guidance
|
||||||
|
3. Review .bmad/bmad-agent/ for available agent personas and tasks
|
||||||
|
4. Configure BMAD for my project with these settings:
|
||||||
|
- Autonomy Level: Collaborative
|
||||||
|
- Learning: Enabled
|
||||||
|
- Project Type: [web-app/mobile-app/enterprise/etc.]
|
||||||
|
- Optimization Focus: [quality/speed/cost]
|
||||||
|
|
||||||
|
Available BMAD agents: architect, developer, devops, analyst, product manager
|
||||||
|
|
||||||
|
Project details: [describe your project]
|
||||||
|
|
||||||
|
Start BMAD-powered development assistance.
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Step 4: Verify BMAD Integration
|
||||||
|
|
||||||
|
Claude Code should respond with BMAD system acknowledgment:
|
||||||
|
|
||||||
|
```
|
||||||
|
✅ Enhanced BMAD System loaded successfully!
|
||||||
|
|
||||||
|
Configuration:
|
||||||
|
- Autonomy Level: Collaborative
|
||||||
|
- Learning: Enabled
|
||||||
|
- System Modules: 27 available
|
||||||
|
- Documentation: Accessible
|
||||||
|
|
||||||
|
Ready for intelligent development assistance.
|
||||||
|
How can I help you build your project?
|
||||||
```
|
```
|
||||||
|
|
||||||
### Integration with Other LLMs
|
### Integration with Other LLMs
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,232 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Enhanced BMAD System Local Installation Script
|
||||||
|
# Copies BMAD system and agents from local repository to your project
|
||||||
|
|
||||||
|
echo "🚀 Installing Enhanced BMAD System from local repository..."
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Get the directory where this script is located (BMAD repository root)
|
||||||
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
echo "📁 BMAD repository found at: $SCRIPT_DIR"
|
||||||
|
|
||||||
|
# Check if we're in the BMAD repository directory
|
||||||
|
if [ ! -d "$SCRIPT_DIR/bmad-system" ] || [ ! -d "$SCRIPT_DIR/bmad-agent" ]; then
|
||||||
|
echo "❌ Error: This script must be run from the BMAD-METHOD repository directory"
|
||||||
|
echo " Make sure you have bmad-system/ and bmad-agent/ directories"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create .bmad directory in current project
|
||||||
|
echo "📁 Creating .bmad directory in your project..."
|
||||||
|
mkdir -p .bmad
|
||||||
|
|
||||||
|
# Copy BMAD system documentation
|
||||||
|
echo "📚 Copying BMAD system documentation..."
|
||||||
|
cp -r "$SCRIPT_DIR/bmad-system"/* .bmad/
|
||||||
|
|
||||||
|
# Copy BMAD agents
|
||||||
|
echo "🤖 Copying BMAD agents..."
|
||||||
|
cp -r "$SCRIPT_DIR/bmad-agent" .bmad/
|
||||||
|
|
||||||
|
# Create CLAUDE.md file for persistent reference
|
||||||
|
echo "📝 Creating CLAUDE.md reference file..."
|
||||||
|
cat > CLAUDE.md << 'EOF'
|
||||||
|
# BMAD System Reference for Claude Code
|
||||||
|
|
||||||
|
## Enhanced BMAD System Available
|
||||||
|
|
||||||
|
This project has the Enhanced BMAD System installed in the `.bmad/` directory.
|
||||||
|
|
||||||
|
### Quick Start
|
||||||
|
|
||||||
|
When starting a new Claude Code session, use this prompt:
|
||||||
|
|
||||||
|
```
|
||||||
|
I have the Enhanced BMAD System installed in my .bmad/ directory.
|
||||||
|
|
||||||
|
Please:
|
||||||
|
1. Read .bmad/README.md to understand the BMAD system capabilities
|
||||||
|
2. Read .bmad/QUICK_START_CLAUDE_CODE.md for setup guidance
|
||||||
|
3. Configure BMAD for my project with these settings:
|
||||||
|
- Autonomy Level: Collaborative
|
||||||
|
- Learning: Enabled
|
||||||
|
- Project Type: [describe your project type]
|
||||||
|
- Optimization Focus: [quality/speed/cost]
|
||||||
|
|
||||||
|
Available BMAD agents in .bmad/bmad-agent/:
|
||||||
|
- Architect: System architecture and design
|
||||||
|
- Developer: Code implementation and optimization
|
||||||
|
- DevOps: Infrastructure and deployment
|
||||||
|
- Product Manager: Requirements and planning
|
||||||
|
- Analyst: Data analysis and insights
|
||||||
|
|
||||||
|
Start BMAD-powered development assistance for my project.
|
||||||
|
```
|
||||||
|
|
||||||
|
### BMAD System Structure
|
||||||
|
|
||||||
|
```
|
||||||
|
.bmad/
|
||||||
|
├── README.md # Main BMAD system overview
|
||||||
|
├── QUICK_START_CLAUDE_CODE.md # Claude Code integration guide
|
||||||
|
├── USE_CASES_AND_EXAMPLES.md # Real-world examples
|
||||||
|
├── ARCHITECTURE_OVERVIEW.md # System architecture
|
||||||
|
├── INTEGRATION_GUIDE.md # Advanced integration
|
||||||
|
├── INSTALLATION_GUIDE.md # Installation reference
|
||||||
|
├── autonomous-development/ # Autonomous development engine
|
||||||
|
├── code-intelligence/ # Advanced code intelligence
|
||||||
|
├── self-optimization/ # Self-optimization engine
|
||||||
|
├── enterprise-architecture/ # Enterprise architecture platform
|
||||||
|
├── governance/ # Advanced governance framework
|
||||||
|
├── strategic-intelligence/ # Strategic intelligence dashboard
|
||||||
|
├── security-compliance/ # Enterprise security & compliance
|
||||||
|
├── monitoring-analytics/ # Advanced monitoring & analytics
|
||||||
|
├── cost-optimization/ # Cost optimization engine
|
||||||
|
└── bmad-agent/ # BMAD agent personas and tasks
|
||||||
|
├── personas/ # Agent personalities
|
||||||
|
├── tasks/ # Specialized tasks
|
||||||
|
├── checklists/ # Quality checklists
|
||||||
|
├── templates/ # Document templates
|
||||||
|
└── data/ # Knowledge base
|
||||||
|
```
|
||||||
|
|
||||||
|
### Key Capabilities
|
||||||
|
|
||||||
|
- **4 Autonomy Levels**: Guided → Collaborative → Supervised → Full
|
||||||
|
- **Universal LLM Integration**: Claude, GPT-4, Gemini, DeepSeek, Llama
|
||||||
|
- **Enterprise Features**: Security, compliance, governance, cost optimization
|
||||||
|
- **Self-Optimization**: Continuous learning and improvement
|
||||||
|
- **27 Comprehensive Modules**: Complete development platform
|
||||||
|
- **Specialized Agents**: Expert personas for different roles
|
||||||
|
|
||||||
|
### Usage Examples
|
||||||
|
|
||||||
|
#### Start New Feature Development
|
||||||
|
```
|
||||||
|
Using BMAD collaborative development, help me implement [feature description].
|
||||||
|
Reference the BMAD agents and system capabilities in .bmad/ directory.
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Code Review and Optimization
|
||||||
|
```
|
||||||
|
Using BMAD code intelligence, analyze this codebase and suggest improvements.
|
||||||
|
Apply BMAD optimization principles from .bmad/self-optimization/.
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Architecture Design
|
||||||
|
```
|
||||||
|
Using BMAD enterprise architecture, help me design a scalable system.
|
||||||
|
Reference .bmad/enterprise-architecture/ and .bmad/bmad-agent/personas/architect.md.
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*This file ensures Claude Code can always reference the BMAD system capabilities*
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Create project-specific BMAD configuration
|
||||||
|
echo "⚙️ Creating project configuration..."
|
||||||
|
cat > .bmad/project-config.yml << EOF
|
||||||
|
# Enhanced BMAD System Project Configuration
|
||||||
|
bmad_config:
|
||||||
|
version: "1.0.0"
|
||||||
|
installation_date: "$(date)"
|
||||||
|
project_type: "general" # Options: web_application, mobile_app, enterprise, scientific, gaming
|
||||||
|
autonomy_level: "collaborative" # Options: guided, collaborative, supervised, full
|
||||||
|
|
||||||
|
optimization_focus:
|
||||||
|
- "quality"
|
||||||
|
- "maintainability"
|
||||||
|
- "performance"
|
||||||
|
|
||||||
|
learning:
|
||||||
|
enabled: true
|
||||||
|
adapt_to_style: true
|
||||||
|
remember_preferences: true
|
||||||
|
|
||||||
|
features:
|
||||||
|
code_analysis: true
|
||||||
|
automated_testing: true
|
||||||
|
performance_monitoring: false
|
||||||
|
security_scanning: false
|
||||||
|
cost_optimization: false
|
||||||
|
|
||||||
|
constraints:
|
||||||
|
no_production_changes: true
|
||||||
|
require_review: false
|
||||||
|
max_autonomy: "supervised"
|
||||||
|
|
||||||
|
agents:
|
||||||
|
preferred_personas:
|
||||||
|
- "architect" # System design and architecture
|
||||||
|
- "dev.ide" # IDE-focused development
|
||||||
|
- "analyst" # Analysis and insights
|
||||||
|
|
||||||
|
available_tasks:
|
||||||
|
- "create-architecture"
|
||||||
|
- "create-frontend-architecture"
|
||||||
|
- "review-infrastructure"
|
||||||
|
- "advanced-elicitation"
|
||||||
|
|
||||||
|
# Customize this configuration for your specific project needs
|
||||||
|
# See .bmad/bmad-agent/ directory for available personas and tasks
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Update .gitignore to optionally exclude BMAD (but recommend keeping it)
|
||||||
|
if [ -f .gitignore ]; then
|
||||||
|
if ! grep -q ".bmad/" .gitignore; then
|
||||||
|
echo "" >> .gitignore
|
||||||
|
echo "# Enhanced BMAD System (uncomment to exclude from git)" >> .gitignore
|
||||||
|
echo "#.bmad/" >> .gitignore
|
||||||
|
echo "📝 Added optional .bmad/ entry to .gitignore"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "# Enhanced BMAD System (uncomment to exclude from git)" > .gitignore
|
||||||
|
echo "#.bmad/" >> .gitignore
|
||||||
|
echo "📝 Created .gitignore with optional .bmad/ entry"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Verify installation
|
||||||
|
echo ""
|
||||||
|
echo "🔍 Verifying installation..."
|
||||||
|
if [ -d .bmad/bmad-system ] || [ -f .bmad/README.md ]; then
|
||||||
|
if [ -d .bmad/bmad-agent ]; then
|
||||||
|
echo "✅ Enhanced BMAD System installed successfully!"
|
||||||
|
echo ""
|
||||||
|
echo "📁 Installation summary:"
|
||||||
|
echo " 📚 BMAD System: .bmad/ (documentation and modules)"
|
||||||
|
echo " 🤖 BMAD Agents: .bmad/bmad-agent/ (personas and tasks)"
|
||||||
|
echo " 📝 Claude Reference: CLAUDE.md (persistent reference)"
|
||||||
|
echo " ⚙️ Configuration: .bmad/project-config.yml"
|
||||||
|
echo ""
|
||||||
|
echo "📊 Files installed:"
|
||||||
|
find .bmad -name "*.md" | wc -l | xargs echo " Documentation files:"
|
||||||
|
find .bmad -name "*.yml" -o -name "*.yaml" | wc -l | xargs echo " Configuration files:"
|
||||||
|
echo ""
|
||||||
|
echo "🎯 Next steps:"
|
||||||
|
echo "1. Open Claude Code in this project directory"
|
||||||
|
echo "2. Reference CLAUDE.md for the startup prompt"
|
||||||
|
echo "3. Start with: 'I have Enhanced BMAD System in .bmad/ directory'"
|
||||||
|
echo "4. Let Claude read the documentation and begin BMAD-powered development"
|
||||||
|
echo ""
|
||||||
|
echo "📚 Key files to mention to Claude:"
|
||||||
|
echo " - .bmad/README.md (system overview)"
|
||||||
|
echo " - .bmad/QUICK_START_CLAUDE_CODE.md (setup guide)"
|
||||||
|
echo " - .bmad/bmad-agent/ (specialized agents)"
|
||||||
|
echo " - CLAUDE.md (reference guide)"
|
||||||
|
else
|
||||||
|
echo "⚠️ BMAD system installed but agents directory missing"
|
||||||
|
echo " Please check that bmad-agent/ directory exists in source"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "❌ Installation failed. Please check:"
|
||||||
|
echo " 1. You're running this from the BMAD-METHOD directory"
|
||||||
|
echo " 2. bmad-system/ and bmad-agent/ directories exist"
|
||||||
|
echo " 3. You have write permissions in current directory"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "🚀 Enhanced BMAD System ready!"
|
||||||
|
echo " Welcome to the future of AI-powered development! 🎉"
|
||||||
Loading…
Reference in New Issue