claude-code-orchestrator-kit 1.4.0 → 1.4.15

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 (219) hide show
  1. package/.claude/agents/business/workers/lead-research-assistant.md +199 -0
  2. package/.claude/agents/database/workers/database-architect.md +3 -3
  3. package/.claude/agents/database/workers/supabase-auditor.md +7 -7
  4. package/.claude/agents/development/workers/code-reviewer.md +17 -2
  5. package/.claude/agents/frontend/workers/nextjs-ui-designer.md +30 -0
  6. package/.claude/agents/health/workers/bug-fixer.md +31 -2
  7. package/.claude/agents/health/workers/bug-hunter.md +0 -1
  8. package/.claude/agents/health/workers/dead-code-hunter.md +167 -75
  9. package/.claude/agents/health/workers/dead-code-remover.md +217 -66
  10. package/.claude/agents/health/workers/dependency-auditor.md +83 -24
  11. package/.claude/agents/health/workers/dependency-updater.md +0 -1
  12. package/.claude/agents/health/workers/security-scanner.md +0 -1
  13. package/.claude/agents/infrastructure/workers/deployment-engineer.md +446 -0
  14. package/.claude/agents/infrastructure/workers/infrastructure-specialist.md +2 -2
  15. package/.claude/agents/meta/workers/meta-agent-v3.md +22 -0
  16. package/.claude/agents/testing/workers/integration-tester.md +1 -1
  17. package/.claude/agents/testing/workers/test-writer.md +16 -0
  18. package/.claude/commands/health-bugs.md +14 -281
  19. package/.claude/commands/health-cleanup.md +14 -281
  20. package/.claude/commands/health-deps.md +14 -281
  21. package/.claude/commands/health-metrics.md +51 -709
  22. package/.claude/commands/health-reuse.md +14 -311
  23. package/.claude/commands/health-security.md +14 -281
  24. package/.claude/commands/push.md +17 -3
  25. package/.claude/commands/speckit.implement.md +0 -11
  26. package/.claude/commands/speckit.taskstoissues.md +95 -5
  27. package/.claude/commands/worktree.md +150 -0
  28. package/.claude/scripts/gates/check-bundle-size.sh +0 -0
  29. package/.claude/scripts/gates/check-coverage.sh +0 -0
  30. package/.claude/scripts/gates/check-security.sh +0 -0
  31. package/.claude/scripts/release.sh +469 -94
  32. package/.claude/skills/algorithmic-art/LICENSE.txt +202 -0
  33. package/.claude/skills/algorithmic-art/SKILL.md +405 -0
  34. package/.claude/skills/algorithmic-art/templates/generator_template.js +223 -0
  35. package/.claude/skills/algorithmic-art/templates/viewer.html +599 -0
  36. package/.claude/skills/artifacts-builder/LICENSE.txt +202 -0
  37. package/.claude/skills/artifacts-builder/SKILL.md +74 -0
  38. package/.claude/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
  39. package/.claude/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
  40. package/.claude/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  41. package/.claude/skills/bug-health-inline/SKILL.md +221 -0
  42. package/.claude/skills/bug-health-inline/references/worker-prompts.md +182 -0
  43. package/.claude/skills/canvas-design/LICENSE.txt +202 -0
  44. package/.claude/skills/canvas-design/SKILL.md +130 -0
  45. package/.claude/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  46. package/.claude/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  47. package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  48. package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
  49. package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  50. package/.claude/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
  51. package/.claude/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  52. package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  53. package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  54. package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  55. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  56. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  57. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  58. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  59. package/.claude/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
  60. package/.claude/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  61. package/.claude/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
  62. package/.claude/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  63. package/.claude/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  64. package/.claude/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
  65. package/.claude/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  66. package/.claude/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
  67. package/.claude/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  68. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  69. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  70. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  71. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  72. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  73. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  74. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  75. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  76. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  77. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  78. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  79. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  80. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  81. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  82. package/.claude/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
  83. package/.claude/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  84. package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  85. package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  86. package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  87. package/.claude/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  88. package/.claude/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  89. package/.claude/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
  90. package/.claude/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  91. package/.claude/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  92. package/.claude/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  93. package/.claude/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  94. package/.claude/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  95. package/.claude/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
  96. package/.claude/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  97. package/.claude/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  98. package/.claude/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
  99. package/.claude/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  100. package/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  101. package/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  102. package/.claude/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  103. package/.claude/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
  104. package/.claude/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  105. package/.claude/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  106. package/.claude/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
  107. package/.claude/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
  108. package/.claude/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  109. package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  110. package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
  111. package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  112. package/.claude/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
  113. package/.claude/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  114. package/.claude/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  115. package/.claude/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
  116. package/.claude/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  117. package/.claude/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
  118. package/.claude/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  119. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  120. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  121. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  122. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
  123. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  124. package/.claude/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
  125. package/.claude/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  126. package/.claude/skills/changelog-generator/SKILL.md +104 -0
  127. package/.claude/skills/cleanup-health-inline/SKILL.md +224 -0
  128. package/.claude/skills/code-reviewer/SKILL.md +209 -0
  129. package/.claude/skills/code-reviewer/references/code_review_checklist.md +103 -0
  130. package/.claude/skills/code-reviewer/references/coding_standards.md +103 -0
  131. package/.claude/skills/code-reviewer/references/common_antipatterns.md +103 -0
  132. package/.claude/skills/code-reviewer/scripts/code_quality_checker.py +114 -0
  133. package/.claude/skills/code-reviewer/scripts/pr_analyzer.py +114 -0
  134. package/.claude/skills/code-reviewer/scripts/review_report_generator.py +114 -0
  135. package/.claude/skills/content-research-writer/SKILL.md +538 -0
  136. package/.claude/skills/deps-health-inline/SKILL.md +227 -0
  137. package/.claude/skills/frontend-aesthetics/SKILL.md +51 -396
  138. package/.claude/skills/git-commit-helper/SKILL.md +203 -0
  139. package/.claude/skills/lead-research-assistant/SKILL.md +199 -0
  140. package/.claude/skills/reuse-health-inline/SKILL.md +248 -0
  141. package/.claude/skills/rollback-changes/SKILL.md +50 -524
  142. package/.claude/skills/run-quality-gate/SKILL.md +36 -346
  143. package/.claude/skills/security-health-inline/SKILL.md +224 -0
  144. package/.claude/skills/senior-devops/SKILL.md +209 -0
  145. package/.claude/skills/senior-devops/references/cicd_pipeline_guide.md +103 -0
  146. package/.claude/skills/senior-devops/references/deployment_strategies.md +103 -0
  147. package/.claude/skills/senior-devops/references/infrastructure_as_code.md +103 -0
  148. package/.claude/skills/senior-devops/scripts/deployment_manager.py +114 -0
  149. package/.claude/skills/senior-devops/scripts/pipeline_generator.py +114 -0
  150. package/.claude/skills/senior-devops/scripts/terraform_scaffolder.py +114 -0
  151. package/.claude/skills/senior-prompt-engineer/SKILL.md +226 -0
  152. package/.claude/skills/senior-prompt-engineer/references/agentic_system_design.md +80 -0
  153. package/.claude/skills/senior-prompt-engineer/references/llm_evaluation_frameworks.md +80 -0
  154. package/.claude/skills/senior-prompt-engineer/references/prompt_engineering_patterns.md +80 -0
  155. package/.claude/skills/senior-prompt-engineer/scripts/agent_orchestrator.py +100 -0
  156. package/.claude/skills/senior-prompt-engineer/scripts/prompt_optimizer.py +100 -0
  157. package/.claude/skills/senior-prompt-engineer/scripts/rag_evaluator.py +100 -0
  158. package/.claude/skills/setup-knip/SKILL.md +372 -0
  159. package/.claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
  160. package/.claude/skills/systematic-debugging/SKILL.md +296 -0
  161. package/.claude/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  162. package/.claude/skills/systematic-debugging/condition-based-waiting.md +115 -0
  163. package/.claude/skills/systematic-debugging/defense-in-depth.md +122 -0
  164. package/.claude/skills/systematic-debugging/find-polluter.sh +63 -0
  165. package/.claude/skills/systematic-debugging/root-cause-tracing.md +169 -0
  166. package/.claude/skills/systematic-debugging/test-academic.md +14 -0
  167. package/.claude/skills/systematic-debugging/test-pressure-1.md +58 -0
  168. package/.claude/skills/systematic-debugging/test-pressure-2.md +68 -0
  169. package/.claude/skills/systematic-debugging/test-pressure-3.md +69 -0
  170. package/.claude/skills/theme-factory/LICENSE.txt +202 -0
  171. package/.claude/skills/theme-factory/SKILL.md +59 -0
  172. package/.claude/skills/theme-factory/theme-showcase.pdf +0 -0
  173. package/.claude/skills/theme-factory/themes/arctic-frost.md +19 -0
  174. package/.claude/skills/theme-factory/themes/botanical-garden.md +19 -0
  175. package/.claude/skills/theme-factory/themes/desert-rose.md +19 -0
  176. package/.claude/skills/theme-factory/themes/forest-canopy.md +19 -0
  177. package/.claude/skills/theme-factory/themes/golden-hour.md +19 -0
  178. package/.claude/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  179. package/.claude/skills/theme-factory/themes/modern-minimalist.md +19 -0
  180. package/.claude/skills/theme-factory/themes/ocean-depths.md +19 -0
  181. package/.claude/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  182. package/.claude/skills/theme-factory/themes/tech-innovation.md +19 -0
  183. package/.claude/skills/ui-design-system/SKILL.md +32 -0
  184. package/.claude/skills/ui-design-system/scripts/design_token_generator.py +529 -0
  185. package/.claude/skills/ux-researcher-designer/SKILL.md +30 -0
  186. package/.claude/skills/ux-researcher-designer/scripts/persona_generator.py +508 -0
  187. package/.claude/skills/webapp-testing/LICENSE.txt +202 -0
  188. package/.claude/skills/webapp-testing/SKILL.md +96 -0
  189. package/.claude/skills/webapp-testing/examples/console_logging.py +35 -0
  190. package/.claude/skills/webapp-testing/examples/element_discovery.py +40 -0
  191. package/.claude/skills/webapp-testing/examples/static_html_automation.py +33 -0
  192. package/.claude/skills/webapp-testing/scripts/with_server.py +106 -0
  193. package/.gitignore +4 -0
  194. package/README.md +492 -1093
  195. package/README.ru.md +719 -0
  196. package/docs/Agents Ecosystem/AGENT-ORCHESTRATION.md +2 -2
  197. package/docs/{SPECKIT-GUIDE.md → COMMANDS-GUIDE.md} +252 -20
  198. package/docs/reports/skills/new-skills-analysis-2025-12.md +331 -0
  199. package/package.json +11 -3
  200. package/.claude/agents/health/orchestrators/bug-orchestrator.md +0 -1084
  201. package/.claude/agents/health/orchestrators/dead-code-orchestrator.md +0 -1064
  202. package/.claude/agents/health/orchestrators/dependency-orchestrator.md +0 -1064
  203. package/.claude/agents/health/orchestrators/reuse-orchestrator.md +0 -1112
  204. package/.claude/agents/health/orchestrators/security-orchestrator.md +0 -1064
  205. package/.claude/commands/worktree-cleanup.md +0 -382
  206. package/.claude/commands/worktree-create.md +0 -287
  207. package/.claude/commands/worktree-list.md +0 -239
  208. package/.claude/commands/worktree-remove.md +0 -339
  209. package/.claude/project-index.md +0 -75
  210. package/.claude/skills/load-project-context/SKILL.md +0 -89
  211. package/.claude/skills/resume-session/SKILL.md +0 -164
  212. package/.claude/skills/save-session-context/SKILL.md +0 -123
  213. package/.claude/templates/project-index.template.md +0 -67
  214. package/.claude/templates/session/context.template.md +0 -40
  215. package/.claude/templates/session/log.template.md +0 -72
  216. package/.github/BRANCH_PROTECTION.md +0 -137
  217. package/.github/workflows/build.yml +0 -70
  218. package/.github/workflows/deploy-staging.yml +0 -90
  219. package/.github/workflows/test.yml +0 -104
package/README.md CHANGED
@@ -1,1318 +1,717 @@
1
- # 🎼 Claude Code Orchestrator Kit
1
+ # Claude Code Orchestrator Kit
2
2
 
3
3
  > **Professional automation and orchestration system for Claude Code**
4
4
 
5
- Complete toolkit with **33+ AI agents**, **quality gates**, **health monitoring**, and **workflow automation** for building robust, production-ready projects with Claude Code.
5
+ Complete toolkit with **39 AI agents**, **37 skills**, **18 slash commands**, **7 MCP configurations**, and **quality gates** for building production-ready projects with Claude Code.
6
6
 
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
8
- [![MCP Servers](https://img.shields.io/badge/MCP-7%20Configs-blue.svg)](#mcp-configurations)
9
- [![Agents](https://img.shields.io/badge/Agents-36%2B-green.svg)](#agents-ecosystem)
10
- [![Commands](https://img.shields.io/badge/Commands-20%2B-orange.svg)](#slash-commands)
11
- [![Author](https://img.shields.io/badge/Author-maslennikov--ig-blue.svg)](https://github.com/maslennikov-ig)
8
+ [![npm version](https://img.shields.io/npm/v/claude-code-orchestrator-kit.svg)](https://www.npmjs.com/package/claude-code-orchestrator-kit)
9
+ [![Agents](https://img.shields.io/badge/Agents-39-green.svg)](#agents-ecosystem)
10
+ [![Skills](https://img.shields.io/badge/Skills-37-blue.svg)](#skills-library)
11
+ [![Commands](https://img.shields.io/badge/Commands-18-orange.svg)](#slash-commands)
12
+
13
+ **[English](#overview)** | **[Русский](README.ru.md)**
12
14
 
13
15
  ---
14
16
 
15
- ## 📋 Table of Contents
17
+ ## Table of Contents
16
18
 
17
19
  - [Overview](#overview)
18
- - [Features](#features)
19
20
  - [Key Innovations](#key-innovations)
20
21
  - [Quick Start](#quick-start)
21
22
  - [Installation](#installation)
22
- - [Documentation](#documentation)
23
- - [MCP Server Configurations](#mcp-server-configurations)
24
- - [Project Structure](#project-structure)
25
- - [Slash Commands](#slash-commands)
23
+ - [Architecture](#architecture)
26
24
  - [Agents Ecosystem](#agents-ecosystem)
27
25
  - [Skills Library](#skills-library)
26
+ - [Slash Commands](#slash-commands)
27
+ - [MCP Configurations](#mcp-configurations)
28
+ - [Project Structure](#project-structure)
28
29
  - [Usage Examples](#usage-examples)
29
- - [Configuration](#configuration)
30
30
  - [Best Practices](#best-practices)
31
- - [Troubleshooting](#troubleshooting)
32
31
  - [Contributing](#contributing)
33
32
  - [License](#license)
34
33
 
35
34
  ---
36
35
 
37
- ## 🎯 Overview
38
-
39
- **Claude Code Orchestrator Kit** is a comprehensive automation framework designed to supercharge your development workflow with Claude Code. It provides:
36
+ ## Overview
40
37
 
41
- - **🤖 36+ Specialized AI Agents** Orchestrators and workers for bugs, security, dependencies, dead code, reuse, and more
42
- - **⚡ MCP Server Management** — 7 pre-configured MCP setups for different use cases (600-5000 tokens)
43
- - **🔧 20+ Slash Commands** — Health checks, SpecKit, worktree management, releases
44
- - **📊 Quality Gates** — Automated type-checking, builds, tests, coverage, security audits
45
- - **🎯 Skills Library** — 15+ reusable utilities for validation, reporting, and automation
46
- - **📈 Health Monitoring** — Track agent performance, success rates, and ecosystem health
38
+ **Claude Code Orchestrator Kit** transforms Claude Code from a simple assistant into an intelligent orchestration system. Instead of doing everything directly, Claude Code acts as an orchestrator that delegates complex tasks to specialized sub-agents, preserving context and enabling indefinite work sessions.
47
39
 
48
- ---
40
+ ### What You Get
49
41
 
50
- ## Features
42
+ | Category | Count | Description |
43
+ |----------|-------|-------------|
44
+ | **AI Agents** | 39 | Specialized workers for bugs, security, testing, database, frontend, DevOps |
45
+ | **Skills** | 37 | Reusable utilities for validation, reporting, automation, senior expertise |
46
+ | **Commands** | 18 | Health checks, SpecKit, worktree management, releases |
47
+ | **MCP Configs** | 7 | Pre-configured setups from minimal (600 tokens) to full (6500 tokens) |
51
48
 
52
- ### 🤖 **AI Agents Ecosystem**
53
-
54
- - **Health Orchestrators** — Complete workflows for bugs, security, dependencies, dead code
55
- - **Development Workers** — LLM services, TypeScript types, cost calculation specialists
56
- - **Testing Workers** — Integration tests, performance optimization, mobile responsiveness
57
- - **Database Workers** — Supabase audits, API builders, database architecture
58
- - **Infrastructure Workers** — Qdrant, quality validators, orchestration logic
59
- - **Meta Workers** — Agent creators, skill builders
60
-
61
- ### ⚙️ **MCP Server Configurations**
62
-
63
- Switch between 7 optimized MCP configurations based on your needs:
64
-
65
- | Configuration | Servers | Token Usage | Use Case |
66
- |---------------|---------|-------------|----------|
67
- | **BASE** | Context7 + Sequential Thinking | ~600 | Minimal, everyday use |
68
- | **SUPABASE** | Base + Supabase (single) | ~2500 | Database work |
69
- | **SUPABASE-FULL** | Base + Supabase (dual) | ~3000 | Multi-project database |
70
- | **N8N** | Base + n8n automation | ~2500 | Workflow automation |
71
- | **FRONTEND** | Base + Playwright + ShadCN | ~2000 | UI/UX development |
72
- | **SERENA** | Base + Serena LSP | ~2500 | Semantic code search |
73
- | **FULL** | All servers + Serena | ~6500 | Maximum capabilities |
49
+ ### Key Benefits
74
50
 
75
- ### 🚀 **Slash Commands**
76
-
77
- - **Health Checks** — `/health-bugs`, `/health-security`, `/health-deps`, `/health-cleanup`, `/health-metrics`
78
- - **SpecKit** — `/speckit.analyze`, `/speckit.specify`, `/speckit.implement`, `/speckit.checklist`
79
- - **Worktree Management** — `/worktree-create`, `/worktree-list`, `/worktree-cleanup`, `/worktree-remove`
80
- - **Release Management** — `/push` (automated version bumping and changelog)
81
- - **Translation** — `/translate-doc` (English ↔ Russian)
82
-
83
- ### 📊 **Quality Gates**
84
-
85
- Automated validation scripts:
86
- - **Bundle Size Check** — Ensure production bundles stay within limits
87
- - **Security Audit** — Scan for high/critical npm vulnerabilities
88
- - **Code Coverage** — Validate test coverage meets thresholds
89
-
90
- ### 🎯 **Skills Library**
91
-
92
- Reusable utilities for:
93
- - Plan validation, report generation, changelog creation
94
- - Git operations, error parsing, template rendering
95
- - Quality gates execution, rollback management
96
- - Priority scoring, version extraction
97
-
98
- ---
99
-
100
- ## 🔑 Key Innovations
101
-
102
- ### 🎯 **Orchestrator Pattern**
103
-
104
- **The Paradigm Shift**: Transform Claude Code from doing everything directly to acting as an orchestrator that delegates complex tasks to specialized sub-agents.
105
-
106
- **Why It Matters**:
107
- - **Context Preservation**: Main Claude Code stays lean (~10-15K tokens vs 50K+ in standard usage)
108
- - **Specialization**: Each sub-agent is expert in its domain (bug fixing, security scanning, database architecture)
109
- - **Quality Assurance**: Mandatory verification after every delegation (read files + run type-check)
51
+ - **Context Preservation**: Main session stays lean (~10-15K tokens vs 50K+ in standard usage)
52
+ - **Specialization**: Each agent is expert in its domain
110
53
  - **Indefinite Work**: Can work on project indefinitely without context exhaustion
54
+ - **Quality Assurance**: Mandatory verification after every delegation
55
+ - **Senior Expertise**: Skills like `code-reviewer`, `senior-devops`, `senior-prompt-engineer`
111
56
 
112
- **Core Rules** (from `CLAUDE.md`):
113
- 1. **GATHER FULL CONTEXT FIRST** - Read code, search patterns, check commits before delegation
114
- 2. **DELEGATE TO SUBAGENTS** - Provide complete context + validation criteria
115
- 3. **VERIFY RESULTS** - Never skip verification (read modified files, run type-check)
116
- 4. **ACCEPT/REJECT LOOP** - Re-delegate with corrections if verification fails
117
- 5. **PER-TASK COMMITS** - Run `/push patch` after each completed task
118
-
119
- ### 📋 **SpecKit Enhancement: Phase 0 Planning**
120
-
121
- **SpecKit** (by GitHub) provides structured development workflow. We enhanced it with **Phase 0: Planning**.
122
-
123
- **Phase 0 Responsibilities**:
124
- 1. **Executor Assignment**:
125
- - `[EXECUTOR: MAIN]` - Only trivial tasks (1-2 line fixes, simple imports)
126
- - `[EXECUTOR: existing-agent]` - If 100% match with existing sub-agent
127
- - `[EXECUTOR: FUTURE-agent-name]` - If no match (agent needs creation)
128
-
129
- 2. **Meta-Agent Creation**:
130
- - Launch N `meta-agent-v3` calls in **single message** for parallel agent creation
131
- - **Atomicity Rule**: 1 Task = 1 Agent Invocation
132
- - After creation: Ask user to restart Claude Code
133
-
134
- 3. **Research Resolution**:
135
- - Simple research: Agent solves with available tools
136
- - Complex research: Create prompt in `research/` directory
137
-
138
- **Why It Matters**: Ensures all necessary agents exist before implementation starts, enables parallel task execution, prevents context overflow.
139
-
140
- ### 🤖 **Meta-Agent: The Agent Factory**
141
-
142
- **meta-agent-v3** creates new specialized agents in 2-3 minutes following project patterns:
143
- - **Workers** - Execute tasks from plan files (5-phase structure)
144
- - **Orchestrators** - Coordinate multi-phase workflows (return control pattern)
145
- - **Simple Agents** - Standalone tools
57
+ ---
146
58
 
147
- **How It Works**:
148
- 1. Loads architecture docs (`ARCHITECTURE.md` + `CLAUDE.md`)
149
- 2. Determines agent type and requirements
150
- 3. Generates YAML frontmatter + structure + validation + error handling
151
- 4. Writes to appropriate location
152
- 5. Validates against project patterns
59
+ ## Key Innovations
153
60
 
154
- ### 🔄 **Return Control Pattern**
61
+ ### 1. Orchestrator Pattern
155
62
 
156
- **Orchestrators** coordinate workflows without invoking workers directly:
63
+ **The Core Paradigm**: Claude Code acts as orchestrator, delegating to specialized sub-agents.
157
64
 
158
65
  ```
159
- Orchestrator → Create plan file → Signal readiness → EXIT
160
-
161
- Main Session → Invoke worker via Task tool
162
-
163
- Worker Execute Validate → Report → EXIT
164
-
165
- Orchestrator Resume Verify Next phase
66
+ ┌─────────────────────────────────────────────────────────────────┐
67
+ │ MAIN CLAUDE CODE │
68
+ │ (Orchestrator Role) │
69
+ ├─────────────────────────────────────────────────────────────────┤
70
+ │ 1. GATHER CONTEXT │ 2. DELEGATE │ 3. VERIFY │
71
+ │ - Read existing code │ - Invoke agent │ - Read results │
72
+ │ - Search patterns │ - Provide context │ - Run type-check
73
+ │ - Check recent commits│ - Set criteria │ - Accept/reject │
74
+ └─────────────────────────────────────────────────────────────────┘
75
+
76
+ ┌─────────────────────────────────────────────────────────────────┐
77
+ │ SPECIALIZED AGENTS │
78
+ ├──────────────┬──────────────┬──────────────┬───────────────────┤
79
+ │ bug-hunter │ security- │ database- │ performance- │
80
+ │ bug-fixer │ scanner │ architect │ optimizer │
81
+ │ dead-code- │ vuln-fixer │ api-builder │ accessibility- │
82
+ │ hunter │ │ supabase- │ tester │
83
+ │ │ │ auditor │ │
84
+ └──────────────┴──────────────┴──────────────┴───────────────────┘
166
85
  ```
167
86
 
168
- **Why Not Task Tool?**: Using Task tool would create nested contexts, defeating isolation purpose.
169
-
170
- ### ⚙️ **MCP Dynamic Switching**
171
-
172
- **Problem**: Each MCP server consumes 500-1500 tokens from context budget.
173
-
174
- **Solution**: `switch-mcp.sh` script dynamically switches between 6 configurations:
175
- - **BASE** (~600 tokens): Context7 + Sequential Thinking (daily use)
176
- - **SUPABASE** (~2500): + Supabase (database work)
177
- - **FRONTEND** (~2000): + Playwright + ShadCN (UI work)
178
- - **FULL** (~5000): All servers (when needed)
179
-
180
- **Benefit**: Save 500-4500 context tokens by loading only what you need.
87
+ ### 2. Inline Skills (New Architecture)
181
88
 
182
- ### 🌳 **Worktree + VS Code Integration**
89
+ **Evolution from Orchestrators**: We replaced heavy orchestrator agents with lightweight inline skills.
183
90
 
184
- **Parallel Feature Development**:
185
- 1. Create worktrees for different features: `/worktree-create feature/new-auth`
186
- 2. Add `.worktrees/*` to VS Code workspace folders (see `.claude/settings.local.json.example`)
187
- 3. Switch between features via folder selector
188
- 4. Run multiple Claude Code sessions in parallel
91
+ | Old Approach | New Approach |
92
+ |--------------|--------------|
93
+ | Separate orchestrator agent per workflow | Inline skill executed directly |
94
+ | ~1400 lines per workflow | ~150 lines per skill |
95
+ | 9+ orchestrator calls | 0 orchestrator calls |
96
+ | ~10,000+ tokens overhead | ~500 tokens |
97
+ | Context reload each call | Single session context |
189
98
 
190
- **Benefit**: 3-5 features in parallel, no context pollution, isolated testing.
191
-
192
- ### 🔔 **Webhook Integration**
193
-
194
- **Task Completion Notifications** (`.claude/settings.local.json.example`):
195
- ```json
196
- {
197
- "hooks": {
198
- "Stop": [
199
- {
200
- "type": "command",
201
- "command": "notify-send 'Claude Code' 'Task completed!'"
202
- }
203
- ]
204
- }
205
- }
99
+ **Example**: `/health-bugs` now uses `bug-health-inline` skill:
100
+ ```
101
+ Detection Validate → Fix by Priority → Verify → Repeat if needed
206
102
  ```
207
103
 
208
- **Use Cases**: Slack notifications, system alerts, Telegram bots, log files.
209
-
210
- **Benefit**: Start task, switch to other project, get notified when done.
211
-
212
- ### 🎯 **Skills vs Agents**
213
-
214
- **Skills** (15+): Reusable utilities (<100 lines), stateless, invoked via `Skill` tool
215
- - Examples: `run-quality-gate`, `validate-plan-file`, `generate-report-header`
216
- - No context isolation, runs in caller's context
217
-
218
- **Agents** (33+): Stateful workflows, context-isolated, invoked via `Task` tool
219
- - Examples: `bug-hunter`, `security-scanner`, `database-architect`
220
- - Full context isolation, multi-step processes
221
-
222
- ### 📐 **Non-Traditional CLAUDE.md**
223
-
224
- **Standard Practice**: Store entire project history in `CLAUDE.md`
225
- - Problem: Wastes context tokens on historical data
226
-
227
- **Our Innovation**: `CLAUDE.md` as **Behavioral Operating System**
228
- - Contains ONLY orchestration rules (no project history)
229
- - Defines how to gather context BEFORE delegation
230
- - Specifies verification rules AFTER delegation
231
- - Forces context preservation
104
+ ### 3. Senior-Level Skills
232
105
 
233
- **Result**: Main Claude Code stays lean, all context gathered on-demand.
106
+ Professional-grade skills for complex tasks:
234
107
 
235
- ### 🧠 **DeksdenFlow Integration (Lazy Knowledge Loading)**
108
+ | Skill | Expertise |
109
+ |-------|-----------|
110
+ | `code-reviewer` | TypeScript, Python, Go, Swift, Kotlin code review |
111
+ | `senior-devops` | CI/CD, Docker, Kubernetes, Terraform, Cloud |
112
+ | `senior-prompt-engineer` | LLM optimization, RAG, agent design |
113
+ | `ux-researcher-designer` | User research, personas, journey mapping |
114
+ | `systematic-debugging` | Root cause analysis, debugging workflows |
236
115
 
237
- Inspired by [deksden-flow](https://github.com/deksden/deksden-flow), we implement **zero-overhead context management**:
116
+ ### 4. MCP Dynamic Switching
238
117
 
239
- **Project Index** (`.claude/project-index.md`):
240
- - Compact project map with annotated links
241
- - Loaded on-demand via `load-project-context` skill
242
- - ~100-200 tokens when used, 0 at baseline
118
+ Save 500-4500 context tokens by loading only what you need:
243
119
 
244
- **Session Context** (`.tmp/current/session/`):
245
- - `context.md`: Current workflow state for resumption
246
- - `log.md`: Decisions, issues, learnings (write-only)
247
- - Enables seamless session continuation
120
+ ```bash
121
+ ./switch-mcp.sh
122
+ # Select configuration based on your task
123
+ ```
248
124
 
249
- **Why It Matters**:
250
- - Resume health workflows after session restart
251
- - Track decisions for debugging
252
- - Navigate codebase without full exploration
125
+ ### 5. SpecKit Integration
253
126
 
254
- **Token Impact**: Zero baseline overhead. Skills load context only when needed.
127
+ Specification-driven development workflow with Phase 0 Planning:
128
+ - Executor assignment (MAIN vs specialized agent)
129
+ - Parallel agent creation via meta-agent
130
+ - Atomicity: 1 Task = 1 Agent Invocation
255
131
 
256
- ### 🔬 **Serena LSP Integration**
132
+ ---
257
133
 
258
- **Serena MCP** provides semantic code understanding via Language Server Protocol:
259
- - **Symbol Search**: Find functions, classes, types by name
260
- - **Reference Lookup**: "Find all usages of X"
261
- - **Intelligent Refactoring**: Rename with full reference awareness
262
- - **Context**: `ide-assistant` mode avoids tool duplication
134
+ ## Quick Start
263
135
 
264
- **When to Use**: Large codebases where Grep produces too many false positives.
136
+ ### Option 1: npm Install
265
137
 
266
- ---
138
+ ```bash
139
+ npm install -g claude-code-orchestrator-kit
140
+ cd your-project
141
+ claude-orchestrator # Interactive MCP setup
142
+ ```
267
143
 
268
- ## 🚀 Quick Start
144
+ ### Option 2: Clone Repository
269
145
 
270
146
  ```bash
271
- # 1. Clone or download this repository
272
147
  git clone https://github.com/maslennikov-ig/claude-code-orchestrator-kit.git
273
148
  cd claude-code-orchestrator-kit
274
149
 
275
- # 2. Set up environment variables
150
+ # Configure environment
276
151
  cp .env.example .env.local
277
152
  # Edit .env.local with your credentials
278
153
 
279
- # 3. Choose MCP configuration
154
+ # Choose MCP configuration
280
155
  ./switch-mcp.sh
281
- # Select option 1-7 based on your needs
282
156
 
283
- # 4. Restart Claude Code
284
- # Your orchestration system is ready!
157
+ # Restart Claude Code - ready!
158
+ ```
159
+
160
+ ### Option 3: Copy to Existing Project
161
+
162
+ ```bash
163
+ # Copy orchestration system to your project
164
+ cp -r claude-code-orchestrator-kit/.claude /path/to/your/project/
165
+ cp claude-code-orchestrator-kit/CLAUDE.md /path/to/your/project/
166
+ cp claude-code-orchestrator-kit/switch-mcp.sh /path/to/your/project/
285
167
  ```
286
168
 
287
169
  ---
288
170
 
289
- ## 📦 Installation
171
+ ## Installation
290
172
 
291
173
  ### Prerequisites
292
174
 
293
- - **Claude Code** installed
175
+ - **Claude Code** CLI installed
294
176
  - **Node.js** 18+ (for MCP servers)
295
- - **Docker** (optional, for n8n MCP server)
296
177
  - **Git** (for version control features)
297
178
 
298
- ### Setup Steps
299
-
300
- #### 1️⃣ **Copy to Your Project**
301
-
302
- ```bash
303
- # Option A: Copy entire .claude directory to your project
304
- cp -r claude-code-orchestrator-kit/.claude /path/to/your/project/
305
-
306
- # Option B: Clone and use as template
307
- git clone https://github.com/maslennikov-ig/claude-code-orchestrator-kit.git my-project
308
- cd my-project
309
- rm -rf .git
310
- git init
311
- ```
179
+ ### Environment Variables
312
180
 
313
- #### 2️⃣ **Configure Environment Variables**
181
+ Create `.env.local` (git-ignored) with your credentials:
314
182
 
315
183
  ```bash
316
- # Copy example to local
317
- cp .env.example .env.local
318
-
319
- # Edit with your credentials
320
- # Required for Supabase:
184
+ # Supabase (optional)
321
185
  SUPABASE_PROJECT_REF=your-project-ref
322
186
  SUPABASE_ACCESS_TOKEN=your-token
323
- SUPABASE_DB_PASSWORD=your-password
324
187
 
325
- # Required for Sequential Thinking:
188
+ # Sequential Thinking (optional)
326
189
  SEQUENTIAL_THINKING_KEY=your-smithery-key
327
190
  SEQUENTIAL_THINKING_PROFILE=your-profile
328
-
329
- # Optional for n8n:
330
- N8N_API_URL=https://your-n8n.com
331
- N8N_API_KEY=your-n8n-key
332
191
  ```
333
192
 
334
- **Important:** Never commit `.env.local` to git! It's already in `.gitignore`.
335
-
336
- #### 3️⃣ **Select MCP Configuration**
193
+ ### Verify Installation
337
194
 
338
195
  ```bash
339
- ./switch-mcp.sh
340
- ```
341
-
342
- Choose configuration based on your workflow:
343
- - **Option 1** — BASE (minimal, ~600 tokens)
344
- - **Option 2** — SUPABASE (database work)
345
- - **Option 3** — SUPABASE-FULL (multi-project)
346
- - **Option 4** — N8N (automation workflows)
347
- - **Option 5** — FRONTEND (UI/UX development)
348
- - **Option 6** — FULL (all features)
349
-
350
- #### 4️⃣ **Restart Claude Code**
196
+ # Check MCP config
197
+ ./switch-mcp.sh # Select option 0 to see active servers
351
198
 
352
- After switching MCP config, restart Claude Code to apply changes.
353
-
354
- #### 5️⃣ **Configure Local Settings (Optional)**
355
-
356
- ```bash
357
- # Copy settings example to local
358
- cp .claude/settings.local.json.example .claude/settings.local.json
359
-
360
- # Edit with your preferences
361
- # - Choose which MCP servers to enable
362
- # - Configure hooks for task completion
363
- # - Customize for your workflow
364
- ```
365
-
366
- #### 6️⃣ **Verify Installation**
367
-
368
- ```bash
369
- # Check current MCP config
370
- ./switch-mcp.sh
371
- # Select option 0 to see active servers
372
-
373
- # Try a health command in Claude Code
199
+ # Try a health command
374
200
  /health-bugs
375
201
  ```
376
202
 
377
203
  ---
378
204
 
379
- ## 📚 Documentation
380
-
381
- ### Comprehensive Guides
382
-
383
- | Document | Description |
384
- |----------|-------------|
385
- | **[FAQ](docs/FAQ.md)** | Frequently asked questions about agents, MCP configs, and workflows |
386
- | **[Architecture](docs/ARCHITECTURE.md)** | System design with Mermaid diagrams and workflow patterns |
387
- | **[Tutorial: Custom Agents](docs/TUTORIAL-CUSTOM-AGENTS.md)** | Step-by-step guide to creating workers, orchestrators, and skills |
388
- | **[Use Cases](docs/USE-CASES.md)** | Real-world case studies with metrics and lessons learned |
389
- | **[Performance Optimization](docs/PERFORMANCE-OPTIMIZATION.md)** | Token usage optimization and cost reduction strategies |
390
- | **[Migration Guide](docs/MIGRATION-GUIDE.md)** | Add Orchestrator Kit to existing projects |
391
- | **[Roadmap](docs/ROADMAP.md)** | Future plans and community-driven feature requests |
392
-
393
- ### Deep Dive Documentation
394
-
395
- Located in `docs/Agents Ecosystem/`:
396
-
397
- - **[AGENT-ORCHESTRATION.md](docs/Agents%20Ecosystem/AGENT-ORCHESTRATION.md)** — Working with orchestrators
398
- - **[QUALITY-GATES-SPECIFICATION.md](docs/Agents%20Ecosystem/QUALITY-GATES-SPECIFICATION.md)** — Quality gates specification
399
- - **[REPORT-TEMPLATE-STANDARD.md](docs/Agents%20Ecosystem/REPORT-TEMPLATE-STANDARD.md)** — Standard report format for workers
400
- - **[spec-kit-comprehensive-updates.md](docs/Agents%20Ecosystem/spec-kit-comprehensive-updates.md)** — SpecKit customization guide
401
-
402
- ### Quick Links
403
-
404
- - **New to the kit?** Start with [Quick Start](#quick-start) → [Tutorial](docs/TUTORIAL-CUSTOM-AGENTS.md)
405
- - **Want examples?** See [Use Cases](docs/USE-CASES.md) and [Usage Examples](#usage-examples)
406
- - **Need help?** Check [FAQ](docs/FAQ.md) → [Troubleshooting](#troubleshooting)
407
- - **Optimizing costs?** Read [Performance Optimization](docs/PERFORMANCE-OPTIMIZATION.md)
408
- - **Migrating?** Follow [Migration Guide](docs/MIGRATION-GUIDE.md)
409
-
410
- ---
411
-
412
- ## 🔌 MCP Server Configurations
413
-
414
- All MCP configurations are stored in `./mcp/` directory.
415
-
416
- ### Available Configurations
417
-
418
- #### **BASE** (`mcp/.mcp.base.json`)
419
- ```json
420
- {
421
- "mcpServers": {
422
- "context7": { ... }, // Library documentation
423
- "server-sequential-thinking": { ... } // Enhanced reasoning
424
- }
425
- }
426
- ```
427
- **Use for:** Daily development, minimal token usage
205
+ ## Architecture
206
+
207
+ ### Component Overview
208
+
209
+ ```
210
+ ┌────────────────────────────────────────────────────────────────┐
211
+ │ CLAUDE.md
212
+ (Behavioral Operating System) │
213
+ │ │
214
+ │ Defines: Orchestration rules, delegation patterns, verification│
215
+ └────────────────────────────────────────────────────────────────┘
216
+
217
+ ┌────────────────────────────────────────────────────────────────┐
218
+ │ AGENTS │
219
+ │ (39 specialized workers) │
220
+ ├────────────────────────────────────────────────────────────────┤
221
+ │ health/ development/ testing/ database/ │
222
+ │ ├─bug-hunter ├─llm-service ├─integration ├─database-arch │
223
+ │ ├─bug-fixer ├─typescript ├─performance ├─api-builder │
224
+ │ ├─security- ├─code-review ├─mobile ├─supabase-audit │
225
+ │ ├─dead-code ├─utility- ├─access- │ │
226
+ │ └─reuse- └─skill-build └─ibility │ │
227
+ │ │
228
+ │ infrastructure/ frontend/ meta/ research/ │
229
+ │ ├─deployment ├─nextjs-ui ├─meta-agent ├─problem-invest │
230
+ │ ├─qdrant ├─fullstack └─skill-v2 └─research-spec │
231
+ │ └─orchestration └─visual-fx │
232
+ └────────────────────────────────────────────────────────────────┘
233
+
234
+ ┌────────────────────────────────────────────────────────────────┐
235
+ │ SKILLS │
236
+ │ (37 reusable utilities) │
237
+ ├────────────────────────────────────────────────────────────────┤
238
+ │ Inline Orchestration: Senior Expertise: │
239
+ │ ├─bug-health-inline ├─code-reviewer │
240
+ │ ├─security-health-inline ├─senior-devops │
241
+ │ ├─deps-health-inline ├─senior-prompt-engineer │
242
+ │ ├─cleanup-health-inline ├─ux-researcher-designer │
243
+ │ └─reuse-health-inline └─systematic-debugging │
244
+ │ │
245
+ │ Utilities: Creative: │
246
+ │ ├─validate-plan-file ├─algorithmic-art │
247
+ ├─run-quality-gate ├─canvas-design │
248
+ │ ├─rollback-changes ├─theme-factory │
249
+ │ ├─parse-git-status └─artifacts-builder │
250
+ └─generate-report-header │
251
+ └────────────────────────────────────────────────────────────────┘
252
+
253
+ ┌────────────────────────────────────────────────────────────────┐
254
+ │ COMMANDS │
255
+ │ (18 slash commands) │
256
+ ├────────────────────────────────────────────────────────────────┤
257
+ │ /health-bugs /speckit.specify /worktree │
258
+ │ /health-security /speckit.plan /push │
259
+ │ /health-deps /speckit.implement /translate-doc │
260
+ │ /health-cleanup /speckit.clarify │
261
+ │ /health-reuse /speckit.constitution │
262
+ │ /health-metrics /speckit.taskstoissues │
263
+ └────────────────────────────────────────────────────────────────┘
264
+ ```
265
+
266
+ ---
267
+
268
+ ## Agents Ecosystem
269
+
270
+ ### 39 Specialized Agents
271
+
272
+ #### Health (10 agents)
273
+ | Agent | Purpose |
274
+ |-------|---------|
275
+ | `bug-hunter` | Detect bugs, categorize by priority |
276
+ | `bug-fixer` | Fix bugs from reports |
277
+ | `security-scanner` | Find security vulnerabilities |
278
+ | `vulnerability-fixer` | Fix security issues |
279
+ | `dead-code-hunter` | Detect unused code |
280
+ | `dead-code-remover` | Remove dead code safely |
281
+ | `dependency-auditor` | Audit package dependencies |
282
+ | `dependency-updater` | Update dependencies safely |
283
+ | `reuse-hunter` | Find code duplication |
284
+ | `reuse-fixer` | Consolidate duplicated code |
285
+
286
+ #### Development (6 agents)
287
+ | Agent | Purpose |
288
+ |-------|---------|
289
+ | `llm-service-specialist` | LLM integration, prompts |
290
+ | `typescript-types-specialist` | Type definitions, generics |
291
+ | `cost-calculator-specialist` | Token/API cost estimation |
292
+ | `utility-builder` | Build utility services |
293
+ | `skill-builder-v2` | Create new skills |
294
+ | `code-reviewer` | Comprehensive code review |
295
+
296
+ #### Testing (6 agents)
297
+ | Agent | Purpose |
298
+ |-------|---------|
299
+ | `integration-tester` | Database, API, async tests |
300
+ | `test-writer` | Write unit/contract tests |
301
+ | `performance-optimizer` | Core Web Vitals, PageSpeed |
302
+ | `mobile-responsiveness-tester` | Mobile viewport testing |
303
+ | `mobile-fixes-implementer` | Fix mobile issues |
304
+ | `accessibility-tester` | WCAG compliance |
305
+
306
+ #### Database (3 agents)
307
+ | Agent | Purpose |
308
+ |-------|---------|
309
+ | `database-architect` | PostgreSQL schema design |
310
+ | `api-builder` | tRPC routers, auth middleware |
311
+ | `supabase-auditor` | RLS policies, security |
428
312
 
429
- ---
313
+ #### Infrastructure (5 agents)
314
+ | Agent | Purpose |
315
+ |-------|---------|
316
+ | `infrastructure-specialist` | Supabase, Qdrant, Redis |
317
+ | `qdrant-specialist` | Vector database operations |
318
+ | `quality-validator-specialist` | Quality gate validation |
319
+ | `orchestration-logic-specialist` | Workflow state machines |
320
+ | `deployment-engineer` | CI/CD, Docker, DevOps |
321
+
322
+ #### Frontend (3 agents)
323
+ | Agent | Purpose |
324
+ |-------|---------|
325
+ | `nextjs-ui-designer` | Modern UI/UX design |
326
+ | `fullstack-nextjs-specialist` | Full-stack Next.js |
327
+ | `visual-effects-creator` | Animations, visual effects |
430
328
 
431
- #### **SUPABASE** (`mcp/.mcp.supabase-only.json`)
432
- ```json
433
- {
434
- "mcpServers": {
435
- "context7": { ... },
436
- "server-sequential-thinking": { ... },
437
- "supabase": { ... } // Main Supabase project
438
- }
439
- }
440
- ```
441
- **Use for:** Database design, RLS policies, SQL queries
329
+ #### Other (6 agents)
330
+ | Agent | Purpose |
331
+ |-------|---------|
332
+ | `meta-agent-v3` | Create new agents |
333
+ | `technical-writer` | Documentation |
334
+ | `problem-investigator` | Deep problem analysis |
335
+ | `research-specialist` | Technical research |
336
+ | `article-writer-multi-platform` | Multi-platform content |
337
+ | `lead-research-assistant` | Lead qualification |
442
338
 
443
339
  ---
444
340
 
445
- #### **FULL** (`mcp/.mcp.full.json`)
446
- ```json
447
- {
448
- "mcpServers": {
449
- "context7": { ... },
450
- "server-sequential-thinking": { ... },
451
- "supabase": { ... },
452
- "supabase-legacy": { ... }, // Secondary project
453
- "n8n-workflows": { ... }, // Workflow automation
454
- "n8n-mcp": { ... }, // n8n server control
455
- "playwright": { ... }, // Browser automation
456
- "shadcn": { ... } // UI components
457
- }
458
- }
459
- ```
460
- **Use for:** Full-featured development, maximum capabilities
341
+ ## Skills Library
461
342
 
462
- ---
343
+ ### 37 Reusable Skills
463
344
 
464
- ### Switching Configurations
345
+ #### Inline Orchestration (5 skills)
346
+ Execute health workflows directly without spawning orchestrator agents:
465
347
 
466
- ```bash
467
- # Interactive menu
468
- ./switch-mcp.sh
469
-
470
- # Or manually
471
- cp mcp/.mcp.base.json .mcp.json
472
- ```
348
+ | Skill | Command | Purpose |
349
+ |-------|---------|---------|
350
+ | `bug-health-inline` | `/health-bugs` | Bug detection & fixing |
351
+ | `security-health-inline` | `/health-security` | Security scanning & fixing |
352
+ | `deps-health-inline` | `/health-deps` | Dependency audit & update |
353
+ | `cleanup-health-inline` | `/health-cleanup` | Dead code removal |
354
+ | `reuse-health-inline` | `/health-reuse` | Code duplication elimination |
473
355
 
474
- **Remember:** Restart Claude Code after switching!
356
+ #### Senior Expertise (6 skills)
357
+ Professional-grade domain expertise:
475
358
 
476
- ---
359
+ | Skill | Expertise |
360
+ |-------|-----------|
361
+ | `code-reviewer` | TypeScript, Python, Go, Swift, Kotlin review |
362
+ | `senior-devops` | CI/CD, containers, cloud, infrastructure |
363
+ | `senior-prompt-engineer` | LLM optimization, RAG, agents |
364
+ | `ux-researcher-designer` | User research, personas |
365
+ | `ui-design-system` | Design tokens, components |
366
+ | `systematic-debugging` | Root cause analysis |
477
367
 
478
- ## 📁 Project Structure
368
+ #### Validation & Quality (6 skills)
369
+ | Skill | Purpose |
370
+ |-------|---------|
371
+ | `validate-plan-file` | JSON schema validation |
372
+ | `validate-report-file` | Report completeness |
373
+ | `run-quality-gate` | Type-check/build/tests |
374
+ | `calculate-priority-score` | Bug/task prioritization |
375
+ | `setup-knip` | Configure dead code detection |
376
+ | `rollback-changes` | Restore from changes log |
377
+
378
+ #### Reporting & Formatting (6 skills)
379
+ | Skill | Purpose |
380
+ |-------|---------|
381
+ | `generate-report-header` | Standardized report headers |
382
+ | `generate-changelog` | Changelog from commits |
383
+ | `format-markdown-table` | Well-formatted tables |
384
+ | `format-commit-message` | Conventional commits |
385
+ | `format-todo-list` | TodoWrite-compatible lists |
386
+ | `render-template` | Variable substitution |
387
+
388
+ #### Parsing & Extraction (4 skills)
389
+ | Skill | Purpose |
390
+ |-------|---------|
391
+ | `parse-git-status` | Parse git status output |
392
+ | `parse-package-json` | Extract version, deps |
393
+ | `parse-error-logs` | Parse build/test errors |
394
+ | `extract-version` | Semantic version parsing |
479
395
 
480
- ```
481
- claude-code-orchestrator-kit/
482
-
483
- ├── 📂 .claude/ # Main orchestration system
484
- │ ├── agents/ # 33+ AI agents
485
- │ │ ├── health/ # Bug, security, deps, cleanup orchestrators
486
- │ │ │ ├── orchestrators/ # Multi-phase workflow coordinators
487
- │ │ │ └── workers/ # Specialized execution agents
488
- │ │ ├── development/ # LLM, TypeScript, cost specialists
489
- │ │ ├── testing/ # Integration, performance, mobile tests
490
- │ │ ├── database/ # Supabase, API builders
491
- │ │ ├── infrastructure/ # Qdrant, quality validators
492
- │ │ ├── frontend/ # UI/UX specialists
493
- │ │ ├── documentation/ # Technical writers
494
- │ │ ├── research/ # Deep-dive investigators
495
- │ │ └── meta/ # Agent and skill creators
496
- │ │
497
- │ ├── commands/ # 19+ slash commands
498
- │ │ ├── health-*.md # Health monitoring workflows
499
- │ │ ├── speckit.*.md # Specification toolkit
500
- │ │ ├── worktree-*.md # Git worktree management
501
- │ │ ├── push.md # Release automation
502
- │ │ └── translate-doc.md # Documentation translation
503
- │ │
504
- │ ├── skills/ # 15+ reusable utilities
505
- │ │ ├── validate-plan-file/ # Schema validation
506
- │ │ ├── run-quality-gate/ # Automated checks
507
- │ │ ├── rollback-changes/ # Restore files
508
- │ │ ├── generate-report-header/ # Standardized reports
509
- │ │ └── ...
510
- │ │
511
- │ ├── schemas/ # JSON schemas for validation
512
- │ │ ├── base-plan.schema.json
513
- │ │ ├── bug-plan.schema.json
514
- │ │ ├── security-plan.schema.json
515
- │ │ └── ...
516
- │ │
517
- │ └── scripts/ # Automation scripts
518
- │ ├── release.sh # Version bumping
519
- │ └── gates/ # Quality gate checks
520
- │ ├── check-bundle-size.sh
521
- │ ├── check-security.sh
522
- │ └── check-coverage.sh
523
-
524
- ├── 📂 mcp/ # MCP server configurations
525
- │ ├── .mcp.base.json # Minimal (~600 tokens)
526
- │ ├── .mcp.supabase-only.json # Database work (~2500)
527
- │ ├── .mcp.supabase-full.json # Multi-project (~3000)
528
- │ ├── .mcp.n8n.json # Automation (~2500)
529
- │ ├── .mcp.frontend.json # UI/UX (~2000)
530
- │ └── .mcp.full.json # All servers (~5000)
531
-
532
- ├── 📂 .github/ # GitHub Actions (optional)
533
- │ └── workflows/
534
-
535
- ├── 🔧 Configuration Files
536
- │ ├── .env.example # Environment template
537
- │ ├── .env.local # Your credentials (git-ignored)
538
- │ ├── .gitignore # Security exclusions
539
- │ ├── .mcp.json # Active MCP config
540
- │ └── CLAUDE.md # Behavioral Operating System
541
-
542
- └── 📜 Scripts
543
- ├── switch-mcp.sh # MCP configuration switcher
544
- └── README.md # This file
545
- ```
396
+ #### Creative & UI (6 skills)
397
+ | Skill | Purpose |
398
+ |-------|---------|
399
+ | `algorithmic-art` | Generative art with p5.js |
400
+ | `canvas-design` | Visual art in PNG/PDF |
401
+ | `theme-factory` | Theme styling for artifacts |
402
+ | `artifacts-builder` | Multi-component HTML artifacts |
403
+ | `webapp-testing` | Playwright testing |
404
+ | `frontend-aesthetics` | Distinctive UI design |
405
+
406
+ #### Other (4 skills)
407
+ | Skill | Purpose |
408
+ |-------|---------|
409
+ | `git-commit-helper` | Commit message from diff |
410
+ | `changelog-generator` | User-facing changelogs |
411
+ | `content-research-writer` | Research-driven content |
412
+ | `lead-research-assistant` | Lead identification |
546
413
 
547
414
  ---
548
415
 
549
- ## 🎯 Slash Commands
416
+ ## Slash Commands
550
417
 
551
- ### Health Monitoring
418
+ ### 18 Commands
552
419
 
553
- #### `/health-bugs`
554
- Complete bug detection and fixing workflow.
420
+ #### Health Monitoring (6 commands)
555
421
 
556
- **What it does:**
557
- - Scans entire codebase for bugs
558
- - Categorizes by priority (critical high → medium → low)
559
- - Fixes bugs stage by stage
560
- - Runs quality gates after each stage
561
- - Verification scan and iterative refinement
562
-
563
- **Usage:**
564
- ```
422
+ | Command | Purpose |
423
+ |---------|---------|
424
+ | `/health-bugs` | Bug detection and fixing workflow |
425
+ | `/health-security` | Security vulnerability scanning |
426
+ | `/health-deps` | Dependency audit and updates |
427
+ | `/health-cleanup` | Dead code detection and removal |
428
+ | `/health-reuse` | Code duplication elimination |
429
+ | `/health-metrics` | Monthly ecosystem health report |
430
+
431
+ **Example:**
432
+ ```bash
565
433
  /health-bugs
434
+ # Scans → Categorizes → Fixes by priority → Validates → Reports
566
435
  ```
567
436
 
568
- **Output:** `bug-hunting-report.md`, `bug-fixes-implemented.md`
569
-
570
- ---
571
-
572
- #### `/health-security`
573
- Security vulnerability detection and remediation.
574
-
575
- **Checks for:**
576
- - SQL injection vulnerabilities
577
- - XSS attack vectors
578
- - Authentication/authorization issues
579
- - RLS policy gaps
580
- - Hardcoded secrets
581
-
582
- **Usage:**
583
- ```
584
- /health-security
585
- ```
586
-
587
- ---
588
-
589
- #### `/health-deps`
590
- Dependency audit and safe updates.
591
-
592
- **Features:**
593
- - Detects outdated packages
594
- - Finds security vulnerabilities
595
- - Identifies unused dependencies
596
- - One-at-a-time update strategy
597
- - Validation and rollback support
598
-
599
- **Usage:**
600
- ```
601
- /health-deps
602
- ```
603
-
604
- ---
605
-
606
- #### `/health-cleanup`
607
- Dead code detection and removal.
608
-
609
- **Finds:**
610
- - Unused imports
611
- - Commented code blocks
612
- - Unreachable code paths
613
- - Debug artifacts (console.log, debugger)
614
- - Unused variables/functions
615
-
616
- **Usage:**
617
- ```
618
- /health-cleanup
619
- ```
620
-
621
- ---
622
-
623
- #### `/health-reuse`
624
- Code duplication detection and consolidation.
625
-
626
- **Features:**
627
- - Detects duplicated types, interfaces, and schemas
628
- - Identifies repeated logic patterns
629
- - Consolidates duplicates into Single Source of Truth (SSOT)
630
- - Refactors consuming code to use shared definitions
631
- - Prevents technical debt accumulation
632
-
633
- **Usage:**
634
- ```
635
- /health-reuse
636
- ```
637
-
638
- ---
639
-
640
- #### `/health-metrics`
641
- Monthly ecosystem health reports.
642
-
643
- **Analyzes:**
644
- - Agent performance and success rates
645
- - Quality gate pass rates
646
- - Context7 usage and effectiveness
647
- - Complexity distribution
648
- - Behavioral OS health
649
-
650
- **Usage:**
651
- ```
652
- # Current month
653
- /health-metrics
654
-
655
- # Specific month
656
- /health-metrics 2025-10
657
-
658
- # Previous month
659
- /health-metrics last-month
660
- ```
661
-
662
- **Output:** `docs/reports/metrics/YYYY-MM-ecosystem-health.md`
663
-
664
- ---
665
-
666
- ### SpecKit Commands
667
-
668
- Specification-driven development toolkit.
437
+ #### SpecKit (9 commands)
669
438
 
670
439
  | Command | Purpose |
671
440
  |---------|---------|
672
- | `/speckit.analyze` | Analyze requirements and extract key points |
673
- | `/speckit.specify` | Generate detailed specifications |
441
+ | `/speckit.analyze` | Analyze requirements |
442
+ | `/speckit.specify` | Generate specifications |
674
443
  | `/speckit.clarify` | Ask clarifying questions |
675
444
  | `/speckit.plan` | Create implementation plan |
676
445
  | `/speckit.implement` | Execute implementation |
677
446
  | `/speckit.checklist` | Generate QA checklist |
678
- | `/speckit.tasks` | Break into actionable tasks |
447
+ | `/speckit.tasks` | Break into tasks |
679
448
  | `/speckit.constitution` | Define project constitution |
449
+ | `/speckit.taskstoissues` | Convert tasks to GitHub issues |
680
450
 
681
- ---
682
-
683
- ### Worktree Management
684
-
685
- Git worktree automation for parallel work.
451
+ #### Other (3 commands)
686
452
 
687
453
  | Command | Purpose |
688
454
  |---------|---------|
689
- | `/worktree-create` | Create new worktree |
690
- | `/worktree-list` | List all worktrees |
691
- | `/worktree-cleanup` | Clean up merged worktrees |
692
- | `/worktree-remove` | Remove specific worktree |
455
+ | `/push [patch\|minor\|major]` | Automated release with changelog |
456
+ | `/worktree` | Git worktree management |
457
+ | `/translate-doc` | Translate documentation (EN↔RU) |
693
458
 
694
459
  ---
695
460
 
696
- ### Other Commands
461
+ ## MCP Configurations
697
462
 
698
- #### `/push [patch|minor|major]`
699
- Automated release management.
463
+ ### 7 Pre-configured Setups
700
464
 
701
- **Features:**
702
- - Analyzes commits since last release
703
- - Auto-detects version bump type
704
- - Updates `package.json`
705
- - Generates changelog entry
706
- - Creates git tag
707
- - Pushes to remote
465
+ Switch configurations based on your task to save tokens:
708
466
 
709
- **Usage:**
710
- ```
711
- /push patch # 1.0.0 → 1.0.1
712
- /push minor # 1.0.0 → 1.1.0
713
- /push major # 1.0.0 → 2.0.0
467
+ ```bash
468
+ ./switch-mcp.sh
714
469
  ```
715
470
 
471
+ | Config | Servers | Tokens | Use Case |
472
+ |--------|---------|--------|----------|
473
+ | **BASE** | Context7 + Sequential Thinking | ~600 | Daily development |
474
+ | **SUPABASE** | Base + Supabase | ~2500 | Database work |
475
+ | **SUPABASE-FULL** | Base + Supabase (dual) | ~3000 | Multi-project DB |
476
+ | **N8N** | Base + n8n automation | ~2500 | Workflow automation |
477
+ | **FRONTEND** | Base + Playwright + ShadCN | ~2000 | UI development |
478
+ | **SERENA** | Base + Serena LSP | ~2500 | Semantic code search |
479
+ | **FULL** | All servers | ~6500 | Maximum capabilities |
480
+
716
481
  ---
717
482
 
718
- #### `/translate-doc`
719
- Translate documentation between English and Russian.
483
+ ## Project Structure
720
484
 
721
- **Usage:**
722
485
  ```
723
- /translate-doc path/to/doc.md
486
+ claude-code-orchestrator-kit/
487
+ ├── .claude/
488
+ │ ├── agents/ # 39 AI agents
489
+ │ │ ├── health/ # Bug, security, deps, cleanup
490
+ │ │ ├── development/ # LLM, TypeScript, utilities
491
+ │ │ ├── testing/ # Integration, performance, mobile
492
+ │ │ ├── database/ # Supabase, API, architecture
493
+ │ │ ├── infrastructure/ # Qdrant, deployment, orchestration
494
+ │ │ ├── frontend/ # Next.js, visual effects
495
+ │ │ ├── meta/ # Agent/skill creators
496
+ │ │ ├── research/ # Problem investigation
497
+ │ │ ├── documentation/ # Technical writing
498
+ │ │ ├── content/ # Article writing
499
+ │ │ └── business/ # Lead research
500
+ │ │
501
+ │ ├── skills/ # 37 reusable skills
502
+ │ │ ├── bug-health-inline/ # Inline orchestration
503
+ │ │ ├── code-reviewer/ # Senior expertise
504
+ │ │ ├── validate-plan-file/ # Validation utilities
505
+ │ │ └── ...
506
+ │ │
507
+ │ ├── commands/ # 18 slash commands
508
+ │ │ ├── health-*.md # Health monitoring
509
+ │ │ ├── speckit.*.md # SpecKit workflow
510
+ │ │ └── ...
511
+ │ │
512
+ │ ├── schemas/ # JSON schemas
513
+ │ └── scripts/ # Quality gate scripts
514
+
515
+ ├── mcp/ # 7 MCP configurations
516
+ │ ├── .mcp.base.json
517
+ │ ├── .mcp.supabase-only.json
518
+ │ ├── .mcp.frontend.json
519
+ │ └── ...
520
+
521
+ ├── docs/ # Documentation
522
+ │ ├── FAQ.md
523
+ │ ├── ARCHITECTURE.md
524
+ │ ├── TUTORIAL-CUSTOM-AGENTS.md
525
+ │ └── ...
526
+
527
+ ├── CLAUDE.md # Behavioral Operating System
528
+ ├── switch-mcp.sh # MCP switcher
529
+ └── package.json # npm package config
724
530
  ```
725
531
 
726
532
  ---
727
533
 
728
- ## 🤖 Agents Ecosystem
729
-
730
- ### Architecture
731
-
732
- **Orchestrators** → Plan workflows, create tasks, validate outputs, manage iterations
733
- **Workers** → Execute specific tasks, generate reports, return control
734
- **Skills** → Reusable utilities for validation, reporting, automation
735
-
736
- ### Health Orchestrators
737
-
738
- #### `bug-orchestrator`
739
- Manages complete bug fixing workflow.
740
-
741
- **Phases:**
742
- 1. Pre-flight validation
743
- 2. Bug detection (via bug-hunter)
744
- 3. Quality gate 1 (validation)
745
- 4. Staged fixing by priority
746
- 5. Quality gates per priority
747
- 6. Verification scan
748
- 7. Iterative refinement (up to 3 cycles)
749
- 8. Final summary
750
-
751
- **Key Features:**
752
- - Priority-based fixing (critical → low)
753
- - Quality gates (type-check, build, tests)
754
- - Rollback on failure
755
- - Iteration tracking
756
- - Comprehensive reporting
757
-
758
- ---
759
-
760
- #### `security-orchestrator`
761
- Security vulnerability workflow.
762
-
763
- **Similar to bug-orchestrator but for:**
764
- - Security vulnerabilities
765
- - Authentication issues
766
- - Authorization bypasses
767
- - Data exposure risks
768
- - Secrets management
769
-
770
- ---
771
-
772
- #### `dependency-orchestrator`
773
- Safe dependency update workflow.
774
-
775
- **Features:**
776
- - Audit existing dependencies
777
- - One-at-a-time update strategy
778
- - Validation after each update
779
- - Rollback on failure
780
- - Lock file management
781
-
782
- ---
783
-
784
- #### `dead-code-orchestrator`
785
- Dead code cleanup workflow.
786
-
787
- **Targets:**
788
- - Unused imports
789
- - Commented code
790
- - Unreachable paths
791
- - Debug leftovers
792
- - Orphaned functions
793
-
794
- ---
795
-
796
- #### `reuse-orchestrator`
797
- Code duplication elimination workflow.
798
-
799
- **Phases:**
800
- 1. **Detection**: `reuse-hunter` scans for duplicated types/logic
801
- 2. **Analysis**: Group duplicates and identify best SSOT location
802
- 3. **Consolidation**: `reuse-fixer` merges duplicates into shared files
803
- 4. **Refactoring**: Updates all references to point to SSOT
804
- 5. **Validation**: Ensures no breaking changes via quality gates
805
-
806
- ---
807
-
808
- ### Worker Agents
809
-
810
- #### Development
811
- - **llm-service-specialist** — LLM integration, prompt engineering
812
- - **typescript-types-specialist** — Type definitions, generics
813
- - **cost-calculator-specialist** — Token usage, API cost estimation
814
-
815
- #### Testing
816
- - **integration-tester** — Database, API, async job tests
817
- - **performance-optimizer** — Core Web Vitals, PageSpeed
818
- - **mobile-responsiveness-tester** — Viewport testing, mobile UX
819
- - **accessibility-tester** — WCAG compliance, screen readers
820
-
821
- #### Database
822
- - **database-architect** — PostgreSQL schema design, migrations
823
- - **api-builder** — tRPC routers, auth middleware
824
- - **supabase-auditor** — RLS policies, security validation
825
-
826
- #### Infrastructure
827
- - **infrastructure-specialist** — Supabase, Qdrant, Redis, BullMQ setup
828
- - **qdrant-specialist** — Vector database operations
829
- - **quality-validator-specialist** — Quality gate validation
830
-
831
- #### Meta
832
- - **skill-builder-v2** — Create new skills following SKILL.md format
833
- - **agent-creator** — Generate new agents with proper structure
834
-
835
- ---
836
-
837
- ## 🎯 Skills Library
838
-
839
- Reusable utilities accessible via `Skill` tool.
840
-
841
- ### Validation Skills
842
-
843
- | Skill | Purpose |
844
- |-------|---------|
845
- | `validate-plan-file` | Verify plan JSON schema |
846
- | `validate-report-file` | Check report completeness |
847
- | `validate-context7-availability` | Verify Context7 MCP server status |
848
-
849
- ### Quality Skills
850
-
851
- | Skill | Purpose |
852
- |-------|---------|
853
- | `run-quality-gate` | Execute type-check/build/tests |
854
- | `check-infinite-loop` | Detect agent invocation loops |
855
- | `calculate-complexity-score` | Analyze task complexity (0-10) |
856
- | `calculate-priority-score` | Score bugs/tasks by severity |
857
-
858
- ### Reporting Skills
859
-
860
- | Skill | Purpose |
861
- |-------|---------|
862
- | `generate-report-header` | Create standardized report headers |
863
- | `format-markdown-table` | Generate well-formatted tables |
864
- | `format-todo-list` | Create TodoWrite-compatible lists |
865
- | `generate-changelog` | Generate changelog from commits |
866
-
867
- ### Utility Skills
868
-
869
- | Skill | Purpose |
870
- |-------|---------|
871
- | `parse-git-status` | Parse git status into structured data |
872
- | `parse-package-json` | Extract version, dependencies |
873
- | `parse-error-logs` | Parse build/test errors |
874
- | `extract-version` | Parse semantic version strings |
875
- | `format-commit-message` | Generate conventional commits |
876
- | `render-template` | Variable substitution in templates |
877
- | `rollback-changes` | Restore files from changes log |
878
-
879
- ### Context & Session Skills (DeksdenFlow)
880
-
881
- | Skill | Purpose |
882
- |-------|---------|
883
- | `load-project-context` | Load project index for navigation |
884
- | `save-session-context` | Save workflow state for resumption |
885
- | `resume-session` | Resume previously saved session |
886
-
887
- ---
888
-
889
- ## 💡 Usage Examples
534
+ ## Usage Examples
890
535
 
891
- ### Example 1: Complete Bug Fixing Workflow
536
+ ### Example 1: Bug Fixing Workflow
892
537
 
893
538
  ```bash
894
- # 1. Run bug detection and fixing
539
+ # Run complete bug detection and fixing
895
540
  /health-bugs
896
541
 
897
- # Agent workflow:
898
- # - Pre-flight validation
899
- # - Scans codebase (bug-hunter)
900
- # - Finds 45 bugs (12 critical, 18 high, 10 medium, 5 low)
901
- # - Fixes critical bugs first
902
- # - Runs type-check ✅, build ✅, tests ✅
903
- # - Fixes high priority bugs
904
- # - Quality gates ✅
905
- # - Verification scan
906
- # - Final report generated
907
-
908
- # 2. Review results
909
- cat bug-hunting-report.md
910
- cat bug-fixes-implemented.md
911
-
912
- # 3. Review monthly metrics
913
- /health-metrics
914
- ```
915
-
916
- ---
917
-
918
- ### Example 2: Switching MCP for Frontend Work
919
-
920
- ```bash
921
- # Switch to frontend config (Playwright + ShadCN)
922
- ./switch-mcp.sh
923
- # Select option 5
924
-
925
- # Restart Claude Code
926
-
927
- # Now you have access to:
928
- # - Playwright for browser automation
929
- # - ShadCN for UI component generation
930
- # - Context7 for library docs
931
- # - Sequential Thinking for complex reasoning
542
+ # What happens:
543
+ # 1. Pre-flight validation
544
+ # 2. Bug detection (bug-hunter agent)
545
+ # 3. Quality gate validation
546
+ # 4. Priority-based fixing (critical low)
547
+ # 5. Quality gates after each priority
548
+ # 6. Verification scan
549
+ # 7. Final report
932
550
  ```
933
551
 
934
- ---
935
-
936
- ### Example 3: Worktree Workflow
552
+ ### Example 2: Code Review
937
553
 
938
554
  ```bash
939
- # Create worktree for feature development
940
- /worktree-create feature/new-auth-flow
555
+ # Invoke code-reviewer skill
556
+ /code-reviewer
941
557
 
942
- # Work in parallel worktree
943
- cd .worktrees/feature-new-auth-flow
944
- # ... make changes ...
945
-
946
- # List all worktrees
947
- /worktree-list
948
-
949
- # Cleanup merged worktrees
950
- /worktree-cleanup
558
+ # Provides:
559
+ # - Automated code analysis
560
+ # - Best practices checking
561
+ # - Security scanning
562
+ # - Review checklist
951
563
  ```
952
564
 
953
- ---
954
-
955
- ### Example 4: Release Automation
565
+ ### Example 3: Release Automation
956
566
 
957
567
  ```bash
958
- # Auto-detect version bump and release
568
+ # Auto-detect version bump
959
569
  /push
960
570
 
961
- # Or specify version bump type
571
+ # Or specify type
962
572
  /push minor
963
573
 
964
- # What happens:
965
- # 1. Analyzes commits since last release
966
- # 2. Detects features, fixes, breaking changes
967
- # 3. Bumps version in package.json
968
- # 4. Generates changelog entry
969
- # 5. Creates git commit + tag
970
- # 6. Pushes to remote
574
+ # Actions:
575
+ # 1. Analyze commits since last release
576
+ # 2. Bump version in package.json
577
+ # 3. Generate changelog entry
578
+ # 4. Create git commit + tag
579
+ # 5. Push to remote
971
580
  ```
972
581
 
973
- ---
974
-
975
- ## ⚙️ Configuration
976
-
977
- ### Environment Variables
978
-
979
- All sensitive data is stored in `.env.local` (git-ignored).
980
-
981
- **Required for Supabase MCP:**
982
- ```bash
983
- SUPABASE_PROJECT_REF=abc123xyz
984
- SUPABASE_ACCESS_TOKEN=sbp_yourtokenhere
985
- SUPABASE_DB_PASSWORD=yourpassword
986
- ```
582
+ ### Example 4: Parallel Feature Development
987
583
 
988
- **Required for Sequential Thinking:**
989
584
  ```bash
990
- SEQUENTIAL_THINKING_KEY=your-smithery-key
991
- SEQUENTIAL_THINKING_PROFILE=your-profile-name
992
- ```
585
+ # Create worktrees
586
+ /worktree create feature/new-auth
587
+ /worktree create feature/new-ui
993
588
 
994
- **Optional for n8n:**
995
- ```bash
996
- N8N_API_URL=https://your-n8n.com
997
- N8N_API_KEY=your-api-key
998
- ```
589
+ # Work in parallel
590
+ cd .worktrees/feature-new-auth
591
+ # ... changes ...
999
592
 
1000
- ### MCP Configuration Template
1001
-
1002
- MCP configs use environment variable interpolation:
1003
-
1004
- ```json
1005
- {
1006
- "mcpServers": {
1007
- "supabase": {
1008
- "command": "npx",
1009
- "args": ["-y", "@supabase/mcp-server-supabase@latest", "--project-ref=${SUPABASE_PROJECT_REF}"],
1010
- "env": {
1011
- "SUPABASE_ACCESS_TOKEN": "${SUPABASE_ACCESS_TOKEN}"
1012
- }
1013
- }
1014
- }
1015
- }
593
+ # Cleanup when done
594
+ /worktree cleanup
1016
595
  ```
1017
596
 
1018
- Variables are automatically resolved from `.env.local`.
1019
-
1020
597
  ---
1021
598
 
1022
- ## 📚 Best Practices
599
+ ## Best Practices
1023
600
 
1024
601
  ### 1. Start with BASE Configuration
1025
-
1026
- Use minimal MCP config for daily work to conserve tokens:
1027
-
602
+ Use minimal MCP config for daily work (~600 tokens):
1028
603
  ```bash
1029
- ./switch-mcp.sh
1030
- # Select option 1 (BASE)
604
+ ./switch-mcp.sh # Select BASE
1031
605
  ```
1032
606
 
1033
- Switch to specialized configs only when needed.
1034
-
1035
- ---
1036
-
1037
607
  ### 2. Run Health Checks Weekly
1038
-
1039
608
  ```bash
1040
- # Monday: Bug scan
1041
- /health-bugs
1042
-
1043
- # Tuesday: Security audit
1044
- /health-security
1045
-
1046
- # Wednesday: Dependency check
1047
- /health-deps
1048
-
1049
- # Thursday: Dead code cleanup
1050
- /health-cleanup
1051
-
1052
- # End of month: Metrics review
1053
- /health-metrics
1054
- ```
1055
-
1056
- ---
1057
-
1058
- ### 3. Use Quality Gates
1059
-
1060
- Always enable quality gates in orchestrators:
1061
-
1062
- ```json
1063
- {
1064
- "validation": {
1065
- "required": ["type-check", "build"],
1066
- "optional": ["tests"]
1067
- }
1068
- }
1069
- ```
1070
-
1071
- ---
1072
-
1073
- ### 4. Monitor Agent Performance
1074
-
1075
- Check monthly metrics to identify issues:
1076
-
609
+ /health-bugs # Monday
610
+ /health-security # Tuesday
611
+ /health-deps # Wednesday
612
+ /health-cleanup # Thursday
613
+ /health-metrics # Monthly
614
+ ```
615
+
616
+ ### 3. Use Library-First Approach
617
+ Before writing code >20 lines, search for existing libraries:
618
+ - Check npm/PyPI for packages with >1k weekly downloads
619
+ - Evaluate maintenance status and types support
620
+ - Use library if it covers >70% of functionality
621
+
622
+ ### 4. Follow Orchestration Rules
623
+ 1. **GATHER CONTEXT FIRST** - Read code, search patterns
624
+ 2. **DELEGATE TO SUBAGENTS** - Provide complete context
625
+ 3. **VERIFY RESULTS** - Never skip verification
626
+ 4. **ACCEPT/REJECT LOOP** - Re-delegate if needed
627
+
628
+ ### 5. Keep Credentials Secure
1077
629
  ```bash
1078
- /health-metrics
1079
-
1080
- # Look for:
1081
- # - Success rate < 85% (needs improvement)
1082
- # - Underutilized agents (< 5 invocations/month)
1083
- # - Quality gate failures
1084
- # - Fallback strategy triggers
1085
- ```
1086
-
1087
- ---
1088
-
1089
- ### 5. Keep .env.local Secure
1090
-
1091
- ```bash
1092
- # Never commit
630
+ # Never commit .env.local
1093
631
  echo ".env.local" >> .gitignore
1094
-
1095
- # Use strong credentials
1096
- # Rotate tokens regularly
1097
- # Use environment-specific values
1098
- ```
1099
-
1100
- ---
1101
-
1102
- ### 6. Adopt Library-First Approach
1103
-
1104
- Before writing new custom code (>20 lines), always search for existing solutions:
1105
-
1106
- 1. **Search**: Check npm/PyPI for libraries with >1k weekly downloads
1107
- 2. **Evaluate**: Check maintenance status, types support, and bundle size
1108
- 3. **Adopt**: Use library if it covers >70% of functionality
1109
- 4. **Build**: Only write custom code for unique business logic or when no good library exists
1110
-
1111
- **Why?** Reduces maintenance burden, leverages community testing, and speeds up development.
1112
-
1113
- ---
1114
-
1115
- ## 🔧 Troubleshooting
1116
-
1117
- ### MCP Server Not Working
1118
-
1119
- **Problem:** MCP server not showing up after switch
1120
-
1121
- **Solution:**
1122
- ```bash
1123
- # 1. Verify config was copied
1124
- cat .mcp.json
1125
-
1126
- # 2. Check environment variables
1127
- cat .env.local
1128
-
1129
- # 3. Restart Claude Code completely
1130
- # (not just reload)
1131
-
1132
- # 4. Check Claude Code logs for errors
1133
632
  ```
1134
633
 
1135
634
  ---
1136
635
 
1137
- ### Quality Gates Failing
636
+ ## Documentation
1138
637
 
1139
- **Problem:** Type-check or build keeps failing
1140
-
1141
- **Solution:**
1142
- ```bash
1143
- # 1. Run manually to see full errors
1144
- npm run type-check
1145
- npm run build
1146
-
1147
- # 2. Check for TypeScript issues
1148
- npx tsc --noEmit
1149
-
1150
- # 3. Review validation settings
1151
- cat .claude/scripts/gates/check-*.sh
1152
- ```
1153
-
1154
- ---
1155
-
1156
- ### Agent Workflow Stuck
1157
-
1158
- **Problem:** Orchestrator workflow not progressing
1159
-
1160
- **Solution:**
1161
- ```bash
1162
- # 1. Check plan file
1163
- cat .tmp/current/plans/*.json
1164
-
1165
- # 2. Verify reports generated
1166
- ls -la .tmp/current/reports/
1167
-
1168
- # 3. Check for infinite loop
1169
- # (check-infinite-loop skill)
1170
-
1171
- # 4. Review changes log
1172
- cat .tmp/current/changes/*.json
1173
- ```
1174
-
1175
- ---
1176
-
1177
- ### Environment Variables Not Loading
1178
-
1179
- **Problem:** MCP servers show "undefined" for variables
1180
-
1181
- **Solution:**
1182
- ```bash
1183
- # 1. Verify .env.local exists
1184
- ls -la .env.local
1185
-
1186
- # 2. Check format (no quotes needed)
1187
- cat .env.local
1188
- # Correct: SUPABASE_PROJECT_REF=abc123
1189
- # Wrong: SUPABASE_PROJECT_REF="abc123"
1190
-
1191
- # 3. Restart Claude Code
1192
- # Variables load on startup
1193
- ```
638
+ | Document | Description |
639
+ |----------|-------------|
640
+ | [FAQ](docs/FAQ.md) | Frequently asked questions |
641
+ | [Architecture](docs/ARCHITECTURE.md) | System design diagrams |
642
+ | [Tutorial: Custom Agents](docs/TUTORIAL-CUSTOM-AGENTS.md) | Create your own agents |
643
+ | [Use Cases](docs/USE-CASES.md) | Real-world examples |
644
+ | [Performance](docs/PERFORMANCE-OPTIMIZATION.md) | Token optimization |
645
+ | [Migration Guide](docs/MIGRATION-GUIDE.md) | Add to existing projects |
646
+ | [Commands Guide](docs/COMMANDS-GUIDE.md) | Detailed command reference |
1194
647
 
1195
648
  ---
1196
649
 
1197
- ## 🤝 Contributing
1198
-
1199
- Contributions are welcome! Please follow these guidelines:
650
+ ## Contributing
1200
651
 
1201
652
  ### Adding New Agents
1202
653
 
1203
- 1. Create agent file in appropriate category:
1204
- ```
1205
- .claude/agents/{category}/workers/my-agent.md
1206
- ```
1207
-
654
+ 1. Create file in `.claude/agents/{category}/workers/`
1208
655
  2. Follow agent template structure
1209
- 3. Include examples and test cases
1210
- 4. Update this README with agent description
656
+ 3. Add to this README
1211
657
 
1212
658
  ### Adding New Skills
1213
659
 
1214
- 1. Create skill directory:
1215
- ```
1216
- .claude/skills/my-skill/SKILL.md
1217
- ```
1218
-
1219
- 2. Follow SKILL.md format
1220
- 3. Add to Skills Library section in README
660
+ 1. Create directory `.claude/skills/{skill-name}/`
661
+ 2. Add `SKILL.md` following format
662
+ 3. Add to this README
1221
663
 
1222
664
  ### Adding MCP Configurations
1223
665
 
1224
- 1. Create config in `mcp/` directory
1225
- 2. Follow naming convention: `.mcp.{name}.json`
1226
- 3. Use environment variables for secrets
1227
- 4. Update `switch-mcp.sh` menu
1228
- 5. Document in README
1229
-
1230
- ---
1231
-
1232
- ## 📄 License
1233
-
1234
- MIT License - See [LICENSE](LICENSE) file for details.
666
+ 1. Create `mcp/.mcp.{name}.json`
667
+ 2. Update `switch-mcp.sh`
668
+ 3. Document in README
1235
669
 
1236
670
  ---
1237
671
 
1238
- ## 🏆 Attribution
1239
-
1240
- This project includes components adapted from:
672
+ ## Attribution
1241
673
 
1242
674
  ### SpecKit by GitHub
1243
- The SpecKit commands (`/speckit.*`) are adapted from [GitHub's SpecKit](https://github.com/github/spec-kit) project.
1244
- - **License:** MIT License
1245
- - **Copyright:** GitHub, Inc.
1246
- - **Components:** speckit.analyze, speckit.specify, speckit.clarify, speckit.plan, speckit.implement, speckit.checklist, speckit.tasks, speckit.constitution
1247
-
1248
- Special thanks to the GitHub team for creating this excellent specification-driven development toolkit.
675
+ Commands `/speckit.*` adapted from [GitHub's SpecKit](https://github.com/github/spec-kit).
676
+ - **License**: MIT License
677
+ - **Copyright**: GitHub, Inc.
1249
678
 
1250
679
  ---
1251
680
 
1252
- ## 🙏 Acknowledgments
1253
-
1254
- Built with and powered by:
681
+ ## Acknowledgments
1255
682
 
683
+ Built with:
1256
684
  - **[Claude Code](https://claude.com/claude-code)** by Anthropic
1257
- The official CLI for Claude that powers this entire orchestration system
1258
-
1259
685
  - **[Context7](https://upstash.com/context7)** by Upstash
1260
- Real-time library documentation and best practices through MCP
1261
-
686
+ - **[Supabase MCP](https://github.com/supabase/mcp-server-supabase)**
1262
687
  - **[Smithery Sequential Thinking](https://smithery.ai/)**
1263
- Enhanced reasoning capabilities through structured thinking
1264
-
1265
- - **[Supabase MCP Server](https://github.com/supabase/mcp-server-supabase)**
1266
- Database access and management through Model Context Protocol
1267
-
1268
- - **[n8n](https://n8n.io/)**
1269
- Workflow automation platform integration
1270
-
1271
688
  - **[Playwright](https://playwright.dev/)**
1272
- Browser automation for testing and validation
1273
-
1274
689
  - **[shadcn/ui](https://ui.shadcn.com/)**
1275
- Beautiful UI component system
1276
-
1277
- Special thanks to the open-source community and all contributors!
1278
690
 
1279
691
  ---
1280
692
 
1281
- ## 🔗 Links
693
+ ## Stats
1282
694
 
1283
- - **GitHub Repository:** [claude-code-orchestrator-kit](https://github.com/maslennikov-ig/claude-code-orchestrator-kit)
1284
- - **Author:** [Igor Maslennikov](https://github.com/maslennikov-ig)
1285
- - **Documentation:** [Full Docs](docs/Agents%20Ecosystem/)
1286
- - **Issues:** [GitHub Issues](https://github.com/maslennikov-ig/claude-code-orchestrator-kit/issues)
1287
- - **Discussions:** [GitHub Discussions](https://github.com/maslennikov-ig/claude-code-orchestrator-kit/discussions)
695
+ - **39** AI Agents
696
+ - **37** Reusable Skills
697
+ - **18** Slash Commands
698
+ - **7** MCP Configurations
699
+ - **v1.4.13** Current Version
1288
700
 
1289
701
  ---
1290
702
 
1291
- ## 📊 Project Stats
1292
-
1293
- - **36+** AI Agents (Orchestrators + Workers)
1294
- - **20+** Slash Commands
1295
- - **18+** Reusable Skills
1296
- - **7** MCP Configurations (including Serena LSP)
1297
- - **3** Quality Gate Scripts
1298
- - **100%** Environment Variable Security
1299
-
1300
- ---
1301
-
1302
- ## 👤 Author
703
+ ## Author
1303
704
 
1304
705
  **Igor Maslennikov**
1305
706
  - GitHub: [@maslennikov-ig](https://github.com/maslennikov-ig)
1306
- - Repository: [claude-code-orchestrator-kit](https://github.com/maslennikov-ig/claude-code-orchestrator-kit)
707
+ - Website: [aidevteam.ru](https://aidevteam.ru/)
1307
708
 
1308
709
  ---
1309
710
 
1310
- Made with ❤️ for the Claude Code community
1311
-
1312
- **Star ⭐ this repo if you find it useful!**
711
+ ## License
1313
712
 
1314
- ## 📄 License
713
+ MIT License - see [LICENSE](LICENSE) file.
1315
714
 
1316
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
715
+ ---
1317
716
 
1318
- **TL;DR:** Free to use, modify, and distribute. Just keep the copyright notice.
717
+ **Star this repo if you find it useful!**