oh-my-customcode 0.10.3 → 0.12.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.
@@ -0,0 +1,112 @@
1
+ {
2
+ "description": "Routing skill to Agent mapping",
3
+ "version": "1.0.0",
4
+ "routes": {
5
+ "secretary-routing": {
6
+ "agents": [
7
+ "mgr-creator",
8
+ "mgr-updater",
9
+ "mgr-supplier",
10
+ "mgr-gitnerd",
11
+ "mgr-sync-checker",
12
+ "mgr-sauron",
13
+ "mgr-claude-code-bible",
14
+ "sys-memory-keeper",
15
+ "sys-naggy"
16
+ ],
17
+ "description": "Routes agent management tasks to appropriate manager agents"
18
+ },
19
+ "dev-lead-routing": {
20
+ "agents": [
21
+ "lang-golang-expert",
22
+ "lang-python-expert",
23
+ "lang-rust-expert",
24
+ "lang-kotlin-expert",
25
+ "lang-typescript-expert",
26
+ "lang-java21-expert",
27
+ "fe-vercel-agent",
28
+ "fe-vuejs-agent",
29
+ "fe-svelte-agent",
30
+ "be-fastapi-expert",
31
+ "be-springboot-expert",
32
+ "be-go-backend-expert",
33
+ "be-nestjs-expert",
34
+ "be-express-expert",
35
+ "tool-npm-expert",
36
+ "tool-optimizer",
37
+ "tool-bun-expert",
38
+ "db-supabase-expert",
39
+ "db-postgres-expert",
40
+ "db-redis-expert",
41
+ "arch-documenter",
42
+ "arch-speckit-agent",
43
+ "infra-docker-expert",
44
+ "infra-aws-expert"
45
+ ],
46
+ "description": "Routes development tasks to appropriate language or framework expert agents"
47
+ },
48
+ "de-lead-routing": {
49
+ "agents": [
50
+ "de-airflow-expert",
51
+ "de-dbt-expert",
52
+ "de-spark-expert",
53
+ "de-kafka-expert",
54
+ "de-snowflake-expert",
55
+ "de-pipeline-expert"
56
+ ],
57
+ "description": "Routes data engineering tasks to the correct DE expert agent"
58
+ },
59
+ "qa-lead-routing": {
60
+ "agents": [
61
+ "qa-planner",
62
+ "qa-writer",
63
+ "qa-engineer"
64
+ ],
65
+ "description": "Coordinates QA team activities by routing tasks to qa-planner, qa-writer, and qa-engineer"
66
+ }
67
+ },
68
+ "agent_to_router": {
69
+ "mgr-creator": "secretary-routing",
70
+ "mgr-updater": "secretary-routing",
71
+ "mgr-supplier": "secretary-routing",
72
+ "mgr-gitnerd": "secretary-routing",
73
+ "mgr-sync-checker": "secretary-routing",
74
+ "mgr-sauron": "secretary-routing",
75
+ "mgr-claude-code-bible": "secretary-routing",
76
+ "sys-memory-keeper": "secretary-routing",
77
+ "sys-naggy": "secretary-routing",
78
+ "lang-golang-expert": "dev-lead-routing",
79
+ "lang-python-expert": "dev-lead-routing",
80
+ "lang-rust-expert": "dev-lead-routing",
81
+ "lang-kotlin-expert": "dev-lead-routing",
82
+ "lang-typescript-expert": "dev-lead-routing",
83
+ "lang-java21-expert": "dev-lead-routing",
84
+ "fe-vercel-agent": "dev-lead-routing",
85
+ "fe-vuejs-agent": "dev-lead-routing",
86
+ "fe-svelte-agent": "dev-lead-routing",
87
+ "be-fastapi-expert": "dev-lead-routing",
88
+ "be-springboot-expert": "dev-lead-routing",
89
+ "be-go-backend-expert": "dev-lead-routing",
90
+ "be-nestjs-expert": "dev-lead-routing",
91
+ "be-express-expert": "dev-lead-routing",
92
+ "tool-npm-expert": "dev-lead-routing",
93
+ "tool-optimizer": "dev-lead-routing",
94
+ "tool-bun-expert": "dev-lead-routing",
95
+ "db-supabase-expert": "dev-lead-routing",
96
+ "db-postgres-expert": "dev-lead-routing",
97
+ "db-redis-expert": "dev-lead-routing",
98
+ "arch-documenter": "dev-lead-routing",
99
+ "arch-speckit-agent": "dev-lead-routing",
100
+ "infra-docker-expert": "dev-lead-routing",
101
+ "infra-aws-expert": "dev-lead-routing",
102
+ "de-airflow-expert": "de-lead-routing",
103
+ "de-dbt-expert": "de-lead-routing",
104
+ "de-spark-expert": "de-lead-routing",
105
+ "de-kafka-expert": "de-lead-routing",
106
+ "de-snowflake-expert": "de-lead-routing",
107
+ "de-pipeline-expert": "de-lead-routing",
108
+ "qa-planner": "qa-lead-routing",
109
+ "qa-writer": "qa-lead-routing",
110
+ "qa-engineer": "qa-lead-routing"
111
+ }
112
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "description": "Skill to Rule dependency mapping",
3
+ "version": "1.0.0",
4
+ "edges": {
5
+ "airflow-best-practices": [],
6
+ "audit-agents": [],
7
+ "aws-best-practices": [],
8
+ "claude-code-bible": [],
9
+ "create-agent": [],
10
+ "dbt-best-practices": [],
11
+ "de-lead-routing": ["R009"],
12
+ "dev-lead-routing": [],
13
+ "dev-refactor": [],
14
+ "dev-review": [],
15
+ "docker-best-practices": [],
16
+ "fastapi-best-practices": [],
17
+ "fix-refs": [],
18
+ "go-backend-best-practices": [],
19
+ "go-best-practices": [],
20
+ "help": [],
21
+ "intent-detection": ["R015"],
22
+ "kafka-best-practices": [],
23
+ "kotlin-best-practices": [],
24
+ "lists": [],
25
+ "memory-management": ["R011"],
26
+ "memory-recall": ["R011"],
27
+ "memory-save": ["R011"],
28
+ "monitoring-setup": [],
29
+ "npm-audit": [],
30
+ "npm-publish": [],
31
+ "npm-version": [],
32
+ "optimize-analyze": [],
33
+ "optimize-bundle": [],
34
+ "optimize-report": [],
35
+ "pipeline-architecture-patterns": [],
36
+ "postgres-best-practices": [],
37
+ "python-best-practices": [],
38
+ "qa-lead-routing": [],
39
+ "react-best-practices": [],
40
+ "redis-best-practices": [],
41
+ "result-aggregation": ["R009", "R013"],
42
+ "rust-best-practices": [],
43
+ "sauron-watch": ["R017"],
44
+ "secretary-routing": [],
45
+ "snowflake-best-practices": [],
46
+ "spark-best-practices": [],
47
+ "springboot-best-practices": [],
48
+ "status": [],
49
+ "supabase-postgres-best-practices": [],
50
+ "typescript-best-practices": [],
51
+ "update-docs": [],
52
+ "update-external": [],
53
+ "vercel-deploy": [],
54
+ "web-design-guidelines": [],
55
+ "writing-clearly-and-concisely": []
56
+ },
57
+ "reverse": {
58
+ "R009": ["de-lead-routing", "result-aggregation"],
59
+ "R011": ["memory-management", "memory-recall", "memory-save"],
60
+ "R013": ["result-aggregation"],
61
+ "R015": ["intent-detection"],
62
+ "R017": ["sauron-watch"],
63
+ "R000": [],
64
+ "R001": [],
65
+ "R002": [],
66
+ "R003": [],
67
+ "R004": [],
68
+ "R005": [],
69
+ "R006": [],
70
+ "R007": [],
71
+ "R008": [],
72
+ "R010": [],
73
+ "R012": [],
74
+ "R016": [],
75
+ "R018": []
76
+ }
77
+ }
@@ -0,0 +1,251 @@
1
+ # Auto-generated from templates/.claude/rules/
2
+ # Do not edit manually — regenerate with: omcustom ontology build
3
+ version: "1.0.0"
4
+ generated_at: "2026-02-12T00:00:00Z"
5
+
6
+ # Rule priority classes
7
+ classes:
8
+ MustRule:
9
+ rules: [R000, R001, R002, R006, R007, R008, R009, R010, R015, R016, R017]
10
+ description: "Mandatory rules - violation requires immediate correction"
11
+ ShouldRule:
12
+ rules: [R003, R004, R011, R012, R013, R018]
13
+ description: "Recommended rules - strong guidance"
14
+ MayRule:
15
+ rules: [R005]
16
+ description: "Optional rules - use when beneficial"
17
+
18
+ # Rule categories (semantic grouping)
19
+ categories:
20
+ safety:
21
+ rules: [R001, R002]
22
+ summary: "Security, permissions, and prohibited actions"
23
+ keywords: [safety, security, permissions, prohibited, dangerous]
24
+ agent-design:
25
+ rules: [R006, R007, R008]
26
+ summary: "Agent structure, identification, and tool usage"
27
+ keywords: [agent, identification, tool, frontmatter, design]
28
+ execution:
29
+ rules: [R009, R010]
30
+ summary: "Parallel execution and orchestrator coordination"
31
+ keywords: [parallel, orchestrator, delegation, task, spawn]
32
+ quality:
33
+ rules: [R016, R017]
34
+ summary: "Continuous improvement and sync verification"
35
+ keywords: [verification, sync, improvement, sauron, commit]
36
+ interaction:
37
+ rules: [R000, R003, R015]
38
+ summary: "Language policy, response format, intent transparency"
39
+ keywords: [language, korean, response, intent, transparency]
40
+ memory:
41
+ rules: [R011]
42
+ summary: "Memory integration and persistence"
43
+ keywords: [memory, persistence, claude-mem, session]
44
+ display:
45
+ rules: [R012]
46
+ summary: "HUD and status display"
47
+ keywords: [hud, statusline, display, progress]
48
+ efficiency:
49
+ rules: [R005, R013]
50
+ summary: "Optimization and token efficiency"
51
+ keywords: [optimization, token, ecomode, batch, efficiency]
52
+ error-handling:
53
+ rules: [R004]
54
+ summary: "Error classification and recovery"
55
+ keywords: [error, warning, critical, retry, recovery]
56
+ teams:
57
+ rules: [R018]
58
+ summary: "Agent teams coordination"
59
+ keywords: [team, agent-teams, coordination, broadcast, message]
60
+
61
+ # Rule instances
62
+ rules:
63
+ R000:
64
+ class: MustRule
65
+ categories: [interaction]
66
+ title: "Language & Delegation Policy"
67
+ filename: "MUST-language-policy.md"
68
+ summary: "Korean I/O for users, English for code/files. User delegates all file ops to agent."
69
+ keywords: [language, korean, english, delegation, file-operations]
70
+ token_estimate: 138
71
+ applies_to: [all]
72
+
73
+ R001:
74
+ class: MustRule
75
+ categories: [safety]
76
+ title: "Safety Rules"
77
+ filename: "MUST-safety.md"
78
+ summary: "Prohibited actions: expose secrets, modify system files, destructive commands. Verify before destructive ops."
79
+ keywords: [safety, prohibited, secrets, system-files, destructive, api-keys, pii, rm-rf, sudo]
80
+ token_estimate: 160
81
+ applies_to: [all]
82
+
83
+ R002:
84
+ class: MustRule
85
+ categories: [safety]
86
+ title: "Permission Rules"
87
+ filename: "MUST-permissions.md"
88
+ summary: "Tool permission tiers: Always (Read/Glob/Grep), Default (Write/Edit), Approval (Bash/Web), Explicit (Task)."
89
+ keywords: [permissions, tools, tiers, approval, file-access, read, write, bash]
90
+ token_estimate: 207
91
+ applies_to: [all]
92
+
93
+ R003:
94
+ class: ShouldRule
95
+ categories: [interaction]
96
+ title: "Interaction Rules"
97
+ filename: "SHOULD-interaction.md"
98
+ summary: "Response principles: brevity, clarity, transparency. Status format for task progress reporting."
99
+ keywords: [response, brevity, clarity, transparency, status, task-progress]
100
+ token_estimate: 203
101
+ applies_to: [all]
102
+
103
+ R004:
104
+ class: ShouldRule
105
+ categories: [error-handling]
106
+ title: "Error Handling Rules"
107
+ filename: "SHOULD-error-handling.md"
108
+ summary: "Error classification (Warning/Error/Critical), retry strategies, validation checks before/after actions."
109
+ keywords: [error, warning, critical, retry, backoff, validation, recovery, rollback]
110
+ token_estimate: 213
111
+ applies_to: [all]
112
+
113
+ R005:
114
+ class: MayRule
115
+ categories: [efficiency]
116
+ title: "Optimization Guide"
117
+ filename: "MAY-optimization.md"
118
+ summary: "Optional optimization strategies: parallel I/O, caching, lazy loading, token optimization, batching."
119
+ keywords: [optimization, parallel, caching, lazy-loading, token, batch, incremental]
120
+ token_estimate: 178
121
+ applies_to: [all]
122
+
123
+ R006:
124
+ class: MustRule
125
+ categories: [agent-design]
126
+ title: "Agent Design Rules"
127
+ filename: "MUST-agent-design.md"
128
+ summary: "Agent file format with required frontmatter (name/description/model/tools), memory scopes, separation of concerns."
129
+ keywords: [agent, frontmatter, memory, scope, user, project, local, separation, skills]
130
+ token_estimate: 300
131
+ applies_to: [agent-creation, agent-modification]
132
+
133
+ R007:
134
+ class: MustRule
135
+ categories: [agent-design, interaction]
136
+ title: "Agent Identification Rules"
137
+ filename: "MUST-agent-identification.md"
138
+ summary: "Every response MUST start with agent identification header showing agent name, type, skill, and task."
139
+ keywords: [identification, agent-header, agent-name, skill-name, task-description]
140
+ token_estimate: 134
141
+ applies_to: [all]
142
+
143
+ R008:
144
+ class: MustRule
145
+ categories: [agent-design]
146
+ title: "Tool Usage Identification Rules"
147
+ filename: "MUST-tool-identification.md"
148
+ summary: "Every tool call MUST be prefixed with [agent-name][model] → Tool/Target identification."
149
+ keywords: [tool, identification, agent-name, model, opus, sonnet, haiku, prefix]
150
+ token_estimate: 363
151
+ applies_to: [all]
152
+
153
+ R009:
154
+ class: MustRule
155
+ categories: [execution]
156
+ title: "Parallel Execution Rules"
157
+ filename: "MUST-parallel-execution.md"
158
+ summary: "2+ independent tasks MUST execute in parallel. Max 4 concurrent instances. Sequential execution is violation."
159
+ keywords: [parallel, concurrent, independent, task, spawn, bottleneck, batch]
160
+ token_estimate: 527
161
+ applies_to: [all]
162
+
163
+ R010:
164
+ class: MustRule
165
+ categories: [execution]
166
+ title: "Orchestrator Coordination Rules"
167
+ filename: "MUST-orchestrator-coordination.md"
168
+ summary: "Main conversation is sole orchestrator. Uses routing skills to delegate to subagents. Flat architecture, no hierarchy."
169
+ keywords: [orchestrator, routing, delegation, task-tool, subagent, git, mgr-gitnerd, model-selection]
170
+ token_estimate: 696
171
+ applies_to: [all]
172
+
173
+ R011:
174
+ class: ShouldRule
175
+ categories: [memory]
176
+ title: "Memory Integration Rules"
177
+ filename: "SHOULD-memory-integration.md"
178
+ summary: "Primary: Native auto memory (frontmatter). Supplementary: claude-mem MCP for cross-session search."
179
+ keywords: [memory, native, claude-mem, persistence, session, temporal, cross-agent]
180
+ token_estimate: 248
181
+ applies_to: [agents-with-memory, memory-operations]
182
+
183
+ R012:
184
+ class: ShouldRule
185
+ categories: [display]
186
+ title: "HUD Statusline Rules"
187
+ filename: "SHOULD-hud-statusline.md"
188
+ summary: "Display statusline for multi-step tasks, parallel execution. Format: Agent | Progress | Parallel count."
189
+ keywords: [hud, statusline, progress, parallel, display, hooks]
190
+ token_estimate: 126
191
+ applies_to: [multi-step-tasks, parallel-execution]
192
+
193
+ R013:
194
+ class: ShouldRule
195
+ categories: [efficiency]
196
+ title: "Ecomode Rules"
197
+ filename: "SHOULD-ecomode.md"
198
+ summary: "Auto-activates for 4+ parallel tasks or 80%+ context. Compact output, aggregation format, compression."
199
+ keywords: [ecomode, compact, token-efficiency, batch, aggregation, compression]
200
+ token_estimate: 165
201
+ applies_to: [batch-operations, high-token-usage]
202
+
203
+ R015:
204
+ class: MustRule
205
+ categories: [interaction]
206
+ title: "Intent Transparency Rules"
207
+ filename: "MUST-intent-transparency.md"
208
+ summary: "Display reasoning when routing to agents. Show confidence score, agent selection, and override options."
209
+ keywords: [intent, transparency, routing, confidence, detection, agent-selection, override]
210
+ token_estimate: 217
211
+ applies_to: [orchestrator, routing-decisions]
212
+
213
+ R016:
214
+ class: MustRule
215
+ categories: [quality]
216
+ title: "Continuous Improvement Rules"
217
+ filename: "MUST-continuous-improvement.md"
218
+ summary: "When user points out violation: STOP → UPDATE rule → COMMIT → continue task. Don't just apologize."
219
+ keywords: [improvement, violation, update, commit, feedback, iteration]
220
+ token_estimate: 159
221
+ applies_to: [all]
222
+
223
+ R017:
224
+ class: MustRule
225
+ categories: [quality]
226
+ title: "Sync Verification Rules"
227
+ filename: "MUST-sync-verification.md"
228
+ summary: "Full verification before commit/push: mgr-sauron:watch mandatory. 5 rounds manager verification + 3 rounds deep review."
229
+ keywords: [verification, sync, sauron, commit, push, validation, frontmatter, routing]
230
+ token_estimate: 817
231
+ applies_to: [agent-modification, skill-modification, guide-modification, rules-modification]
232
+
233
+ R018:
234
+ class: ShouldRule
235
+ categories: [teams]
236
+ title: "Agent Teams Rules"
237
+ filename: "SHOULD-agent-teams.md"
238
+ summary: "Use Agent Teams for 3+ agent coordinated tasks with shared state. Task tool for simple/independent work."
239
+ keywords: [agent-teams, coordination, shared-state, task-tool, broadcast, message, cost]
240
+ token_estimate: 267
241
+ applies_to: [multi-agent-coordination, complex-research]
242
+
243
+ # Metadata
244
+ metadata:
245
+ total_rules: 18
246
+ must_rules: 11
247
+ should_rules: 6
248
+ may_rules: 1
249
+ total_tokens_estimate: 5318
250
+ source_directory: "templates/.claude/rules/"
251
+ generated_by: "claude (default)"
@@ -0,0 +1,144 @@
1
+ # Ontology Schema for oh-my-customcode
2
+ # Defines class hierarchies and relations between entities
3
+ version: "1.0.0"
4
+
5
+ # Entity types
6
+ entity_types:
7
+ Agent:
8
+ description: "AI agent that performs specialized tasks"
9
+ subclasses:
10
+ LanguageExpert:
11
+ description: "Programming language specialists"
12
+ prefix: "lang-"
13
+ BackendExpert:
14
+ description: "Backend framework specialists"
15
+ prefix: "be-"
16
+ FrontendExpert:
17
+ description: "Frontend framework specialists"
18
+ prefix: "fe-"
19
+ DataEngineer:
20
+ description: "Data engineering specialists"
21
+ prefix: "de-"
22
+ DatabaseExpert:
23
+ description: "Database specialists"
24
+ prefix: "db-"
25
+ ToolingExpert:
26
+ description: "Tooling specialists"
27
+ prefix: "tool-"
28
+ Architect:
29
+ description: "Architecture and documentation"
30
+ prefix: "arch-"
31
+ InfraEngineer:
32
+ description: "Infrastructure specialists"
33
+ prefix: "infra-"
34
+ QAAgent:
35
+ description: "QA and testing"
36
+ prefix: "qa-"
37
+ ManagerAgent:
38
+ description: "System management agents"
39
+ prefix: "mgr-"
40
+ SystemAgent:
41
+ description: "System utility agents"
42
+ prefix: "sys-"
43
+ properties:
44
+ name: { type: string, required: true }
45
+ description: { type: string, required: true }
46
+ model: { type: enum, values: [opus, sonnet, haiku], required: true }
47
+ memory: { type: enum, values: [project, user, local], required: false }
48
+ effort: { type: enum, values: [low, medium, high], required: false }
49
+ tools: { type: "list[string]", required: true }
50
+
51
+ Skill:
52
+ description: "Reusable capability or knowledge module"
53
+ subclasses:
54
+ RoutingSkill: { description: "Route tasks to agents" }
55
+ BestPracticeSkill: { description: "Language/framework patterns" }
56
+ ManagementSkill: { description: "Agent/project management" }
57
+ DevelopmentSkill: { description: "Code review and refactoring" }
58
+ OptimizationSkill: { description: "Performance optimization" }
59
+ MemorySkill: { description: "Memory persistence" }
60
+ PackageSkill: { description: "Package management" }
61
+ SystemSkill: { description: "System utilities" }
62
+ VerificationSkill: { description: "Compliance verification" }
63
+ IntentSkill: { description: "Intent analysis" }
64
+ DeploymentSkill: { description: "Deployment automation" }
65
+ WritingSkill: { description: "Writing quality" }
66
+ MonitoringSkill: { description: "Monitoring" }
67
+ properties:
68
+ name: { type: string, required: true }
69
+ description: { type: string, required: true }
70
+ user_invocable: { type: boolean, default: true }
71
+ model_invocable: { type: boolean, default: true }
72
+
73
+ Rule:
74
+ description: "Governance rule for agent behavior"
75
+ subclasses:
76
+ MustRule: { description: "Mandatory - violation requires correction", enforced: true }
77
+ ShouldRule: { description: "Recommended - strong guidance", enforced: false }
78
+ MayRule: { description: "Optional - beneficial when applied", enforced: false }
79
+ properties:
80
+ id: { type: string, pattern: "R\\d{3}", required: true }
81
+ title: { type: string, required: true }
82
+ priority: { type: enum, values: [MUST, SHOULD, MAY], required: true }
83
+ token_estimate: { type: integer, required: true }
84
+
85
+ # Relations between entities
86
+ relations:
87
+ requires:
88
+ description: "Agent requires a skill to perform its work"
89
+ source: Agent
90
+ target: Skill
91
+ cardinality: "many-to-many"
92
+
93
+ must_follow:
94
+ description: "Agent must follow this rule"
95
+ source: Agent
96
+ target: MustRule
97
+ cardinality: "many-to-many"
98
+
99
+ should_follow:
100
+ description: "Agent should follow this rule"
101
+ source: Agent
102
+ target: ShouldRule
103
+ cardinality: "many-to-many"
104
+
105
+ depends_on:
106
+ description: "Skill depends on a rule for its operation"
107
+ source: Skill
108
+ target: Rule
109
+ cardinality: "many-to-many"
110
+
111
+ routes_to:
112
+ description: "Routing skill routes to an agent"
113
+ source: RoutingSkill
114
+ target: Agent
115
+ cardinality: "one-to-many"
116
+
117
+ references:
118
+ description: "Skill references a guide for documentation"
119
+ source: Skill
120
+ target: Guide
121
+ cardinality: "many-to-many"
122
+
123
+ # Context loading levels
124
+ loading_levels:
125
+ level_0:
126
+ description: "Category summaries only"
127
+ target_tokens: 500
128
+ content: "Rule categories + agent class list"
129
+ level_1:
130
+ description: "Relevant entity summaries"
131
+ target_tokens: 800
132
+ content: "Matched rules/skills/agents summaries"
133
+ level_2:
134
+ description: "Selected entity full content"
135
+ target_tokens: 1500
136
+ content: "Top-3 rules full text"
137
+ level_3:
138
+ description: "Skill details"
139
+ target_tokens: 600
140
+ content: "Matched skill summaries"
141
+ level_4:
142
+ description: "Full skill content (on-demand)"
143
+ target_tokens: 2000
144
+ content: "Full skill instructions"