@wipal/agent-team 1.0.4 → 1.1.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/.claude/commands/skills/discover.md +127 -0
- package/.claude/commands/skills/install.md +225 -0
- package/.claude/commands/skills/review.md +234 -0
- package/.claude/commands/utils/learn.md +142 -0
- package/.claude/commands/utils/retrospect.md +62 -0
- package/.claude/commands/utils/switch.md +113 -0
- package/.claude/commands/utils/sync.md +183 -0
- package/.claude/rules/common/general-rules.md +6 -0
- package/.claude/rules/role-rules/dev-be-rules.md +241 -0
- package/.claude/rules/role-rules/dev-fe-rules.md +76 -0
- package/.claude/skills/SKILL-INDEX.md +24 -5
- package/.claude/skills/core/knowledge-graph/SKILL.md +214 -0
- package/.claude/skills/core/sequential-thinking/SKILL.md +112 -0
- package/.claude/skills/core/sequential-thinking/references/advanced.md +122 -0
- package/.claude/skills/core/sequential-thinking/references/examples.md +274 -0
- package/.claude/skills/domain/architecture/c4-architecture/SKILL.md +314 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/advanced-patterns.md +552 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/c4-syntax.md +492 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/common-mistakes.md +437 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/SKILL.md +238 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/advanced-features.md +556 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/architecture-diagrams.md +192 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/c4-diagrams.md +410 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/class-diagrams.md +361 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/erd-diagrams.md +510 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/flowcharts.md +450 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/sequence-diagrams.md +394 -0
- package/.claude/skills/domain/backend/testing-be/SKILL.md +121 -17
- package/.claude/skills/domain/design/design-system/SKILL.md +169 -0
- package/.claude/skills/domain/design/html-css-output/SKILL.md +253 -0
- package/.claude/skills/domain/design/mockup-creation/SKILL.md +230 -0
- package/.claude/skills/domain/design/responsive-design/SKILL.md +207 -0
- package/.claude/skills/domain/design/ui-design/SKILL.md +124 -0
- package/.claude/skills/domain/frontend/testing-fe/SKILL.md +143 -38
- package/.claude/skills/domain/frontend/ui-ux-pro-max/README.md +45 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/SKILL.md +404 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/charts.csv +26 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/colors.csv +97 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/icons.csv +101 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/landing.csv +31 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/products.csv +97 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/styles.csv +68 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/typography.csv +58 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/core.py +253 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/search.py +114 -0
- package/.claude/skills/domain/product/requirements-clarity/SKILL.md +340 -0
- package/.claude/skills/skills-registry.yaml +103 -8
- package/README.md +107 -33
- package/README.npm.md +252 -0
- package/TUTORIAL.md +256 -0
- package/bin/agent-team.js +26 -7
- package/config/roles.yaml +107 -0
- package/docs/01-architecture.md +699 -0
- package/docs/02-setup-guide.md +634 -0
- package/docs/03-skills-guide.md +628 -0
- package/docs/04-workflows.md +792 -0
- package/docs/05-model-strategy.md +550 -0
- package/docs/06-extend-guide.md +1226 -0
- package/docs/07-quick-reference.md +578 -0
- package/docs/08-skills-discovery.md +342 -0
- package/docs/README.md +134 -0
- package/docs/rqm.md +560 -0
- package/package.json +9 -3
- package/scripts/postinstall.js +46 -0
- package/src/commands/add.js +131 -67
- package/src/commands/init.js +419 -9
- package/src/commands/list.js +20 -16
- package/src/commands/projects.js +127 -0
- package/src/commands/setup-hooks.js +261 -0
- package/src/index.js +0 -1
- package/src/utils/file-utils.js +147 -50
- package/src/utils/global-registry.js +224 -0
- package/templates/CLAUDE.md.tmpl +128 -20
- package/templates/MEMORY.md.tmpl +119 -0
- package/templates/agent.md.tmpl +205 -0
- package/templates/code/nestjs-controller.ts.tmpl +49 -0
- package/templates/code/nestjs-dto.ts.tmpl +63 -0
- package/templates/code/nestjs-service.ts.tmpl +45 -0
- package/templates/code/react-component.tsx.tmpl +24 -0
- package/templates/code/react-hook.ts.tmpl +54 -0
- package/templates/code/test.spec.ts.tmpl +50 -0
- package/templates/code/vue-component.vue.tmpl +49 -0
- package/templates/code/vue-composable.ts.tmpl +54 -0
- package/templates/knowledge.md.tmpl +152 -17
- package/templates/meeting-notes.md.tmpl +110 -0
- package/templates/memory/hooks.memory.json +50 -0
- package/templates/memory/settings.memory.json +16 -0
- package/templates/reports/bug-report.md.tmpl +164 -0
- package/templates/reports/code-review.md.tmpl +201 -0
- package/templates/reports/sprint-report.md.tmpl +218 -0
- package/templates/roles/ba.md +53 -0
- package/templates/roles/designer.md +82 -0
- package/templates/roles/dev-be.md +49 -0
- package/templates/roles/dev-fe.md +49 -0
- package/templates/roles/devops.md +53 -0
- package/templates/roles/pm.md +49 -0
- package/templates/roles/qa.md +53 -0
- package/templates/roles/sa.md +49 -0
- package/templates/roles/tech-lead.md +132 -0
- package/templates/skills/memory/memory-status.md +78 -0
- package/templates/skills/memory/recall.md +160 -0
- package/templates/skills/memory/reflect.md +168 -0
- package/templates/skills/memory/remember.md +105 -0
- package/templates/tasks/lessons.md.tmpl +77 -0
- package/templates/tasks/todo.md.tmpl +53 -0
- package/src/commands/switch.js +0 -53
package/TUTORIAL.md
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Agent Team Tutorial
|
|
2
|
+
|
|
3
|
+
## What's New in v2.1
|
|
4
|
+
|
|
5
|
+
Features from **OpenFang** patterns:
|
|
6
|
+
|
|
7
|
+
- **Tool Profiles**: Each role has predefined tool access (coding, research, orchestration, full)
|
|
8
|
+
- **Capability Security**: Fine-grained permissions for files, shell commands, network
|
|
9
|
+
- **Operational Phases**: Consistent workflow (ANALYZE → PLAN → IMPLEMENT → VERIFY → DOCUMENT)
|
|
10
|
+
- **Orchestrator Pattern**: Tech-lead can delegate to specialist agents
|
|
11
|
+
- **Knowledge Graph**: Track component relationships across agents
|
|
12
|
+
|
|
13
|
+
## Step-by-Step Guide
|
|
14
|
+
|
|
15
|
+
### Step 1: Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Via npx (no installation needed)
|
|
19
|
+
npx @wipal/agent-team init
|
|
20
|
+
|
|
21
|
+
# Or install globally
|
|
22
|
+
npm install -g @wipal/agent-team
|
|
23
|
+
agent-team init
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Step 2: Initialize Project
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
cd your-existing-project
|
|
30
|
+
|
|
31
|
+
# Initialize .claude/ structure
|
|
32
|
+
npx @wipal/agent-team init
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
This creates:
|
|
36
|
+
```
|
|
37
|
+
.claude/
|
|
38
|
+
├── CLAUDE.md # Project context
|
|
39
|
+
├── agents/ # Agent instances
|
|
40
|
+
├── rules/ # Rules & lessons
|
|
41
|
+
└── settings.json # MCP configs
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Step 3: Add Your First Agent
|
|
45
|
+
|
|
46
|
+
#### Option A: CLI
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Frontend agent
|
|
50
|
+
npx @wipal/agent-team add my-fe dev-fe --framework react --styling tailwind
|
|
51
|
+
|
|
52
|
+
# Backend agent
|
|
53
|
+
npx @wipal/agent-team add my-api dev-be --framework nestjs --orm prisma
|
|
54
|
+
|
|
55
|
+
# Tech Lead (inherits FE + BE skills)
|
|
56
|
+
npx @wipal/agent-team add lead tech-lead
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
#### Option B: Interactive Mode
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npx @wipal/agent-team add
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Then follow the prompts:
|
|
66
|
+
1. Enter agent name
|
|
67
|
+
2. Select role
|
|
68
|
+
3. Choose variants
|
|
69
|
+
4. Confirm creation
|
|
70
|
+
|
|
71
|
+
#### Option C: Web UI
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
npx @wipal/agent-team ui
|
|
75
|
+
# Opens http://localhost:3456
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Step 4: Use Agent in Claude Code
|
|
79
|
+
|
|
80
|
+
After adding an agent:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# See switch instructions
|
|
84
|
+
npx @wipal/agent-team switch my-fe
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
The agent's `CLAUDE.md` is at:
|
|
88
|
+
```
|
|
89
|
+
.claude/agents/my-fe/CLAUDE.md
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Claude Code will automatically read this when you work in the project.
|
|
93
|
+
|
|
94
|
+
### Step 5: Manage Agents
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# List all agents
|
|
98
|
+
npx @wipal/agent-team list
|
|
99
|
+
|
|
100
|
+
# Remove an agent
|
|
101
|
+
npx @wipal/agent-team remove my-fe
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Common Scenarios
|
|
105
|
+
|
|
106
|
+
### Scenario 1: React + Tailwind Project
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
npx @wipal/agent-team init
|
|
110
|
+
npx @wipal/agent-team add fe dev-fe --framework react --styling tailwind --testing vitest
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Agent gets:
|
|
114
|
+
- Core skills: code-review, git-automation, retrospect-work
|
|
115
|
+
- Frontend skills: frontend-design, accessibility, state-management, testing-fe, performance-fe
|
|
116
|
+
- Total: 8 skills
|
|
117
|
+
|
|
118
|
+
### Scenario 2: Full-Stack Team
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
# Frontend
|
|
122
|
+
npx @wipal/agent-team add fe dev-fe --framework react --styling tailwind
|
|
123
|
+
|
|
124
|
+
# Backend
|
|
125
|
+
npx @wipal/agent-team add api dev-be --framework nestjs --orm prisma
|
|
126
|
+
|
|
127
|
+
# Tech Lead (can review both)
|
|
128
|
+
npx @wipal/agent-team add lead tech-lead
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Tech Lead gets:
|
|
132
|
+
- Leadership skills: code-review-advanced, technical-decision, mentoring, technical-debt
|
|
133
|
+
- Frontend skills (inherited): frontend-design, accessibility, etc.
|
|
134
|
+
- Backend skills (inherited): api-design, database-design, etc.
|
|
135
|
+
- Total: 17 skills
|
|
136
|
+
|
|
137
|
+
### Scenario 3: DevOps Team
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
npx @wipal/agent-team add infra devops
|
|
141
|
+
npx @wipal/agent-team add ci devops --cicd github-actions --infra docker
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## Customizing Roles
|
|
145
|
+
|
|
146
|
+
### Per-Project Override
|
|
147
|
+
|
|
148
|
+
Create `.claude/roles.yaml`:
|
|
149
|
+
|
|
150
|
+
```yaml
|
|
151
|
+
roles:
|
|
152
|
+
tech-lead:
|
|
153
|
+
skills:
|
|
154
|
+
inherit: [dev-fe, dev-be, devops] # Add devops skills
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Adding Custom Skills
|
|
158
|
+
|
|
159
|
+
1. Create skill folder:
|
|
160
|
+
```bash
|
|
161
|
+
mkdir -p .claude/skills/custom/my-skill
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
2. Create `SKILL.md`:
|
|
165
|
+
```markdown
|
|
166
|
+
---
|
|
167
|
+
name: my-skill
|
|
168
|
+
version: 1.0.0
|
|
169
|
+
description: My custom skill
|
|
170
|
+
category: custom
|
|
171
|
+
tags: [custom]
|
|
172
|
+
depends_on: []
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
# My Skill
|
|
176
|
+
|
|
177
|
+
## When to use
|
|
178
|
+
...
|
|
179
|
+
|
|
180
|
+
## Instructions
|
|
181
|
+
...
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
3. Reference in agent or role config
|
|
185
|
+
|
|
186
|
+
## Tips
|
|
187
|
+
|
|
188
|
+
### 1. Naming Convention
|
|
189
|
+
|
|
190
|
+
Use descriptive names:
|
|
191
|
+
- `payment-fe` for payment frontend
|
|
192
|
+
- `auth-api` for auth backend
|
|
193
|
+
- `lead` for tech lead
|
|
194
|
+
|
|
195
|
+
### 2. Knowledge Base
|
|
196
|
+
|
|
197
|
+
Each agent has `knowledge.md` - use it to:
|
|
198
|
+
- Store project-specific patterns
|
|
199
|
+
- Learn from corrections
|
|
200
|
+
- Share knowledge across sessions
|
|
201
|
+
|
|
202
|
+
### 3. Retrospect
|
|
203
|
+
|
|
204
|
+
Run `/retrospect-work` at end of sessions to:
|
|
205
|
+
- Capture lessons learned
|
|
206
|
+
- Update knowledge base
|
|
207
|
+
- Improve over time
|
|
208
|
+
|
|
209
|
+
### 4. Skills are Minimal
|
|
210
|
+
|
|
211
|
+
Only skills you need are copied, not all 50. This keeps agents lightweight.
|
|
212
|
+
|
|
213
|
+
### 5. Tool Profiles (v2.1)
|
|
214
|
+
|
|
215
|
+
Each role has a predefined tool profile:
|
|
216
|
+
|
|
217
|
+
| Role | Profile | Tools |
|
|
218
|
+
|------|---------|-------|
|
|
219
|
+
| dev-fe, dev-be, devops, qa | coding | read, write, edit, bash, grep, glob + filesystem, github |
|
|
220
|
+
| pm, ba | research | read, web_search, web_fetch + context7, docs-seeker |
|
|
221
|
+
| tech-lead | orchestration | coding tools + task + context7 |
|
|
222
|
+
| sa | full | all tools + all MCP servers |
|
|
223
|
+
| designer | minimal | read, write, edit |
|
|
224
|
+
|
|
225
|
+
### 6. Operational Phases (v2.1)
|
|
226
|
+
|
|
227
|
+
All agents follow consistent workflow:
|
|
228
|
+
|
|
229
|
+
1. **ANALYZE** - Read context, understand requirements
|
|
230
|
+
2. **PLAN** - Design approach, consider alternatives
|
|
231
|
+
3. **IMPLEMENT** - Write clean code, follow conventions
|
|
232
|
+
4. **VERIFY** - Run tests, validate output
|
|
233
|
+
5. **DOCUMENT** - Update docs, capture lessons
|
|
234
|
+
|
|
235
|
+
## Troubleshooting
|
|
236
|
+
|
|
237
|
+
### "Project not initialized"
|
|
238
|
+
|
|
239
|
+
Run `npx @wipal/agent-team init` first.
|
|
240
|
+
|
|
241
|
+
### "Agent already exists"
|
|
242
|
+
|
|
243
|
+
Use a different name or remove existing:
|
|
244
|
+
```bash
|
|
245
|
+
npx @wipal/agent-team remove <name>
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Skills not found
|
|
249
|
+
|
|
250
|
+
Check if `.claude/skills/` exists. Run `init` if missing.
|
|
251
|
+
|
|
252
|
+
## Next Steps
|
|
253
|
+
|
|
254
|
+
- Read [docs/01-architecture.md](docs/01-architecture.md) for architecture details
|
|
255
|
+
- See [docs/03-skills-guide.md](docs/03-skills-guide.md) for skills management
|
|
256
|
+
- Check [docs/07-quick-reference.md](docs/07-quick-reference.md) for cheat sheet
|
package/bin/agent-team.js
CHANGED
|
@@ -10,8 +10,9 @@ import chalk from 'chalk';
|
|
|
10
10
|
import { initCommand } from '../src/commands/init.js';
|
|
11
11
|
import { addCommand } from '../src/commands/add.js';
|
|
12
12
|
import { listCommand } from '../src/commands/list.js';
|
|
13
|
-
import { switchCommand } from '../src/commands/switch.js';
|
|
14
13
|
import { removeCommand } from '../src/commands/remove.js';
|
|
14
|
+
import { projectsCommand } from '../src/commands/projects.js';
|
|
15
|
+
import { setupHooksCommand } from '../src/commands/setup-hooks.js';
|
|
15
16
|
import { startServer } from '../src/server/index.js';
|
|
16
17
|
|
|
17
18
|
const VERSION = '1.0.0';
|
|
@@ -42,6 +43,12 @@ program
|
|
|
42
43
|
.command('init')
|
|
43
44
|
.description('Initialize .claude/ structure in current project')
|
|
44
45
|
.option('-f, --force', 'Overwrite existing files')
|
|
46
|
+
.option('-m, --merge', 'Merge with existing .claude/ without destroying content')
|
|
47
|
+
.option('--update', 'Update only package-provided files (rules, skills)')
|
|
48
|
+
.option('--update-rules', 'Update rules when merging')
|
|
49
|
+
.option('--hooks', 'Enable hooks during init')
|
|
50
|
+
.option('--no-hooks', 'Skip hooks prompt during init')
|
|
51
|
+
.option('--memory', 'Enable SimpleMem long-term memory system (requires Docker)')
|
|
45
52
|
.action(initCommand);
|
|
46
53
|
|
|
47
54
|
// Add command
|
|
@@ -68,12 +75,6 @@ program
|
|
|
68
75
|
.description('List all agents in the project')
|
|
69
76
|
.action(listCommand);
|
|
70
77
|
|
|
71
|
-
// Switch command
|
|
72
|
-
program
|
|
73
|
-
.command('switch <name>')
|
|
74
|
-
.description('Show instructions to switch to an agent')
|
|
75
|
-
.action(switchCommand);
|
|
76
|
-
|
|
77
78
|
// Remove command
|
|
78
79
|
program
|
|
79
80
|
.command('remove <name>')
|
|
@@ -82,6 +83,24 @@ program
|
|
|
82
83
|
.option('-f, --force', 'Skip confirmation')
|
|
83
84
|
.action(removeCommand);
|
|
84
85
|
|
|
86
|
+
// Projects command
|
|
87
|
+
program
|
|
88
|
+
.command('projects')
|
|
89
|
+
.description('Manage all registered projects')
|
|
90
|
+
.option('-l, --list', 'List all projects')
|
|
91
|
+
.option('--prune', 'Remove invalid project entries')
|
|
92
|
+
.option('--register', 'Register current project')
|
|
93
|
+
.action(projectsCommand);
|
|
94
|
+
|
|
95
|
+
// Setup hooks command
|
|
96
|
+
program
|
|
97
|
+
.command('setup-hooks')
|
|
98
|
+
.description('Setup Claude Code hooks (pre-tool-use, post-tool-use, etc.)')
|
|
99
|
+
.option('--enable <hook>', 'Enable specific hook')
|
|
100
|
+
.option('--disable <hook>', 'Disable specific hook')
|
|
101
|
+
.option('--list', 'List available hooks')
|
|
102
|
+
.action(setupHooksCommand);
|
|
103
|
+
|
|
85
104
|
// UI command - Start web dashboard
|
|
86
105
|
program
|
|
87
106
|
.command('ui')
|
package/config/roles.yaml
CHANGED
|
@@ -1,11 +1,67 @@
|
|
|
1
1
|
# Role Definitions for Agent Team
|
|
2
2
|
# Each role defines which skills are included
|
|
3
3
|
|
|
4
|
+
# Tool Profiles - Pattern từ OpenFang
|
|
5
|
+
# Predefined tool sets for different role types
|
|
6
|
+
tool_profiles:
|
|
7
|
+
minimal:
|
|
8
|
+
description: Basic file operations only
|
|
9
|
+
tools:
|
|
10
|
+
- read
|
|
11
|
+
- write
|
|
12
|
+
- edit
|
|
13
|
+
mcp_servers: []
|
|
14
|
+
|
|
15
|
+
coding:
|
|
16
|
+
description: Full coding capabilities
|
|
17
|
+
tools:
|
|
18
|
+
- read
|
|
19
|
+
- write
|
|
20
|
+
- edit
|
|
21
|
+
- bash
|
|
22
|
+
- grep
|
|
23
|
+
- glob
|
|
24
|
+
mcp_servers:
|
|
25
|
+
- filesystem
|
|
26
|
+
- github
|
|
27
|
+
|
|
28
|
+
research:
|
|
29
|
+
description: Research and documentation
|
|
30
|
+
tools:
|
|
31
|
+
- read
|
|
32
|
+
- web_search
|
|
33
|
+
- web_fetch
|
|
34
|
+
mcp_servers:
|
|
35
|
+
- context7
|
|
36
|
+
- docs-seeker
|
|
37
|
+
|
|
38
|
+
full:
|
|
39
|
+
description: All tools and MCP servers
|
|
40
|
+
tools: all
|
|
41
|
+
mcp_servers: all
|
|
42
|
+
|
|
43
|
+
orchestration:
|
|
44
|
+
description: Tech lead and coordination
|
|
45
|
+
tools:
|
|
46
|
+
- read
|
|
47
|
+
- write
|
|
48
|
+
- edit
|
|
49
|
+
- bash
|
|
50
|
+
- grep
|
|
51
|
+
- glob
|
|
52
|
+
- task
|
|
53
|
+
mcp_servers:
|
|
54
|
+
- filesystem
|
|
55
|
+
- github
|
|
56
|
+
- context7
|
|
57
|
+
|
|
4
58
|
roles:
|
|
5
59
|
# Frontend Developer
|
|
6
60
|
dev-fe:
|
|
7
61
|
name: Frontend Developer
|
|
8
62
|
description: React/Vue/Angular development, UI/UX implementation
|
|
63
|
+
template: templates/roles/dev-fe.md
|
|
64
|
+
tool_profile: coding
|
|
9
65
|
skills:
|
|
10
66
|
inherit: []
|
|
11
67
|
include:
|
|
@@ -17,6 +73,8 @@ roles:
|
|
|
17
73
|
dev-be:
|
|
18
74
|
name: Backend Developer
|
|
19
75
|
description: API design, database, server-side logic
|
|
76
|
+
template: templates/roles/dev-be.md
|
|
77
|
+
tool_profile: coding
|
|
20
78
|
skills:
|
|
21
79
|
inherit: []
|
|
22
80
|
include:
|
|
@@ -28,6 +86,8 @@ roles:
|
|
|
28
86
|
sa:
|
|
29
87
|
name: Solution Architect
|
|
30
88
|
description: System design, architecture decisions, tech selection
|
|
89
|
+
template: templates/roles/sa.md
|
|
90
|
+
tool_profile: full
|
|
31
91
|
skills:
|
|
32
92
|
inherit: []
|
|
33
93
|
include:
|
|
@@ -43,6 +103,8 @@ roles:
|
|
|
43
103
|
tech-lead:
|
|
44
104
|
name: Tech Lead
|
|
45
105
|
description: Technical leadership, code review, mentoring
|
|
106
|
+
template: templates/roles/tech-lead.md
|
|
107
|
+
tool_profile: orchestration
|
|
46
108
|
skills:
|
|
47
109
|
inherit:
|
|
48
110
|
- dev-fe
|
|
@@ -55,6 +117,8 @@ roles:
|
|
|
55
117
|
devops:
|
|
56
118
|
name: DevOps Engineer
|
|
57
119
|
description: CI/CD, infrastructure, deployment, monitoring
|
|
120
|
+
template: templates/roles/devops.md
|
|
121
|
+
tool_profile: coding
|
|
58
122
|
skills:
|
|
59
123
|
inherit: []
|
|
60
124
|
include:
|
|
@@ -66,17 +130,38 @@ roles:
|
|
|
66
130
|
pm:
|
|
67
131
|
name: Product Manager
|
|
68
132
|
description: Requirements, user stories, sprint planning
|
|
133
|
+
template: templates/roles/pm.md
|
|
134
|
+
tool_profile: research
|
|
69
135
|
skills:
|
|
70
136
|
inherit: []
|
|
71
137
|
include:
|
|
72
138
|
- category: product
|
|
73
139
|
- category: core
|
|
140
|
+
optional:
|
|
141
|
+
- category: architecture
|
|
142
|
+
exclude: []
|
|
143
|
+
|
|
144
|
+
# Business Analyst
|
|
145
|
+
ba:
|
|
146
|
+
name: Business Analyst
|
|
147
|
+
description: Requirements analysis, PRD creation, stakeholder communication
|
|
148
|
+
template: templates/roles/ba.md
|
|
149
|
+
tool_profile: research
|
|
150
|
+
skills:
|
|
151
|
+
inherit: []
|
|
152
|
+
include:
|
|
153
|
+
- category: product
|
|
154
|
+
- category: core
|
|
155
|
+
optional:
|
|
156
|
+
- category: architecture
|
|
74
157
|
exclude: []
|
|
75
158
|
|
|
76
159
|
# QA Engineer
|
|
77
160
|
qa:
|
|
78
161
|
name: QA Engineer
|
|
79
162
|
description: Testing, quality assurance, automation
|
|
163
|
+
template: templates/roles/qa.md
|
|
164
|
+
tool_profile: coding
|
|
80
165
|
skills:
|
|
81
166
|
inherit: []
|
|
82
167
|
include:
|
|
@@ -84,6 +169,22 @@ roles:
|
|
|
84
169
|
- category: core
|
|
85
170
|
exclude: []
|
|
86
171
|
|
|
172
|
+
# UI/UX Designer
|
|
173
|
+
designer:
|
|
174
|
+
name: UI/UX Designer
|
|
175
|
+
description: User interface design, component systems, design tokens, HTML/CSS output
|
|
176
|
+
template: templates/roles/designer.md
|
|
177
|
+
tool_profile: minimal
|
|
178
|
+
variants:
|
|
179
|
+
- web
|
|
180
|
+
- mobile
|
|
181
|
+
skills:
|
|
182
|
+
inherit: []
|
|
183
|
+
include:
|
|
184
|
+
- category: design
|
|
185
|
+
- category: core
|
|
186
|
+
exclude: []
|
|
187
|
+
|
|
87
188
|
# Category to skill folder mapping
|
|
88
189
|
# Used when scanning skills
|
|
89
190
|
categories:
|
|
@@ -115,6 +216,10 @@ categories:
|
|
|
115
216
|
description: QA and testing skills
|
|
116
217
|
folder: domain/quality
|
|
117
218
|
|
|
219
|
+
design:
|
|
220
|
+
description: UI/UX design skills
|
|
221
|
+
folder: domain/design
|
|
222
|
+
|
|
118
223
|
leadership:
|
|
119
224
|
description: Tech lead and management skills
|
|
120
225
|
folder: leadership
|
|
@@ -128,3 +233,5 @@ core_skills:
|
|
|
128
233
|
- code-review
|
|
129
234
|
- git-automation
|
|
130
235
|
- retrospect-work
|
|
236
|
+
- agent-creation
|
|
237
|
+
- sequential-thinking
|