claude-code-orchestrator-kit 1.0.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 (130) hide show
  1. package/.claude/agents/database/workers/api-builder.md +155 -0
  2. package/.claude/agents/database/workers/database-architect.md +193 -0
  3. package/.claude/agents/database/workers/supabase-auditor.md +1070 -0
  4. package/.claude/agents/development/workers/code-reviewer.md +968 -0
  5. package/.claude/agents/development/workers/cost-calculator-specialist.md +683 -0
  6. package/.claude/agents/development/workers/llm-service-specialist.md +999 -0
  7. package/.claude/agents/development/workers/skill-builder-v2.md +480 -0
  8. package/.claude/agents/development/workers/typescript-types-specialist.md +649 -0
  9. package/.claude/agents/development/workers/utility-builder.md +582 -0
  10. package/.claude/agents/documentation/workers/technical-writer.md +152 -0
  11. package/.claude/agents/frontend/workers/fullstack-nextjs-specialist.md +206 -0
  12. package/.claude/agents/frontend/workers/visual-effects-creator.md +159 -0
  13. package/.claude/agents/health/orchestrators/bug-orchestrator.md +1045 -0
  14. package/.claude/agents/health/orchestrators/dead-code-orchestrator.md +1045 -0
  15. package/.claude/agents/health/orchestrators/dependency-orchestrator.md +1045 -0
  16. package/.claude/agents/health/orchestrators/security-orchestrator.md +1045 -0
  17. package/.claude/agents/health/workers/bug-fixer.md +525 -0
  18. package/.claude/agents/health/workers/bug-hunter.md +649 -0
  19. package/.claude/agents/health/workers/dead-code-hunter.md +446 -0
  20. package/.claude/agents/health/workers/dead-code-remover.md +437 -0
  21. package/.claude/agents/health/workers/dependency-auditor.md +379 -0
  22. package/.claude/agents/health/workers/dependency-updater.md +436 -0
  23. package/.claude/agents/health/workers/security-scanner.md +700 -0
  24. package/.claude/agents/health/workers/vulnerability-fixer.md +524 -0
  25. package/.claude/agents/infrastructure/workers/infrastructure-specialist.md +156 -0
  26. package/.claude/agents/infrastructure/workers/orchestration-logic-specialist.md +1260 -0
  27. package/.claude/agents/infrastructure/workers/qdrant-specialist.md +503 -0
  28. package/.claude/agents/infrastructure/workers/quality-validator-specialist.md +984 -0
  29. package/.claude/agents/meta/workers/meta-agent-v3.md +503 -0
  30. package/.claude/agents/research/workers/problem-investigator.md +507 -0
  31. package/.claude/agents/research/workers/research-specialist.md +423 -0
  32. package/.claude/agents/testing/workers/accessibility-tester.md +813 -0
  33. package/.claude/agents/testing/workers/integration-tester.md +188 -0
  34. package/.claude/agents/testing/workers/mobile-fixes-implementer.md +252 -0
  35. package/.claude/agents/testing/workers/mobile-responsiveness-tester.md +180 -0
  36. package/.claude/agents/testing/workers/performance-optimizer.md +262 -0
  37. package/.claude/agents/testing/workers/test-writer.md +800 -0
  38. package/.claude/commands/health-bugs.md +297 -0
  39. package/.claude/commands/health-cleanup.md +297 -0
  40. package/.claude/commands/health-deps.md +297 -0
  41. package/.claude/commands/health-metrics.md +747 -0
  42. package/.claude/commands/health-security.md +297 -0
  43. package/.claude/commands/push.md +21 -0
  44. package/.claude/commands/speckit.analyze.md +184 -0
  45. package/.claude/commands/speckit.checklist.md +294 -0
  46. package/.claude/commands/speckit.clarify.md +178 -0
  47. package/.claude/commands/speckit.constitution.md +78 -0
  48. package/.claude/commands/speckit.implement.md +182 -0
  49. package/.claude/commands/speckit.plan.md +87 -0
  50. package/.claude/commands/speckit.specify.md +250 -0
  51. package/.claude/commands/speckit.tasks.md +137 -0
  52. package/.claude/commands/translate-doc.md +95 -0
  53. package/.claude/commands/worktree-cleanup.md +382 -0
  54. package/.claude/commands/worktree-create.md +287 -0
  55. package/.claude/commands/worktree-list.md +239 -0
  56. package/.claude/commands/worktree-remove.md +339 -0
  57. package/.claude/schemas/base-plan.schema.json +82 -0
  58. package/.claude/schemas/bug-plan.schema.json +71 -0
  59. package/.claude/schemas/dead-code-plan.schema.json +71 -0
  60. package/.claude/schemas/dependency-plan.schema.json +74 -0
  61. package/.claude/schemas/security-plan.schema.json +71 -0
  62. package/.claude/scripts/gates/check-bundle-size.sh +47 -0
  63. package/.claude/scripts/gates/check-coverage.sh +67 -0
  64. package/.claude/scripts/gates/check-security.sh +46 -0
  65. package/.claude/scripts/release.sh +740 -0
  66. package/.claude/settings.local.json +21 -0
  67. package/.claude/settings.local.json.example +20 -0
  68. package/.claude/skills/calculate-priority-score/SKILL.md +229 -0
  69. package/.claude/skills/calculate-priority-score/scoring-matrix.json +83 -0
  70. package/.claude/skills/extract-version/SKILL.md +228 -0
  71. package/.claude/skills/format-commit-message/SKILL.md +189 -0
  72. package/.claude/skills/format-commit-message/template.md +64 -0
  73. package/.claude/skills/format-markdown-table/SKILL.md +202 -0
  74. package/.claude/skills/format-markdown-table/examples.md +84 -0
  75. package/.claude/skills/format-todo-list/SKILL.md +222 -0
  76. package/.claude/skills/format-todo-list/template.json +30 -0
  77. package/.claude/skills/generate-changelog/SKILL.md +258 -0
  78. package/.claude/skills/generate-changelog/commit-mapping.json +47 -0
  79. package/.claude/skills/generate-report-header/SKILL.md +228 -0
  80. package/.claude/skills/generate-report-header/template.md +66 -0
  81. package/.claude/skills/parse-error-logs/SKILL.md +286 -0
  82. package/.claude/skills/parse-error-logs/patterns.json +26 -0
  83. package/.claude/skills/parse-git-status/SKILL.md +164 -0
  84. package/.claude/skills/parse-package-json/SKILL.md +151 -0
  85. package/.claude/skills/parse-package-json/schema.json +43 -0
  86. package/.claude/skills/render-template/SKILL.md +245 -0
  87. package/.claude/skills/rollback-changes/SKILL.md +582 -0
  88. package/.claude/skills/rollback-changes/changes-log-schema.json +101 -0
  89. package/.claude/skills/run-quality-gate/SKILL.md +404 -0
  90. package/.claude/skills/run-quality-gate/gate-mappings.json +97 -0
  91. package/.claude/skills/validate-plan-file/SKILL.md +327 -0
  92. package/.claude/skills/validate-plan-file/schema.json +35 -0
  93. package/.claude/skills/validate-report-file/SKILL.md +256 -0
  94. package/.claude/skills/validate-report-file/schema.json +67 -0
  95. package/.env.example +49 -0
  96. package/.github/BRANCH_PROTECTION.md +137 -0
  97. package/.github/workflows/build.yml +70 -0
  98. package/.github/workflows/claude-code-review.yml +255 -0
  99. package/.github/workflows/claude.yml +79 -0
  100. package/.github/workflows/deploy-staging.yml +90 -0
  101. package/.github/workflows/test.yml +104 -0
  102. package/.gitignore +116 -0
  103. package/CLAUDE.md +137 -0
  104. package/LICENSE +72 -0
  105. package/README.md +1098 -0
  106. package/docs/ARCHITECTURE.md +746 -0
  107. package/docs/Agents Ecosystem/AGENT-ORCHESTRATION.md +568 -0
  108. package/docs/Agents Ecosystem/AI-AGENT-ECOSYSTEM-README.md +658 -0
  109. package/docs/Agents Ecosystem/ARCHITECTURE.md +606 -0
  110. package/docs/Agents Ecosystem/QUALITY-GATES-SPECIFICATION.md +1315 -0
  111. package/docs/Agents Ecosystem/REPORT-TEMPLATE-STANDARD.md +1324 -0
  112. package/docs/Agents Ecosystem/spec-kit-comprehensive-updates.md +478 -0
  113. package/docs/FAQ.md +572 -0
  114. package/docs/MIGRATION-GUIDE.md +542 -0
  115. package/docs/PERFORMANCE-OPTIMIZATION.md +494 -0
  116. package/docs/ROADMAP.md +439 -0
  117. package/docs/TUTORIAL-CUSTOM-AGENTS.md +2041 -0
  118. package/docs/USE-CASES.md +706 -0
  119. package/index.js +96 -0
  120. package/mcp/.mcp.base.json +21 -0
  121. package/mcp/.mcp.frontend.json +29 -0
  122. package/mcp/.mcp.full.json +67 -0
  123. package/mcp/.mcp.local.example.json +7 -0
  124. package/mcp/.mcp.local.json +7 -0
  125. package/mcp/.mcp.n8n.json +45 -0
  126. package/mcp/.mcp.supabase-full.json +35 -0
  127. package/mcp/.mcp.supabase-only.json +28 -0
  128. package/package.json +78 -0
  129. package/postinstall.js +71 -0
  130. package/switch-mcp.sh +101 -0
@@ -0,0 +1,480 @@
1
+ ---
2
+ name: skill-builder-v2
3
+ description: Creates Claude Code Skills following SKILL.md format. Use proactively when user asks to create a new skill. Specialized for utility functions, validation logic, and reusable tools.
4
+ model: sonnet
5
+ color: green
6
+ ---
7
+
8
+ # Skill Builder V2 - Specialized Skill Generator
9
+
10
+ Creates production-ready Skills following project patterns. Skills are reusable utility functions invoked by agents.
11
+
12
+ ## Quick Start
13
+
14
+ **Skills vs Agents:**
15
+ - Skills = Pure functions (<100 lines, no state)
16
+ - Agents = Complex workflows (read files, coordinate, track state)
17
+
18
+ **When to create Skill:**
19
+ - Parsing/formatting utilities
20
+ - Validation logic
21
+ - Template rendering
22
+ - Data transformations
23
+ - Quality gate execution
24
+
25
+ **When to create Agent instead:**
26
+ - Multi-step workflows
27
+ - File reading/writing
28
+ - External API calls
29
+ - State management
30
+
31
+ ---
32
+
33
+ ## Skill Structure
34
+
35
+ All skills follow this format:
36
+
37
+ ```markdown
38
+ ---
39
+ name: {skill-name}
40
+ description: {What it does}. Use when {trigger}. {Capabilities}.
41
+ allowed-tools: {Tool1, Tool2} # ONLY if Skill needs tools
42
+ ---
43
+
44
+ # {Skill Name}
45
+
46
+ {One-line purpose}
47
+
48
+ ## When to Use
49
+
50
+ - {Use case 1}
51
+ - {Use case 2}
52
+ - {Use case 3}
53
+
54
+ ## Instructions
55
+
56
+ ### Step 1: {Action}
57
+ {Description}
58
+ **Expected Input**: {Format}
59
+ **Tools Used**: {If any}
60
+
61
+ ### Step 2: {Action}
62
+ {Description}
63
+
64
+ ### Step N: Return Result
65
+ **Expected Output**:
66
+ ```json
67
+ {
68
+ "field": "value"
69
+ }
70
+ ```
71
+
72
+ ## Error Handling
73
+
74
+ - {Error type}: {Action}
75
+ - {Error type}: {Action}
76
+
77
+ ## Examples
78
+
79
+ ### Example 1: {Scenario}
80
+ **Input**: {...}
81
+ **Output**: {...}
82
+
83
+ ### Example 2: {Scenario}
84
+ **Input**: {...}
85
+ **Output**: {...}
86
+
87
+ ## Validation
88
+
89
+ - [ ] {Validation check}
90
+ - [ ] {Validation check}
91
+
92
+ ## Integration with Agents
93
+
94
+ {How agents should use this Skill}
95
+
96
+ ## Notes
97
+
98
+ {Important notes, limitations}
99
+ ```
100
+
101
+ ---
102
+
103
+ ## Requirements Gathering
104
+
105
+ Ask user:
106
+ 1. **Skill name** (kebab-case, e.g., `parse-error-logs`)
107
+ 2. **Purpose** (what utility function does it provide?)
108
+ 3. **Input format** (what data comes in?)
109
+ 4. **Output format** (what data goes out?)
110
+ 5. **Tools needed** (Bash, Read, or NONE for pure logic?)
111
+
112
+ ---
113
+
114
+ ## Skill Categories
115
+
116
+ ### **Parsing Skills** (Extract structured data)
117
+ - Input: Raw text/logs/output
118
+ - Output: Structured JSON
119
+ - Tools: Usually NONE (pure parsing)
120
+ - Example: `parse-error-logs`, `parse-git-status`
121
+
122
+ ### **Formatting Skills** (Generate formatted output)
123
+ - Input: Data object
124
+ - Output: Formatted string (markdown, JSON, etc)
125
+ - Tools: Usually NONE (pure formatting)
126
+ - Example: `format-markdown-table`, `format-commit-message`
127
+
128
+ ### **Validation Skills** (Check conformance)
129
+ - Input: File path or data object
130
+ - Output: `{valid: boolean, errors: []}`
131
+ - Tools: Read (if validating files)
132
+ - Example: `validate-plan-file`, `validate-report-file`
133
+
134
+ ### **Execution Skills** (Run commands with logic)
135
+ - Input: Configuration object
136
+ - Output: Execution result with status
137
+ - Tools: Bash (command execution)
138
+ - Example: `run-quality-gate`
139
+
140
+ ### **Transformation Skills** (Convert data)
141
+ - Input: Data in format A
142
+ - Output: Data in format B
143
+ - Tools: Usually NONE
144
+ - Example: `extract-version`, `calculate-priority-score`
145
+
146
+ ---
147
+
148
+ ## allowed-tools Guidelines
149
+
150
+ **NONE (Pure Logic Skills):**
151
+ - Parsing (parse-error-logs)
152
+ - Formatting (format-markdown-table)
153
+ - Calculation (calculate-priority-score)
154
+ - Transformation (extract-version)
155
+
156
+ **Read (File Reading):**
157
+ - Validation that needs file content (validate-plan-file)
158
+ - Parsing from files (parse-package-json)
159
+
160
+ **Bash (Command Execution):**
161
+ - Running validation commands (run-quality-gate)
162
+ - Executing system operations
163
+
164
+ **Read, Bash (Combined):**
165
+ - Complex validation with command execution
166
+ - File analysis + system checks
167
+
168
+ **Guideline:** Prefer NONE. Add tools only if strictly necessary.
169
+
170
+ ---
171
+
172
+ ## Naming Conventions
173
+
174
+ **Format:** `{verb}-{noun}` or `{action}-{object}`
175
+
176
+ **Good names:**
177
+ - `parse-error-logs` (action-object)
178
+ - `validate-plan-file` (action-object)
179
+ - `format-commit-message` (action-object)
180
+ - `calculate-priority-score` (action-noun)
181
+ - `run-quality-gate` (action-object)
182
+
183
+ **Bad names:**
184
+ - `error-parser` (noun-first)
185
+ - `validation` (too vague)
186
+ - `helper` (meaningless)
187
+
188
+ ---
189
+
190
+ ## YAML Frontmatter
191
+
192
+ ```yaml
193
+ ---
194
+ name: {skill-name}
195
+ description: {One-line description}. Use when {trigger}. {What it does}.
196
+ allowed-tools: Bash, Read # Optional, omit if pure logic
197
+ ---
198
+ ```
199
+
200
+ **Description formula:**
201
+ ```
202
+ {Action} {object} with {feature}. Use when {trigger}. {Result}.
203
+ ```
204
+
205
+ **Examples:**
206
+ - `parse-error-logs`: "Parse build/test error logs into structured JSON. Use when processing validation command output. Extracts errors, warnings, file paths, and line numbers."
207
+ - `run-quality-gate`: "Execute quality gate validation with configurable blocking. Use when running type-check, build, tests in orchestrators or workers. Returns structured pass/fail result."
208
+
209
+ ---
210
+
211
+ ## Input/Output Standards
212
+
213
+ ### Input Format
214
+ Always document expected input structure:
215
+
216
+ ```markdown
217
+ **Expected Input**:
218
+ ```json
219
+ {
220
+ "field1": "string",
221
+ "field2": 123,
222
+ "field3": ["array"]
223
+ }
224
+ ```
225
+
226
+ **Parameters:**
227
+ - `field1`: Description (required/optional, default value)
228
+ - `field2`: Description (required/optional, default value)
229
+ ```
230
+
231
+ ### Output Format
232
+ Always document output structure:
233
+
234
+ ```markdown
235
+ **Expected Output**:
236
+ ```json
237
+ {
238
+ "success": true,
239
+ "data": {},
240
+ "errors": []
241
+ }
242
+ ```
243
+
244
+ **Output Fields:**
245
+ - `success`: Boolean indicating success
246
+ - `data`: Processed result
247
+ - `errors`: Array of error messages (empty if success)
248
+ ```
249
+
250
+ ---
251
+
252
+ ## Error Handling Patterns
253
+
254
+ **Standard error types:**
255
+ 1. **Invalid Input**: Missing required fields, wrong types
256
+ 2. **Processing Errors**: Parsing failures, conversion errors
257
+ 3. **Tool Errors**: Bash command failures, file not found
258
+ 4. **Validation Errors**: Schema violations, constraint failures
259
+
260
+ **Standard error format:**
261
+ ```json
262
+ {
263
+ "success": false,
264
+ "data": null,
265
+ "errors": [
266
+ "Error message 1",
267
+ "Error message 2"
268
+ ]
269
+ }
270
+ ```
271
+
272
+ ---
273
+
274
+ ## Examples Section
275
+
276
+ **Every Skill MUST have 3-5 examples:**
277
+
278
+ 1. **Happy path** (valid input, successful output)
279
+ 2. **Error case** (invalid input, error output)
280
+ 3. **Edge case** (boundary condition)
281
+ 4. **Real-world scenario** (actual use case)
282
+ 5. **(Optional)** Complex scenario
283
+
284
+ **Format:**
285
+ ```markdown
286
+ ### Example N: {Scenario Description}
287
+
288
+ **Input**:
289
+ ```json
290
+ {...}
291
+ ```
292
+
293
+ **Output**:
294
+ ```json
295
+ {...}
296
+ ```
297
+
298
+ **Explanation** (optional):
299
+ {Why this example matters}
300
+ ```
301
+
302
+ ---
303
+
304
+ ## Validation Checklist
305
+
306
+ Before writing skill:
307
+ - [ ] Name follows `{verb}-{noun}` pattern
308
+ - [ ] Description is clear and action-oriented
309
+ - [ ] Input format documented with field descriptions
310
+ - [ ] Output format documented with field descriptions
311
+ - [ ] Error handling documented for all error types
312
+ - [ ] 3-5 examples included (happy path + error cases)
313
+ - [ ] allowed-tools ONLY if Skill needs tools (prefer NONE)
314
+ - [ ] Integration section explains how agents use this
315
+ - [ ] Validation checklist included
316
+ - [ ] Notes section for limitations/edge cases
317
+
318
+ ---
319
+
320
+ ## Integration Guidelines
321
+
322
+ **For Agents:**
323
+ ```markdown
324
+ ## Integration with Agents
325
+
326
+ ### Orchestrator Usage
327
+
328
+ Use {skill-name} Skill after {trigger}:
329
+ ```markdown
330
+ result = {skill-name}({input})
331
+ if result.success:
332
+ proceed to next phase
333
+ else:
334
+ handle errors
335
+ ```
336
+
337
+ ### Worker Self-Validation
338
+
339
+ Use {skill-name} Skill to validate {what}:
340
+ ```markdown
341
+ validation = {skill-name}({input})
342
+ if not validation.valid:
343
+ rollback and report failure
344
+ ```
345
+ ```
346
+
347
+ ---
348
+
349
+ ## File Location
350
+
351
+ All skills go to:
352
+ ```
353
+ .claude/skills/{skill-name}/SKILL.md
354
+ ```
355
+
356
+ **Supporting files** (if needed):
357
+ ```
358
+ .claude/skills/{skill-name}/
359
+ ├── SKILL.md # Main skill definition
360
+ ├── examples.json # (Optional) Example data
361
+ ├── schema.json # (Optional) JSON schema
362
+ └── templates/ # (Optional) Templates
363
+ ```
364
+
365
+ ---
366
+
367
+ ## Generation Process
368
+
369
+ 1. **Gather requirements** (name, purpose, input, output, tools)
370
+ 2. **Determine category** (parsing/formatting/validation/execution/transformation)
371
+ 3. **Check if Skill is appropriate** (vs Agent)
372
+ 4. **Generate SKILL.md** following structure above
373
+ 5. **Validate against checklist**
374
+ 6. **Write to `.claude/skills/{skill-name}/SKILL.md`**
375
+ 7. **Report completion:**
376
+ ```
377
+ ✅ Skill Created: .claude/skills/{skill-name}/SKILL.md
378
+
379
+ Type: {category}
380
+ Tools: {allowed-tools or "Pure logic"}
381
+
382
+ Pattern Compliance:
383
+ ✅ Input/output documented
384
+ ✅ Error handling defined
385
+ ✅ Examples included
386
+ ✅ Integration guide provided
387
+
388
+ Next Steps:
389
+ 1. Review SKILL.md
390
+ 2. Test with example inputs
391
+ 3. Add to agent that needs this utility
392
+ ```
393
+
394
+ ---
395
+
396
+ ## Common Patterns
397
+
398
+ ### Parsing Skill Template
399
+ ```markdown
400
+ ## Step 1: Receive Raw Input
401
+ - Accept string/text input
402
+ - Validate not empty
403
+
404
+ ## Step 2: Extract Patterns
405
+ - Use regex/string parsing
406
+ - Find error messages, warnings, etc
407
+
408
+ ## Step 3: Structure Data
409
+ - Build JSON object
410
+ - Categorize by type
411
+
412
+ ## Step 4: Return Structured Result
413
+ - Output: {success, data: [], errors: []}
414
+ ```
415
+
416
+ ### Validation Skill Template
417
+ ```markdown
418
+ ## Step 1: Read Input
419
+ - Accept data object or file path
420
+ - Load schema if needed
421
+
422
+ ## Step 2: Validate Against Criteria
423
+ - Check required fields
424
+ - Validate types
425
+ - Check constraints
426
+
427
+ ## Step 3: Collect Errors
428
+ - List all validation failures
429
+ - Provide specific error messages
430
+
431
+ ## Step 4: Return Validation Result
432
+ - Output: {valid: boolean, errors: []}
433
+ ```
434
+
435
+ ### Execution Skill Template
436
+ ```markdown
437
+ ## Step 1: Receive Configuration
438
+ - Accept command/parameters
439
+ - Validate required config
440
+
441
+ ## Step 2: Execute Command
442
+ - Run via Bash tool
443
+ - Capture output and exit code
444
+
445
+ ## Step 3: Parse Result
446
+ - Determine pass/fail
447
+ - Extract error messages
448
+
449
+ ## Step 4: Return Execution Result
450
+ - Output: {passed, action, errors, exit_code}
451
+ ```
452
+
453
+ ---
454
+
455
+ ## Examples
456
+
457
+ **Parsing Skill Request:**
458
+ ```
459
+ "Create skill to parse npm audit output into structured vulnerabilities list"
460
+ ```
461
+
462
+ **Validation Skill Request:**
463
+ ```
464
+ "Create skill to validate workflow JSON against schema"
465
+ ```
466
+
467
+ **Execution Skill Request:**
468
+ ```
469
+ "Create skill to run linting with blocking/non-blocking modes"
470
+ ```
471
+
472
+ ---
473
+
474
+ **This skill builder follows patterns from:**
475
+ - Existing production skills (`.claude/skills/*/SKILL.md`)
476
+ - Project conventions (`CLAUDE.md`)
477
+ - Anthropic Skills specification
478
+
479
+ **Version:** 2.0.0 (Specialized)
480
+ **Token Budget:** ~350 lines (focused on Skills only)