agent consolidation

This commit is contained in:
Brian Madison
2025-06-12 19:36:12 -05:00
parent 213f4f169d
commit 576f05a9d0
72 changed files with 1048 additions and 46033 deletions

58
installer/README.md Normal file
View File

@@ -0,0 +1,58 @@
# BMAD Method Installer
This directory contains the BMAD Method installer implementation.
## Structure
```
installer/
├── bin/ # CLI entry points
│ └── bmad.js # Main CLI executable
├── lib/ # Core implementation
│ ├── installer.js # Main installation logic
│ ├── updater.js # Update management
│ ├── config-loader.js # YAML config parsing
│ ├── file-manager.js # File operations
│ ├── ide-setup.js # IDE-specific setup
│ └── prompts.js # Interactive CLI prompts
├── config/ # Configuration files
│ └── install.config.yml # Installation profiles
├── templates/ # IDE template files
│ ├── cursor-rules.md # Cursor template
│ ├── claude-commands.md # Claude Code template
│ └── windsurf-rules.md # Windsurf template
└── package.json # NPM package configuration
```
## Installation Profiles
- **minimal**: IDE agents only (best for beginners)
- **core**: IDE + Web agents
- **teams**: Full team workflows
- **developer**: Everything including creation tools
## Usage
```bash
# Interactive installation
npx bmad-method install
# Direct profile installation
npx bmad-method install --profile=minimal
# Update existing installation
npx bmad-method update
```
## Development
```bash
# Install dependencies
npm install
# Run tests
npm test
# Lint code
npm run lint
```

View File

@@ -0,0 +1,129 @@
# BMAD Method Installation Configuration
# This file defines what files are included in each installation profile
installation-profiles:
minimal:
name: "IDE Agents Only"
description: "Minimal setup for IDE usage (recommended for beginners)"
files:
- "bmad-core/ide-agents/*.ide.md"
- "bmad-core/utils/agent-switcher.ide.md"
- "bmad-core/data/bmad-kb.md"
- "bmad-core/data/technical-preferences.md"
- "bmad-core/utils/template-format.md"
core:
extends: minimal
name: "IDE + Web Agents"
description: "Includes web agent configurations for building web-compatible bundles"
files:
- "bmad-core/agents/*.yml"
- "bmad-core/templates/web-agent-startup-instructions-template.md"
teams:
extends: core
name: "Teams & Workflows"
description: "Full team collaboration setup with pre-configured workflows"
files:
- "bmad-core/agent-teams/*.yml"
- "bmad-core/workflows/*.yml"
- "bmad-core/utils/workflow-management.md"
developer:
extends: teams
name: "Full Developer Kit"
description: "Everything including agent creation tools and schemas"
files:
- "bmad-core/tasks/create-*.md"
- "bmad-core/schemas/*.yml"
- "bmad-core/tasks/shard-doc.md"
- "bmad-core/tasks/index-docs.md"
# IDE-specific configuration for generating rules/commands
ide-configurations:
cursor:
name: "Cursor"
rule-file: ".cursorrules"
format: "single-file"
command-prefix: ""
instructions: |
# To use BMAD agents in Cursor:
# 1. Press Ctrl+L (Cmd+L on Mac) to open the chat
# 2. Type the agent name (e.g., "dev", "pm", "architect")
# 3. The agent will adopt that persona for the conversation
claude-code:
name: "Claude Code"
rule-dir: ".claude/commands/"
format: "multi-file"
command-suffix: ".md"
instructions: |
# To use BMAD agents in Claude Code:
# 1. Type /agent-name (e.g., "/dev", "/pm", "/architect")
# 2. Claude will switch to that agent's persona
windsurf:
name: "Windsurf"
rule-dir: ".windsurf/rules/"
format: "single-file"
rule-file: "bmad-agents.md"
instructions: |
# To use BMAD agents in Windsurf:
# 1. Type /agent-name (e.g., "/dev", "/pm")
# 2. Windsurf will adopt that agent's persona
roo:
name: "Roo"
# Configuration TBD - needs research
format: "unknown"
instructions: |
# Roo configuration coming soon
# Manual setup: Copy IDE agent files to your Roo configuration
cline:
name: "Cline"
# Configuration TBD - needs research
format: "unknown"
instructions: |
# Cline configuration coming soon
# Manual setup: Copy IDE agent files to your Cline configuration
# Web agent export configuration
web-agents:
source-dir: "web-build"
available-agents:
- name: "analyst"
file: "analyst.md"
description: "Business Analyst agent for requirements gathering"
- name: "pm"
file: "pm.md"
description: "Product Manager agent for product strategy"
- name: "architect"
file: "architect.md"
description: "Solution Architect agent for technical design"
- name: "po"
file: "po.md"
description: "Product Owner agent for backlog management"
- name: "sm"
file: "sm.md"
description: "Scrum Master agent for Agile processes"
- name: "dev"
file: "dev.md"
description: "Developer agent for implementation"
- name: "qa"
file: "qa.md"
description: "QA Engineer agent for testing"
- name: "ux"
file: "ux-expert.md"
description: "UX Expert agent for user experience"
teams:
- name: "fullstack"
file: "team-fullstack.md"
description: "Full-stack development team"
- name: "no-ui"
file: "team-no-ui.md"
description: "Backend/service development team"
- name: "all"
file: "team-all.md"
description: "Complete Agile team with all roles"

50
installer/package.json Normal file
View File

@@ -0,0 +1,50 @@
{
"name": "bmad-method",
"version": "4.0.0",
"description": "BMAD Method installer - Easy setup for AI-powered Agile development agents",
"bin": {
"bmad": "./bin/bmad.js"
},
"main": "lib/installer.js",
"scripts": {
"test": "jest",
"lint": "eslint lib/**/*.js bin/**/*.js"
},
"keywords": [
"bmad",
"agile",
"ai",
"agents",
"development",
"methodology",
"installer"
],
"author": "Brian (BMad) Madison",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-org/bmad-method.git"
},
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^9.4.1",
"fs-extra": "^11.1.0",
"glob": "^8.0.3",
"inquirer": "^8.2.5",
"js-yaml": "^4.1.0",
"ora": "^5.4.1"
},
"devDependencies": {
"eslint": "^8.0.0",
"jest": "^29.5.0"
},
"files": [
"bin/",
"lib/",
"config/",
"templates/"
]
}

View File

@@ -0,0 +1,7 @@
# {{AGENT_NAME}} Agent
{{AGENT_CONTENT}}
---
This is a BMAD Method agent. For more information, visit: https://github.com/your-org/bmad-method

View File

@@ -0,0 +1,21 @@
# BMAD Method Agents for Cursor
This file contains all BMAD Method agent personas. To use an agent, type its name or alias in the Cursor chat.
## Available Agents
{{AGENT_LIST}}
---
{{AGENT_RULES}}
---
# Agent Switching
To switch between agents during a conversation:
1. Simply type the new agent name (e.g., "architect" or "dev")
2. The AI will adopt that agent's persona
For more information about BMAD Method, visit: https://github.com/your-org/bmad-method

View File

@@ -0,0 +1,22 @@
# BMAD Method Agent Commands
This file contains all BMAD Method agent commands for Windsurf. Use /agent-name to switch personas.
## Available Commands
{{COMMAND_LIST}}
---
{{AGENT_SECTIONS}}
---
# Usage Tips
- Type `/dev` to switch to Developer persona
- Type `/pm` to switch to Product Manager persona
- Type `/architect` to switch to Architect persona
- And so on for other agents...
For more information about BMAD Method, visit: https://github.com/your-org/bmad-method