oh-my-customcode 0.36.1 → 0.37.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/dist/cli/index.js +47 -2
- package/dist/index.js +44 -0
- package/package.json +1 -1
- package/templates/.claude/agents/arch-documenter.md +4 -1
- package/templates/.claude/agents/arch-speckit-agent.md +15 -0
- package/templates/.claude/agents/be-django-expert.md +1 -0
- package/templates/.claude/agents/be-express-expert.md +1 -0
- package/templates/.claude/agents/be-fastapi-expert.md +1 -0
- package/templates/.claude/agents/be-go-backend-expert.md +1 -0
- package/templates/.claude/agents/be-nestjs-expert.md +1 -0
- package/templates/.claude/agents/be-springboot-expert.md +1 -0
- package/templates/.claude/agents/db-postgres-expert.md +1 -0
- package/templates/.claude/agents/db-redis-expert.md +1 -0
- package/templates/.claude/agents/db-supabase-expert.md +1 -0
- package/templates/.claude/agents/de-airflow-expert.md +1 -0
- package/templates/.claude/agents/de-dbt-expert.md +1 -0
- package/templates/.claude/agents/de-kafka-expert.md +1 -0
- package/templates/.claude/agents/de-pipeline-expert.md +1 -0
- package/templates/.claude/agents/de-snowflake-expert.md +1 -0
- package/templates/.claude/agents/de-spark-expert.md +1 -0
- package/templates/.claude/agents/fe-flutter-agent.md +1 -0
- package/templates/.claude/agents/fe-svelte-agent.md +1 -0
- package/templates/.claude/agents/fe-vercel-agent.md +1 -0
- package/templates/.claude/agents/fe-vuejs-agent.md +1 -0
- package/templates/.claude/agents/infra-aws-expert.md +1 -0
- package/templates/.claude/agents/infra-docker-expert.md +1 -0
- package/templates/.claude/agents/lang-golang-expert.md +1 -0
- package/templates/.claude/agents/lang-java21-expert.md +3 -0
- package/templates/.claude/agents/lang-kotlin-expert.md +1 -0
- package/templates/.claude/agents/lang-python-expert.md +1 -0
- package/templates/.claude/agents/lang-rust-expert.md +1 -0
- package/templates/.claude/agents/lang-typescript-expert.md +1 -0
- package/templates/.claude/agents/mgr-claude-code-bible.md +1 -2
- package/templates/.claude/agents/mgr-creator.md +1 -0
- package/templates/.claude/agents/mgr-gitnerd.md +1 -0
- package/templates/.claude/agents/mgr-sauron.md +5 -2
- package/templates/.claude/agents/mgr-supplier.md +1 -3
- package/templates/.claude/agents/mgr-updater.md +1 -0
- package/templates/.claude/agents/qa-engineer.md +1 -0
- package/templates/.claude/agents/qa-planner.md +4 -1
- package/templates/.claude/agents/qa-writer.md +1 -1
- package/templates/.claude/agents/sec-codeql-expert.md +4 -2
- package/templates/.claude/agents/sys-memory-keeper.md +30 -0
- package/templates/.claude/agents/sys-naggy.md +36 -2
- package/templates/.claude/agents/tool-bun-expert.md +1 -1
- package/templates/.claude/agents/tool-npm-expert.md +1 -1
- package/templates/.claude/agents/tool-optimizer.md +1 -2
- package/templates/.claude/hooks/hooks.json +37 -7
- package/templates/.claude/hooks/scripts/agent-teams-advisor.sh +10 -0
- package/templates/.claude/hooks/scripts/audit-log.sh +55 -0
- package/templates/.claude/hooks/scripts/content-hash-validator.sh +2 -3
- package/templates/.claude/hooks/scripts/schema-validator.sh +103 -0
- package/templates/.claude/hooks/scripts/secret-filter.sh +97 -0
- package/templates/.claude/hooks/scripts/session-compliance-report.sh +65 -0
- package/templates/.claude/rules/MUST-agent-teams.md +0 -23
- package/templates/.claude/rules/MUST-orchestrator-coordination.md +1 -13
- package/templates/.claude/skills/django-best-practices/SKILL.md +27 -134
- package/templates/.claude/skills/flutter-best-practices/SKILL.md +39 -146
- package/templates/.claude/skills/go-backend-best-practices/SKILL.md +29 -233
- package/templates/.claude/skills/java21-best-practices/SKILL.md +48 -163
- package/templates/CLAUDE.md.en +7 -65
- package/templates/CLAUDE.md.ko +7 -65
- package/templates/manifest.json +1 -1
package/templates/CLAUDE.md.en
CHANGED
|
@@ -5,26 +5,7 @@ Powered by oh-my-customcode.
|
|
|
5
5
|
---
|
|
6
6
|
## STOP AND READ BEFORE EVERY RESPONSE
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
+==================================================================+
|
|
10
|
-
| MANDATORY CHECK BEFORE RESPONDING: |
|
|
11
|
-
| |
|
|
12
|
-
| 1. Does my response start with agent identification? |
|
|
13
|
-
| +- Agent: {name} ({type}) |
|
|
14
|
-
| +- Task: {description} |
|
|
15
|
-
| |
|
|
16
|
-
| 2. Do my tool calls include identification? |
|
|
17
|
-
| [agent-name] -> Tool: {tool} |
|
|
18
|
-
| [agent-name] -> Target: {path} |
|
|
19
|
-
| |
|
|
20
|
-
| |
|
|
21
|
-
| 3. Am I about to spawn 2+ agents? |
|
|
22
|
-
| YES -> Check R018: Agent Teams may be REQUIRED |
|
|
23
|
-
| 3+ agents OR review cycle -> Agent Teams (MUST) |
|
|
24
|
-
| |
|
|
25
|
-
| If NO to any -> FIX IMMEDIATELY before continuing |
|
|
26
|
-
+==================================================================+
|
|
27
|
-
```
|
|
8
|
+
1. Response starts with agent identification? (R007) 2. Tool calls include identification? (R008) 3. Spawning 2+ agents? Check R018. → If NO to any, FIX IMMEDIATELY
|
|
28
9
|
|
|
29
10
|
---
|
|
30
11
|
|
|
@@ -62,51 +43,12 @@ NO EXCEPTIONS. NO EXCUSES.
|
|
|
62
43
|
|
|
63
44
|
> **These rules are NON-NEGOTIABLE. Violation = immediate correction required.**
|
|
64
45
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
+- Task: {brief-task-description}
|
|
72
|
-
|
|
73
|
-
NO EXCEPTIONS. Even for simple questions.
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### 2. Tool Usage Identification (ENFORCED)
|
|
77
|
-
```
|
|
78
|
-
EVERY tool call MUST be prefixed with:
|
|
79
|
-
|
|
80
|
-
[agent-name] -> Tool: <tool-name>
|
|
81
|
-
[agent-name] -> Target: <file/path/url>
|
|
82
|
-
|
|
83
|
-
Example:
|
|
84
|
-
[lang-golang-expert] -> Tool: Read
|
|
85
|
-
[lang-golang-expert] -> Target: src/main.go
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### 3. Parallel Execution (ENFORCED for 2+ independent tasks)
|
|
89
|
-
```
|
|
90
|
-
When 2 or more tasks are INDEPENDENT:
|
|
91
|
-
-> MUST spawn parallel agent instances (max 4)
|
|
92
|
-
-> MUST NOT process sequentially
|
|
93
|
-
|
|
94
|
-
Detection: If tasks don't share state or have dependencies -> PARALLEL
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### 4. Orchestrator Coordination (ENFORCED for multi-agent tasks)
|
|
98
|
-
```
|
|
99
|
-
When task requires multiple agents:
|
|
100
|
-
-> Main conversation (orchestrator) MUST coordinate
|
|
101
|
-
-> Main conversation assigns tasks to appropriate agents
|
|
102
|
-
-> Main conversation aggregates results
|
|
103
|
-
-> Orchestrator MUST NEVER directly modify files
|
|
104
|
-
|
|
105
|
-
Flow:
|
|
106
|
-
User -> Main conversation -> [agent-1, agent-2, agent-3] -> Main conversation -> User
|
|
107
|
-
|
|
108
|
-
Violation = immediate correction. No exception for "small changes".
|
|
109
|
-
```
|
|
46
|
+
| Rule | Core | On Violation |
|
|
47
|
+
|------|------|-------------|
|
|
48
|
+
| R007 Agent ID | Every response starts with `┌─ Agent:` header | Add header immediately |
|
|
49
|
+
| R008 Tool ID | Every tool call prefixed with `[agent][model] → Tool:` | Add prefix immediately |
|
|
50
|
+
| R009 Parallel | 2+ independent tasks → parallel agents (max 4) | Stop sequential, switch to parallel |
|
|
51
|
+
| R010 Orchestrator | Orchestrator never modifies files → delegate to subagents | Stop direct modification, delegate |
|
|
110
52
|
|
|
111
53
|
---
|
|
112
54
|
|
package/templates/CLAUDE.md.ko
CHANGED
|
@@ -5,26 +5,7 @@ oh-my-customcode로 구동됩니다.
|
|
|
5
5
|
---
|
|
6
6
|
## 모든 응답 전 반드시 확인
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
+==================================================================+
|
|
10
|
-
| 응답 전 필수 확인사항: |
|
|
11
|
-
| |
|
|
12
|
-
| 1. 내 응답이 에이전트 식별로 시작하는가? |
|
|
13
|
-
| +- Agent: {이름} ({타입}) |
|
|
14
|
-
| +- Task: {설명} |
|
|
15
|
-
| |
|
|
16
|
-
| 2. 도구 호출에 식별 정보가 포함되어 있는가? |
|
|
17
|
-
| [에이전트명] -> Tool: {도구} |
|
|
18
|
-
| [에이전트명] -> Target: {경로} |
|
|
19
|
-
| |
|
|
20
|
-
| |
|
|
21
|
-
| 3. 2개 이상 에이전트를 스폰하려 하는가? |
|
|
22
|
-
| YES -> R018 체크: Agent Teams 필수 여부 확인 |
|
|
23
|
-
| 3+ 에이전트 OR 리뷰 사이클 -> Agent Teams 필수 |
|
|
24
|
-
| |
|
|
25
|
-
| 하나라도 NO면 -> 즉시 수정 후 계속 |
|
|
26
|
-
+==================================================================+
|
|
27
|
-
```
|
|
8
|
+
1. 에이전트 식별로 시작하는가? (R007) 2. 도구 호출에 식별 포함? (R008) 3. 2+ 에이전트 스폰 시 R018 체크? → 하나라도 NO면 즉시 수정
|
|
28
9
|
|
|
29
10
|
---
|
|
30
11
|
|
|
@@ -62,51 +43,12 @@ oh-my-customcode로 구동됩니다.
|
|
|
62
43
|
|
|
63
44
|
> **이 규칙들은 협상 불가. 위반 = 즉시 수정 필요.**
|
|
64
45
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
모든 응답은
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
+- Task: {간단한 작업 설명}
|
|
72
|
-
|
|
73
|
-
예외 없음. 간단한 질문도 마찬가지.
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### 2. 도구 사용 식별 (강제)
|
|
77
|
-
```
|
|
78
|
-
모든 도구 호출은 반드시 에이전트 식별 포함:
|
|
79
|
-
|
|
80
|
-
[에이전트명] -> Tool: <도구명>
|
|
81
|
-
[에이전트명] -> Target: <파일/경로/URL>
|
|
82
|
-
|
|
83
|
-
예:
|
|
84
|
-
[lang-golang-expert] -> Tool: Read
|
|
85
|
-
[lang-golang-expert] -> Target: src/main.go
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### 3. 병렬 실행 (2개 이상 독립 작업 시 강제)
|
|
89
|
-
```
|
|
90
|
-
2개 이상의 작업이 독립적일 때:
|
|
91
|
-
-> 반드시 병렬 에이전트 인스턴스 생성 (최대 4개)
|
|
92
|
-
-> 순차 처리 금지
|
|
93
|
-
|
|
94
|
-
감지: 작업 간 상태 공유나 의존성이 없으면 -> 병렬
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### 4. 오케스트레이터 조율 (다중 에이전트 작업 시 강제)
|
|
98
|
-
```
|
|
99
|
-
작업에 여러 에이전트가 필요할 때:
|
|
100
|
-
-> 메인 대화 (오케스트레이터)가 반드시 조율
|
|
101
|
-
-> 메인 대화가 적절한 에이전트에 작업 할당
|
|
102
|
-
-> 메인 대화가 결과 집계
|
|
103
|
-
-> 오케스트레이터는 절대 직접 파일을 수정하지 않음
|
|
104
|
-
|
|
105
|
-
흐름:
|
|
106
|
-
사용자 -> 메인 대화 -> [agent-1, agent-2, agent-3] -> 메인 대화 -> 사용자
|
|
107
|
-
|
|
108
|
-
위반 시 즉시 수정. "작은 변경"도 예외 없음.
|
|
109
|
-
```
|
|
46
|
+
| 규칙 | 핵심 | 위반 시 |
|
|
47
|
+
|------|------|--------|
|
|
48
|
+
| R007 에이전트 식별 | 모든 응답은 `┌─ Agent:` 헤더로 시작 | 즉시 헤더 추가 |
|
|
49
|
+
| R008 도구 식별 | 모든 도구 호출에 `[에이전트명][모델] → Tool:` 접두사 | 즉시 접두사 추가 |
|
|
50
|
+
| R009 병렬 실행 | 독립 작업 2개 이상 → 병렬 에이전트 (최대 4개) | 순차 실행 중단, 병렬로 전환 |
|
|
51
|
+
| R010 오케스트레이터 | 오케스트레이터는 파일 수정 금지 → 서브에이전트에 위임 | 직접 수정 중단, 위임 |
|
|
110
52
|
|
|
111
53
|
---
|
|
112
54
|
|
package/templates/manifest.json
CHANGED