oh-my-customcode 0.9.2 → 0.9.4
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 +25 -30
- package/dist/cli/index.js +1315 -568
- package/dist/index.js +234 -17
- 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/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
|
@@ -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.
|