| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /create-workflow |
/create-workflow โ ๋๋ง์ ์์ ๋ช ๋ น ๋ง๋ค๊ธฐ#
ํ๋ง๋๋ก#
์์ฃผ ๋ฐ๋ณตํ๋ ์ผ์ ๋ฒํผ ํ๋(์ฌ๋์ ๋ช ๋ น)๋ก ๋ง๋ค์ด ๋๋ ๋จ๊ณ์ ๋๋ค. ์๋ฆฌํ ๋๋ง๋ค ๋งค๋ฒ ๋ ์ํผ๋ฅผ ๋ ์ฌ๋ฆฌ๋ ๋์ , ๋๋ง์ ๋ ์ํผ ์นด๋๋ฅผ ํ ์ฅ ์ ์ด๋๋ ๊ฒ๊ณผ ๊ฐ์์. ์ด ๋ช ๋ น์ ๊ทธ ๋ ์ํผ ์นด๋(์์ ๋ช ๋ น)๋ฅผ ๊ฐ์ด ๋ง๋ค์ด ์ค๋๋ค.
๋๊ฐยท์ธ์ ์ฐ๋์#
- ๊ฐ์ ์ข ๋ฅ์ ์์ ์ ๋ฐ๋ณตํด์ ํ๊ฒ ๋์ด, BMAD์ ๋๋ง์ ๋ง์ถค ๋ช ๋ น์ ์ถ๊ฐํ๊ณ ์ถ์ ๋
- ๊ธฐ์กด์ ์๋ ์๋ก์ด ์์ ํ๋ฆ(์ํฌํ๋ก)์ ์ ํด์ง ํ์ ๋ง์ถฐ ์ ๋ฆฌํ๊ณ ์ถ์ ๋
- ๋ณดํต 15~30๋ถ ์ ๋ ๊ฑธ๋ฆฌ๋, ํ ๋ฒ ๋ง๋ค์ด ๋๋ฉด ๊ณ์ ์ฌ์ฌ์ฉํ๋ ์์ ์ ๋๋ค.
๋ฌด์์ ํด์ฃผ๋์#
์ค์น๋ง ํ๋ฉด ๋ฐ๋ก ์ธ ์ ์๋ ๋ง์ถค ๋ช
๋ น ํ์ผ ํ ๊ฐ(.md ํ์ผ)๋ฅผ ๋ง๋ค์ด ์ค๋๋ค.
- ์ ์ฅ ์์น:
./custom-workflows/(๋ช ๋ น์ด๋ฆ).md - ์ด ํ์ผ์๋ ๋ชฉํยท๋ด๋น ์ญํ ยท์ ๋ ฅยท์ถ๋ ฅยท๋จ๊ณ๋ณ ์งํ ๋ฐฉ๋ฒ์ด BMAD ํ์ค ์์๋๋ก ์ฑ์์ง๋๋ค.
- ์ค์นํ๋ฉด
/(๋ด๊ฐ-์ ํ-์ด๋ฆ)ํํ์ ์ ๋ช ๋ น์ผ๋ก ๋ฐ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.
์ด๋ป๊ฒ ์ฐ๋์#
# ๋ช
๋ น ์คํ โ ๋ํ๋ฅผ ๋ฐ๋ผ๊ฐ๋ฉฐ ๋ง๋ค๊ณ ์ถ์ ์์
์ ์ ์ํฉ๋๋ค
/create-workflow
์คํํ๋ฉด ๋ช ๋ น ์ด๋ฆ, ๋ชฉ์ , ๋ด๋น ์ญํ , ์ ๋ ฅ/์ถ๋ ฅ, ๋จ๊ณ ๋ฑ์ ์ฐจ๋ก๋ก ๋ฌผ์ด๋ด ๋๋ค. ๋ง๋ค์ด์ง ํ์ผ์ ์ค์นํ๋ ค๋ฉด, ์๋ด์ ๋์จ ๋๋ก ๋ค์์ฒ๋ผ ์ฌ์ฉ์ ์ค์ ํด๋์ ๋ณต์ฌํฉ๋๋ค.
cp ./custom-workflows/(๋ช
๋ น์ด๋ฆ).md ~/.claude/config/bmad/commands/ # ์ฌ์ฉ์ ์ค์ ํด๋์ ์ค์น
๋ณต์ฌํ ๋ค Claude Code๋ฅผ ๋ค์ ์์ํ๋ฉด ์ ๋ช ๋ น์ด ๋ถ๋ฌ์์ง๋๋ค.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์#
ํฌ๊ฒ ์ ์ โ ๋จ๊ณ ๋๋๊ธฐ โ ํ์ผ ์์ฑ โ ์ ์ฅยท์ค์น ์์๋ก ์งํํฉ๋๋ค.
- ์ํฌํ๋ก ์ ์ โ ๋ง๋ค ๋ช ๋ น์ ์ด๋ฆ, ๋ชฉ์ , ๋ด๋น ์ญํ , ์ ๋ ฅ, ์ถ๋ ฅ, ์์ ์์ ์๊ฐ์ ์ ํฉ๋๋ค.
- ๋จ๊ณ ์ชผ๊ฐ๊ธฐ โ ์ด ์์ ์ 3~10๊ฐ์ ๋จ๊ณ(Part 1, Part 2 โฆ)๋ก ๋๋๋๋ค.
- ๋ช
๋ น ํ์ผ ์์ฑ โ BMAD ํ์ค ์์์ ๋ง์ถฐ ๋ช
๋ น
.mdํ์ผ์ ์๋์ผ๋ก ์ฑ์ ๋ง๋ญ๋๋ค. - ์ ์ฅยท์ค์น ์๋ด โ ํ์ผ์ ์ ์ฅํ๊ณ , ์ด๋์ ๋ณต์ฌํด ์ค์นํ๋์ง๊น์ง ์๋ ค์ค๋๋ค.
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
Workflow Overview#
Goal: Create a custom workflow command for BMAD agents
Phase: Builder Module
Agent: Builder
Inputs: Workflow purpose, steps, agent, inputs/outputs
Output: Custom command .md file ready for installation
Duration: 15-30 minutes
Pre-Flight#
- Load context per
helpers.md#Combined-Config-Load - Explain: "I'll help you create a custom workflow command following BMAD patterns."
Workflow Creation Process#
Use TodoWrite to track: Define Purpose โ Design Steps โ Specify Inputs/Outputs โ Generate Command โ Test โ Install
Part 1: Define Workflow#
Ask:
- Command name:
/your-command-name - Purpose: What does this workflow achieve?
- Agent: Which agent executes this? (or create new)
- Inputs: What does it need?
- Outputs: What does it produce?
- Duration: How long does it take?
Part 2: Break Into Steps#
Ask: "What are the 3-10 steps in this workflow?"
Format: Part 1: Step name, Part 2: Step name, etc.
Part 3: Generate Command File#
Template:
You are the { { Agent } } , executing the ** { { Workflow Name } } ** workflow.
## Workflow Overview
**Goal:** { { goal } }
**Phase:** { { phase } }
**Agent:** { { agent } }
**Inputs:** { { inputs } }
**Output:** { { output } }
**Duration:** { { duration } }
---
## Pre-Flight
1. Load context per helpers.md
2. { { workflow-specific-setup } }
---
## { { Workflow Name } } Process
Use TodoWrite to track: { { steps-list } }
---
{ { for each step } }
### Part { { N } } : { { Step Name } }
{ { step-instructions } }
---
{ { end for } }
## Generate Output
{ { output-generation-instructions } }
---
## Update Status
Per helpers.md#Update-Workflow-Status
---
## Recommend Next Steps
{ { next-steps } }
---
## Helper References
- Load config: helpers.md#Combined-Config-Load
- Update status: helpers.md#Update-Workflow-Status
- Save document: helpers.md#Save-Output-Document
---
## Notes for LLMs
- Use TodoWrite to track steps
- Reference helpers.md
- { { domain-specific-guidance } }Part 4: Save and Install#
Save to: ./custom-workflows/{{command-name}}.md
Installation:
โ Workflow Created!
Command: / { { command-name } }
File: ./custom-workflows/ { { command-name } } .md
## Install:cp ./custom-workflows/{{command-name}}.md ~/.claude/config/bmad/commands/ # install to user config
Restart Claude Code to load the command.Notes for LLMs#
- Follow BMAD workflow template
- Use helpers.md references
- Include TodoWrite tracking
- Keep token-optimized
Remember: Custom workflows extend BMAD capabilities while maintaining patterns.