bmad-method 4.25.0 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +36 -1
- package/CHANGELOG.md +14 -0
- package/README.md +3 -0
- package/bmad-core/data/bmad-kb.md +5 -3
- package/dist/agents/analyst.txt +5 -3
- package/dist/agents/bmad-master.txt +5 -3
- package/dist/agents/bmad-orchestrator.txt +5 -3
- package/dist/teams/team-all.txt +5 -3
- package/dist/teams/team-fullstack.txt +5 -3
- package/dist/teams/team-ide-minimal.txt +5 -3
- package/dist/teams/team-no-ui.txt +5 -3
- package/docs/agentic-tools/trae-guide.md +14 -0
- package/docs/bmad-workflow-guide.md +3 -2
- package/docs/user-guide.md +2 -2
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +2 -1
- package/tools/installer/config/install.config.yaml +9 -0
- package/tools/installer/lib/ide-setup.js +51 -0
- package/tools/installer/package.json +1 -1
- package/tools/upgraders/v3-to-v4-upgrader.js +1 -0
package/.vscode/settings.json
CHANGED
|
@@ -7,7 +7,42 @@
|
|
|
7
7
|
"chat.tools.autoApprove": false,
|
|
8
8
|
"cSpell.words": [
|
|
9
9
|
"Agentic",
|
|
10
|
+
"atlasing",
|
|
11
|
+
"Biostatistician",
|
|
12
|
+
"Cordova",
|
|
13
|
+
"customresourcedefinitions",
|
|
14
|
+
"dashboarded",
|
|
15
|
+
"Decisioning",
|
|
16
|
+
"eksctl",
|
|
10
17
|
"elicitations",
|
|
11
|
-
"
|
|
18
|
+
"filecomplete",
|
|
19
|
+
"fintech",
|
|
20
|
+
"fluxcd",
|
|
21
|
+
"gamedev",
|
|
22
|
+
"gitops",
|
|
23
|
+
"implementability",
|
|
24
|
+
"inclusivity",
|
|
25
|
+
"ingressgateway",
|
|
26
|
+
"istioctl",
|
|
27
|
+
"metroidvania",
|
|
28
|
+
"NACLs",
|
|
29
|
+
"nodegroup",
|
|
30
|
+
"platformconfigs",
|
|
31
|
+
"Playfocus",
|
|
32
|
+
"playtesting",
|
|
33
|
+
"pointerdown",
|
|
34
|
+
"pointerup",
|
|
35
|
+
"replayability",
|
|
36
|
+
"roguelike",
|
|
37
|
+
"roomodes",
|
|
38
|
+
"Runbook",
|
|
39
|
+
"runbooks",
|
|
40
|
+
"Shardable",
|
|
41
|
+
"Softlock",
|
|
42
|
+
"speedrunner",
|
|
43
|
+
"tekton",
|
|
44
|
+
"tilemap",
|
|
45
|
+
"tileset",
|
|
46
|
+
"VNET"
|
|
12
47
|
]
|
|
13
48
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [4.26.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.25.1...v4.26.0) (2025-07-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **trae:** add support for trae ide integration ([#298](https://github.com/bmadcode/BMAD-METHOD/issues/298)) ([fae0f5f](https://github.com/bmadcode/BMAD-METHOD/commit/fae0f5ff73a603dc1aacc29f184e2a4138446524))
|
|
7
|
+
|
|
8
|
+
## [4.25.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.25.0...v4.25.1) (2025-07-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* spelling errors in documentation. ([#297](https://github.com/bmadcode/BMAD-METHOD/issues/297)) ([47b9d9f](https://github.com/bmadcode/BMAD-METHOD/commit/47b9d9f3e87be62c8520ed6cb0048df727a9534f))
|
|
14
|
+
|
|
1
15
|
# [4.25.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.24.6...v4.25.0) (2025-07-05)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -155,6 +155,7 @@ The BMad Method works with any IDE, but has built-in integration for:
|
|
|
155
155
|
- `cline` - Cline Rules integration
|
|
156
156
|
- `gemini-cli` - Gemini with @agent commands
|
|
157
157
|
- `windsurf` - Windsurf with manual rule @agent commands
|
|
158
|
+
- `trae` - Trae with manual rule @agent commands
|
|
158
159
|
- `roo` - Roo Code with custom modes (see `.roomodes`)
|
|
159
160
|
- `github-copilot` - GitHub Copilot agent mode integration
|
|
160
161
|
|
|
@@ -287,6 +288,7 @@ See the **[Core Architecture](docs/core-architecture.md)** for the complete sour
|
|
|
287
288
|
- 🎯 [Cursor Guide](docs/agentic-tools/cursor-guide.md) - Setup and usage for Cursor
|
|
288
289
|
- 🤖 [Claude Code Guide](docs/agentic-tools/claude-code-guide.md) - Setup and usage for Claude Code
|
|
289
290
|
- 🌊 [Windsurf Guide](docs/agentic-tools/windsurf-guide.md) - Setup and usage for Windsurf
|
|
291
|
+
- 🌊 [Trae Guide](docs/agentic-tools/trae-guide.md) - Setup and usage for Trae
|
|
290
292
|
- 🦘 [Roo Code Guide](docs/agentic-tools/roo-code-guide.md) - Setup and usage for Roo Code
|
|
291
293
|
- 🔧 [Cline Guide](docs/agentic-tools/cline-guide.md) - Setup and usage for Cline (VS Code)
|
|
292
294
|
- ✨ [Gemini CLI Guide](docs/agentic-tools/gemini-cli-guide.md) - Setup and usage for Gemini CLI
|
|
@@ -381,6 +383,7 @@ Want to help improve the BMad Method. Fork n' Clone the repo
|
|
|
381
383
|
git clone https://github.com/bmadcode/bmad-method.git
|
|
382
384
|
cd bmad-method
|
|
383
385
|
|
|
386
|
+
npm install
|
|
384
387
|
npm run build # rebuild the dist folder
|
|
385
388
|
npm run install:bmad # build and install all to a destination folder
|
|
386
389
|
```
|
|
@@ -78,7 +78,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
78
78
|
5. Type `/help` to see available commands
|
|
79
79
|
|
|
80
80
|
#### Option 2: IDE Integration
|
|
81
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
81
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
# Interactive installation (recommended)
|
|
@@ -91,6 +91,7 @@ npx bmad-method install
|
|
|
91
91
|
- **Cursor**: Native AI integration
|
|
92
92
|
- **Claude Code**: Anthropic's official IDE
|
|
93
93
|
- **Windsurf**: Built-in AI capabilities
|
|
94
|
+
- **Trae**: Built-in AI capabilities
|
|
94
95
|
- **Cline**: VS Code extension with AI features
|
|
95
96
|
- **Roo Code**: Web-based IDE with agent support
|
|
96
97
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -278,11 +279,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
278
279
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
279
280
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
280
281
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
282
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
281
283
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
282
284
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
283
285
|
|
|
284
286
|
**Chat Management Guidelines**:
|
|
285
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
287
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
286
288
|
- **Roo Code**: Switch modes within the same conversation
|
|
287
289
|
|
|
288
290
|
**Common Task Commands**:
|
|
@@ -362,7 +364,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
362
364
|
|
|
363
365
|
#### Web UI Environment
|
|
364
366
|
|
|
365
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
367
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
366
368
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
367
369
|
- Created by the web-builder tool for upload to web interfaces
|
|
368
370
|
- Provides complete context in one package
|
package/dist/agents/analyst.txt
CHANGED
|
@@ -2034,7 +2034,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
2034
2034
|
5. Type `/help` to see available commands
|
|
2035
2035
|
|
|
2036
2036
|
#### Option 2: IDE Integration
|
|
2037
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
2037
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
2038
2038
|
|
|
2039
2039
|
```bash
|
|
2040
2040
|
# Interactive installation (recommended)
|
|
@@ -2047,6 +2047,7 @@ npx bmad-method install
|
|
|
2047
2047
|
- **Cursor**: Native AI integration
|
|
2048
2048
|
- **Claude Code**: Anthropic's official IDE
|
|
2049
2049
|
- **Windsurf**: Built-in AI capabilities
|
|
2050
|
+
- **Trae**: Built-in AI capabilities
|
|
2050
2051
|
- **Cline**: VS Code extension with AI features
|
|
2051
2052
|
- **Roo Code**: Web-based IDE with agent support
|
|
2052
2053
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -2234,11 +2235,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
2234
2235
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
2235
2236
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
2236
2237
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
2238
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
2237
2239
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
2238
2240
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
2239
2241
|
|
|
2240
2242
|
**Chat Management Guidelines**:
|
|
2241
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
2243
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
2242
2244
|
- **Roo Code**: Switch modes within the same conversation
|
|
2243
2245
|
|
|
2244
2246
|
**Common Task Commands**:
|
|
@@ -2318,7 +2320,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
2318
2320
|
|
|
2319
2321
|
#### Web UI Environment
|
|
2320
2322
|
|
|
2321
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
2323
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
2322
2324
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
2323
2325
|
- Created by the web-builder tool for upload to web interfaces
|
|
2324
2326
|
- Provides complete context in one package
|
|
@@ -8843,7 +8843,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
8843
8843
|
5. Type `/help` to see available commands
|
|
8844
8844
|
|
|
8845
8845
|
#### Option 2: IDE Integration
|
|
8846
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
8846
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
8847
8847
|
|
|
8848
8848
|
```bash
|
|
8849
8849
|
# Interactive installation (recommended)
|
|
@@ -8856,6 +8856,7 @@ npx bmad-method install
|
|
|
8856
8856
|
- **Cursor**: Native AI integration
|
|
8857
8857
|
- **Claude Code**: Anthropic's official IDE
|
|
8858
8858
|
- **Windsurf**: Built-in AI capabilities
|
|
8859
|
+
- **Trae**: Built-in AI capabilities
|
|
8859
8860
|
- **Cline**: VS Code extension with AI features
|
|
8860
8861
|
- **Roo Code**: Web-based IDE with agent support
|
|
8861
8862
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -9043,11 +9044,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
9043
9044
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
9044
9045
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
9045
9046
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
9047
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
9046
9048
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
9047
9049
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
9048
9050
|
|
|
9049
9051
|
**Chat Management Guidelines**:
|
|
9050
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
9052
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
9051
9053
|
- **Roo Code**: Switch modes within the same conversation
|
|
9052
9054
|
|
|
9053
9055
|
**Common Task Commands**:
|
|
@@ -9127,7 +9129,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
9127
9129
|
|
|
9128
9130
|
#### Web UI Environment
|
|
9129
9131
|
|
|
9130
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
9132
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
9131
9133
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
9132
9134
|
- Created by the web-builder tool for upload to web interfaces
|
|
9133
9135
|
- Provides complete context in one package
|
|
@@ -1063,7 +1063,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1063
1063
|
5. Type `/help` to see available commands
|
|
1064
1064
|
|
|
1065
1065
|
#### Option 2: IDE Integration
|
|
1066
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
1066
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
1067
1067
|
|
|
1068
1068
|
```bash
|
|
1069
1069
|
# Interactive installation (recommended)
|
|
@@ -1076,6 +1076,7 @@ npx bmad-method install
|
|
|
1076
1076
|
- **Cursor**: Native AI integration
|
|
1077
1077
|
- **Claude Code**: Anthropic's official IDE
|
|
1078
1078
|
- **Windsurf**: Built-in AI capabilities
|
|
1079
|
+
- **Trae**: Built-in AI capabilities
|
|
1079
1080
|
- **Cline**: VS Code extension with AI features
|
|
1080
1081
|
- **Roo Code**: Web-based IDE with agent support
|
|
1081
1082
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -1263,11 +1264,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1263
1264
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
1264
1265
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1265
1266
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1267
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
1266
1268
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1267
1269
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1268
1270
|
|
|
1269
1271
|
**Chat Management Guidelines**:
|
|
1270
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
1272
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
1271
1273
|
- **Roo Code**: Switch modes within the same conversation
|
|
1272
1274
|
|
|
1273
1275
|
**Common Task Commands**:
|
|
@@ -1347,7 +1349,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
1347
1349
|
|
|
1348
1350
|
#### Web UI Environment
|
|
1349
1351
|
|
|
1350
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
1352
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
1351
1353
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
1352
1354
|
- Created by the web-builder tool for upload to web interfaces
|
|
1353
1355
|
- Provides complete context in one package
|
package/dist/teams/team-all.txt
CHANGED
|
@@ -1552,7 +1552,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1552
1552
|
5. Type `/help` to see available commands
|
|
1553
1553
|
|
|
1554
1554
|
#### Option 2: IDE Integration
|
|
1555
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
1555
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
1556
1556
|
|
|
1557
1557
|
```bash
|
|
1558
1558
|
# Interactive installation (recommended)
|
|
@@ -1565,6 +1565,7 @@ npx bmad-method install
|
|
|
1565
1565
|
- **Cursor**: Native AI integration
|
|
1566
1566
|
- **Claude Code**: Anthropic's official IDE
|
|
1567
1567
|
- **Windsurf**: Built-in AI capabilities
|
|
1568
|
+
- **Trae**: Built-in AI capabilities
|
|
1568
1569
|
- **Cline**: VS Code extension with AI features
|
|
1569
1570
|
- **Roo Code**: Web-based IDE with agent support
|
|
1570
1571
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -1752,11 +1753,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1752
1753
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
1753
1754
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1754
1755
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1756
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
1755
1757
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1756
1758
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1757
1759
|
|
|
1758
1760
|
**Chat Management Guidelines**:
|
|
1759
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
1761
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
1760
1762
|
- **Roo Code**: Switch modes within the same conversation
|
|
1761
1763
|
|
|
1762
1764
|
**Common Task Commands**:
|
|
@@ -1836,7 +1838,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
1836
1838
|
|
|
1837
1839
|
#### Web UI Environment
|
|
1838
1840
|
|
|
1839
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
1841
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
1840
1842
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
1841
1843
|
- Created by the web-builder tool for upload to web interfaces
|
|
1842
1844
|
- Provides complete context in one package
|
|
@@ -1400,7 +1400,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1400
1400
|
5. Type `/help` to see available commands
|
|
1401
1401
|
|
|
1402
1402
|
#### Option 2: IDE Integration
|
|
1403
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
1403
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
1404
1404
|
|
|
1405
1405
|
```bash
|
|
1406
1406
|
# Interactive installation (recommended)
|
|
@@ -1413,6 +1413,7 @@ npx bmad-method install
|
|
|
1413
1413
|
- **Cursor**: Native AI integration
|
|
1414
1414
|
- **Claude Code**: Anthropic's official IDE
|
|
1415
1415
|
- **Windsurf**: Built-in AI capabilities
|
|
1416
|
+
- **Trae**: Built-in AI capabilities
|
|
1416
1417
|
- **Cline**: VS Code extension with AI features
|
|
1417
1418
|
- **Roo Code**: Web-based IDE with agent support
|
|
1418
1419
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -1600,11 +1601,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1600
1601
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
1601
1602
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1602
1603
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1604
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
1603
1605
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1604
1606
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1605
1607
|
|
|
1606
1608
|
**Chat Management Guidelines**:
|
|
1607
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
1609
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
1608
1610
|
- **Roo Code**: Switch modes within the same conversation
|
|
1609
1611
|
|
|
1610
1612
|
**Common Task Commands**:
|
|
@@ -1684,7 +1686,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
1684
1686
|
|
|
1685
1687
|
#### Web UI Environment
|
|
1686
1688
|
|
|
1687
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
1689
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
1688
1690
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
1689
1691
|
- Created by the web-builder tool for upload to web interfaces
|
|
1690
1692
|
- Provides complete context in one package
|
|
@@ -1298,7 +1298,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1298
1298
|
5. Type `/help` to see available commands
|
|
1299
1299
|
|
|
1300
1300
|
#### Option 2: IDE Integration
|
|
1301
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
1301
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
1302
1302
|
|
|
1303
1303
|
```bash
|
|
1304
1304
|
# Interactive installation (recommended)
|
|
@@ -1311,6 +1311,7 @@ npx bmad-method install
|
|
|
1311
1311
|
- **Cursor**: Native AI integration
|
|
1312
1312
|
- **Claude Code**: Anthropic's official IDE
|
|
1313
1313
|
- **Windsurf**: Built-in AI capabilities
|
|
1314
|
+
- **Trae**: Built-in AI capabilities
|
|
1314
1315
|
- **Cline**: VS Code extension with AI features
|
|
1315
1316
|
- **Roo Code**: Web-based IDE with agent support
|
|
1316
1317
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -1498,11 +1499,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1498
1499
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
1499
1500
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1500
1501
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1502
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
1501
1503
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1502
1504
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1503
1505
|
|
|
1504
1506
|
**Chat Management Guidelines**:
|
|
1505
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
1507
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
1506
1508
|
- **Roo Code**: Switch modes within the same conversation
|
|
1507
1509
|
|
|
1508
1510
|
**Common Task Commands**:
|
|
@@ -1582,7 +1584,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
1582
1584
|
|
|
1583
1585
|
#### Web UI Environment
|
|
1584
1586
|
|
|
1585
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
1587
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
1586
1588
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
1587
1589
|
- Created by the web-builder tool for upload to web interfaces
|
|
1588
1590
|
- Provides complete context in one package
|
|
@@ -1338,7 +1338,7 @@ BMad transforms you into a "Vibe CEO" - directing a team of specialized AI agent
|
|
|
1338
1338
|
5. Type `/help` to see available commands
|
|
1339
1339
|
|
|
1340
1340
|
#### Option 2: IDE Integration
|
|
1341
|
-
**Best for**: Cursor, Claude Code, Windsurf, Cline, Roo Code, Github Copilot users
|
|
1341
|
+
**Best for**: Cursor, Claude Code, Windsurf, Trae, Cline, Roo Code, Github Copilot users
|
|
1342
1342
|
|
|
1343
1343
|
```bash
|
|
1344
1344
|
# Interactive installation (recommended)
|
|
@@ -1351,6 +1351,7 @@ npx bmad-method install
|
|
|
1351
1351
|
- **Cursor**: Native AI integration
|
|
1352
1352
|
- **Claude Code**: Anthropic's official IDE
|
|
1353
1353
|
- **Windsurf**: Built-in AI capabilities
|
|
1354
|
+
- **Trae**: Built-in AI capabilities
|
|
1354
1355
|
- **Cline**: VS Code extension with AI features
|
|
1355
1356
|
- **Roo Code**: Web-based IDE with agent support
|
|
1356
1357
|
- **Github Copilot**: AI-powered coding assistant
|
|
@@ -1538,11 +1539,12 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1538
1539
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
1539
1540
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
1540
1541
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
1542
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
1541
1543
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
1542
1544
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
1543
1545
|
|
|
1544
1546
|
**Chat Management Guidelines**:
|
|
1545
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
1547
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
1546
1548
|
- **Roo Code**: Switch modes within the same conversation
|
|
1547
1549
|
|
|
1548
1550
|
**Common Task Commands**:
|
|
@@ -1622,7 +1624,7 @@ The BMad-Method is built around a modular architecture centered on the `bmad-cor
|
|
|
1622
1624
|
|
|
1623
1625
|
#### Web UI Environment
|
|
1624
1626
|
|
|
1625
|
-
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their
|
|
1627
|
+
- Uses pre-built bundles from `dist/teams` for stand alone 1 upload files for all agents and their assets with an orchestrating agent
|
|
1626
1628
|
- Single text files containing all agent dependencies are in `dist/agents/` - these are unnecessary unless you want to create a web agent that is only a single agent and not a team
|
|
1627
1629
|
- Created by the web-builder tool for upload to web interfaces
|
|
1628
1630
|
- Provides complete context in one package
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# BMad Method Guide for Trae
|
|
2
|
+
|
|
3
|
+
For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
When running `npx bmad-method install`, select **Trae** as your IDE. This creates:
|
|
8
|
+
|
|
9
|
+
- `.bmad-core/` folder with all agents
|
|
10
|
+
- `.trae/rules/` folder with agent rule files (`.md`)
|
|
11
|
+
|
|
12
|
+
## Using BMad Agents in Trae
|
|
13
|
+
|
|
14
|
+
Type `@agent-name` in chat to activate an agent.
|
|
@@ -22,7 +22,7 @@ The BMad Method follows a structured approach to AI-assisted software developmen
|
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
- Choose "Complete installation"
|
|
25
|
-
- Select your IDE (Cursor, Claude Code, Windsurf, Roo Code, or Github Copilot)
|
|
25
|
+
- Select your IDE (Cursor, Claude Code, Windsurf, Trae, Roo Code, or Github Copilot)
|
|
26
26
|
|
|
27
27
|
2. **Verify installation**:
|
|
28
28
|
- `.bmad-core/` folder created with all agents
|
|
@@ -112,12 +112,13 @@ Follow the SM → Dev cycle for systematic story development:
|
|
|
112
112
|
- **Claude Code**: `/agent-name` (e.g., `/bmad-master`)
|
|
113
113
|
- **Cursor**: `@agent-name` (e.g., `@bmad-master`)
|
|
114
114
|
- **Windsurf**: `@agent-name` (e.g., `@bmad-master`)
|
|
115
|
+
- **Trae**: `@agent-name` (e.g., `@bmad-master`)
|
|
115
116
|
- **Roo Code**: Select mode from mode selector (e.g., `bmad-bmad-master`)
|
|
116
117
|
- **Github Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select **Agent** from the chat mode selector.
|
|
117
118
|
|
|
118
119
|
### Chat Management:
|
|
119
120
|
|
|
120
|
-
- **Claude Code, Cursor, Windsurf**: Start new chats when switching agents
|
|
121
|
+
- **Claude Code, Cursor, Windsurf, Trae**: Start new chats when switching agents
|
|
121
122
|
- **Roo Code**: Switch modes within the same conversation
|
|
122
123
|
|
|
123
124
|
## Available Agents
|
package/docs/user-guide.md
CHANGED
|
@@ -120,7 +120,7 @@ dependencies:
|
|
|
120
120
|
**In IDE:**
|
|
121
121
|
|
|
122
122
|
```bash
|
|
123
|
-
# Cursor or
|
|
123
|
+
# Cursor, Windsurf, or Trae (manual rules - loaded with @)
|
|
124
124
|
@pm Create a PRD for a task management app
|
|
125
125
|
@architect Design the system architecture
|
|
126
126
|
@dev Implement the user authentication
|
|
@@ -275,7 +275,7 @@ graph TD
|
|
|
275
275
|
**Critical Transition Point**: Once the PO confirms document alignment, you must switch from web UI to IDE to begin the development workflow:
|
|
276
276
|
|
|
277
277
|
1. **Copy Documents to Project**: Ensure `docs/prd.md` and `docs/architecture.md` are in your project
|
|
278
|
-
2. **Switch to IDE**: Open your project in your preferred IDE (Cursor, Claude Code, Windsurf)
|
|
278
|
+
2. **Switch to IDE**: Open your project in your preferred IDE (Cursor, Claude Code, Windsurf, Trae)
|
|
279
279
|
3. **Document Sharding**: Use PO agent to shard large documents into manageable pieces
|
|
280
280
|
4. **Begin Development**: Start the SM/Dev cycle for implementation
|
|
281
281
|
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ program
|
|
|
50
50
|
.option('-f, --full', 'Install complete BMad Method')
|
|
51
51
|
.option('-x, --expansion-only', 'Install only expansion packs (no bmad-core)')
|
|
52
52
|
.option('-d, --directory <path>', 'Installation directory')
|
|
53
|
-
.option('-i, --ide <ide...>', 'Configure for specific IDE(s) - can specify multiple (cursor, claude-code, windsurf, roo, cline, gemini, github-copilot, other)')
|
|
53
|
+
.option('-i, --ide <ide...>', 'Configure for specific IDE(s) - can specify multiple (cursor, claude-code, windsurf, trae, roo, cline, gemini, github-copilot, other)')
|
|
54
54
|
.option('-e, --expansion-packs <packs...>', 'Install specific expansion packs (can specify multiple)')
|
|
55
55
|
.action(async (options) => {
|
|
56
56
|
try {
|
|
@@ -234,6 +234,7 @@ async function promptInstallation() {
|
|
|
234
234
|
{ name: 'Cursor', value: 'cursor' },
|
|
235
235
|
{ name: 'Claude Code', value: 'claude-code' },
|
|
236
236
|
{ name: 'Windsurf', value: 'windsurf' },
|
|
237
|
+
{ name: 'Trae', value: 'trae' }, // { name: 'Trae', value: 'trae'}
|
|
237
238
|
{ name: 'Roo Code', value: 'roo' },
|
|
238
239
|
{ name: 'Cline', value: 'cline' },
|
|
239
240
|
{ name: 'Gemini CLI', value: 'gemini' },
|
|
@@ -37,6 +37,15 @@ ide-configurations:
|
|
|
37
37
|
# To use BMad agents in Windsurf:
|
|
38
38
|
# 1. Type @agent-name (e.g., "@dev", "@pm")
|
|
39
39
|
# 2. Windsurf will adopt that agent's persona
|
|
40
|
+
trae:
|
|
41
|
+
name: Trae
|
|
42
|
+
rule-dir: .trae/rules/
|
|
43
|
+
format: multi-file
|
|
44
|
+
command-suffix: .md
|
|
45
|
+
instructions: |
|
|
46
|
+
# To use BMad agents in Trae:
|
|
47
|
+
# 1. Type @agent-name (e.g., "@dev", "@pm", "@architect")
|
|
48
|
+
# 2. Trae will adopt that agent's persona
|
|
40
49
|
roo:
|
|
41
50
|
name: Roo Code
|
|
42
51
|
format: custom-modes
|
|
@@ -57,6 +57,8 @@ class IdeSetup {
|
|
|
57
57
|
return this.setupClaudeCode(installDir, selectedAgent);
|
|
58
58
|
case "windsurf":
|
|
59
59
|
return this.setupWindsurf(installDir, selectedAgent);
|
|
60
|
+
case "trae":
|
|
61
|
+
return this.setupTrae(installDir, selectedAgent);
|
|
60
62
|
case "roo":
|
|
61
63
|
return this.setupRoo(installDir, selectedAgent);
|
|
62
64
|
case "cline":
|
|
@@ -210,6 +212,55 @@ class IdeSetup {
|
|
|
210
212
|
return true;
|
|
211
213
|
}
|
|
212
214
|
|
|
215
|
+
async setupTrae(installDir, selectedAgent) {
|
|
216
|
+
const traeRulesDir = path.join(installDir, ".trae", "rules");
|
|
217
|
+
const agents = selectedAgent? [selectedAgent] : await this.getAllAgentIds(installDir);
|
|
218
|
+
|
|
219
|
+
await fileManager.ensureDirectory(traeRulesDir);
|
|
220
|
+
|
|
221
|
+
for (const agentId of agents) {
|
|
222
|
+
// Find the agent file
|
|
223
|
+
const agentPath = await this.findAgentPath(agentId, installDir);
|
|
224
|
+
|
|
225
|
+
if (agentPath) {
|
|
226
|
+
const agentContent = await fileManager.readFile(agentPath);
|
|
227
|
+
const mdPath = path.join(traeRulesDir, `${agentId}.md`);
|
|
228
|
+
|
|
229
|
+
// Create MD content (similar to Cursor but without frontmatter)
|
|
230
|
+
let mdContent = `# ${agentId.toUpperCase()} Agent Rule\n\n`;
|
|
231
|
+
mdContent += `This rule is triggered when the user types \`@${agentId}\` and activates the ${await this.getAgentTitle(
|
|
232
|
+
agentId,
|
|
233
|
+
installDir
|
|
234
|
+
)} agent persona.\n\n`;
|
|
235
|
+
mdContent += "## Agent Activation\n\n";
|
|
236
|
+
mdContent +=
|
|
237
|
+
"CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:\n\n";
|
|
238
|
+
mdContent += "```yaml\n";
|
|
239
|
+
// Extract just the YAML content from the agent file
|
|
240
|
+
const yamlContent = extractYamlFromAgent(agentContent);
|
|
241
|
+
if (yamlContent) {
|
|
242
|
+
mdContent += yamlContent;
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
// If no YAML found, include the whole content minus the header
|
|
246
|
+
mdContent += agentContent.replace(/^#.*$/m, "").trim();
|
|
247
|
+
}
|
|
248
|
+
mdContent += "\n```\n\n";
|
|
249
|
+
mdContent += "## File Reference\n\n";
|
|
250
|
+
const relativePath = path.relative(installDir, agentPath).replace(/\\/g, '/');
|
|
251
|
+
mdContent += `The complete agent definition is available in [${relativePath}](${relativePath}).\n\n`;
|
|
252
|
+
mdContent += "## Usage\n\n";
|
|
253
|
+
mdContent += `When the user types \`@${agentId}\`, activate this ${await this.getAgentTitle(
|
|
254
|
+
agentId,
|
|
255
|
+
installDir
|
|
256
|
+
)} persona and follow all instructions defined in the YAML configuration above.\n`;
|
|
257
|
+
|
|
258
|
+
await fileManager.writeFile(mdPath, mdContent);
|
|
259
|
+
console.log(chalk.green(`✓ Created rule: ${agentId}.md`));
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
213
264
|
async findAgentPath(agentId, installDir) {
|
|
214
265
|
// Try to find the agent file in various locations
|
|
215
266
|
const possiblePaths = [
|
|
@@ -560,6 +560,7 @@ class V3ToV4Upgrader {
|
|
|
560
560
|
cursor: "Rules created in .cursor/rules/",
|
|
561
561
|
"claude-code": "Commands created in .claude/commands/",
|
|
562
562
|
windsurf: "Rules created in .windsurf/rules/",
|
|
563
|
+
trae: "Rules created in.trae/rules/",
|
|
563
564
|
roo: "Custom modes created in .roomodes",
|
|
564
565
|
cline: "Rules created in .clinerules/",
|
|
565
566
|
};
|