oh-my-customcode 0.42.1 → 0.42.3
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/package.json +1 -1
- package/templates/.claude/rules/MUST-agent-design.md +2 -2
- package/templates/.claude/rules/MUST-agent-teams.md +37 -1
- package/templates/.claude/skills/deep-plan/SKILL.md +1 -0
- package/templates/CLAUDE.md +2 -2
- package/templates/CLAUDE.md.en +1 -1
- package/templates/CLAUDE.md.ko +1 -1
- package/templates/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -203,10 +203,10 @@ Use `context: fork` for skills that orchestrate multi-agent workflows. Cap at **
|
|
|
203
203
|
| Multi-agent coordination patterns | Single-agent reference skills |
|
|
204
204
|
| Task decomposition/planning | External tool integrations |
|
|
205
205
|
|
|
206
|
-
Current skills with `context: fork` (
|
|
206
|
+
Current skills with `context: fork` (9/12 cap):
|
|
207
207
|
- secretary-routing, dev-lead-routing, de-lead-routing, qa-lead-routing
|
|
208
208
|
- dag-orchestration, task-decomposition, worker-reviewer-pipeline, pipeline-guards
|
|
209
|
-
- deep-plan
|
|
209
|
+
- deep-plan
|
|
210
210
|
|
|
211
211
|
## Naming
|
|
212
212
|
|
|
@@ -13,6 +13,7 @@ Available when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` or TeamCreate/SendMessag
|
|
|
13
13
|
| Scenario | Preferred | Reason |
|
|
14
14
|
|----------|-----------|--------|
|
|
15
15
|
| Simple independent subtasks | Agent Tool | Lower cost, no coordination overhead |
|
|
16
|
+
| Sequential-dependency init/scaffolding | Agent Tool | Blocked agents waste tokens polling; single agent faster |
|
|
16
17
|
| Multi-step with shared state | **Agent Teams** | Shared task list, peer messaging |
|
|
17
18
|
| Research requiring discussion | **Agent Teams** | Iterative discovery, synthesis |
|
|
18
19
|
| Cost-sensitive batch ops | Agent Tool | Minimal token overhead |
|
|
@@ -46,9 +47,14 @@ Before using Agent tool for 2+ agent tasks, complete this check:
|
|
|
46
47
|
║ ║
|
|
47
48
|
║ 4. Are 2+ issues being fixed in the same release batch? ║
|
|
48
49
|
║ YES → prefer Agent Teams (coordination benefit) ║
|
|
49
|
-
║ NO →
|
|
50
|
+
║ NO → Check #5 ║
|
|
51
|
+
║ ║
|
|
52
|
+
║ 5. Are tasks sequentially dependent (init/scaffold)? ║
|
|
53
|
+
║ YES → prefer Agent Tool (single agent, no coordination) ║
|
|
54
|
+
║ NO → Continue with Agent Teams ║
|
|
50
55
|
║ ║
|
|
51
56
|
║ Simple rule: 3+ agents OR review cycle → use Agent Teams ║
|
|
57
|
+
║ Sequential deps / scaffolding → Agent Tool (single agent) ║
|
|
52
58
|
║ 2+ issues in same batch → prefer Agent Teams ║
|
|
53
59
|
║ Everything else → Agent tool ║
|
|
54
60
|
╚══════════════════════════════════════════════════════════════════╝
|
|
@@ -189,6 +195,36 @@ When Agent Teams creates a new agent via mgr-creator:
|
|
|
189
195
|
4. New agent joins team immediately
|
|
190
196
|
5. Team continues with expanded capabilities
|
|
191
197
|
|
|
198
|
+
## Blocked Agent Behavior
|
|
199
|
+
|
|
200
|
+
When a team member is blocked by task dependencies:
|
|
201
|
+
|
|
202
|
+
| Strategy | When | Benefit |
|
|
203
|
+
|----------|------|---------|
|
|
204
|
+
| Deferred spawn | Dependency chain is clear | No wasted tokens; spawn after blocker completes |
|
|
205
|
+
| Silent wait | Agent already spawned, short wait expected | Minimal overhead |
|
|
206
|
+
| Reassign | Agent blocked >2 min with no progress | Reuse agent for unblocked work |
|
|
207
|
+
|
|
208
|
+
### Prompt Guidelines for Blocked Agents
|
|
209
|
+
|
|
210
|
+
When spawning agents that may be blocked:
|
|
211
|
+
1. Include explicit instruction: "If your task is blocked, wait silently. Do NOT send periodic status messages."
|
|
212
|
+
2. Set check interval: "Check TaskList once per minute, not continuously."
|
|
213
|
+
3. Prefer deferred spawn when the dependency resolution time is unpredictable.
|
|
214
|
+
|
|
215
|
+
### Anti-Pattern: Idle Polling
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
❌ WRONG: Blocked agent sends repeated status messages
|
|
219
|
+
docker-dev: "Task #1 still pending..." (×5 messages, wasting tokens)
|
|
220
|
+
|
|
221
|
+
✓ CORRECT: Deferred spawn after dependency resolves
|
|
222
|
+
(Task #1 completes) → then spawn docker-dev for Task #3
|
|
223
|
+
|
|
224
|
+
✓ ALSO CORRECT: Silent wait with infrequent checks
|
|
225
|
+
docker-dev spawned with: "Wait silently if blocked. Check TaskList once per minute."
|
|
226
|
+
```
|
|
227
|
+
|
|
192
228
|
## Lifecycle
|
|
193
229
|
|
|
194
230
|
```
|
package/templates/CLAUDE.md
CHANGED
|
@@ -131,11 +131,11 @@ project/
|
|
|
131
131
|
+-- CLAUDE.md # 진입점
|
|
132
132
|
+-- .claude/
|
|
133
133
|
| +-- agents/ # 서브에이전트 정의 (44 파일)
|
|
134
|
-
| +-- skills/ # 스킬 (
|
|
134
|
+
| +-- skills/ # 스킬 (75 디렉토리)
|
|
135
135
|
| +-- rules/ # 전역 규칙 (R000-R021)
|
|
136
136
|
| +-- hooks/ # 훅 스크립트 (보안, 검증, HUD)
|
|
137
137
|
| +-- contexts/ # 컨텍스트 파일 (ecomode)
|
|
138
|
-
+-- guides/ # 레퍼런스 문서 (
|
|
138
|
+
+-- guides/ # 레퍼런스 문서 (26 토픽)
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
## 오케스트레이션
|
package/templates/CLAUDE.md.en
CHANGED
|
@@ -133,7 +133,7 @@ project/
|
|
|
133
133
|
| +-- rules/ # Global rules (R000-R020)
|
|
134
134
|
| +-- hooks/ # Hook scripts (security, validation, HUD)
|
|
135
135
|
| +-- contexts/ # Context files (ecomode)
|
|
136
|
-
+-- guides/ # Reference docs (
|
|
136
|
+
+-- guides/ # Reference docs (26 topics)
|
|
137
137
|
```
|
|
138
138
|
|
|
139
139
|
## Orchestration
|
package/templates/CLAUDE.md.ko
CHANGED
package/templates/manifest.json
CHANGED