oh-my-customcode 0.9.3 → 0.10.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/README.md +19 -20
- package/dist/cli/index.js +1186 -877
- package/dist/index.js +281 -24
- package/package.json +1 -1
- package/templates/.claude/agents/arch-documenter.md +7 -71
- package/templates/.claude/agents/arch-speckit-agent.md +21 -108
- package/templates/.claude/agents/be-express-expert.md +8 -58
- package/templates/.claude/agents/be-nestjs-expert.md +6 -38
- package/templates/.claude/agents/be-springboot-expert.md +11 -56
- package/templates/.claude/agents/db-postgres-expert.md +10 -80
- package/templates/.claude/agents/db-redis-expert.md +10 -75
- package/templates/.claude/agents/db-supabase-expert.md +12 -48
- package/templates/.claude/agents/de-airflow-expert.md +8 -45
- package/templates/.claude/agents/de-dbt-expert.md +8 -46
- package/templates/.claude/agents/de-kafka-expert.md +10 -10
- package/templates/.claude/agents/de-pipeline-expert.md +9 -69
- package/templates/.claude/agents/de-snowflake-expert.md +9 -62
- package/templates/.claude/agents/de-spark-expert.md +10 -54
- package/templates/.claude/agents/fe-svelte-agent.md +5 -41
- package/templates/.claude/agents/fe-vercel-agent.md +9 -41
- package/templates/.claude/agents/fe-vuejs-agent.md +7 -42
- package/templates/.claude/agents/lang-java21-expert.md +11 -37
- package/templates/.claude/agents/mgr-claude-code-bible.md +22 -207
- package/templates/.claude/agents/mgr-creator.md +7 -88
- package/templates/.claude/agents/mgr-gitnerd.md +8 -76
- package/templates/.claude/agents/mgr-sauron.md +27 -20
- package/templates/.claude/agents/mgr-supplier.md +11 -96
- package/templates/.claude/agents/mgr-sync-checker.md +9 -70
- package/templates/.claude/agents/mgr-updater.md +9 -79
- package/templates/.claude/agents/qa-engineer.md +8 -72
- package/templates/.claude/agents/qa-planner.md +2 -3
- package/templates/.claude/agents/qa-writer.md +6 -76
- package/templates/.claude/agents/sys-memory-keeper.md +13 -87
- package/templates/.claude/agents/sys-naggy.md +9 -62
- package/templates/.claude/agents/tool-bun-expert.md +7 -52
- package/templates/.claude/agents/tool-npm-expert.md +6 -64
- package/templates/.claude/agents/tool-optimizer.md +7 -60
- package/templates/.claude/rules/MAY-optimization.md +16 -80
- package/templates/.claude/rules/MUST-agent-design.md +29 -134
- package/templates/.claude/rules/MUST-agent-identification.md +9 -88
- package/templates/.claude/rules/MUST-continuous-improvement.md +10 -117
- package/templates/.claude/rules/MUST-intent-transparency.md +14 -171
- package/templates/.claude/rules/MUST-language-policy.md +11 -46
- package/templates/.claude/rules/MUST-orchestrator-coordination.md +82 -425
- package/templates/.claude/rules/MUST-parallel-execution.md +33 -405
- package/templates/.claude/rules/MUST-permissions.md +14 -68
- package/templates/.claude/rules/MUST-safety.md +11 -57
- package/templates/.claude/rules/MUST-sync-verification.md +49 -205
- package/templates/.claude/rules/MUST-tool-identification.md +21 -134
- package/templates/.claude/rules/SHOULD-agent-teams.md +22 -166
- package/templates/.claude/rules/SHOULD-ecomode.md +15 -123
- package/templates/.claude/rules/SHOULD-error-handling.md +19 -88
- package/templates/.claude/rules/SHOULD-hud-statusline.md +9 -89
- package/templates/.claude/rules/SHOULD-interaction.md +18 -87
- package/templates/.claude/rules/SHOULD-memory-integration.md +25 -118
- package/templates/.claude/skills/dev-lead-routing/SKILL.md +70 -243
- package/templates/.claude/skills/springboot-best-practices/SKILL.md +180 -319
- package/templates/.codex/agents/arch-documenter.md +7 -71
- package/templates/.codex/agents/arch-speckit-agent.md +21 -108
- package/templates/.codex/agents/be-express-expert.md +8 -58
- package/templates/.codex/agents/be-nestjs-expert.md +6 -38
- package/templates/.codex/agents/be-springboot-expert.md +11 -56
- package/templates/.codex/agents/db-postgres-expert.md +10 -80
- package/templates/.codex/agents/db-redis-expert.md +10 -75
- package/templates/.codex/agents/db-supabase-expert.md +12 -48
- package/templates/.codex/agents/de-airflow-expert.md +8 -45
- package/templates/.codex/agents/de-dbt-expert.md +8 -46
- package/templates/.codex/agents/de-kafka-expert.md +10 -10
- package/templates/.codex/agents/de-pipeline-expert.md +9 -69
- package/templates/.codex/agents/de-snowflake-expert.md +9 -62
- package/templates/.codex/agents/de-spark-expert.md +10 -54
- package/templates/.codex/agents/fe-svelte-agent.md +5 -41
- package/templates/.codex/agents/fe-vercel-agent.md +9 -41
- package/templates/.codex/agents/fe-vuejs-agent.md +7 -42
- package/templates/.codex/agents/infra-aws-expert.md +1 -1
- package/templates/.codex/agents/infra-docker-expert.md +1 -1
- package/templates/.codex/agents/lang-java21-expert.md +11 -37
- package/templates/.codex/agents/mgr-claude-code-bible.md +25 -210
- package/templates/.codex/agents/mgr-creator.md +7 -88
- package/templates/.codex/agents/mgr-gitnerd.md +8 -76
- package/templates/.codex/agents/mgr-sauron.md +30 -23
- package/templates/.codex/agents/mgr-supplier.md +11 -96
- package/templates/.codex/agents/mgr-sync-checker.md +12 -73
- package/templates/.codex/agents/mgr-updater.md +9 -79
- package/templates/.codex/agents/qa-engineer.md +8 -72
- package/templates/.codex/agents/qa-planner.md +2 -3
- package/templates/.codex/agents/qa-writer.md +6 -76
- package/templates/.codex/agents/sys-memory-keeper.md +13 -87
- package/templates/.codex/agents/sys-naggy.md +9 -62
- package/templates/.codex/agents/tool-bun-expert.md +7 -52
- package/templates/.codex/agents/tool-npm-expert.md +6 -64
- package/templates/.codex/agents/tool-optimizer.md +7 -60
- package/templates/.codex/codex-native-hash.txt +1 -0
- package/templates/.codex/rules/MAY-optimization.md +16 -80
- package/templates/.codex/rules/MUST-agent-design.md +29 -134
- package/templates/.codex/rules/MUST-agent-identification.md +9 -88
- package/templates/.codex/rules/MUST-continuous-improvement.md +10 -117
- package/templates/.codex/rules/MUST-intent-transparency.md +14 -171
- package/templates/.codex/rules/MUST-language-policy.md +11 -46
- package/templates/.codex/rules/MUST-orchestrator-coordination.md +82 -425
- package/templates/.codex/rules/MUST-parallel-execution.md +33 -405
- package/templates/.codex/rules/MUST-permissions.md +14 -68
- package/templates/.codex/rules/MUST-safety.md +11 -57
- package/templates/.codex/rules/MUST-sync-verification.md +58 -214
- package/templates/.codex/rules/MUST-tool-identification.md +22 -135
- package/templates/.codex/rules/SHOULD-agent-teams.md +22 -166
- package/templates/.codex/rules/SHOULD-ecomode.md +15 -123
- package/templates/.codex/rules/SHOULD-error-handling.md +19 -88
- package/templates/.codex/rules/SHOULD-hud-statusline.md +9 -89
- package/templates/.codex/rules/SHOULD-interaction.md +18 -87
- package/templates/.codex/rules/SHOULD-memory-integration.md +25 -118
- package/templates/.codex/skills/dev-lead-routing/SKILL.md +70 -243
- package/templates/.codex/skills/springboot-best-practices/SKILL.md +180 -319
|
@@ -1,103 +1,34 @@
|
|
|
1
1
|
# [SHOULD] Interaction Rules
|
|
2
2
|
|
|
3
|
-
> **Priority**: SHOULD
|
|
4
|
-
> **Exception**: Emergency or explicit user request
|
|
3
|
+
> **Priority**: SHOULD | **ID**: R003
|
|
5
4
|
|
|
6
5
|
## Response Principles
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
✗ Over-explanation
|
|
14
|
-
✗ Repetitive confirmation
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
### 2. Clarity
|
|
18
|
-
```
|
|
19
|
-
✓ Specific expressions
|
|
20
|
-
✓ Unambiguous instructions
|
|
21
|
-
✓ Executable code format
|
|
22
|
-
✗ Abstract descriptions only
|
|
23
|
-
✗ Overuse of "maybe", "probably"
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### 3. Transparency
|
|
27
|
-
```
|
|
28
|
-
✓ State actions performed
|
|
29
|
-
✓ Report changes
|
|
30
|
-
✓ Acknowledge uncertainty
|
|
31
|
-
✗ Hide actions
|
|
32
|
-
✗ Present guesses as facts
|
|
33
|
-
```
|
|
7
|
+
| Principle | Do | Don't |
|
|
8
|
+
|-----------|-----|-------|
|
|
9
|
+
| Brevity | Key info first, answer only what's asked | Over-explanation, repetitive confirmation |
|
|
10
|
+
| Clarity | Specific expressions, executable code | Abstract descriptions, "maybe"/"probably" |
|
|
11
|
+
| Transparency | State actions, report changes, acknowledge uncertainty | Hide actions, present guesses as facts |
|
|
34
12
|
|
|
35
|
-
## Status
|
|
13
|
+
## Status Format
|
|
36
14
|
|
|
37
|
-
### Start
|
|
38
15
|
```
|
|
39
16
|
[Start] {task name}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### In Progress
|
|
43
|
-
```
|
|
44
17
|
[Progress] {current step} ({n}/{total})
|
|
18
|
+
[Done] {task name} — Result: {summary}
|
|
19
|
+
[Failed] {task name} — Cause: {reason} — Alternative: {solutions}
|
|
45
20
|
```
|
|
46
21
|
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
[Done] {task name}
|
|
50
|
-
Result: {summary}
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Failed
|
|
54
|
-
```
|
|
55
|
-
[Failed] {task name}
|
|
56
|
-
Cause: {reason}
|
|
57
|
-
Alternative: {possible solutions}
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Handling Requests
|
|
61
|
-
|
|
62
|
-
### Clear Request
|
|
63
|
-
→ Execute immediately
|
|
64
|
-
|
|
65
|
-
### Ambiguous Request
|
|
66
|
-
```
|
|
67
|
-
[Confirm]
|
|
68
|
-
Understood "{request}" as {interpretation}.
|
|
69
|
-
|
|
70
|
-
Proceed?
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### Risky Request
|
|
74
|
-
```
|
|
75
|
-
[Warning]
|
|
76
|
-
This action has {risk factor}.
|
|
22
|
+
## Request Handling
|
|
77
23
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
24
|
+
| Type | Action |
|
|
25
|
+
|------|--------|
|
|
26
|
+
| Clear | Execute immediately |
|
|
27
|
+
| Ambiguous | `[Confirm] Understood "{request}" as {interpretation}. Proceed?` |
|
|
28
|
+
| Risky | `[Warning] This action has {risk}. Continue? Yes: {action} / No: Cancel` |
|
|
82
29
|
|
|
83
30
|
## Multiple Tasks
|
|
84
31
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
2
|
|
88
|
-
|
|
89
|
-
### Report
|
|
90
|
-
```
|
|
91
|
-
[Task 1/3] Done - {result}
|
|
92
|
-
[Task 2/3] In progress...
|
|
93
|
-
[Task 3/3] Pending
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## Long-running Tasks
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
[In Progress] {task name}
|
|
100
|
-
Elapsed: {time}
|
|
101
|
-
Current: {step}
|
|
102
|
-
Remaining: {work left}
|
|
103
|
-
```
|
|
32
|
+
- Dependent: Sequential
|
|
33
|
+
- Independent: Parallel allowed
|
|
34
|
+
- Report: `[Task 1/3] Done` / `[Task 2/3] In progress...` / `[Task 3/3] Pending`
|
|
@@ -1,132 +1,39 @@
|
|
|
1
1
|
# [SHOULD] Memory Integration Rules
|
|
2
2
|
|
|
3
|
-
> **Priority**: SHOULD
|
|
4
|
-
> **ID**: R011
|
|
3
|
+
> **Priority**: SHOULD | **ID**: R011
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## Architecture
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
**Primary**: Native auto memory (`memory` field in agent frontmatter). No external dependencies.
|
|
8
|
+
**Supplementary**: claude-mem MCP (optional, for cross-session search and temporal queries).
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
Primary: Native Auto Memory (memory field in agent frontmatter)
|
|
14
|
-
- Agent-specific persistent knowledge
|
|
15
|
-
- Automatic system prompt injection (MEMORY.md)
|
|
16
|
-
- No external dependencies
|
|
17
|
-
|
|
18
|
-
Supplementary: claude-mem MCP (optional)
|
|
19
|
-
- Session-level temporal observations
|
|
20
|
-
- Cross-agent semantic search
|
|
21
|
-
- Only if installed and configured
|
|
22
|
-
|
|
23
|
-
RULE: If native auto memory can handle the task,
|
|
24
|
-
DO NOT use claude-mem.
|
|
25
|
-
```
|
|
10
|
+
Rule: If native auto memory can handle it, do NOT use claude-mem.
|
|
26
11
|
|
|
27
12
|
## Native Auto Memory
|
|
28
13
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
```yaml
|
|
33
|
-
memory: project # or user, local
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
2. System automatically:
|
|
37
|
-
- Creates memory directory for the agent
|
|
38
|
-
- Loads first 200 lines of MEMORY.md into system prompt
|
|
39
|
-
- Enables Read/Write/Edit tools for memory directory
|
|
40
|
-
- Agent learns and records patterns across conversations
|
|
41
|
-
|
|
42
|
-
### Memory Scopes
|
|
43
|
-
|
|
44
|
-
| Scope | Location | Use Case | Git Tracked |
|
|
45
|
-
|-------|----------|----------|-------------|
|
|
46
|
-
| `user` | `~/.codex/agent-memory/<name>/` | Cross-project patterns | No |
|
|
47
|
-
| `project` | `.codex/agent-memory/<name>/` | Project-specific patterns | Yes |
|
|
48
|
-
| `local` | `.codex/agent-memory-local/<name>/` | Local-only knowledge | No |
|
|
49
|
-
|
|
50
|
-
### Current Agent Memory Map
|
|
51
|
-
|
|
52
|
-
| Scope | Agents | Count |
|
|
53
|
-
|-------|--------|-------|
|
|
54
|
-
| `project` | lang-*, be-*, fe-*, arch-*, tool-*, qa-*, mgr-creator, mgr-updater, mgr-gitnerd, mgr-sauron, mgr-claude-code-bible, sys-memory-keeper | 28 |
|
|
55
|
-
| `user` | infra-docker-expert, infra-aws-expert, db-supabase-expert | 3 |
|
|
56
|
-
| `local` | mgr-supplier, mgr-sync-checker, sys-naggy | 3 |
|
|
57
|
-
|
|
58
|
-
### Memory Best Practices
|
|
59
|
-
|
|
60
|
-
```yaml
|
|
61
|
-
do:
|
|
62
|
-
- Let agents consult memory before starting work
|
|
63
|
-
- Update memory after discovering patterns or conventions
|
|
64
|
-
- Keep MEMORY.md under 200 lines (auto-curate if exceeded)
|
|
65
|
-
- Use separate topic files for detailed notes
|
|
14
|
+
Agent frontmatter `memory: project|user|local` enables persistent memory:
|
|
15
|
+
- System creates memory directory, loads first 200 lines of MEMORY.md into prompt
|
|
16
|
+
- Read/Write/Edit tools auto-enabled for memory directory
|
|
66
17
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
18
|
+
| Scope | Location | Git Tracked |
|
|
19
|
+
|-------|----------|-------------|
|
|
20
|
+
| `user` | `~/.claude/agent-memory/<name>/` | No |
|
|
21
|
+
| `project` | `.claude/agent-memory/<name>/` | Yes |
|
|
22
|
+
| `local` | `.claude/agent-memory-local/<name>/` | No |
|
|
72
23
|
|
|
73
|
-
##
|
|
24
|
+
## When to Use claude-mem
|
|
74
25
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### When to Use claude-mem
|
|
79
|
-
|
|
80
|
-
| Scenario | Use Native Memory | Use claude-mem |
|
|
81
|
-
|----------|------------------|---------------|
|
|
26
|
+
| Scenario | Native | claude-mem |
|
|
27
|
+
|----------|--------|------------|
|
|
82
28
|
| Agent learns project patterns | Yes | |
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
| Cross-agent knowledge sharing | | Yes |
|
|
87
|
-
| Basic context persistence | Yes | |
|
|
88
|
-
|
|
89
|
-
### claude-mem Integration (if installed)
|
|
90
|
-
|
|
91
|
-
```yaml
|
|
92
|
-
provider: claude-mem
|
|
93
|
-
collection: claude_memories
|
|
94
|
-
project_tag: my-project
|
|
95
|
-
status: optional
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
## Context Compaction
|
|
99
|
-
|
|
100
|
-
### Compaction Controls
|
|
101
|
-
|
|
102
|
-
```yaml
|
|
103
|
-
# Targeted compaction - preserve specific context
|
|
104
|
-
/compact focus on {topic}
|
|
105
|
-
|
|
106
|
-
# Examples
|
|
107
|
-
/compact focus on agent routing decisions
|
|
108
|
-
/compact focus on authentication implementation
|
|
109
|
-
/compact focus on test failures and fixes
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### Best Practices
|
|
113
|
-
|
|
114
|
-
```
|
|
115
|
-
do:
|
|
116
|
-
- Use /compact focus when nearing context limits
|
|
117
|
-
- Focus on the most relevant topic for current work
|
|
118
|
-
- Let auto-compaction handle routine cleanup
|
|
119
|
-
|
|
120
|
-
dont:
|
|
121
|
-
- Manually compact when not near limits
|
|
122
|
-
- Lose important decision context by unfocused compaction
|
|
123
|
-
```
|
|
29
|
+
| Search across sessions | | Yes |
|
|
30
|
+
| Temporal queries | | Yes |
|
|
31
|
+
| Cross-agent sharing | | Yes |
|
|
124
32
|
|
|
125
|
-
##
|
|
33
|
+
## Best Practices
|
|
126
34
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
```
|
|
35
|
+
- Consult memory before starting work
|
|
36
|
+
- Update after discovering patterns
|
|
37
|
+
- Keep MEMORY.md under 200 lines
|
|
38
|
+
- Do not store sensitive data or duplicate CLAUDE.md content
|
|
39
|
+
- Memory write failures should not block main task
|
|
@@ -4,250 +4,77 @@ description: Routes development tasks to the correct language or framework exper
|
|
|
4
4
|
user-invocable: false
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Dev Lead Routing
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
|
16
|
-
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
|
30
|
-
|
|
31
|
-
| `.
|
|
32
|
-
| `.
|
|
33
|
-
| `.
|
|
34
|
-
| `.
|
|
35
|
-
| `.
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
|
49
|
-
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
|
71
|
-
|
|
72
|
-
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
Development Request → Detection → Expert Agent
|
|
78
|
-
|
|
79
|
-
Go code → lang-golang-expert
|
|
80
|
-
Python code → lang-python-expert
|
|
81
|
-
TypeScript → lang-typescript-expert
|
|
82
|
-
FastAPI → be-fastapi-expert
|
|
83
|
-
Multi-lang → Multiple experts (parallel)
|
|
84
|
-
```
|
|
7
|
+
# Dev Lead Routing
|
|
8
|
+
|
|
9
|
+
## Engineers
|
|
10
|
+
|
|
11
|
+
| Type | Agents |
|
|
12
|
+
|------|--------|
|
|
13
|
+
| Language | lang-golang-expert, lang-python-expert, lang-rust-expert, lang-kotlin-expert, lang-typescript-expert, lang-java21-expert |
|
|
14
|
+
| Frontend | fe-vercel-agent, fe-vuejs-agent, fe-svelte-agent |
|
|
15
|
+
| Backend | be-fastapi-expert, be-springboot-expert, be-go-backend-expert, be-nestjs-expert, be-express-expert |
|
|
16
|
+
| Tooling | tool-npm-expert, tool-optimizer, tool-bun-expert |
|
|
17
|
+
| Database | db-supabase-expert, db-postgres-expert, db-redis-expert |
|
|
18
|
+
| Architect | arch-documenter, arch-speckit-agent |
|
|
19
|
+
| Infra | infra-docker-expert, infra-aws-expert |
|
|
20
|
+
|
|
21
|
+
## File Extension Mapping
|
|
22
|
+
|
|
23
|
+
| Extension | Agent |
|
|
24
|
+
|-----------|-------|
|
|
25
|
+
| `.go` | lang-golang-expert |
|
|
26
|
+
| `.py` | lang-python-expert |
|
|
27
|
+
| `.rs` | lang-rust-expert |
|
|
28
|
+
| `.kt`, `.kts` | lang-kotlin-expert |
|
|
29
|
+
| `.ts`, `.tsx` | lang-typescript-expert |
|
|
30
|
+
| `.java` | lang-java21-expert |
|
|
31
|
+
| `.js/.jsx` (React) | fe-vercel-agent |
|
|
32
|
+
| `.vue` | fe-vuejs-agent |
|
|
33
|
+
| `.svelte` | fe-svelte-agent |
|
|
34
|
+
| `.sql` (PG) | db-postgres-expert |
|
|
35
|
+
| `.sql` (Supabase) | db-supabase-expert |
|
|
36
|
+
| `Dockerfile`, `*.dockerfile` | infra-docker-expert |
|
|
37
|
+
| `*.tf`, `*.tfvars` | infra-aws-expert |
|
|
38
|
+
| `*.yaml`, `*.yml` (CloudFormation) | infra-aws-expert |
|
|
39
|
+
|
|
40
|
+
## Keyword Mapping
|
|
41
|
+
|
|
42
|
+
| Keywords | Agent |
|
|
43
|
+
|----------|-------|
|
|
44
|
+
| go, golang | lang-golang-expert |
|
|
45
|
+
| python, py | lang-python-expert |
|
|
46
|
+
| rust | lang-rust-expert |
|
|
47
|
+
| kotlin | lang-kotlin-expert |
|
|
48
|
+
| typescript, ts | lang-typescript-expert |
|
|
49
|
+
| java | lang-java21-expert |
|
|
50
|
+
| react, next.js, vercel | fe-vercel-agent |
|
|
51
|
+
| vue | fe-vuejs-agent |
|
|
52
|
+
| svelte | fe-svelte-agent |
|
|
53
|
+
| fastapi | be-fastapi-expert |
|
|
54
|
+
| spring, springboot | be-springboot-expert |
|
|
55
|
+
| nestjs | be-nestjs-expert |
|
|
56
|
+
| express | be-express-expert |
|
|
57
|
+
| npm | tool-npm-expert |
|
|
58
|
+
| optimize, bundle | tool-optimizer |
|
|
59
|
+
| bun | tool-bun-expert |
|
|
60
|
+
| postgres, postgresql, psql, pg_stat | db-postgres-expert |
|
|
61
|
+
| redis, cache, pub/sub, sorted set | db-redis-expert |
|
|
62
|
+
| supabase, rls, edge function | db-supabase-expert |
|
|
63
|
+
| docker, dockerfile, container, compose | infra-docker-expert |
|
|
64
|
+
| aws, cloudformation, vpc, iam, s3, lambda, cdk, terraform | infra-aws-expert |
|
|
65
|
+
| architecture, adr, openapi, swagger, diagram | arch-documenter |
|
|
66
|
+
| spec, specification, tdd, requirements | arch-speckit-agent |
|
|
67
|
+
|
|
68
|
+
## Model Selection
|
|
69
|
+
|
|
70
|
+
| Task | Model |
|
|
71
|
+
|------|-------|
|
|
72
|
+
| Architecture analysis | opus |
|
|
73
|
+
| Code review/implementation | sonnet |
|
|
74
|
+
| Quick validation/search | haiku |
|
|
85
75
|
|
|
86
76
|
## Routing Rules
|
|
87
77
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```
|
|
91
|
-
1. Receive review request
|
|
92
|
-
2. Identify file types and languages:
|
|
93
|
-
- Use Glob to find files
|
|
94
|
-
- Parse file extensions
|
|
95
|
-
- Detect framework (package.json, go.mod, etc.)
|
|
96
|
-
3. Select appropriate experts
|
|
97
|
-
4. Distribute files to experts (parallel if 2+ languages)
|
|
98
|
-
5. Aggregate review findings
|
|
99
|
-
6. Present unified report
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Example:
|
|
103
|
-
```
|
|
104
|
-
User: "Review src/*.go src/*.py src/*.ts"
|
|
105
|
-
|
|
106
|
-
Detection:
|
|
107
|
-
- src/*.go → lang-golang-expert
|
|
108
|
-
- src/*.py → lang-python-expert
|
|
109
|
-
- src/*.ts → lang-typescript-expert
|
|
110
|
-
|
|
111
|
-
Route (parallel):
|
|
112
|
-
Task(lang-golang-expert role → review src/*.go, model: "sonnet")
|
|
113
|
-
Task(lang-python-expert role → review src/*.py, model: "sonnet")
|
|
114
|
-
Task(lang-typescript-expert role → review src/*.ts, model: "sonnet")
|
|
115
|
-
|
|
116
|
-
Aggregate:
|
|
117
|
-
Go: 2 issues found
|
|
118
|
-
Python: Clean
|
|
119
|
-
TypeScript: 5 suggestions
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### 2. Feature Implementation Workflow
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
1. Analyze feature requirements
|
|
126
|
-
2. Identify affected components:
|
|
127
|
-
- Backend API → backend expert
|
|
128
|
-
- Frontend UI → frontend expert
|
|
129
|
-
- Multiple layers → multiple experts
|
|
130
|
-
3. Select required experts
|
|
131
|
-
4. Coordinate implementation (sequential if dependent, parallel if independent)
|
|
132
|
-
5. Ensure consistency across languages
|
|
133
|
-
6. Report completion status
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### 3. Multi-Language Projects
|
|
137
|
-
|
|
138
|
-
For projects with multiple languages:
|
|
139
|
-
|
|
140
|
-
```
|
|
141
|
-
1. Detect all languages in project
|
|
142
|
-
2. Identify primary language (most files)
|
|
143
|
-
3. Route to appropriate experts:
|
|
144
|
-
- If task spans multiple languages → parallel experts
|
|
145
|
-
- If task is language-specific → single expert
|
|
146
|
-
4. Coordinate cross-language consistency
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## Sub-agent Model Selection
|
|
150
|
-
|
|
151
|
-
### Model Mapping by Task Type
|
|
152
|
-
|
|
153
|
-
| Task Type | Recommended Model | Reason |
|
|
154
|
-
|-----------|-------------------|--------|
|
|
155
|
-
| Architecture analysis | `opus` | Deep reasoning required |
|
|
156
|
-
| Code review | `sonnet` | Balanced quality judgment |
|
|
157
|
-
| Code implementation | `sonnet` | Standard code generation |
|
|
158
|
-
| Refactoring | `sonnet` | Balanced transformation |
|
|
159
|
-
| Quick validation | `haiku` | Fast response |
|
|
160
|
-
| File search | `haiku` | Simple operation |
|
|
161
|
-
|
|
162
|
-
### Model Mapping by Agent
|
|
163
|
-
|
|
164
|
-
| Agent Type | Default Model | Alternative |
|
|
165
|
-
|------------|---------------|-------------|
|
|
166
|
-
| Language experts | `sonnet` | `opus` for architecture |
|
|
167
|
-
| Frontend experts | `sonnet` | `haiku` for quick checks |
|
|
168
|
-
| Backend experts | `sonnet` | `opus` for API design |
|
|
169
|
-
| Tooling experts | `haiku` | `sonnet` for complex configs |
|
|
170
|
-
|
|
171
|
-
### Task Call Examples
|
|
172
|
-
|
|
173
|
-
```
|
|
174
|
-
# Complex architecture analysis
|
|
175
|
-
Task(
|
|
176
|
-
subagent_type: "general-purpose",
|
|
177
|
-
prompt: "Analyze module dependencies and suggest improvements for src/",
|
|
178
|
-
model: "opus"
|
|
179
|
-
)
|
|
180
|
-
|
|
181
|
-
# Standard code review
|
|
182
|
-
Task(
|
|
183
|
-
subagent_type: "general-purpose",
|
|
184
|
-
prompt: "Review Go code in src/handlers/ following lang-golang-expert guidelines",
|
|
185
|
-
model: "sonnet"
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
# Quick file search
|
|
189
|
-
Task(
|
|
190
|
-
subagent_type: "Explore",
|
|
191
|
-
prompt: "Find all files importing auth package",
|
|
192
|
-
model: "haiku"
|
|
193
|
-
)
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
## Parallel Execution
|
|
197
|
-
|
|
198
|
-
Following R009:
|
|
199
|
-
- Maximum 4 parallel instances
|
|
200
|
-
- Only worker agents (sw-engineer/*)
|
|
201
|
-
- Independent file/module reviews
|
|
202
|
-
- Coordinate cross-expert consistency
|
|
203
|
-
|
|
204
|
-
Example:
|
|
205
|
-
```
|
|
206
|
-
User: "Review all backend APIs"
|
|
207
|
-
|
|
208
|
-
Detection:
|
|
209
|
-
- src/api/go/ → lang-golang-expert
|
|
210
|
-
- src/api/python/ → lang-python-expert
|
|
211
|
-
- src/api/kotlin/ → lang-kotlin-expert
|
|
212
|
-
|
|
213
|
-
Route (parallel):
|
|
214
|
-
Task(lang-golang-expert role → review src/api/go/, model: "sonnet")
|
|
215
|
-
Task(lang-python-expert role → review src/api/python/, model: "sonnet")
|
|
216
|
-
Task(lang-kotlin-expert role → review src/api/kotlin/, model: "sonnet")
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
## Display Format
|
|
220
|
-
|
|
221
|
-
```
|
|
222
|
-
[Analyzing] Detected: Go, Python, TypeScript
|
|
223
|
-
|
|
224
|
-
[Delegating] lang-golang-expert:sonnet → 5 Go files
|
|
225
|
-
[Delegating] lang-python-expert:sonnet → 3 Python files
|
|
226
|
-
[Delegating] lang-typescript-expert:sonnet → 8 TypeScript files
|
|
227
|
-
|
|
228
|
-
[Progress] ███████████░ 2/3 experts completed
|
|
229
|
-
|
|
230
|
-
[Summary]
|
|
231
|
-
Go: 2 issues found
|
|
232
|
-
Python: Clean
|
|
233
|
-
TypeScript: 5 suggestions
|
|
234
|
-
|
|
235
|
-
Review completed.
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
## Integration with Other Agents
|
|
239
|
-
|
|
240
|
-
- Receives requirements from arch-speckit-agent (sw-architect)
|
|
241
|
-
- Reports to qa-lead for quality assurance
|
|
242
|
-
- Coordinates with tooling experts (tool-npm-expert, tool-optimizer) for build/deploy
|
|
243
|
-
|
|
244
|
-
## Usage
|
|
245
|
-
|
|
246
|
-
This skill is NOT user-invocable. It should be automatically triggered when the main conversation detects development intent.
|
|
78
|
+
Multi-language: detect all languages, route to parallel experts (max 4). Single-language: route to matching expert. Cross-layer (frontend + backend): multiple experts in parallel.
|
|
247
79
|
|
|
248
|
-
|
|
249
|
-
- User requests code review
|
|
250
|
-
- User mentions language/framework name
|
|
251
|
-
- User provides file paths for review
|
|
252
|
-
- User requests refactoring/implementation
|
|
253
|
-
- User uses dev:* commands
|
|
80
|
+
Not user-invocable. Auto-triggered on development intent.
|