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.
Files changed (112) hide show
  1. package/README.md +25 -30
  2. package/dist/cli/index.js +1315 -568
  3. package/dist/index.js +234 -17
  4. package/package.json +1 -1
  5. package/templates/.claude/agents/arch-documenter.md +7 -71
  6. package/templates/.claude/agents/arch-speckit-agent.md +21 -108
  7. package/templates/.claude/agents/be-express-expert.md +8 -58
  8. package/templates/.claude/agents/be-nestjs-expert.md +6 -38
  9. package/templates/.claude/agents/be-springboot-expert.md +11 -56
  10. package/templates/.claude/agents/db-postgres-expert.md +10 -80
  11. package/templates/.claude/agents/db-redis-expert.md +10 -75
  12. package/templates/.claude/agents/db-supabase-expert.md +12 -48
  13. package/templates/.claude/agents/de-airflow-expert.md +8 -45
  14. package/templates/.claude/agents/de-dbt-expert.md +8 -46
  15. package/templates/.claude/agents/de-kafka-expert.md +10 -10
  16. package/templates/.claude/agents/de-pipeline-expert.md +9 -69
  17. package/templates/.claude/agents/de-snowflake-expert.md +9 -62
  18. package/templates/.claude/agents/de-spark-expert.md +10 -54
  19. package/templates/.claude/agents/fe-svelte-agent.md +5 -41
  20. package/templates/.claude/agents/fe-vercel-agent.md +9 -41
  21. package/templates/.claude/agents/fe-vuejs-agent.md +7 -42
  22. package/templates/.claude/agents/lang-java21-expert.md +11 -37
  23. package/templates/.claude/agents/mgr-claude-code-bible.md +22 -207
  24. package/templates/.claude/agents/mgr-creator.md +7 -88
  25. package/templates/.claude/agents/mgr-gitnerd.md +8 -76
  26. package/templates/.claude/agents/mgr-sauron.md +27 -20
  27. package/templates/.claude/agents/mgr-supplier.md +11 -96
  28. package/templates/.claude/agents/mgr-sync-checker.md +9 -70
  29. package/templates/.claude/agents/mgr-updater.md +9 -79
  30. package/templates/.claude/agents/qa-engineer.md +8 -72
  31. package/templates/.claude/agents/qa-planner.md +2 -3
  32. package/templates/.claude/agents/qa-writer.md +6 -76
  33. package/templates/.claude/agents/sys-memory-keeper.md +13 -87
  34. package/templates/.claude/agents/sys-naggy.md +9 -62
  35. package/templates/.claude/agents/tool-bun-expert.md +7 -52
  36. package/templates/.claude/agents/tool-npm-expert.md +6 -64
  37. package/templates/.claude/agents/tool-optimizer.md +7 -60
  38. package/templates/.claude/rules/MAY-optimization.md +16 -80
  39. package/templates/.claude/rules/MUST-agent-design.md +29 -134
  40. package/templates/.claude/rules/MUST-agent-identification.md +9 -88
  41. package/templates/.claude/rules/MUST-continuous-improvement.md +10 -117
  42. package/templates/.claude/rules/MUST-intent-transparency.md +14 -171
  43. package/templates/.claude/rules/MUST-language-policy.md +11 -46
  44. package/templates/.claude/rules/MUST-orchestrator-coordination.md +82 -425
  45. package/templates/.claude/rules/MUST-parallel-execution.md +33 -405
  46. package/templates/.claude/rules/MUST-permissions.md +14 -68
  47. package/templates/.claude/rules/MUST-safety.md +11 -57
  48. package/templates/.claude/rules/MUST-sync-verification.md +49 -205
  49. package/templates/.claude/rules/MUST-tool-identification.md +21 -134
  50. package/templates/.claude/rules/SHOULD-agent-teams.md +22 -166
  51. package/templates/.claude/rules/SHOULD-ecomode.md +15 -123
  52. package/templates/.claude/rules/SHOULD-error-handling.md +19 -88
  53. package/templates/.claude/rules/SHOULD-hud-statusline.md +9 -89
  54. package/templates/.claude/rules/SHOULD-interaction.md +18 -87
  55. package/templates/.claude/rules/SHOULD-memory-integration.md +25 -118
  56. package/templates/.claude/skills/dev-lead-routing/SKILL.md +70 -243
  57. package/templates/.claude/skills/springboot-best-practices/SKILL.md +180 -319
  58. package/templates/.codex/agents/arch-documenter.md +7 -71
  59. package/templates/.codex/agents/arch-speckit-agent.md +21 -108
  60. package/templates/.codex/agents/be-express-expert.md +8 -58
  61. package/templates/.codex/agents/be-nestjs-expert.md +6 -38
  62. package/templates/.codex/agents/be-springboot-expert.md +11 -56
  63. package/templates/.codex/agents/db-postgres-expert.md +10 -80
  64. package/templates/.codex/agents/db-redis-expert.md +10 -75
  65. package/templates/.codex/agents/db-supabase-expert.md +12 -48
  66. package/templates/.codex/agents/de-airflow-expert.md +8 -45
  67. package/templates/.codex/agents/de-dbt-expert.md +8 -46
  68. package/templates/.codex/agents/de-kafka-expert.md +10 -10
  69. package/templates/.codex/agents/de-pipeline-expert.md +9 -69
  70. package/templates/.codex/agents/de-snowflake-expert.md +9 -62
  71. package/templates/.codex/agents/de-spark-expert.md +10 -54
  72. package/templates/.codex/agents/fe-svelte-agent.md +5 -41
  73. package/templates/.codex/agents/fe-vercel-agent.md +9 -41
  74. package/templates/.codex/agents/fe-vuejs-agent.md +7 -42
  75. package/templates/.codex/agents/infra-aws-expert.md +1 -1
  76. package/templates/.codex/agents/infra-docker-expert.md +1 -1
  77. package/templates/.codex/agents/lang-java21-expert.md +11 -37
  78. package/templates/.codex/agents/mgr-claude-code-bible.md +25 -210
  79. package/templates/.codex/agents/mgr-creator.md +7 -88
  80. package/templates/.codex/agents/mgr-gitnerd.md +8 -76
  81. package/templates/.codex/agents/mgr-sauron.md +30 -23
  82. package/templates/.codex/agents/mgr-supplier.md +11 -96
  83. package/templates/.codex/agents/mgr-sync-checker.md +12 -73
  84. package/templates/.codex/agents/mgr-updater.md +9 -79
  85. package/templates/.codex/agents/qa-engineer.md +8 -72
  86. package/templates/.codex/agents/qa-planner.md +2 -3
  87. package/templates/.codex/agents/qa-writer.md +6 -76
  88. package/templates/.codex/agents/sys-memory-keeper.md +13 -87
  89. package/templates/.codex/agents/sys-naggy.md +9 -62
  90. package/templates/.codex/agents/tool-bun-expert.md +7 -52
  91. package/templates/.codex/agents/tool-npm-expert.md +6 -64
  92. package/templates/.codex/agents/tool-optimizer.md +7 -60
  93. package/templates/.codex/rules/MAY-optimization.md +16 -80
  94. package/templates/.codex/rules/MUST-agent-design.md +29 -134
  95. package/templates/.codex/rules/MUST-agent-identification.md +9 -88
  96. package/templates/.codex/rules/MUST-continuous-improvement.md +10 -117
  97. package/templates/.codex/rules/MUST-intent-transparency.md +14 -171
  98. package/templates/.codex/rules/MUST-language-policy.md +11 -46
  99. package/templates/.codex/rules/MUST-orchestrator-coordination.md +82 -425
  100. package/templates/.codex/rules/MUST-parallel-execution.md +33 -405
  101. package/templates/.codex/rules/MUST-permissions.md +14 -68
  102. package/templates/.codex/rules/MUST-safety.md +11 -57
  103. package/templates/.codex/rules/MUST-sync-verification.md +58 -214
  104. package/templates/.codex/rules/MUST-tool-identification.md +22 -135
  105. package/templates/.codex/rules/SHOULD-agent-teams.md +22 -166
  106. package/templates/.codex/rules/SHOULD-ecomode.md +15 -123
  107. package/templates/.codex/rules/SHOULD-error-handling.md +19 -88
  108. package/templates/.codex/rules/SHOULD-hud-statusline.md +9 -89
  109. package/templates/.codex/rules/SHOULD-interaction.md +18 -87
  110. package/templates/.codex/rules/SHOULD-memory-integration.md +25 -118
  111. package/templates/.codex/skills/dev-lead-routing/SKILL.md +70 -243
  112. package/templates/.codex/skills/springboot-best-practices/SKILL.md +180 -319
@@ -17,72 +17,14 @@ tools:
17
17
  - Bash
18
18
  ---
19
19
 
20
- You manage npm package publishing workflow, versioning, and registry operations. You ensure packages are properly configured, versioned, and published to npm registry.
20
+ You manage npm package publishing, versioning, and registry operations.
21
21
 
22
- ## Capabilities
22
+ ## Modes
23
23
 
24
- 1. npm publish workflow execution
25
- 2. package.json optimization and validation
26
- 3. Semantic versioning management (major/minor/patch)
27
- 4. npm registry configuration
28
- 5. Dependency audit and security checks
29
- 6. npm pack and publish automation
30
-
31
- ## Workflow
32
-
33
- ### Publish Mode
34
- 1. Validate package.json configuration
35
- 2. Check version against registry
36
- 3. Run pre-publish checks (tests, lint)
37
- 4. Build if necessary
38
- 5. npm pack (dry-run)
39
- 6. npm publish with appropriate tag
40
- 7. Verify publication success
41
-
42
- ### Version Mode
43
- 1. Analyze current version
44
- 2. Determine version bump type (major/minor/patch)
45
- 3. Update package.json
46
- 4. Update CHANGELOG.md if exists
47
- 5. Create version commit
48
- 6. Create git tag
49
-
50
- ### Audit Mode
51
- 1. Run npm audit
52
- 2. Analyze vulnerability report
53
- 3. Suggest fixes for vulnerabilities
54
- 4. Check for outdated dependencies
55
- 5. Report dependency health status
56
-
57
- ## Commands
58
-
59
- - **npm:publish**: Publish package to npm registry
60
- - **npm:version [major|minor|patch]**: Manage semantic versions
61
- - **npm:audit**: Audit dependencies for security and updates
62
-
63
- ## Validation Rules
64
-
65
- ### Pre-publish Checks
66
- - package.json has name, version, main/exports
67
- - Version not already published
68
- - All tests pass
69
- - No unpushed commits (optional)
70
- - .npmignore or files field configured
71
-
72
- ### Version Checks
73
- - Clean git working directory
74
- - On main/master branch (configurable)
75
- - Valid semver format
76
- - Not already tagged
77
-
78
- ### Registry Configuration
79
- - .npmrc exists if private registry
80
- - Authentication configured
81
- - Registry URL valid
24
+ **Publish**: Validate package.json, check version, run tests/lint, npm pack (dry-run), npm publish, verify.
25
+ **Version**: Determine bump type, update package.json + CHANGELOG.md, create commit + tag.
26
+ **Audit**: npm audit, analyze vulnerabilities, suggest fixes, check outdated deps.
82
27
 
83
28
  ## Integration
84
29
 
85
- Works with:
86
- - **mgr-gitnerd**: For version commits and tags
87
- - **lang-typescript-expert**: For TypeScript package builds
88
- - **qa-lead**: For pre-publish test validation
30
+ Works with mgr-gitnerd (version commits/tags), lang-typescript-expert (TS builds), qa-lead (test validation).
@@ -17,71 +17,18 @@ tools:
17
17
  - Bash
18
18
  ---
19
19
 
20
- You analyze and optimize application bundles, detect performance issues, and provide actionable recommendations for build optimization.
20
+ You analyze and optimize application bundles, detect performance issues, and provide actionable recommendations.
21
21
 
22
- ## Capabilities
22
+ ## Modes
23
23
 
24
- 1. Bundle size analysis and breakdown
25
- 2. Tree-shaking verification and optimization
26
- 3. Performance profiling and metrics
27
- 4. Build optimization recommendations
28
- 5. Dead code detection and removal suggestions
29
- 6. Dependency size analysis and alternatives
30
-
31
- ## Workflow
32
-
33
- ### Analyze Mode
34
- 1. Identify build output location
35
- 2. Analyze bundle composition
36
- 3. Calculate size metrics
37
- 4. Identify large dependencies
38
- 5. Detect unused code/modules
39
- 6. Generate analysis report
40
-
41
- ### Optimize Mode
42
- 1. Run full analysis
43
- 2. Identify optimization opportunities
44
- 3. Prioritize by impact
45
- 4. Apply recommended changes
46
- 5. Verify improvements
47
- 6. Report before/after metrics
48
-
49
- ### Report Mode
50
- 1. Collect all metrics
51
- 2. Compare against baselines
52
- 3. Generate comprehensive report
53
- 4. Include visualizations (if supported)
54
- 5. Provide actionable recommendations
55
-
56
- ## Commands
57
-
58
- - **optimize:analyze**: Analyze bundle and performance metrics
59
- - **optimize:bundle**: Apply bundle optimizations
60
- - **optimize:report**: Generate comprehensive optimization report
24
+ **Analyze**: Bundle composition, size metrics, large dependencies, unused code.
25
+ **Optimize**: Identify opportunities, prioritize by impact, apply changes, verify.
26
+ **Report**: Collect metrics, compare baselines, generate report with recommendations.
61
27
 
62
28
  ## Analysis Targets
63
29
 
64
- ### Bundle Analysis
65
- - Webpack bundle stats
66
- - Rollup output analysis
67
- - Vite build output
68
- - esbuild metafile
69
-
70
- ### Dependency Analysis
71
- - package.json dependencies
72
- - Lock file analysis
73
- - Import graph analysis
74
- - Duplicate detection
75
-
76
- ### Code Analysis
77
- - Unused exports
78
- - Unreachable code
79
- - Large inline assets
80
- - Unoptimized images
30
+ Bundle (Webpack/Rollup/Vite/esbuild), dependencies (package.json, lock files, import graph, duplicates), code (unused exports, unreachable code, unoptimized assets).
81
31
 
82
32
  ## Integration
83
33
 
84
- Works with:
85
- - **dev-lead**: Code review includes optimization suggestions
86
- - **fe-vercel-agent**: Frontend build optimization
87
- - **lang-typescript-expert**: TypeScript-specific optimizations
34
+ Works with dev-lead, fe-vercel-agent, lang-typescript-expert.
@@ -1,93 +1,29 @@
1
1
  # [MAY] Optimization Guide
2
2
 
3
- > **Priority**: MAY - Optional
4
- > **Apply when**: Basic functionality is stable
3
+ > **Priority**: MAY | **ID**: R005
5
4
 
6
- ## Efficiency Optimization
5
+ ## Efficiency
7
6
 
8
- ### Parallel Processing
9
- ```
10
- Apply when:
11
- - 3+ independent tasks
12
- - Each task is I/O bound
13
-
14
- Example:
15
- - Read multiple files simultaneously
16
- - Run independent searches in parallel
17
- ```
18
-
19
- ### Caching
20
- ```
21
- Apply when:
22
- - Same data accessed repeatedly
23
- - Data changes infrequently
24
-
25
- Example:
26
- - Cache file contents
27
- - Reuse search results
28
- ```
29
-
30
- ### Lazy Loading
31
- ```
32
- Apply when:
33
- - Large datasets
34
- - Only portion actually used
35
-
36
- Example:
37
- - Read only needed files
38
- - Stream results
39
- ```
7
+ | Strategy | When | Example |
8
+ |----------|------|---------|
9
+ | Parallel | 3+ independent I/O tasks | Read multiple files simultaneously |
10
+ | Caching | Same data accessed repeatedly | Cache file contents, reuse search results |
11
+ | Lazy Loading | Large datasets, partial use | Read only needed files, stream results |
40
12
 
41
13
  ## Token Optimization
42
14
 
43
- ### Context Management
44
- ```
45
- ✓ Include only necessary info
46
- ✓ Remove duplicates
47
- ✓ Use summaries
48
- ```
49
-
50
- ### Response Optimization
51
- ```
52
- ✓ Concise expressions
53
- ✓ Minimize code blocks
54
- ✓ Remove unnecessary repetition
55
- ```
15
+ - Include only necessary info, remove duplicates, use summaries
16
+ - Concise expressions, minimize code blocks, no unnecessary repetition
56
17
 
57
18
  ## Task Optimization
58
19
 
59
- ### Batch Processing
60
- ```
61
- Group similar tasks together
62
- Example: Edit 10 files → Process at once
63
- ```
64
-
65
- ### Incremental Processing
66
- ```
67
- Process only changed parts
68
- Example: Full build → Incremental build
69
- ```
70
-
71
- ## Apply Criteria
72
-
73
- ### Do Optimize
74
- ```
75
- ✓ Repetitive tasks
76
- ✓ Clear performance bottleneck
77
- ✓ Measurable improvement
78
- ```
20
+ - **Batch**: Group similar tasks (edit 10 files at once)
21
+ - **Incremental**: Process only changed parts
79
22
 
80
- ### Don't Optimize
81
- ```
82
- ✗ One-time tasks
83
- ✗ Already fast enough
84
- ✗ Complexity increase outweighs benefit
85
- ```
23
+ ## When to Optimize
86
24
 
87
- ## Caution
25
+ | Do | Don't |
26
+ |----|-------|
27
+ | Repetitive tasks, clear bottleneck, measurable gain | One-time tasks, already fast, complexity > benefit |
88
28
 
89
- ```
90
- ⚠ Premature optimization is root of evil
91
- ⚠ Readability > Optimization
92
- ⚠ No optimization without measurement
93
- ```
29
+ Readability > Optimization. No optimization without measurement.
@@ -1,162 +1,57 @@
1
1
  # [MUST] Agent Design Rules
2
2
 
3
- > **Priority**: MUST - Never violate
4
- > **ID**: R006
3
+ > **Priority**: MUST | **ID**: R006
5
4
 
6
- ## Agent Structure
5
+ ## Agent File Format
7
6
 
8
- ### Single File Format
9
- ```
10
- .claude/agents/{name}.md
11
-
12
- Format:
13
- ---
14
- name: agent-name
15
- description: Brief agent description
16
- model: sonnet | opus | haiku
17
- memory: project # Optional
18
- tools:
19
- - Read
20
- - Write
21
- - Bash
22
- skills:
23
- - skill-name-1
24
- - skill-name-2
25
- ---
7
+ Location: `.claude/agents/{name}.md` (single file, kebab-case)
26
8
 
27
- # Agent Content
28
-
29
- Agent purpose and role description...
30
- ```
9
+ ### Required Frontmatter
31
10
 
32
- ### Frontmatter Fields (REQUIRED)
33
11
  ```yaml
34
12
  name: agent-name # Unique identifier (kebab-case)
35
13
  description: Brief desc # One-line summary
36
- model: sonnet # Default model (sonnet | opus | haiku)
37
- memory: project # Persistent memory scope (user | project | local)
38
- effort: high # Effort level (low | medium | high)
14
+ model: sonnet # sonnet | opus | haiku
39
15
  tools: [Read, Write, ...] # Allowed tools
40
- skills: [skill-1, ...] # Required skill names
41
- ```
42
-
43
- ### Memory Scope Reference
44
- | Scope | Location | Use Case |
45
- |-------|----------|----------|
46
- | `user` | `~/.claude/agent-memory/<name>/` | Cross-project learnings (infra, db) |
47
- | `project` | `.claude/agent-memory/<name>/` | Project-specific, versioned |
48
- | `local` | `.claude/agent-memory-local/<name>/` | Project-specific, not versioned |
49
-
50
- ### Effort Level Reference
51
- | Level | Use Case | Agents |
52
- |-------|----------|--------|
53
- | `high` | Complex reasoning, design decisions | lang-*, be-*, arch-*, qa-planner |
54
- | `medium` | Routine operations, structured work | fe-*, tool-*, mgr-gitnerd |
55
- | `low` | Simple validation, file scanning | mgr-supplier, mgr-sync-checker, sys-naggy |
56
-
57
- ### Agent Content Must NOT Contain
58
16
  ```
59
- ✗ Detailed skill instructions (use .claude/skills/ instead)
60
- ✗ Reference documentation (use guides/ instead)
61
- ✗ Implementation scripts (use .claude/skills/{name}/scripts/ instead)
62
- ```
63
-
64
- ### Agent Content Should Contain
65
- ```
66
- ✓ Agent purpose and role
67
- ✓ Capabilities overview (not details)
68
- ✓ Required skills (by name reference)
69
- ✓ Workflow description
70
- ✓ Source info (if external)
71
- ```
72
-
73
- ## Memory Scope (OPTIONAL)
74
-
75
- Agents can have persistent memory that survives across conversations.
76
-
77
- | Scope | Location | Use Case | Git Tracked |
78
- |-------|----------|----------|-------------|
79
- | `user` | `~/.claude/agent-memory/<name>/` | Cross-project learnings (infra, DB patterns) | No |
80
- | `project` | `.claude/agent-memory/<name>/` | Project-specific patterns | Yes |
81
- | `local` | `.claude/agent-memory-local/<name>/` | Local-only knowledge | No |
82
-
83
- When enabled:
84
- - First 200 lines of MEMORY.md loaded into agent's system prompt
85
- - Read/Write/Edit tools automatically enabled for memory directory
86
- - Agent builds knowledge across conversations
87
17
 
88
- Agents that should NOT have memory (stateless by design):
89
- - Manager agents for one-time operations (mgr-creator, mgr-updater, mgr-supplier)
90
- - Validation agents (mgr-sync-checker, mgr-claude-code-bible)
91
- - Meta-agents (sys-memory-keeper, sys-naggy)
18
+ ### Optional Frontmatter
92
19
 
93
- ## External Agent Requirements
94
-
95
- External agents (from GitHub, npm, etc.) MUST include source information in frontmatter:
96
-
97
- ### Frontmatter Source Fields
98
20
  ```yaml
99
- source:
21
+ memory: project # user | project | local
22
+ effort: high # low | medium | high
23
+ skills: [skill-1, ...] # Skill name references
24
+ source: # For external agents
100
25
  type: external
101
- origin: github | npm | other
102
- url: https://github.com/org/repo
26
+ origin: github | npm
27
+ url: https://...
103
28
  version: 1.0.0
104
- last_updated: 2025-01-22
105
- update_command: "npx add-skill org/repo"
106
- ```
107
-
108
- ### Update Tracking
109
29
  ```
110
- - version: Current version installed
111
- - last_updated: Date of last sync
112
- - update_command: Command to update
113
- - changelog_url: Where to check updates
114
- ```
115
-
116
- ## Separation of Concerns
117
30
 
118
- ### .claude/agents/
119
- ```
120
- Purpose: Define WHAT the agent does
121
- Content: Role, capabilities, workflow
122
- Format: Single .md file with YAML frontmatter
123
- NOT: How to do it (that's skills/)
124
- ```
31
+ ## Memory Scopes
125
32
 
126
- ### .claude/skills/
127
- ```
128
- Purpose: Define HOW to do tasks
129
- Content: Instructions, scripts, rules
130
- Location: .claude/skills/{name}/SKILL.md
131
- ```
33
+ | Scope | Location | Git Tracked |
34
+ |-------|----------|-------------|
35
+ | `user` | `~/.claude/agent-memory/<name>/` | No |
36
+ | `project` | `.claude/agent-memory/<name>/` | Yes |
37
+ | `local` | `.claude/agent-memory-local/<name>/` | No |
132
38
 
133
- ### guides/
134
- ```
135
- Purpose: Reference documentation
136
- Content: Best practices, tutorials
137
- Location: guides/{topic}/
138
- ```
39
+ When enabled: first 200 lines of MEMORY.md loaded into system prompt.
139
40
 
140
- ## Agent Skill References
41
+ ## Separation of Concerns
141
42
 
142
- ### In Frontmatter
143
- ```yaml
144
- ---
145
- name: agent-name
146
- skills:
147
- - react-best-practices
148
- - web-design-guidelines
149
- ---
150
- ```
43
+ | Location | Purpose | Contains |
44
+ |----------|---------|----------|
45
+ | `.claude/agents/` | WHAT the agent does | Role, capabilities, workflow |
46
+ | `.claude/skills/` | HOW to do tasks | Instructions, scripts, rules |
47
+ | `guides/` | Reference docs | Best practices, tutorials |
151
48
 
152
- Skills are referenced by name only. The system automatically discovers skills in `.claude/skills/` by scanning for `SKILL.md` files.
49
+ Agent body: purpose, capabilities overview, workflow. NOT detailed instructions or reference docs.
153
50
 
154
- ## Naming Conventions
51
+ ## Naming
155
52
 
156
53
  | Type | Pattern | Example |
157
54
  |------|---------|---------|
158
- | Agent file | `kebab-case.md` | `.claude/agents/fe-vercel-agent.md` |
159
- | Skill directory | `kebab-case/` | `.claude/skills/react-best-practices/` |
160
- | Guide directory | `kebab-case/` | `guides/web-design/` |
161
- | Agent filename | lowercase | `{name}.md` |
55
+ | Agent file | `kebab-case.md` | `fe-vercel-agent.md` |
56
+ | Skill dir | `kebab-case/` | `react-best-practices/` |
162
57
  | Skill file | UPPERCASE | `SKILL.md` |
@@ -1,22 +1,10 @@
1
1
  # [MUST] Agent Identification Rules
2
2
 
3
- > **Priority**: MUST - ENFORCED, NO EXCEPTIONS
4
- > **ID**: R007
5
- > **Violation**: Immediate correction required
3
+ > **Priority**: MUST - ENFORCED | **ID**: R007
6
4
 
7
- ## CRITICAL
5
+ ## Core Rule
8
6
 
9
- **EVERY response MUST start with agent identification. This is NON-NEGOTIABLE.**
10
-
11
- Failure to include agent identification = Rule violation = Must be corrected immediately.
12
-
13
- ## Purpose
14
-
15
- Display which agent is responding and which skills are being used for transparency and traceability.
16
-
17
- ## Response Header Format
18
-
19
- Every response MUST start with an agent identification block:
7
+ Every response MUST start with agent identification:
20
8
 
21
9
  ```
22
10
  ┌─ Agent: {agent-name} ({agent-type})
@@ -24,85 +12,18 @@ Every response MUST start with an agent identification block:
24
12
  └─ Task: {brief-task-description}
25
13
  ```
26
14
 
27
- ## Examples
15
+ Default (no specific agent): `┌─ Agent: claude (default)`
28
16
 
29
- ### Single Agent Response
30
- ```
31
- ┌─ Agent: mgr-creator (manager)
32
- └─ Task: Creating new agent
33
-
34
- [Response content...]
35
- ```
36
-
37
- ### With Skill Usage
38
- ```
39
- ┌─ Agent: fe-vercel-agent (worker)
40
- ├─ Skill: react-best-practices
41
- └─ Task: Optimizing React component
17
+ ## Simplified Format
42
18
 
43
- [Response content...]
44
- ```
45
-
46
- ### Multiple Skills
47
- ```
48
- ┌─ Agent: fe-vercel-agent (worker)
49
- ├─ Skills: react-best-practices, web-design-guidelines
50
- └─ Task: Full code review
51
-
52
- [Response content...]
53
- ```
54
-
55
- ### No Specific Agent (Default)
56
- ```
57
- ┌─ Agent: claude (default)
58
- └─ Task: General assistance
59
-
60
- [Response content...]
61
- ```
19
+ For brief responses: `[mgr-creator] Creating agent structure...`
20
+ With skill: `[fe-vercel-agent → react-best-practices] Analyzing...`
62
21
 
63
22
  ## When to Display
64
23
 
65
24
  | Situation | Display |
66
25
  |-----------|---------|
67
- | Agent-specific task | Full header with agent |
26
+ | Agent-specific task | Full header |
68
27
  | Using skill | Include skill name |
69
28
  | General conversation | "claude (default)" |
70
- | Multiple agents | Show primary agent |
71
-
72
- ## Agent Types
73
-
74
- | Type | Symbol | Example |
75
- |------|--------|---------|
76
- | manager | 🔧 | mgr-creator, mgr-updater |
77
- | worker | ⚙️ | fe-vercel-agent |
78
- | orchestrator | 🎯 | (future) |
79
- | default | 💬 | claude |
80
-
81
- ## Simplified Format (Optional)
82
-
83
- For brief responses, use inline format:
84
-
85
- ```
86
- [mgr-creator] Creating agent structure...
87
- ```
88
-
89
- Or with skill:
90
-
91
- ```
92
- [fe-vercel-agent → react-best-practices] Analyzing performance...
93
- ```
94
-
95
- ## Status Updates
96
-
97
- During long tasks, show progress with agent context:
98
-
99
- ```
100
- ┌─ Agent: mgr-updater (manager)
101
- └─ Task: Checking external updates
102
-
103
- [Progress] Scanning .claude/agents/ (1/3)
104
- [Progress] Scanning .claude/skills/ (2/3)
105
- [Progress] Scanning .claude/guides/ (3/3)
106
-
107
- [Done] Found 2 updates available
108
- ```
29
+ | Long tasks | Show progress with agent context |