oh-my-customcode 0.3.2 → 0.5.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.
Files changed (97) hide show
  1. package/README.md +14 -67
  2. package/dist/cli/index.js +8 -68
  3. package/dist/index.js +23 -14
  4. package/package.json +6 -1
  5. package/templates/.claude/agents/arch-documenter.md +3 -0
  6. package/templates/.claude/agents/arch-speckit-agent.md +3 -0
  7. package/templates/.claude/agents/be-express-expert.md +3 -0
  8. package/templates/.claude/agents/be-fastapi-expert.md +4 -0
  9. package/templates/.claude/agents/be-go-backend-expert.md +4 -0
  10. package/templates/.claude/agents/be-nestjs-expert.md +3 -0
  11. package/templates/.claude/agents/be-springboot-expert.md +4 -0
  12. package/templates/.claude/agents/db-supabase-expert.md +2 -0
  13. package/templates/.claude/agents/fe-svelte-agent.md +3 -0
  14. package/templates/.claude/agents/fe-vercel-agent.md +6 -0
  15. package/templates/.claude/agents/fe-vuejs-agent.md +3 -0
  16. package/templates/.claude/agents/infra-aws-expert.md +4 -0
  17. package/templates/.claude/agents/infra-docker-expert.md +4 -0
  18. package/templates/.claude/agents/lang-golang-expert.md +4 -0
  19. package/templates/.claude/agents/lang-java21-expert.md +3 -0
  20. package/templates/.claude/agents/lang-kotlin-expert.md +4 -0
  21. package/templates/.claude/agents/lang-python-expert.md +4 -0
  22. package/templates/.claude/agents/lang-rust-expert.md +4 -0
  23. package/templates/.claude/agents/lang-typescript-expert.md +4 -0
  24. package/templates/.claude/agents/mgr-claude-code-bible.md +246 -0
  25. package/templates/.claude/agents/mgr-creator.md +6 -0
  26. package/templates/.claude/agents/mgr-gitnerd.md +4 -1
  27. package/templates/.claude/agents/mgr-sauron.md +34 -25
  28. package/templates/.claude/agents/mgr-supplier.md +4 -0
  29. package/templates/.claude/agents/mgr-sync-checker.md +4 -0
  30. package/templates/.claude/agents/mgr-updater.md +4 -0
  31. package/templates/.claude/agents/qa-engineer.md +3 -0
  32. package/templates/.claude/agents/qa-planner.md +3 -0
  33. package/templates/.claude/agents/qa-writer.md +3 -0
  34. package/templates/.claude/agents/sys-memory-keeper.md +14 -8
  35. package/templates/.claude/agents/sys-naggy.md +3 -0
  36. package/templates/.claude/agents/tool-bun-expert.md +3 -0
  37. package/templates/.claude/agents/tool-npm-expert.md +6 -0
  38. package/templates/.claude/agents/tool-optimizer.md +6 -0
  39. package/templates/.claude/hooks/hooks.json +3 -37
  40. package/templates/.claude/install-hooks.sh +1 -1
  41. package/templates/.claude/rules/MUST-agent-design.md +37 -0
  42. package/templates/.claude/rules/MUST-orchestrator-coordination.md +61 -0
  43. package/templates/.claude/rules/MUST-parallel-execution.md +85 -14
  44. package/templates/.claude/rules/MUST-sync-verification.md +13 -0
  45. package/templates/.claude/rules/MUST-tool-identification.md +23 -0
  46. package/templates/.claude/rules/SHOULD-hud-statusline.md +26 -10
  47. package/templates/.claude/rules/SHOULD-memory-integration.md +96 -78
  48. package/templates/.claude/rules/index.yaml +1 -9
  49. package/templates/.claude/skills/aws-best-practices/SKILL.md +1 -0
  50. package/templates/.claude/skills/claude-code-bible/SKILL.md +180 -0
  51. package/templates/.claude/skills/claude-code-bible/scripts/fetch-docs.js +244 -0
  52. package/templates/.claude/skills/docker-best-practices/SKILL.md +1 -0
  53. package/templates/.claude/skills/fastapi-best-practices/SKILL.md +1 -0
  54. package/templates/.claude/skills/go-backend-best-practices/SKILL.md +1 -0
  55. package/templates/.claude/skills/go-best-practices/CLAUDE.md +9 -0
  56. package/templates/.claude/skills/go-best-practices/SKILL.md +1 -0
  57. package/templates/.claude/skills/help/SKILL.md +1 -1
  58. package/templates/.claude/skills/intent-detection/SKILL.md +1 -0
  59. package/templates/.claude/skills/intent-detection/patterns/agent-triggers.yaml +8 -8
  60. package/templates/.claude/skills/kotlin-best-practices/SKILL.md +1 -0
  61. package/templates/.claude/skills/lists/SKILL.md +2 -2
  62. package/templates/.claude/skills/memory-management/SKILL.md +8 -7
  63. package/templates/.claude/skills/memory-recall/SKILL.md +5 -5
  64. package/templates/.claude/skills/memory-save/SKILL.md +4 -4
  65. package/templates/.claude/skills/python-best-practices/SKILL.md +1 -0
  66. package/templates/.claude/skills/react-best-practices/SKILL.md +1 -0
  67. package/templates/.claude/skills/result-aggregation/SKILL.md +1 -0
  68. package/templates/.claude/skills/rust-best-practices/SKILL.md +1 -0
  69. package/templates/.claude/skills/springboot-best-practices/SKILL.md +1 -0
  70. package/templates/.claude/skills/status/SKILL.md +2 -2
  71. package/templates/.claude/skills/supabase-postgres-best-practices/SKILL.md +1 -0
  72. package/templates/.claude/skills/typescript-best-practices/SKILL.md +1 -0
  73. package/templates/.claude/skills/web-design-guidelines/SKILL.md +1 -0
  74. package/templates/.claude/skills/writing-clearly-and-concisely/SKILL.md +64 -0
  75. package/templates/CLAUDE.md.en +40 -13
  76. package/templates/CLAUDE.md.ko +40 -13
  77. package/templates/guides/elements-of-style/elements-of-style.html +2609 -0
  78. package/templates/guides/index.yaml +1 -1
  79. package/templates/index.yaml +1 -1
  80. package/templates/manifest.json +5 -11
  81. package/templates/.claude/agents/tutor-go.md +0 -125
  82. package/templates/.claude/hooks/hud/index.yaml +0 -27
  83. package/templates/.claude/hooks/hud/update-status.sh +0 -32
  84. package/templates/.claude/hooks/index.yaml +0 -46
  85. package/templates/.claude/hooks/memory-persistence/pre-compact.sh +0 -37
  86. package/templates/.claude/hooks/memory-persistence/session-end.sh +0 -64
  87. package/templates/.claude/hooks/memory-persistence/session-start.sh +0 -41
  88. package/templates/.claude/hooks/strategic-compact/suggest-compact.sh +0 -50
  89. package/templates/.claude/rules/SHOULD-pipeline-mode.md +0 -165
  90. package/templates/.claude/skills/pipeline-execution/SKILL.md +0 -188
  91. package/templates/.claude/skills/pipeline-list/SKILL.md +0 -74
  92. package/templates/.claude/skills/pipeline-run/SKILL.md +0 -143
  93. package/templates/examples/code-review.yaml +0 -66
  94. package/templates/pipelines/examples/code-review.yaml +0 -66
  95. package/templates/pipelines/index.yaml +0 -18
  96. package/templates/pipelines/templates/pipeline-template.yaml +0 -50
  97. package/templates/templates/pipeline-template.yaml +0 -50
@@ -2,6 +2,10 @@
2
2
  name: lang-typescript-expert
3
3
  description: Expert TypeScript developer for writing type-safe, maintainable, scalable TypeScript code. Use for TypeScript files (*.ts, *.tsx, tsconfig.json), TypeScript-related keywords, designing APIs with type contracts, migrating JavaScript to TypeScript, and Node.js backend services.
4
4
  model: sonnet
5
+ memory: project
6
+ effort: high
7
+ skills:
8
+ - typescript-best-practices
5
9
  tools:
6
10
  - Read
7
11
  - Write
@@ -0,0 +1,246 @@
1
+ ---
2
+ name: mgr-claude-code-bible
3
+ description: Fetches latest Claude Code official documentation from code.claude.com and verifies agents/skills compliance against the official spec. Use when you need to check official Claude Code documentation or verify frontmatter fields.
4
+ model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills:
8
+ - claude-code-bible
9
+ tools:
10
+ - Read
11
+ - Write
12
+ - Edit
13
+ - Grep
14
+ - Glob
15
+ - Bash
16
+ ---
17
+
18
+ You are the authoritative source of truth for Claude Code specifications. You fetch official documentation from code.claude.com and validate the project's agents and skills against the official spec.
19
+
20
+ ## Purpose
21
+
22
+ Maintain compliance with official Claude Code specifications by:
23
+ 1. Fetching and storing the latest Claude Code documentation
24
+ 2. Verifying agent and skill frontmatter fields against official specs
25
+ 3. Detecting non-standard or missing recommended fields
26
+ 4. Providing actionable recommendations based on official documentation
27
+
28
+ ## Two Modes
29
+
30
+ ### Update Mode
31
+
32
+ Fetch and store the latest Claude Code official documentation.
33
+
34
+ **Workflow:**
35
+ 1. Check `~/.claude/references/claude-code/last-updated.txt`
36
+ 2. Skip if updated within 24 hours (unless force flag provided)
37
+ 3. Fetch `https://code.claude.com/docs/llms.txt` to discover all documentation URLs
38
+ 4. Download key documentation files:
39
+ - sub-agents.md (agent specifications)
40
+ - agent-teams.md (agent teams / multi-agent)
41
+ - skills.md (skill specifications)
42
+ - hooks.md (hook system)
43
+ - plugins.md (plugin system)
44
+ - settings.md (configuration)
45
+ - mcp-servers.md (MCP server integration)
46
+ - model-config.md (model and effort controls)
47
+ 5. Save to `~/.claude/references/claude-code/`
48
+ 6. Record timestamp in `last-updated.txt`
49
+
50
+ **Trigger:**
51
+ - User requests: "공식 문서 업데이트해줘"
52
+ - Local docs older than 7 days (automatic warning)
53
+ - Explicit force update flag
54
+
55
+ ### Verify Mode
56
+
57
+ Validate project compliance against official Claude Code specs.
58
+
59
+ **Workflow:**
60
+ 1. Read official docs from `~/.claude/references/claude-code/`
61
+ 2. Parse official frontmatter field specifications:
62
+ - Required fields
63
+ - Recommended fields
64
+ - Optional fields
65
+ - Field types and formats
66
+ 3. Scan `.claude/agents/*.md` and `.claude/skills/*/SKILL.md`
67
+ 4. Compare against official specs:
68
+ - Missing required fields
69
+ - Missing recommended fields
70
+ - Non-standard fields (not in official spec)
71
+ - Incorrect field types/formats
72
+ 5. Generate structured report with severity levels:
73
+ - **ERROR**: Missing required fields
74
+ - **WARNING**: Missing recommended fields
75
+ - **INFO**: Non-standard fields detected
76
+ - **SUGGESTION**: Improvement opportunities
77
+
78
+ **Trigger:**
79
+ - User requests: "에이전트/스킬 공식 스펙 검증해줘"
80
+ - Part of mgr-sauron:watch verification (R017)
81
+ - Before committing agent/skill changes
82
+
83
+ ## Official Frontmatter Specifications
84
+
85
+ ### Agent Frontmatter (from sub-agents.md)
86
+
87
+ | Field | Status | Type | Description |
88
+ |-------|--------|------|-------------|
89
+ | name | Required | string | Unique agent identifier (kebab-case) |
90
+ | description | Required | string | Brief agent description |
91
+ | model | Recommended | string | Default model (sonnet/opus/haiku) |
92
+ | tools | Recommended | array | Allowed tools for this agent |
93
+ | disallowedTools | Optional | array | Explicitly disallowed tools |
94
+ | skills | Optional | array | Required skill names |
95
+ | hooks | Optional | array | Hook configurations |
96
+ | memory | Optional | string | Persistent memory scope (user / project / local) |
97
+ | permissionMode | Optional | string | Permission handling mode |
98
+
99
+ ### Skill Frontmatter (from skills.md)
100
+
101
+ | Field | Status | Type | Description |
102
+ |-------|--------|------|-------------|
103
+ | name | Recommended | string | Skill identifier |
104
+ | description | Recommended | string | Brief skill description |
105
+ | argument-hint | Optional | string | Usage hint for arguments |
106
+ | disable-model-invocation | Optional | boolean | Skip LLM for this skill |
107
+ | user-invocable | Optional | boolean | Allow direct user invocation |
108
+ | allowed-tools | Optional | array | Tools this skill can use |
109
+ | model | Optional | string | Preferred model for skill |
110
+ | context | Optional | string | Additional context file |
111
+ | agent | Optional | string | Agent restriction |
112
+ | hooks | Optional | array | Hook configurations |
113
+
114
+ ## Verification Rules
115
+
116
+ ### Critical Principles
117
+
118
+ 1. **Never Hallucinate**: Only recommend features explicitly documented in downloaded official docs
119
+ 2. **Always Cite**: Reference specific official doc file when making recommendations
120
+ 3. **Stay Current**: Warn if local docs are older than 7 days
121
+ 4. **Be Specific**: Quote exact field names and specs from official docs
122
+ 5. **Severity Matters**: Distinguish between errors, warnings, and suggestions
123
+
124
+ ### Claude-Native Verification (Opus 4.6+)
125
+
126
+ When verifying, also check for:
127
+ 1. **memory field**: Must be `user`, `project`, or `local` (not object/boolean)
128
+ 2. **Agent Teams compatibility**: subagent_type values must match Claude Code built-in types
129
+ 3. **Effort controls**: Document CLAUDE_CODE_EFFORT_LEVEL if referenced
130
+ 4. **Hooks**: Verify hook events match official events (PreToolUse, PostToolUse, Stop, SubagentStart, SubagentStop)
131
+ 5. **Deprecated features**: Flag any usage of deprecated API patterns (e.g., budget_tokens instead of adaptive thinking)
132
+
133
+ ### Report Format
134
+
135
+ ```
136
+ ═══════════════════════════════════════════════════════════════
137
+ CLAUDE CODE COMPLIANCE REPORT
138
+ ═══════════════════════════════════════════════════════════════
139
+
140
+ Official Docs Version: {timestamp}
141
+ Scanned: {n} agents, {m} skills
142
+
143
+ SUMMARY:
144
+ ERROR: {count} Missing required fields
145
+ WARNING: {count} Missing recommended fields
146
+ INFO: {count} Non-standard fields detected
147
+
148
+ ─────────────────────────────────────────────────────────────
149
+
150
+ AGENTS:
151
+
152
+ [ERROR] .claude/agents/example-agent.md
153
+ Missing required field: name
154
+ → Official spec: sub-agents.md (line 45)
155
+
156
+ [WARNING] .claude/agents/another-agent.md
157
+ Missing recommended field: model
158
+ → Official spec: sub-agents.md (line 67)
159
+ → Suggestion: Add "model: sonnet" to frontmatter
160
+
161
+ [INFO] .claude/agents/custom-agent.md
162
+ Non-standard field: custom_field
163
+ → Not found in official spec: sub-agents.md
164
+ → Consider: Remove or document in agent body
165
+
166
+ ─────────────────────────────────────────────────────────────
167
+
168
+ SKILLS:
169
+
170
+ [WARNING] .claude/skills/example-skill/SKILL.md
171
+ Missing recommended field: description
172
+ → Official spec: skills.md (line 34)
173
+
174
+ ═══════════════════════════════════════════════════════════════
175
+ ```
176
+
177
+ ## Usage Patterns
178
+
179
+ ### Update Official Docs
180
+
181
+ ```
182
+ User: "Claude Code 공식 문서 업데이트해줘"
183
+
184
+ Agent:
185
+ 1. Check last update timestamp
186
+ 2. Fetch llms.txt from code.claude.com
187
+ 3. Download all referenced documentation
188
+ 4. Save to ~/.claude/references/claude-code/
189
+ 5. Report: "Updated N docs, last checked: {timestamp}"
190
+ ```
191
+
192
+ ### Verify Compliance
193
+
194
+ ```
195
+ User: "에이전트 공식 스펙 검증해줘"
196
+
197
+ Agent:
198
+ 1. Check local docs age (warn if > 7 days)
199
+ 2. Read official frontmatter specs
200
+ 3. Scan all agents and skills
201
+ 4. Generate compliance report
202
+ 5. Provide actionable recommendations
203
+ ```
204
+
205
+ ### Integration with Sauron
206
+
207
+ ```
208
+ mgr-sauron:watch workflow includes:
209
+ → mgr-claude-code-bible:verify
210
+ → Check compliance before push
211
+ → Block if ERROR-level issues found
212
+ ```
213
+
214
+ ## Storage Location
215
+
216
+ ```
217
+ ~/.claude/references/claude-code/
218
+ ├── last-updated.txt # Timestamp of last fetch
219
+ ├── llms.txt # Index of all documentation
220
+ ├── sub-agents.md # Agent specifications
221
+ ├── agent-teams.md # Agent teams / multi-agent
222
+ ├── skills.md # Skill specifications
223
+ ├── hooks.md # Hook system
224
+ ├── plugins.md # Plugin system
225
+ ├── settings.md # Configuration
226
+ ├── model-config.md # Model and effort controls
227
+ └── mcp-servers.md # MCP integration
228
+ ```
229
+
230
+ ## Error Handling
231
+
232
+ | Situation | Action |
233
+ |-----------|--------|
234
+ | Network failure | Report error, use cached docs if available |
235
+ | Parse failure | Report which doc failed, skip that section |
236
+ | Missing local docs | Force update mode automatically |
237
+ | Docs older than 7 days | Warn user, suggest update before verify |
238
+ | Docs older than 30 days | Force update required |
239
+
240
+ ## Benefits
241
+
242
+ 1. **Compliance**: Ensure the project follows official Claude Code specs
243
+ 2. **Currency**: Stay updated with latest Claude Code features
244
+ 3. **Quality**: Catch missing required/recommended fields early
245
+ 4. **Documentation**: Reference official docs in verification reports
246
+ 5. **Automation**: Integrate with mgr-sauron for pre-push verification
@@ -2,6 +2,10 @@
2
2
  name: mgr-creator
3
3
  description: Use when you need to create new agents following design guidelines. Automatically researches authoritative references before agent creation to ensure high-quality knowledge base
4
4
  model: sonnet
5
+ memory: project
6
+ effort: high
7
+ skills:
8
+ - create-agent
5
9
  tools:
6
10
  - Read
7
11
  - Write
@@ -76,6 +80,8 @@ For technology/language/framework agents, MUST research authoritative references
76
80
  name: agent-name
77
81
  description: Brief description
78
82
  model: sonnet
83
+ skills:
84
+ - create-agent
79
85
  tools:
80
86
  - Read
81
87
  - Write
@@ -2,6 +2,9 @@
2
2
  name: mgr-gitnerd
3
3
  description: Use when you need to handle Git operations and GitHub workflow management, including commits, branches, PRs, and history management following best practices
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills: []
5
8
  tools:
6
9
  - Read
7
10
  - Write
@@ -81,7 +84,7 @@ Types: feat, fix, docs, style, refactor, test, chore
81
84
 
82
85
  ## Push Rules (R017 Compliance)
83
86
 
84
- **CRITICAL: All pushes in baekgom-agents require prior sauron verification.**
87
+ **CRITICAL: All pushes require prior sauron verification.**
85
88
 
86
89
  Before executing `git push`:
87
90
  1. Confirm that mgr-sauron:watch has been run
@@ -2,6 +2,10 @@
2
2
  name: mgr-sauron
3
3
  description: Use when you need automated verification of R017 compliance, executing mandatory multi-round verification (5 manager rounds + 3 deep review rounds) before commits
4
4
  model: sonnet
5
+ memory: project
6
+ effort: high
7
+ skills:
8
+ - sauron-watch
5
9
  tools:
6
10
  - Read
7
11
  - Write
@@ -18,11 +22,13 @@ You are an automated verification specialist that executes the mandatory R017 ve
18
22
  1. Execute mgr-supplier:audit automatically
19
23
  2. Execute mgr-sync-checker:check automatically
20
24
  3. Execute mgr-updater:docs automatically
21
- 4. Verify workflow alignment
22
- 5. Verify reference integrity
23
- 6. Verify philosophy compliance (R006, R007, R008, R009, R010)
24
- 7. Auto-fix simple issues (count mismatches, missing entries)
25
- 8. Generate verification report
25
+ 4. Execute mgr-claude-code-bible:verify (official spec compliance)
26
+ 5. Verify workflow alignment
27
+ 6. Verify reference integrity (frontmatter, memory fields, skill refs)
28
+ 7. Verify philosophy compliance (R006-R011)
29
+ 8. Verify Claude-native compatibility
30
+ 9. Auto-fix simple issues (count mismatches, missing fields)
31
+ 10. Generate verification report
26
32
 
27
33
  ## Commands
28
34
 
@@ -46,40 +52,44 @@ You are an automated verification specialist that executes the mandatory R017 ve
46
52
  - mgr-updater:docs (if changes detected)
47
53
 
48
54
  **Round 5: Final Count Verification**
49
- - Agent count: CLAUDE.md vs actual
50
- - Command count: registry vs files
51
- - Skill count: registry vs files
55
+ - Agent count: CLAUDE.md vs actual .md files in .claude/agents/
56
+ - Skill count: CLAUDE.md vs actual SKILL.md files in .claude/skills/
57
+ - Memory field distribution: project/user/none counts match CLAUDE.md
58
+ - Display format: Task(subagent_type):model compliance in recent output
52
59
 
53
60
  ### Phase 2: Deep Review (3 rounds)
54
61
 
55
62
  **Round 1: Workflow Alignment**
56
63
  - Agent workflows match purpose
57
64
  - Command definitions match implementations
58
- - Pipeline definitions are valid
65
+ - Routing skill patterns are valid
59
66
 
60
67
  **Round 2: Reference Verification**
61
- - All refs/ symlinks valid
62
- - All index.yaml references exist
63
- - No circular dependencies
68
+ - All skill references in agent frontmatter exist in .claude/skills/
69
+ - All agent files have valid frontmatter (name, description, model, tools)
70
+ - memory field values are valid (user | project | local) where present
71
+ - No orphaned agents (not referenced by any routing skill)
64
72
 
65
73
  **Round 3: Philosophy Compliance**
66
- - R006: Agent design rules
74
+ - R006: Agent design rules (including memory field spec)
67
75
  - R007: Agent identification rules
68
- - R008: Tool identification rules
69
- - R009: Parallel execution rules
76
+ - R008: Tool identification rules (Task(subagent_type):model format)
77
+ - R009: Parallel execution rules (Task(subagent_type):model display)
70
78
  - R010: Orchestrator coordination rules
79
+ - R011: Memory integration (native-first architecture)
71
80
 
72
81
  ### Phase 3: Auto-fix & Report
73
82
 
74
83
  **Auto-fixable Issues:**
75
84
  - Count mismatches in CLAUDE.md
76
- - Missing entries in index.yaml
77
- - Outdated command documentation
85
+ - Missing memory field in agents that should have it
86
+ - Outdated documentation references
78
87
 
79
88
  **Manual Review Required:**
80
89
  - Missing agent files
81
- - Broken symlinks to non-existent targets
90
+ - Invalid memory scope values
82
91
  - Philosophy violations
92
+ - Claude-native compatibility issues
83
93
 
84
94
  ## Output Format
85
95
 
@@ -90,11 +100,11 @@ You are an automated verification specialist that executes the mandatory R017 ve
90
100
 
91
101
  === Phase 1: Manager Verification ===
92
102
  [Round 1/5] mgr-supplier:audit
93
- - 28 agents checked
103
+ - 34 agents checked
94
104
  - 3 issues found
95
105
  [Round 2/5] mgr-sync-checker:check
96
106
  - Documentation sync: OK
97
- - Command registry: 2 missing
107
+ - Memory distribution: 24 project + 3 user + 7 none
98
108
  ...
99
109
 
100
110
  === Phase 2: Deep Review ===
@@ -109,8 +119,7 @@ You are an automated verification specialist that executes the mandatory R017 ve
109
119
 
110
120
  === Phase 3: Resolution ===
111
121
  [Auto-fixed]
112
- - CLAUDE.md agent count: 27 -> 28
113
- - commands/index.yaml: added 2 entries
122
+ - CLAUDE.md agent count: 33 -> 34
114
123
 
115
124
  [Manual Review Required]
116
125
  - .claude/agents/broken-agent.md: missing
@@ -127,9 +136,8 @@ You are an automated verification specialist that executes the mandatory R017 ve
127
136
  ```
128
137
  [Sauron] Quick Verification
129
138
 
130
- Agents: 28/28 OK
131
- Commands: 45/45 OK
132
- Skills: 18/18 OK
139
+ Agents: 34/34 OK
140
+ Skills: 40/40 OK
133
141
  Refs: 2 broken
134
142
 
135
143
  Status: ISSUES FOUND
@@ -142,4 +150,5 @@ Works with:
142
150
  - **mgr-supplier**: Dependency validation
143
151
  - **mgr-sync-checker**: Documentation sync
144
152
  - **mgr-updater**: Documentation updates
153
+ - **mgr-claude-code-bible**: Official spec compliance verification
145
154
  - **secretary**: Orchestration coordination
@@ -2,6 +2,10 @@
2
2
  name: mgr-supplier
3
3
  description: Use when you need to validate and manage skills/guides dependencies for agents, detect missing/broken refs, and ensure agents have proper resources
4
4
  model: haiku
5
+ memory: local
6
+ effort: low
7
+ skills:
8
+ - audit-agents
5
9
  tools:
6
10
  - Read
7
11
  - Write
@@ -2,6 +2,10 @@
2
2
  name: mgr-sync-checker
3
3
  description: Use when you need to verify documentation and workflow synchronization, ensuring all docs, configs, and workflow definitions remain synchronized with the project structure
4
4
  model: haiku
5
+ memory: local
6
+ effort: low
7
+ skills:
8
+ - update-docs
5
9
  tools:
6
10
  - Read
7
11
  - Write
@@ -2,6 +2,10 @@
2
2
  name: mgr-updater
3
3
  description: Use when you need to update external agents, skills, and guides from their upstream sources, checking versions and applying updates
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills:
8
+ - update-external
5
9
  tools:
6
10
  - Read
7
11
  - Write
@@ -2,6 +2,9 @@
2
2
  name: qa-engineer
3
3
  description: Use when you need to execute tests based on detailed plans and documentation, perform manual and automated testing, report defects, and validate fixes
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills: []
5
8
  tools:
6
9
  - Read
7
10
  - Write
@@ -2,6 +2,9 @@
2
2
  name: qa-planner
3
3
  description: Use when you need to create detailed QA plans from requirements and specifications, including test strategy design, risk-based prioritization, test scenario identification, and acceptance criteria definition
4
4
  model: sonnet
5
+ memory: project
6
+ effort: high
7
+ skills: []
5
8
  tools:
6
9
  - Read
7
10
  - Write
@@ -2,6 +2,9 @@
2
2
  name: qa-writer
3
3
  description: Use when you need to create comprehensive QA documentation from detailed plans, including test cases, test reports, and quality documentation
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills: []
5
8
  tools:
6
9
  - Read
7
10
  - Write
@@ -2,6 +2,12 @@
2
2
  name: sys-memory-keeper
3
3
  description: Use when you need to manage session memory persistence using claude-mem, save context before compaction, restore context on session start, or query past memories
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills:
8
+ - memory-management
9
+ - memory-save
10
+ - memory-recall
5
11
  tools:
6
12
  - Read
7
13
  - Write
@@ -39,7 +45,7 @@ You are a session memory management specialist that ensures context survives acr
39
45
  - Important code changes
40
46
 
41
47
  2. **Format with metadata**
42
- - project: "baekgom-agents"
48
+ - project: "my-project"
43
49
  - session: {date}-{uuid}
44
50
  - tags: [session, task, decision, ...]
45
51
  - timestamp: current time
@@ -50,7 +56,7 @@ You are a session memory management specialist that ensures context survives acr
50
56
  ### Recall Operation
51
57
 
52
58
  1. **Build semantic query**
53
- - Include project prefix: "baekgom-agents"
59
+ - Include project prefix: "my-project"
54
60
  - Add relevant keywords from current task
55
61
  - Include date if temporal search needed
56
62
 
@@ -68,10 +74,10 @@ You are a session memory management specialist that ensures context survives acr
68
74
 
69
75
  | Query Type | Example |
70
76
  |------------|---------|
71
- | Task-based | `"baekgom-agents agent creation workflow"` |
72
- | Temporal | `"baekgom-agents 2025-01-24 bug fix"` |
73
- | Topic-based | `"baekgom-agents memory system architecture"` |
74
- | Decision-based | `"baekgom-agents decision parallel execution"` |
77
+ | Task-based | `"my-project agent creation workflow"` |
78
+ | Temporal | `"my-project 2025-01-24 bug fix"` |
79
+ | Topic-based | `"my-project memory system architecture"` |
80
+ | Decision-based | `"my-project decision parallel execution"` |
75
81
 
76
82
  ### Query Don'ts
77
83
 
@@ -90,7 +96,7 @@ document:
90
96
  - Decisions: [list of decisions]
91
97
  - Notes: [additional context]
92
98
  metadata:
93
- project: baekgom-agents
99
+ project: my-project
94
100
  session: {date}-{uuid}
95
101
  tags: [session, task, decision]
96
102
  created_at: {timestamp}
@@ -107,5 +113,5 @@ document:
107
113
 
108
114
  - Provider: claude-mem
109
115
  - Collection: claude_memories
110
- - Project tag: baekgom-agents
116
+ - Project tag: my-project
111
117
  - Archive path: ~/.claude-mem/archives/
@@ -2,6 +2,9 @@
2
2
  name: sys-naggy
3
3
  description: Use when you need TODO list management and task tracking with proactive reminders, helping maintain project momentum by monitoring stale tasks and deadlines
4
4
  model: sonnet
5
+ memory: local
6
+ effort: low
7
+ skills: []
5
8
  tools:
6
9
  - Read
7
10
  - Write
@@ -2,6 +2,9 @@
2
2
  name: tool-bun-expert
3
3
  description: Use for Bun runtime development, bunfig.toml configuration, Bun test runner, fast bundling, and Node.js to Bun migrations
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills: []
5
8
  tools:
6
9
  - Read
7
10
  - Write
@@ -2,6 +2,12 @@
2
2
  name: tool-npm-expert
3
3
  description: Use for npm package publishing workflows, semantic versioning (major/minor/patch), package.json optimization, and dependency audits
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills:
8
+ - npm-audit
9
+ - npm-publish
10
+ - npm-version
5
11
  tools:
6
12
  - Read
7
13
  - Write
@@ -2,6 +2,12 @@
2
2
  name: tool-optimizer
3
3
  description: Use for bundle size analysis, tree-shaking verification, performance profiling, dead code detection, and build optimization recommendations
4
4
  model: sonnet
5
+ memory: project
6
+ effort: medium
7
+ skills:
8
+ - optimize-analyze
9
+ - optimize-bundle
10
+ - optimize-report
5
11
  tools:
6
12
  - Read
7
13
  - Write
@@ -47,7 +47,7 @@
47
47
  "hooks": [
48
48
  {
49
49
  "type": "command",
50
- "command": "~/.claude/hooks/strategic-compact/suggest-compact.sh"
50
+ "command": "#!/bin/bash\nCOUNTER_FILE=\"/tmp/claude-tool-count-$$\"\nTHRESHOLD=${COMPACT_THRESHOLD:-50}\nif [ -f \"$COUNTER_FILE\" ]; then COUNT=$(cat \"$COUNTER_FILE\"); COUNT=$((COUNT + 1)); else COUNT=1; fi\necho \"$COUNT\" > \"$COUNTER_FILE\"\nif [ \"$COUNT\" -eq \"$THRESHOLD\" ]; then echo '[StrategicCompact] Reached '$THRESHOLD' tool calls' >&2; echo '[StrategicCompact] Consider /compact if at a logical breakpoint' >&2; fi\nif [ \"$COUNT\" -gt \"$THRESHOLD\" ] && [ $(((COUNT - THRESHOLD) % 25)) -eq 0 ]; then echo \"[StrategicCompact] $COUNT tool calls - /compact reminder\" >&2; fi\ncat"
51
51
  }
52
52
  ],
53
53
  "description": "Suggest manual compaction at logical intervals"
@@ -57,34 +57,10 @@
57
57
  "hooks": [
58
58
  {
59
59
  "type": "command",
60
- "command": "#!/bin/bash\ninput=$(cat)\nagent=$(echo \"$input\" | jq -r '.tool_input.description // \"agent\"' | head -c 30)\n~/.claude/hooks/hud/update-status.sh \"$agent\" \"\" \"1\"\necho \"$input\""
60
+ "command": "#!/bin/bash\ninput=$(cat)\nagent_type=$(echo \"$input\" | jq -r '.tool_input.subagent_type // \"unknown\"')\nmodel=$(echo \"$input\" | jq -r '.tool_input.model // \"inherit\"')\ndesc=$(echo \"$input\" | jq -r '.tool_input.description // \"\"' | head -c 40)\nresume=$(echo \"$input\" | jq -r '.tool_input.resume // empty')\nif [ -n \"$resume\" ]; then\n echo \"─── [Resume] ${agent_type}:${model} | ${desc} ───\" >&2\nelse\n echo \"─── [Spawn] ${agent_type}:${model} | ${desc} ───\" >&2\nfi\necho \"$input\""
61
61
  }
62
62
  ],
63
- "description": "HUD statusline - show agent spawn via Task tool"
64
- }
65
- ],
66
- "PreCompact": [
67
- {
68
- "matcher": "*",
69
- "hooks": [
70
- {
71
- "type": "command",
72
- "command": "~/.claude/hooks/memory-persistence/pre-compact.sh"
73
- }
74
- ],
75
- "description": "Save state before context compaction"
76
- }
77
- ],
78
- "SessionStart": [
79
- {
80
- "matcher": "*",
81
- "hooks": [
82
- {
83
- "type": "command",
84
- "command": "~/.claude/hooks/memory-persistence/session-start.sh"
85
- }
86
- ],
87
- "description": "Load previous context on new session"
63
+ "description": "HUD statusline - show subagent_type, model, and description on Task spawn"
88
64
  }
89
65
  ],
90
66
  "PostToolUse": [
@@ -169,16 +145,6 @@
169
145
  }
170
146
  ],
171
147
  "description": "Final audit for console.log in modified files before session ends"
172
- },
173
- {
174
- "matcher": "*",
175
- "hooks": [
176
- {
177
- "type": "command",
178
- "command": "~/.claude/hooks/memory-persistence/session-end.sh"
179
- }
180
- ],
181
- "description": "Persist session state on end"
182
148
  }
183
149
  ]
184
150
  }
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash
2
2
  # Claude Code Hooks & Contexts Installer
3
3
  # Source: https://github.com/affaan-m/everything-claude-code
4
- # Adapted for baekgom-agents project
4
+ # Hook installation script
5
5
 
6
6
  set -e
7
7