claude-code-templates 1.21.0 → 1.21.1

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 (743) hide show
  1. package/.claude/agents/agent-expert.md +477 -0
  2. package/.claude/agents/cli-ui-designer.md +405 -0
  3. package/.claude/agents/command-expert.md +421 -0
  4. package/.claude/agents/docusaurus-expert.md +51 -0
  5. package/.claude/agents/mcp-expert.md +258 -0
  6. package/.claude/commands/lint.md +111 -0
  7. package/.claude/commands/test.md +73 -0
  8. package/.claude/settings.local.json +34 -0
  9. package/.github/WORKFLOWS_REFERENCE.md +88 -0
  10. package/.github/workflows/deploy-docusaurus.yml +31 -0
  11. package/.github/workflows/deploy.yml +33 -0
  12. package/.github/workflows/publish-package.yml +125 -0
  13. package/.mcp.json +4 -0
  14. package/CLAUDE.md +482 -0
  15. package/CODE_OF_CONDUCT.md +82 -0
  16. package/CONTRIBUTING.md +505 -0
  17. package/DEPLOYMENT.md +60 -0
  18. package/LICENSE +21 -0
  19. package/README.md +77 -79
  20. package/ROADMAP.md +278 -0
  21. package/SECURITY.md +65 -0
  22. package/api/index.html +1 -0
  23. package/api/package.json +7 -0
  24. package/api/track-download-supabase.js +150 -0
  25. package/cli-tool/Makefile +102 -0
  26. package/cli-tool/README.md +126 -0
  27. package/cli-tool/TESTING.md +262 -0
  28. package/cli-tool/components/agents/ai-specialists/ai-ethics-advisor.md +195 -0
  29. package/cli-tool/components/agents/ai-specialists/hackathon-ai-strategist.md +46 -0
  30. package/cli-tool/components/agents/ai-specialists/llms-maintainer.md +94 -0
  31. package/cli-tool/components/agents/ai-specialists/model-evaluator.md +150 -0
  32. package/cli-tool/components/agents/ai-specialists/prompt-engineer.md +112 -0
  33. package/cli-tool/components/agents/ai-specialists/search-specialist.md +59 -0
  34. package/cli-tool/components/agents/ai-specialists/task-decomposition-expert.md +97 -0
  35. package/cli-tool/components/agents/api-graphql/graphql-architect.md +208 -0
  36. package/cli-tool/components/agents/api-graphql/graphql-performance-optimizer.md +357 -0
  37. package/cli-tool/components/agents/api-graphql/graphql-security-specialist.md +519 -0
  38. package/cli-tool/components/agents/blockchain-web3/smart-contract-auditor.md +32 -0
  39. package/cli-tool/components/agents/blockchain-web3/smart-contract-specialist.md +32 -0
  40. package/cli-tool/components/agents/blockchain-web3/web3-integration-specialist.md +32 -0
  41. package/cli-tool/components/agents/business-marketing/business-analyst.md +194 -0
  42. package/cli-tool/components/agents/business-marketing/content-marketer.md +36 -0
  43. package/cli-tool/components/agents/business-marketing/customer-support.md +36 -0
  44. package/cli-tool/components/agents/business-marketing/legal-advisor.md +50 -0
  45. package/cli-tool/components/agents/business-marketing/marketing-attribution-analyst.md +352 -0
  46. package/cli-tool/components/agents/business-marketing/payment-integration.md +33 -0
  47. package/cli-tool/components/agents/business-marketing/product-strategist.md +212 -0
  48. package/cli-tool/components/agents/business-marketing/risk-manager.md +42 -0
  49. package/cli-tool/components/agents/business-marketing/sales-automator.md +36 -0
  50. package/cli-tool/components/agents/data-ai/ai-engineer.md +33 -0
  51. package/cli-tool/components/agents/data-ai/computer-vision-engineer.md +562 -0
  52. package/cli-tool/components/agents/data-ai/data-engineer.md +33 -0
  53. package/cli-tool/components/agents/data-ai/data-scientist.md +337 -0
  54. package/cli-tool/components/agents/data-ai/ml-engineer.md +33 -0
  55. package/cli-tool/components/agents/data-ai/mlops-engineer.md +58 -0
  56. package/cli-tool/components/agents/data-ai/nlp-engineer.md +680 -0
  57. package/cli-tool/components/agents/data-ai/quant-analyst.md +33 -0
  58. package/cli-tool/components/agents/database/database-admin.md +33 -0
  59. package/cli-tool/components/agents/database/database-architect.md +590 -0
  60. package/cli-tool/components/agents/database/database-optimization.md +33 -0
  61. package/cli-tool/components/agents/database/database-optimizer.md +33 -0
  62. package/cli-tool/components/agents/database/nosql-specialist.md +708 -0
  63. package/cli-tool/components/agents/database/supabase-schema-architect.md +138 -0
  64. package/cli-tool/components/agents/deep-research-team/academic-researcher.md +33 -0
  65. package/cli-tool/components/agents/deep-research-team/agent-overview.md +235 -0
  66. package/cli-tool/components/agents/deep-research-team/competitive-intelligence-analyst.md +530 -0
  67. package/cli-tool/components/agents/deep-research-team/data-analyst.md +112 -0
  68. package/cli-tool/components/agents/deep-research-team/fact-checker.md +553 -0
  69. package/cli-tool/components/agents/deep-research-team/query-clarifier.md +73 -0
  70. package/cli-tool/components/agents/deep-research-team/report-generator.md +108 -0
  71. package/cli-tool/components/agents/deep-research-team/research-brief-generator.md +108 -0
  72. package/cli-tool/components/agents/deep-research-team/research-coordinator.md +94 -0
  73. package/cli-tool/components/agents/deep-research-team/research-orchestrator.md +119 -0
  74. package/cli-tool/components/agents/deep-research-team/research-synthesizer.md +109 -0
  75. package/cli-tool/components/agents/deep-research-team/technical-researcher.md +95 -0
  76. package/cli-tool/components/agents/development-team/backend-architect.md +31 -0
  77. package/cli-tool/components/agents/development-team/cli-ui-designer.md +405 -0
  78. package/cli-tool/components/agents/development-team/devops-engineer.md +886 -0
  79. package/cli-tool/components/agents/development-team/frontend-developer.md +32 -0
  80. package/cli-tool/components/agents/development-team/fullstack-developer.md +1205 -0
  81. package/cli-tool/components/agents/development-team/ios-developer.md +36 -0
  82. package/cli-tool/components/agents/development-team/mobile-developer.md +33 -0
  83. package/cli-tool/components/agents/development-team/ui-ux-designer.md +36 -0
  84. package/cli-tool/components/agents/development-tools/code-reviewer.md +30 -0
  85. package/cli-tool/components/agents/development-tools/command-expert.md +422 -0
  86. package/cli-tool/components/agents/development-tools/context-manager.md +65 -0
  87. package/cli-tool/components/agents/development-tools/debugger.md +31 -0
  88. package/cli-tool/components/agents/development-tools/dx-optimizer.md +64 -0
  89. package/cli-tool/components/agents/development-tools/error-detective.md +33 -0
  90. package/cli-tool/components/agents/development-tools/mcp-expert.md +259 -0
  91. package/cli-tool/components/agents/development-tools/performance-profiler.md +799 -0
  92. package/cli-tool/components/agents/development-tools/test-engineer.md +936 -0
  93. package/cli-tool/components/agents/devops-infrastructure/cloud-architect.md +33 -0
  94. package/cli-tool/components/agents/devops-infrastructure/deployment-engineer.md +33 -0
  95. package/cli-tool/components/agents/devops-infrastructure/devops-troubleshooter.md +33 -0
  96. package/cli-tool/components/agents/devops-infrastructure/monitoring-specialist.md +36 -0
  97. package/cli-tool/components/agents/devops-infrastructure/network-engineer.md +33 -0
  98. package/cli-tool/components/agents/devops-infrastructure/security-engineer.md +971 -0
  99. package/cli-tool/components/agents/devops-infrastructure/terraform-specialist.md +36 -0
  100. package/cli-tool/components/agents/devops-infrastructure/vercel-deployment-specialist.md +357 -0
  101. package/cli-tool/components/agents/documentation/api-documenter.md +33 -0
  102. package/cli-tool/components/agents/documentation/changelog-generator.md +37 -0
  103. package/cli-tool/components/agents/documentation/docusaurus-expert.md +52 -0
  104. package/cli-tool/components/agents/documentation/technical-writer.md +37 -0
  105. package/cli-tool/components/agents/expert-advisors/agent-expert.md +477 -0
  106. package/cli-tool/components/agents/expert-advisors/architect-review.md +50 -0
  107. package/cli-tool/components/agents/expert-advisors/dependency-manager.md +45 -0
  108. package/cli-tool/components/agents/expert-advisors/documentation-expert.md +47 -0
  109. package/cli-tool/components/agents/ffmpeg-clip-team/audio-mixer.md +37 -0
  110. package/cli-tool/components/agents/ffmpeg-clip-team/audio-quality-controller.md +100 -0
  111. package/cli-tool/components/agents/ffmpeg-clip-team/podcast-content-analyzer.md +60 -0
  112. package/cli-tool/components/agents/ffmpeg-clip-team/podcast-metadata-specialist.md +46 -0
  113. package/cli-tool/components/agents/ffmpeg-clip-team/podcast-transcriber.md +68 -0
  114. package/cli-tool/components/agents/ffmpeg-clip-team/social-media-clip-creator.md +69 -0
  115. package/cli-tool/components/agents/ffmpeg-clip-team/timestamp-precision-specialist.md +98 -0
  116. package/cli-tool/components/agents/ffmpeg-clip-team/video-editor.md +37 -0
  117. package/cli-tool/components/agents/game-development/3d-artist.md +37 -0
  118. package/cli-tool/components/agents/game-development/game-designer.md +37 -0
  119. package/cli-tool/components/agents/game-development/unity-game-developer.md +110 -0
  120. package/cli-tool/components/agents/game-development/unreal-engine-developer.md +128 -0
  121. package/cli-tool/components/agents/mcp-dev-team/mcp-deployment-orchestrator.md +101 -0
  122. package/cli-tool/components/agents/mcp-dev-team/mcp-integration-engineer.md +37 -0
  123. package/cli-tool/components/agents/mcp-dev-team/mcp-protocol-specialist.md +37 -0
  124. package/cli-tool/components/agents/mcp-dev-team/mcp-registry-navigator.md +112 -0
  125. package/cli-tool/components/agents/mcp-dev-team/mcp-security-auditor.md +70 -0
  126. package/cli-tool/components/agents/mcp-dev-team/mcp-server-architect.md +74 -0
  127. package/cli-tool/components/agents/mcp-dev-team/mcp-testing-engineer.md +106 -0
  128. package/cli-tool/components/agents/modernization/architecture-modernizer.md +37 -0
  129. package/cli-tool/components/agents/modernization/cloud-migration-specialist.md +37 -0
  130. package/cli-tool/components/agents/modernization/legacy-modernizer.md +33 -0
  131. package/cli-tool/components/agents/obsidian-ops-team/Scripts/daily_notes_connector.py +306 -0
  132. package/cli-tool/components/agents/obsidian-ops-team/Scripts/enhance_tag_standardizer.py +343 -0
  133. package/cli-tool/components/agents/obsidian-ops-team/Scripts/find_keyword_connections.py +216 -0
  134. package/cli-tool/components/agents/obsidian-ops-team/Scripts/fix_quoted_tags.py +82 -0
  135. package/cli-tool/components/agents/obsidian-ops-team/Scripts/implement_entity_connections.py +195 -0
  136. package/cli-tool/components/agents/obsidian-ops-team/Scripts/link_suggester.py +301 -0
  137. package/cli-tool/components/agents/obsidian-ops-team/Scripts/metadata_adder.py +197 -0
  138. package/cli-tool/components/agents/obsidian-ops-team/Scripts/moc_generator.py +296 -0
  139. package/cli-tool/components/agents/obsidian-ops-team/Scripts/parse_keyword_connections.py +122 -0
  140. package/cli-tool/components/agents/obsidian-ops-team/Scripts/tag_standardizer.py +387 -0
  141. package/cli-tool/components/agents/obsidian-ops-team/connection-agent.md +67 -0
  142. package/cli-tool/components/agents/obsidian-ops-team/content-curator.md +81 -0
  143. package/cli-tool/components/agents/obsidian-ops-team/metadata-agent.md +51 -0
  144. package/cli-tool/components/agents/obsidian-ops-team/moc-agent.md +112 -0
  145. package/cli-tool/components/agents/obsidian-ops-team/review-agent.md +94 -0
  146. package/cli-tool/components/agents/obsidian-ops-team/tag-agent.md +92 -0
  147. package/cli-tool/components/agents/obsidian-ops-team/vault-optimizer.md +76 -0
  148. package/cli-tool/components/agents/ocr-extraction-team/document-structure-analyzer.md +37 -0
  149. package/cli-tool/components/agents/ocr-extraction-team/markdown-syntax-formatter.md +58 -0
  150. package/cli-tool/components/agents/ocr-extraction-team/ocr-grammar-fixer.md +36 -0
  151. package/cli-tool/components/agents/ocr-extraction-team/ocr-preprocessing-optimizer.md +37 -0
  152. package/cli-tool/components/agents/ocr-extraction-team/ocr-quality-assurance.md +62 -0
  153. package/cli-tool/components/agents/ocr-extraction-team/text-comparison-validator.md +60 -0
  154. package/cli-tool/components/agents/ocr-extraction-team/visual-analysis-ocr.md +52 -0
  155. package/cli-tool/components/agents/performance-testing/load-testing-specialist.md +37 -0
  156. package/cli-tool/components/agents/performance-testing/performance-engineer.md +33 -0
  157. package/cli-tool/components/agents/performance-testing/react-performance-optimization.md +65 -0
  158. package/cli-tool/components/agents/performance-testing/test-automator.md +33 -0
  159. package/cli-tool/components/agents/performance-testing/web-vitals-optimizer.md +37 -0
  160. package/cli-tool/components/agents/podcast-creator-team/academic-research-synthesizer.md +61 -0
  161. package/cli-tool/components/agents/podcast-creator-team/comprehensive-researcher.md +49 -0
  162. package/cli-tool/components/agents/podcast-creator-team/episode-orchestrator.md +52 -0
  163. package/cli-tool/components/agents/podcast-creator-team/guest-outreach-coordinator.md +37 -0
  164. package/cli-tool/components/agents/podcast-creator-team/market-research-analyst.md +54 -0
  165. package/cli-tool/components/agents/podcast-creator-team/podcast-editor.md +37 -0
  166. package/cli-tool/components/agents/podcast-creator-team/podcast-trend-scout.md +60 -0
  167. package/cli-tool/components/agents/podcast-creator-team/project-supervisor-orchestrator.md +48 -0
  168. package/cli-tool/components/agents/podcast-creator-team/seo-podcast-optimizer.md +58 -0
  169. package/cli-tool/components/agents/podcast-creator-team/social-media-copywriter.md +57 -0
  170. package/cli-tool/components/agents/podcast-creator-team/twitter-ai-influencer-manager.md +62 -0
  171. package/cli-tool/components/agents/programming-languages/c-pro.md +36 -0
  172. package/cli-tool/components/agents/programming-languages/c-sharp-pro.md +40 -0
  173. package/cli-tool/components/agents/programming-languages/cpp-pro.md +39 -0
  174. package/cli-tool/components/agents/programming-languages/golang-pro.md +33 -0
  175. package/cli-tool/components/agents/programming-languages/javascript-pro.md +36 -0
  176. package/cli-tool/components/agents/programming-languages/php-pro.md +44 -0
  177. package/cli-tool/components/agents/programming-languages/python-pro.md +33 -0
  178. package/cli-tool/components/agents/programming-languages/rust-pro.md +36 -0
  179. package/cli-tool/components/agents/programming-languages/shell-scripting-pro.md +38 -0
  180. package/cli-tool/components/agents/programming-languages/sql-pro.md +36 -0
  181. package/cli-tool/components/agents/programming-languages/typescript-pro.md +38 -0
  182. package/cli-tool/components/agents/realtime/supabase-realtime-optimizer.md +193 -0
  183. package/cli-tool/components/agents/security/api-security-audit.md +93 -0
  184. package/cli-tool/components/agents/security/compliance-specialist.md +37 -0
  185. package/cli-tool/components/agents/security/incident-responder.md +75 -0
  186. package/cli-tool/components/agents/security/penetration-tester.md +37 -0
  187. package/cli-tool/components/agents/security/security-auditor.md +33 -0
  188. package/cli-tool/components/agents/web-tools/nextjs-architecture-expert.md +194 -0
  189. package/cli-tool/components/agents/web-tools/react-performance-optimizer.md +425 -0
  190. package/cli-tool/components/agents/web-tools/seo-analyzer.md +37 -0
  191. package/cli-tool/components/agents/web-tools/url-context-validator.md +61 -0
  192. package/cli-tool/components/agents/web-tools/url-link-extractor.md +59 -0
  193. package/cli-tool/components/agents/web-tools/web-accessibility-checker.md +37 -0
  194. package/cli-tool/components/commands/automation/act.md +57 -0
  195. package/cli-tool/components/commands/automation/ci-pipeline.md +378 -0
  196. package/cli-tool/components/commands/automation/husky.md +130 -0
  197. package/cli-tool/components/commands/automation/workflow-orchestrator.md +576 -0
  198. package/cli-tool/components/commands/database/supabase-backup-manager.md +37 -0
  199. package/cli-tool/components/commands/database/supabase-data-explorer.md +37 -0
  200. package/cli-tool/components/commands/database/supabase-migration-assistant.md +37 -0
  201. package/cli-tool/components/commands/database/supabase-performance-optimizer.md +37 -0
  202. package/cli-tool/components/commands/database/supabase-realtime-monitor.md +37 -0
  203. package/cli-tool/components/commands/database/supabase-schema-sync.md +37 -0
  204. package/cli-tool/components/commands/database/supabase-security-audit.md +37 -0
  205. package/cli-tool/components/commands/database/supabase-type-generator.md +37 -0
  206. package/cli-tool/components/commands/deployment/add-changelog.md +92 -0
  207. package/cli-tool/components/commands/deployment/blue-green-deployment.md +824 -0
  208. package/cli-tool/components/commands/deployment/changelog-demo-command.md +43 -0
  209. package/cli-tool/components/commands/deployment/ci-setup.md +323 -0
  210. package/cli-tool/components/commands/deployment/containerize-application.md +93 -0
  211. package/cli-tool/components/commands/deployment/deployment-monitoring.md +1228 -0
  212. package/cli-tool/components/commands/deployment/hotfix-deploy.md +283 -0
  213. package/cli-tool/components/commands/deployment/prepare-release.md +357 -0
  214. package/cli-tool/components/commands/deployment/rollback-deploy.md +145 -0
  215. package/cli-tool/components/commands/deployment/setup-automated-releases.md +143 -0
  216. package/cli-tool/components/commands/deployment/setup-kubernetes-deployment.md +93 -0
  217. package/cli-tool/components/commands/documentation/create-architecture-documentation.md +95 -0
  218. package/cli-tool/components/commands/documentation/create-onboarding-guide.md +93 -0
  219. package/cli-tool/components/commands/documentation/doc-api.md +242 -0
  220. package/cli-tool/components/commands/documentation/docs-maintenance.md +119 -0
  221. package/cli-tool/components/commands/documentation/generate-api-documentation.md +97 -0
  222. package/cli-tool/components/commands/documentation/interactive-documentation.md +133 -0
  223. package/cli-tool/components/commands/documentation/load-llms-txt.md +39 -0
  224. package/cli-tool/components/commands/documentation/migration-guide.md +250 -0
  225. package/cli-tool/components/commands/documentation/troubleshooting-guide.md +370 -0
  226. package/cli-tool/components/commands/documentation/update-docs.md +107 -0
  227. package/cli-tool/components/commands/game-development/game-analytics-integration.md +128 -0
  228. package/cli-tool/components/commands/game-development/game-asset-pipeline.md +108 -0
  229. package/cli-tool/components/commands/game-development/game-performance-profiler.md +78 -0
  230. package/cli-tool/components/commands/game-development/game-testing-framework.md +112 -0
  231. package/cli-tool/components/commands/game-development/unity-project-setup.md +190 -0
  232. package/cli-tool/components/commands/git-workflow/branch-cleanup.md +181 -0
  233. package/cli-tool/components/commands/git-workflow/commit.md +167 -0
  234. package/cli-tool/components/commands/git-workflow/create-pr.md +19 -0
  235. package/cli-tool/components/commands/git-workflow/create-pull-request.md +126 -0
  236. package/cli-tool/components/commands/git-workflow/create-worktrees.md +174 -0
  237. package/cli-tool/components/commands/git-workflow/fix-github-issue.md +13 -0
  238. package/cli-tool/components/commands/git-workflow/git-bisect-helper.md +261 -0
  239. package/cli-tool/components/commands/git-workflow/pr-review.md +76 -0
  240. package/cli-tool/components/commands/git-workflow/update-branch-name.md +9 -0
  241. package/cli-tool/components/commands/nextjs-vercel/nextjs-api-tester.md +480 -0
  242. package/cli-tool/components/commands/nextjs-vercel/nextjs-bundle-analyzer.md +406 -0
  243. package/cli-tool/components/commands/nextjs-vercel/nextjs-component-generator.md +489 -0
  244. package/cli-tool/components/commands/nextjs-vercel/nextjs-middleware-creator.md +712 -0
  245. package/cli-tool/components/commands/nextjs-vercel/nextjs-migration-helper.md +778 -0
  246. package/cli-tool/components/commands/nextjs-vercel/nextjs-performance-audit.md +653 -0
  247. package/cli-tool/components/commands/nextjs-vercel/nextjs-scaffold.md +237 -0
  248. package/cli-tool/components/commands/nextjs-vercel/vercel-deploy-optimize.md +341 -0
  249. package/cli-tool/components/commands/nextjs-vercel/vercel-edge-function.md +810 -0
  250. package/cli-tool/components/commands/nextjs-vercel/vercel-env-sync.md +666 -0
  251. package/cli-tool/components/commands/orchestration/archive.md +414 -0
  252. package/cli-tool/components/commands/orchestration/commit.md +305 -0
  253. package/cli-tool/components/commands/orchestration/find.md +272 -0
  254. package/cli-tool/components/commands/orchestration/log.md +355 -0
  255. package/cli-tool/components/commands/orchestration/move.md +220 -0
  256. package/cli-tool/components/commands/orchestration/optimize.md +375 -0
  257. package/cli-tool/components/commands/orchestration/remove.md +301 -0
  258. package/cli-tool/components/commands/orchestration/report.md +292 -0
  259. package/cli-tool/components/commands/orchestration/resume.md +256 -0
  260. package/cli-tool/components/commands/orchestration/start.md +169 -0
  261. package/cli-tool/components/commands/orchestration/status.md +219 -0
  262. package/cli-tool/components/commands/orchestration/sync.md +294 -0
  263. package/cli-tool/components/commands/performance/add-performance-monitoring.md +84 -0
  264. package/cli-tool/components/commands/performance/implement-caching-strategy.md +84 -0
  265. package/cli-tool/components/commands/performance/optimize-api-performance.md +119 -0
  266. package/cli-tool/components/commands/performance/optimize-build.md +139 -0
  267. package/cli-tool/components/commands/performance/optimize-bundle-size.md +84 -0
  268. package/cli-tool/components/commands/performance/optimize-database-performance.md +84 -0
  269. package/cli-tool/components/commands/performance/optimize-memory-usage.md +91 -0
  270. package/cli-tool/components/commands/performance/performance-audit.md +89 -0
  271. package/cli-tool/components/commands/performance/setup-cdn-optimization.md +84 -0
  272. package/cli-tool/components/commands/performance/system-behavior-simulator.md +415 -0
  273. package/cli-tool/components/commands/project-management/add-package.md +90 -0
  274. package/cli-tool/components/commands/project-management/add-to-changelog.md +37 -0
  275. package/cli-tool/components/commands/project-management/create-feature.md +130 -0
  276. package/cli-tool/components/commands/project-management/create-jtbd.md +37 -0
  277. package/cli-tool/components/commands/project-management/create-prd.md +36 -0
  278. package/cli-tool/components/commands/project-management/create-prp.md +37 -0
  279. package/cli-tool/components/commands/project-management/init-project.md +80 -0
  280. package/cli-tool/components/commands/project-management/milestone-tracker.md +44 -0
  281. package/cli-tool/components/commands/project-management/pac-configure.md +32 -0
  282. package/cli-tool/components/commands/project-management/pac-create-epic.md +41 -0
  283. package/cli-tool/components/commands/project-management/pac-create-ticket.md +42 -0
  284. package/cli-tool/components/commands/project-management/pac-update-status.md +39 -0
  285. package/cli-tool/components/commands/project-management/pac-validate.md +35 -0
  286. package/cli-tool/components/commands/project-management/project-health-check.md +58 -0
  287. package/cli-tool/components/commands/project-management/project-timeline-simulator.md +37 -0
  288. package/cli-tool/components/commands/project-management/project-to-linear.md +38 -0
  289. package/cli-tool/components/commands/project-management/release.md +31 -0
  290. package/cli-tool/components/commands/project-management/todo.md +62 -0
  291. package/cli-tool/components/commands/security/add-authentication-system.md +34 -0
  292. package/cli-tool/components/commands/security/dependency-audit.md +32 -0
  293. package/cli-tool/components/commands/security/penetration-test.md +40 -0
  294. package/cli-tool/components/commands/security/secrets-scanner.md +39 -0
  295. package/cli-tool/components/commands/security/security-audit.md +82 -0
  296. package/cli-tool/components/commands/security/security-hardening.md +33 -0
  297. package/cli-tool/components/commands/setup/create-database-migrations.md +35 -0
  298. package/cli-tool/components/commands/setup/design-database-schema.md +37 -0
  299. package/cli-tool/components/commands/setup/design-rest-api.md +37 -0
  300. package/cli-tool/components/commands/setup/implement-graphql-api.md +37 -0
  301. package/cli-tool/components/commands/setup/migrate-to-typescript.md +37 -0
  302. package/cli-tool/components/commands/setup/setup-ci-cd-pipeline.md +37 -0
  303. package/cli-tool/components/commands/setup/setup-development-environment.md +37 -0
  304. package/cli-tool/components/commands/setup/setup-docker-containers.md +37 -0
  305. package/cli-tool/components/commands/setup/setup-formatting.md +37 -0
  306. package/cli-tool/components/commands/setup/setup-linting.md +37 -0
  307. package/cli-tool/components/commands/setup/setup-monitoring-observability.md +37 -0
  308. package/cli-tool/components/commands/setup/setup-monorepo.md +37 -0
  309. package/cli-tool/components/commands/setup/setup-rate-limiting.md +37 -0
  310. package/cli-tool/components/commands/setup/update-dependencies.md +35 -0
  311. package/cli-tool/components/commands/simulation/business-scenario-explorer.md +37 -0
  312. package/cli-tool/components/commands/simulation/constraint-modeler.md +37 -0
  313. package/cli-tool/components/commands/simulation/decision-tree-explorer.md +37 -0
  314. package/cli-tool/components/commands/simulation/digital-twin-creator.md +37 -0
  315. package/cli-tool/components/commands/simulation/future-scenario-generator.md +37 -0
  316. package/cli-tool/components/commands/simulation/market-response-modeler.md +37 -0
  317. package/cli-tool/components/commands/simulation/monte-carlo-simulator.md +37 -0
  318. package/cli-tool/components/commands/simulation/simulation-calibrator.md +37 -0
  319. package/cli-tool/components/commands/simulation/system-dynamics-modeler.md +37 -0
  320. package/cli-tool/components/commands/simulation/timeline-compressor.md +37 -0
  321. package/cli-tool/components/commands/svelte/svelte:a11y.md +105 -0
  322. package/cli-tool/components/commands/svelte/svelte:component.md +81 -0
  323. package/cli-tool/components/commands/svelte/svelte:debug.md +48 -0
  324. package/cli-tool/components/commands/svelte/svelte:migrate.md +79 -0
  325. package/cli-tool/components/commands/svelte/svelte:optimize.md +99 -0
  326. package/cli-tool/components/commands/svelte/svelte:scaffold.md +89 -0
  327. package/cli-tool/components/commands/svelte/svelte:storybook-migrate.md +204 -0
  328. package/cli-tool/components/commands/svelte/svelte:storybook-mock.md +213 -0
  329. package/cli-tool/components/commands/svelte/svelte:storybook-setup.md +113 -0
  330. package/cli-tool/components/commands/svelte/svelte:storybook-story.md +145 -0
  331. package/cli-tool/components/commands/svelte/svelte:storybook-troubleshoot.md +191 -0
  332. package/cli-tool/components/commands/svelte/svelte:storybook.md +48 -0
  333. package/cli-tool/components/commands/svelte/svelte:test-coverage.md +77 -0
  334. package/cli-tool/components/commands/svelte/svelte:test-fix.md +74 -0
  335. package/cli-tool/components/commands/svelte/svelte:test-setup.md +85 -0
  336. package/cli-tool/components/commands/svelte/svelte:test.md +60 -0
  337. package/cli-tool/components/commands/sync/bidirectional-sync.md +37 -0
  338. package/cli-tool/components/commands/sync/bulk-import-issues.md +37 -0
  339. package/cli-tool/components/commands/sync/cross-reference-manager.md +37 -0
  340. package/cli-tool/components/commands/sync/issue-to-linear-task.md +37 -0
  341. package/cli-tool/components/commands/sync/linear-task-to-issue.md +37 -0
  342. package/cli-tool/components/commands/sync/sync-automation-setup.md +37 -0
  343. package/cli-tool/components/commands/sync/sync-conflict-resolver.md +37 -0
  344. package/cli-tool/components/commands/sync/sync-health-monitor.md +37 -0
  345. package/cli-tool/components/commands/sync/sync-issues-to-linear.md +37 -0
  346. package/cli-tool/components/commands/sync/sync-linear-to-issues.md +37 -0
  347. package/cli-tool/components/commands/sync/sync-migration-assistant.md +37 -0
  348. package/cli-tool/components/commands/sync/sync-pr-to-task.md +37 -0
  349. package/cli-tool/components/commands/sync/sync-status.md +391 -0
  350. package/cli-tool/components/commands/sync/task-from-pr.md +37 -0
  351. package/cli-tool/components/commands/team/architecture-review.md +37 -0
  352. package/cli-tool/components/commands/team/decision-quality-analyzer.md +37 -0
  353. package/cli-tool/components/commands/team/dependency-mapper.md +37 -0
  354. package/cli-tool/components/commands/team/estimate-assistant.md +37 -0
  355. package/cli-tool/components/commands/team/issue-triage.md +37 -0
  356. package/cli-tool/components/commands/team/memory-spring-cleaning.md +37 -0
  357. package/cli-tool/components/commands/team/migration-assistant.md +37 -0
  358. package/cli-tool/components/commands/team/retrospective-analyzer.md +37 -0
  359. package/cli-tool/components/commands/team/session-learning-capture.md +37 -0
  360. package/cli-tool/components/commands/team/sprint-planning.md +189 -0
  361. package/cli-tool/components/commands/team/standup-report.md +37 -0
  362. package/cli-tool/components/commands/team/team-knowledge-mapper.md +37 -0
  363. package/cli-tool/components/commands/team/team-velocity-tracker.md +37 -0
  364. package/cli-tool/components/commands/team/team-workload-balancer.md +37 -0
  365. package/cli-tool/components/commands/testing/add-mutation-testing.md +37 -0
  366. package/cli-tool/components/commands/testing/add-property-based-testing.md +37 -0
  367. package/cli-tool/components/commands/testing/e2e-setup.md +37 -0
  368. package/cli-tool/components/commands/testing/generate-test-cases.md +37 -0
  369. package/cli-tool/components/commands/testing/generate-tests.md +82 -0
  370. package/cli-tool/components/commands/testing/setup-comprehensive-testing.md +37 -0
  371. package/cli-tool/components/commands/testing/setup-load-testing.md +37 -0
  372. package/cli-tool/components/commands/testing/setup-visual-testing.md +37 -0
  373. package/cli-tool/components/commands/testing/test-automation-orchestrator.md +37 -0
  374. package/cli-tool/components/commands/testing/test-changelog-automation.md +37 -0
  375. package/cli-tool/components/commands/testing/test-coverage.md +37 -0
  376. package/cli-tool/components/commands/testing/test-quality-analyzer.md +37 -0
  377. package/cli-tool/components/commands/testing/testing_plan_integration.md +37 -0
  378. package/cli-tool/components/commands/testing/write-tests.md +37 -0
  379. package/cli-tool/components/commands/utilities/all-tools.md +31 -0
  380. package/cli-tool/components/commands/utilities/architecture-scenario-explorer.md +375 -0
  381. package/cli-tool/components/commands/utilities/check-file.md +53 -0
  382. package/cli-tool/components/commands/utilities/clean-branches.md +243 -0
  383. package/cli-tool/components/commands/utilities/clean.md +1 -0
  384. package/cli-tool/components/commands/utilities/code-permutation-tester.md +341 -0
  385. package/cli-tool/components/commands/utilities/code-review.md +70 -0
  386. package/cli-tool/components/commands/utilities/code-to-task.md +583 -0
  387. package/cli-tool/components/commands/utilities/context-prime.md +1 -0
  388. package/cli-tool/components/commands/utilities/debug-error.md +121 -0
  389. package/cli-tool/components/commands/utilities/directory-deep-dive.md +34 -0
  390. package/cli-tool/components/commands/utilities/explain-code.md +194 -0
  391. package/cli-tool/components/commands/utilities/fix-issue.md +85 -0
  392. package/cli-tool/components/commands/utilities/generate-linear-worklog.md +113 -0
  393. package/cli-tool/components/commands/utilities/git-status.md +39 -0
  394. package/cli-tool/components/commands/utilities/initref.md +3 -0
  395. package/cli-tool/components/commands/utilities/prime.md +41 -0
  396. package/cli-tool/components/commands/utilities/refactor-code.md +116 -0
  397. package/cli-tool/components/commands/utilities/ultra-think.md +153 -0
  398. package/cli-tool/components/hooks/HOOK_PATTERNS_COMPRESSED.json +1 -0
  399. package/cli-tool/components/hooks/automation/build-on-change.json +16 -0
  400. package/cli-tool/components/hooks/automation/dependency-checker.json +16 -0
  401. package/cli-tool/components/hooks/automation/deployment-health-monitor.json +29 -0
  402. package/cli-tool/components/hooks/automation/discord-detailed-notifications.json +26 -0
  403. package/cli-tool/components/hooks/automation/discord-error-notifications.json +37 -0
  404. package/cli-tool/components/hooks/automation/discord-notifications.json +25 -0
  405. package/cli-tool/components/hooks/automation/simple-notifications.json +16 -0
  406. package/cli-tool/components/hooks/automation/slack-detailed-notifications.json +26 -0
  407. package/cli-tool/components/hooks/automation/slack-error-notifications.json +37 -0
  408. package/cli-tool/components/hooks/automation/slack-notifications.json +25 -0
  409. package/cli-tool/components/hooks/automation/telegram-detailed-notifications.json +26 -0
  410. package/cli-tool/components/hooks/automation/telegram-error-notifications.json +37 -0
  411. package/cli-tool/components/hooks/automation/telegram-notifications.json +25 -0
  412. package/cli-tool/components/hooks/automation/vercel-auto-deploy.json +17 -0
  413. package/cli-tool/components/hooks/automation/vercel-environment-sync.json +29 -0
  414. package/cli-tool/components/hooks/development-tools/change-tracker.json +25 -0
  415. package/cli-tool/components/hooks/development-tools/command-logger.json +16 -0
  416. package/cli-tool/components/hooks/development-tools/file-backup.json +16 -0
  417. package/cli-tool/components/hooks/development-tools/lint-on-save.json +16 -0
  418. package/cli-tool/components/hooks/development-tools/nextjs-code-quality-enforcer.json +17 -0
  419. package/cli-tool/components/hooks/development-tools/smart-formatting.json +16 -0
  420. package/cli-tool/components/hooks/git-workflow/auto-git-add.json +16 -0
  421. package/cli-tool/components/hooks/git-workflow/smart-commit.json +25 -0
  422. package/cli-tool/components/hooks/performance/performance-budget-guard.json +27 -0
  423. package/cli-tool/components/hooks/performance/performance-monitor.json +27 -0
  424. package/cli-tool/components/hooks/post-tool/format-javascript-files.json +16 -0
  425. package/cli-tool/components/hooks/post-tool/format-python-files.json +16 -0
  426. package/cli-tool/components/hooks/post-tool/git-add-changes.json +25 -0
  427. package/cli-tool/components/hooks/post-tool/run-tests-after-changes.json +16 -0
  428. package/cli-tool/components/hooks/pre-tool/backup-before-edit.json +16 -0
  429. package/cli-tool/components/hooks/pre-tool/notify-before-bash.json +16 -0
  430. package/cli-tool/components/hooks/security/file-protection.json +16 -0
  431. package/cli-tool/components/hooks/security/security-scanner.json +16 -0
  432. package/cli-tool/components/hooks/testing/test-runner.json +16 -0
  433. package/cli-tool/components/mcps/browser_automation/browser-use-mcp-server.json +20 -0
  434. package/cli-tool/components/mcps/browser_automation/browsermcp.json +9 -0
  435. package/cli-tool/components/mcps/browser_automation/mcp-server-browserbase.json +14 -0
  436. package/cli-tool/components/mcps/browser_automation/mcp-server-playwright.json +9 -0
  437. package/cli-tool/components/mcps/browser_automation/playwright-mcp-server.json +9 -0
  438. package/cli-tool/components/mcps/browser_automation/playwright-mcp.json +11 -0
  439. package/cli-tool/components/mcps/database/mysql-integration.json +12 -0
  440. package/cli-tool/components/mcps/database/postgresql-integration.json +12 -0
  441. package/cli-tool/components/mcps/database/supabase.json +17 -0
  442. package/cli-tool/components/mcps/deepgraph/deepgraph-nextjs.json +13 -0
  443. package/cli-tool/components/mcps/deepgraph/deepgraph-react.json +13 -0
  444. package/cli-tool/components/mcps/deepgraph/deepgraph-typescript.json +13 -0
  445. package/cli-tool/components/mcps/deepgraph/deepgraph-vue.json +13 -0
  446. package/cli-tool/components/mcps/devtools/circleci.json +13 -0
  447. package/cli-tool/components/mcps/devtools/context7.json +9 -0
  448. package/cli-tool/components/mcps/devtools/firefly-mcp.json +13 -0
  449. package/cli-tool/components/mcps/devtools/ios-simulator-mcp.json +9 -0
  450. package/cli-tool/components/mcps/devtools/just-mcp.json +9 -0
  451. package/cli-tool/components/mcps/devtools/leetcode.json +8 -0
  452. package/cli-tool/components/mcps/devtools/mcp-server-atlassian-bitbucket.json +9 -0
  453. package/cli-tool/components/mcps/devtools/mcp-server-trello.json +12 -0
  454. package/cli-tool/components/mcps/filesystem/filesystem-access.json +13 -0
  455. package/cli-tool/components/mcps/integration/github-integration.json +12 -0
  456. package/cli-tool/components/mcps/integration/memory-integration.json +9 -0
  457. package/cli-tool/components/mcps/marketing/facebook-ads-mcp-server.json +13 -0
  458. package/cli-tool/components/mcps/marketing/google-ads-mcp-server.json +11 -0
  459. package/cli-tool/components/mcps/web/web-fetch.json +9 -0
  460. package/cli-tool/components/sandbox/README.md +169 -0
  461. package/cli-tool/components/sandbox/e2b/.env.example +10 -0
  462. package/cli-tool/components/sandbox/e2b/SANDBOX_DEBUGGING.md +203 -0
  463. package/cli-tool/components/sandbox/e2b/claude-code-sandbox.md +110 -0
  464. package/cli-tool/components/sandbox/e2b/e2b-launcher.py +355 -0
  465. package/cli-tool/components/sandbox/e2b/e2b-monitor.py +229 -0
  466. package/cli-tool/components/sandbox/e2b/requirements.txt +1 -0
  467. package/cli-tool/components/settings/api/bedrock-configuration.json +7 -0
  468. package/cli-tool/components/settings/api/corporate-proxy.json +7 -0
  469. package/cli-tool/components/settings/api/custom-headers.json +6 -0
  470. package/cli-tool/components/settings/api/vertex-configuration.json +8 -0
  471. package/cli-tool/components/settings/authentication/api-key-helper.json +7 -0
  472. package/cli-tool/components/settings/authentication/force-claudeai-login.json +4 -0
  473. package/cli-tool/components/settings/authentication/force-console-login.json +4 -0
  474. package/cli-tool/components/settings/cleanup/retention-7-days.json +4 -0
  475. package/cli-tool/components/settings/cleanup/retention-90-days.json +4 -0
  476. package/cli-tool/components/settings/environment/bash-timeouts.json +8 -0
  477. package/cli-tool/components/settings/environment/development-utils.json +8 -0
  478. package/cli-tool/components/settings/environment/performance-optimization.json +8 -0
  479. package/cli-tool/components/settings/environment/privacy-focused.json +10 -0
  480. package/cli-tool/components/settings/global/aws-credentials.json +5 -0
  481. package/cli-tool/components/settings/global/custom-model.json +7 -0
  482. package/cli-tool/components/settings/global/git-commit-settings.json +4 -0
  483. package/cli-tool/components/settings/mcp/disable-risky-servers.json +8 -0
  484. package/cli-tool/components/settings/mcp/enable-all-project-servers.json +4 -0
  485. package/cli-tool/components/settings/mcp/enable-specific-servers.json +8 -0
  486. package/cli-tool/components/settings/mcp/mcp-timeouts.json +8 -0
  487. package/cli-tool/components/settings/model/use-haiku.json +4 -0
  488. package/cli-tool/components/settings/model/use-sonnet.json +4 -0
  489. package/cli-tool/components/settings/permissions/additional-directories.json +11 -0
  490. package/cli-tool/components/settings/permissions/allow-git-operations.json +14 -0
  491. package/cli-tool/components/settings/permissions/allow-npm-commands.json +11 -0
  492. package/cli-tool/components/settings/permissions/deny-sensitive-files.json +11 -0
  493. package/cli-tool/components/settings/permissions/development-mode.json +31 -0
  494. package/cli-tool/components/settings/permissions/read-only-mode.json +18 -0
  495. package/cli-tool/components/settings/statusline/asset-pipeline-controller-statusline.json +7 -0
  496. package/cli-tool/components/settings/statusline/bug-circus-statusline.json +7 -0
  497. package/cli-tool/components/settings/statusline/code-casino-statusline.json +7 -0
  498. package/cli-tool/components/settings/statusline/code-spaceship-statusline.json +7 -0
  499. package/cli-tool/components/settings/statusline/colorful-statusline.json +7 -0
  500. package/cli-tool/components/settings/statusline/command-statusline.json +8 -0
  501. package/cli-tool/components/settings/statusline/context-monitor.json +7 -0
  502. package/cli-tool/components/settings/statusline/context-monitor.py +236 -0
  503. package/cli-tool/components/settings/statusline/data-ocean-statusline.json +7 -0
  504. package/cli-tool/components/settings/statusline/emotion-theater-statusline.json +7 -0
  505. package/cli-tool/components/settings/statusline/game-performance-monitor-statusline.json +7 -0
  506. package/cli-tool/components/settings/statusline/git-branch-statusline.json +7 -0
  507. package/cli-tool/components/settings/statusline/minimal-statusline.json +7 -0
  508. package/cli-tool/components/settings/statusline/multiplatform-build-status-statusline.json +7 -0
  509. package/cli-tool/components/settings/statusline/productivity-rainbow-statusline.json +7 -0
  510. package/cli-tool/components/settings/statusline/programmer-tamagotchi-statusline.json +7 -0
  511. package/cli-tool/components/settings/statusline/programming-fitness-tracker-statusline.json +7 -0
  512. package/cli-tool/components/settings/statusline/project-info-statusline.json +7 -0
  513. package/cli-tool/components/settings/statusline/rpg-status-bar-statusline.json +7 -0
  514. package/cli-tool/components/settings/statusline/time-statusline.json +7 -0
  515. package/cli-tool/components/settings/statusline/unity-project-dashboard-statusline.json +7 -0
  516. package/cli-tool/components/settings/statusline/vercel-deployment-monitor.json +7 -0
  517. package/cli-tool/components/settings/statusline/vercel-error-alert-system.json +7 -0
  518. package/cli-tool/components/settings/statusline/vercel-multi-env-status.json +7 -0
  519. package/cli-tool/components/settings/statusline/virtual-code-garden-statusline.json +7 -0
  520. package/cli-tool/components/settings/statusline/zero-config-deployment-monitor.json +7 -0
  521. package/cli-tool/components/settings/telemetry/custom-telemetry.json +7 -0
  522. package/cli-tool/components/settings/telemetry/disable-telemetry.json +6 -0
  523. package/cli-tool/components/settings/telemetry/enable-telemetry.json +6 -0
  524. package/cli-tool/docs_to_claude/ANALYTICS_STATE_DETECTION.md +183 -0
  525. package/cli-tool/docs_to_claude/ARCHITECTURE.md +472 -0
  526. package/cli-tool/docs_to_claude/BLOG_WRITING_GUIDE.md +438 -0
  527. package/cli-tool/docs_to_claude/CLAUDE_DATA_STRUCTURE.md +400 -0
  528. package/cli-tool/docs_to_claude/COMMANDS_GUIDE.md +909 -0
  529. package/cli-tool/docs_to_claude/CONVERSATION_STATE_IMPROVEMENTS.md +154 -0
  530. package/cli-tool/docs_to_claude/DEBUG_TYPING_DETECTION.md +95 -0
  531. package/cli-tool/docs_to_claude/DOWNLOAD_TRACKING.md +291 -0
  532. package/cli-tool/docs_to_claude/ENHANCED_STATE_DETECTION.md +122 -0
  533. package/cli-tool/docs_to_claude/HEALTH_CHECK_IMPLEMENTATION.md +135 -0
  534. package/cli-tool/docs_to_claude/HOOKS_GUIDE.md +1249 -0
  535. package/cli-tool/docs_to_claude/STATUSLINE_GUIDE.md +1123 -0
  536. package/cli-tool/docs_to_claude/SUBAGENTS_GUIDE.md +566 -0
  537. package/cli-tool/docs_to_claude/SUB_AGENTS.md +329 -0
  538. package/cli-tool/jest.config.js +84 -0
  539. package/cli-tool/package-lock.json +5471 -0
  540. package/cli-tool/package.json +95 -0
  541. package/{src → cli-tool/src}/index.js +104 -23
  542. package/cli-tool/templates/common/.claude/commands/git-workflow.md +239 -0
  543. package/cli-tool/templates/common/.claude/commands/project-setup.md +316 -0
  544. package/cli-tool/templates/common/.mcp.json +41 -0
  545. package/cli-tool/templates/common/CLAUDE.md +109 -0
  546. package/cli-tool/templates/common/README.md +96 -0
  547. package/cli-tool/templates/go/.mcp.json +78 -0
  548. package/cli-tool/templates/go/README.md +25 -0
  549. package/cli-tool/templates/javascript-typescript/.claude/commands/api-endpoint.md +51 -0
  550. package/cli-tool/templates/javascript-typescript/.claude/commands/debug.md +52 -0
  551. package/cli-tool/templates/javascript-typescript/.claude/commands/lint.md +48 -0
  552. package/cli-tool/templates/javascript-typescript/.claude/commands/npm-scripts.md +48 -0
  553. package/cli-tool/templates/javascript-typescript/.claude/commands/refactor.md +55 -0
  554. package/cli-tool/templates/javascript-typescript/.claude/commands/test.md +61 -0
  555. package/cli-tool/templates/javascript-typescript/.claude/commands/typescript-migrate.md +51 -0
  556. package/cli-tool/templates/javascript-typescript/.claude/settings.json +142 -0
  557. package/cli-tool/templates/javascript-typescript/.mcp.json +80 -0
  558. package/cli-tool/templates/javascript-typescript/CLAUDE.md +185 -0
  559. package/cli-tool/templates/javascript-typescript/README.md +259 -0
  560. package/cli-tool/templates/javascript-typescript/examples/angular-app/.claude/commands/components.md +63 -0
  561. package/cli-tool/templates/javascript-typescript/examples/angular-app/.claude/commands/services.md +62 -0
  562. package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/api-endpoint.md +46 -0
  563. package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/database.md +56 -0
  564. package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/middleware.md +61 -0
  565. package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/route.md +57 -0
  566. package/cli-tool/templates/javascript-typescript/examples/node-api/CLAUDE.md +102 -0
  567. package/cli-tool/templates/javascript-typescript/examples/react-app/.claude/commands/component.md +29 -0
  568. package/cli-tool/templates/javascript-typescript/examples/react-app/.claude/commands/hooks.md +44 -0
  569. package/cli-tool/templates/javascript-typescript/examples/react-app/.claude/commands/state-management.md +45 -0
  570. package/cli-tool/templates/javascript-typescript/examples/react-app/CLAUDE.md +81 -0
  571. package/cli-tool/templates/javascript-typescript/examples/react-app/agents/react-performance-optimization.md +530 -0
  572. package/cli-tool/templates/javascript-typescript/examples/react-app/agents/react-state-management.md +295 -0
  573. package/cli-tool/templates/javascript-typescript/examples/vue-app/.claude/commands/components.md +46 -0
  574. package/cli-tool/templates/javascript-typescript/examples/vue-app/.claude/commands/composables.md +51 -0
  575. package/cli-tool/templates/python/.claude/commands/lint.md +111 -0
  576. package/cli-tool/templates/python/.claude/commands/test.md +73 -0
  577. package/cli-tool/templates/python/.claude/settings.json +153 -0
  578. package/cli-tool/templates/python/.mcp.json +78 -0
  579. package/cli-tool/templates/python/CLAUDE.md +276 -0
  580. package/cli-tool/templates/python/examples/django-app/.claude/commands/admin.md +264 -0
  581. package/cli-tool/templates/python/examples/django-app/.claude/commands/django-model.md +124 -0
  582. package/cli-tool/templates/python/examples/django-app/.claude/commands/views.md +222 -0
  583. package/cli-tool/templates/python/examples/django-app/CLAUDE.md +313 -0
  584. package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/api-endpoints.md +513 -0
  585. package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/auth.md +775 -0
  586. package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/database.md +657 -0
  587. package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/deployment.md +160 -0
  588. package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/testing.md +927 -0
  589. package/cli-tool/templates/python/examples/fastapi-app/CLAUDE.md +229 -0
  590. package/cli-tool/templates/python/examples/flask-app/.claude/commands/app-factory.md +384 -0
  591. package/cli-tool/templates/python/examples/flask-app/.claude/commands/blueprint.md +243 -0
  592. package/cli-tool/templates/python/examples/flask-app/.claude/commands/database.md +410 -0
  593. package/cli-tool/templates/python/examples/flask-app/.claude/commands/deployment.md +620 -0
  594. package/cli-tool/templates/python/examples/flask-app/.claude/commands/flask-route.md +217 -0
  595. package/cli-tool/templates/python/examples/flask-app/.claude/commands/testing.md +559 -0
  596. package/cli-tool/templates/python/examples/flask-app/CLAUDE.md +391 -0
  597. package/cli-tool/templates/ruby/.claude/commands/model.md +360 -0
  598. package/cli-tool/templates/ruby/.claude/commands/test.md +480 -0
  599. package/cli-tool/templates/ruby/.claude/settings.json +146 -0
  600. package/cli-tool/templates/ruby/.mcp.json +83 -0
  601. package/cli-tool/templates/ruby/CLAUDE.md +284 -0
  602. package/cli-tool/templates/ruby/examples/rails-app/.claude/commands/authentication.md +490 -0
  603. package/cli-tool/templates/ruby/examples/rails-app/CLAUDE.md +376 -0
  604. package/cli-tool/templates/rust/.mcp.json +78 -0
  605. package/cli-tool/templates/rust/README.md +26 -0
  606. package/cli-tool/test-commands.sh +85 -0
  607. package/cli-tool/test-detailed.sh +267 -0
  608. package/docs/CNAME +1 -0
  609. package/docs/README.md +49 -0
  610. package/docs/_config.yml +43 -0
  611. package/docs/blog/assets/aitmpl-nextjs-search.png +0 -0
  612. package/docs/blog/assets/aitmpl-supabase-search.png +0 -0
  613. package/docs/blog/assets/nextjs-vercel-claude-code-templates-cover.png +0 -0
  614. package/docs/blog/assets/supabase-claude-code-templates-cover.png +0 -0
  615. package/docs/blog/e2b-claude-code-sandbox/index.html +1061 -0
  616. package/docs/blog/index.html +239 -0
  617. package/docs/blog/nextjs-vercel-claude-code-integration/index.html +1021 -0
  618. package/docs/blog/supabase-claude-code-integration/index.html +837 -0
  619. package/docs/components-metadata.json +303 -0
  620. package/docs/components.json +4072 -0
  621. package/docs/css/blog.css +821 -0
  622. package/docs/css/stack-page.css +776 -0
  623. package/docs/css/styles.css +4480 -0
  624. package/docs/css/trending.css +971 -0
  625. package/docs/css/workflows-modal.css +739 -0
  626. package/docs/css/workflows.css +1234 -0
  627. package/docs/download-stats.html +514 -0
  628. package/docs/index.html +634 -0
  629. package/docs/js/carousel.js +177 -0
  630. package/docs/js/cart-manager.js +529 -0
  631. package/docs/js/data-loader.js +626 -0
  632. package/docs/js/generate-search-data.js +82 -0
  633. package/docs/js/index-events.js +1707 -0
  634. package/docs/js/modal-helpers.js +334 -0
  635. package/docs/js/script.js +2167 -0
  636. package/docs/js/search-functionality.js +992 -0
  637. package/docs/js/stack-router.js +561 -0
  638. package/docs/js/trending.js +493 -0
  639. package/docs/js/utils.js +43 -0
  640. package/docs/js/workflows-events.js +1146 -0
  641. package/docs/js/workflows.js +627 -0
  642. package/docs/sandbox-interface.html +1406 -0
  643. package/docs/static/img/logo.svg +23 -0
  644. package/docs/trending-data.json +579 -0
  645. package/docs/trending.html +179 -0
  646. package/docs/workflows.html +379 -0
  647. package/docu/README.md +41 -0
  648. package/docu/docs/analytics/agent-chats-manager.md +33 -0
  649. package/docu/docs/analytics/analysis-tools.md +54 -0
  650. package/docu/docs/analytics/overview.md +48 -0
  651. package/docu/docs/analytics/real-time-monitoring.md +16 -0
  652. package/docu/docs/cli-options.md +90 -0
  653. package/docu/docs/components/agents.md +296 -0
  654. package/docu/docs/components/commands.md +426 -0
  655. package/docu/docs/components/discord-notifications.md +59 -0
  656. package/docu/docs/components/hooks.md +381 -0
  657. package/docu/docs/components/mcps.md +510 -0
  658. package/docu/docs/components/overview.md +287 -0
  659. package/docu/docs/components/settings.md +223 -0
  660. package/docu/docs/components/slack-notifications.md +67 -0
  661. package/docu/docs/components/telegram-notifications.md +73 -0
  662. package/docu/docs/contributing.md +11 -0
  663. package/docu/docs/health-check/overview.md +33 -0
  664. package/docu/docs/intro.md +109 -0
  665. package/docu/docs/project-setup/automation-hooks.md +14 -0
  666. package/docu/docs/project-setup/framework-specific-setup.md +86 -0
  667. package/docu/docs/project-setup/interactive-setup.md +59 -0
  668. package/docu/docs/project-setup/mcp-integration.md +17 -0
  669. package/docu/docs/project-setup/supported-languages-frameworks.md +15 -0
  670. package/docu/docs/project-setup/what-gets-installed.md +176 -0
  671. package/docu/docs/safety-features.md +13 -0
  672. package/docu/docs/support.md +13 -0
  673. package/docu/docs/usage-examples/advanced-options.md +87 -0
  674. package/docu/docs/usage-examples/alternative-commands.md +31 -0
  675. package/docu/docs/usage-examples/framework-specific-quick-setup.md +47 -0
  676. package/docu/docs/usage-examples/interactive-setup.md +16 -0
  677. package/docu/docusaurus.config.ts +163 -0
  678. package/docu/package-lock.json +16185 -0
  679. package/docu/package.json +47 -0
  680. package/docu/sidebars.ts +85 -0
  681. package/docu/src/components/HomepageFeatures/index.tsx +82 -0
  682. package/docu/src/components/HomepageFeatures/styles.module.css +131 -0
  683. package/docu/src/css/custom.css +475 -0
  684. package/docu/src/pages/index.module.css +109 -0
  685. package/docu/src/pages/index.tsx +65 -0
  686. package/docu/src/pages/markdown-page.md +7 -0
  687. package/docu/static/img/favicon.ico +0 -0
  688. package/docu/static/img/logo.svg +23 -0
  689. package/docu/tsconfig.json +8 -0
  690. package/generate_components_json.py +199 -0
  691. package/package.json +19 -86
  692. package/social-preview.png +0 -0
  693. package/vercel.json +75 -0
  694. /package/{bin → cli-tool/bin}/create-claude-config.js +0 -0
  695. /package/{src → cli-tool/src}/agents.js +0 -0
  696. /package/{src → cli-tool/src}/analytics/core/AgentAnalyzer.js +0 -0
  697. /package/{src → cli-tool/src}/analytics/core/ConversationAnalyzer.js +0 -0
  698. /package/{src → cli-tool/src}/analytics/core/FileWatcher.js +0 -0
  699. /package/{src → cli-tool/src}/analytics/core/ProcessDetector.js +0 -0
  700. /package/{src → cli-tool/src}/analytics/core/SessionAnalyzer.js +0 -0
  701. /package/{src → cli-tool/src}/analytics/core/StateCalculator.js +0 -0
  702. /package/{src → cli-tool/src}/analytics/data/DataCache.js +0 -0
  703. /package/{src → cli-tool/src}/analytics/notifications/NotificationManager.js +0 -0
  704. /package/{src → cli-tool/src}/analytics/notifications/WebSocketServer.js +0 -0
  705. /package/{src → cli-tool/src}/analytics/utils/PerformanceMonitor.js +0 -0
  706. /package/{src → cli-tool/src}/analytics-web/FRONT_ARCHITECTURE.md +0 -0
  707. /package/{src → cli-tool/src}/analytics-web/assets/js/main.js.deprecated +0 -0
  708. /package/{src → cli-tool/src}/analytics-web/chats_mobile.html +0 -0
  709. /package/{src → cli-tool/src}/analytics-web/components/ActivityHeatmap.js +0 -0
  710. /package/{src → cli-tool/src}/analytics-web/components/AgentAnalytics.js +0 -0
  711. /package/{src → cli-tool/src}/analytics-web/components/App.js +0 -0
  712. /package/{src → cli-tool/src}/analytics-web/components/Charts.js +0 -0
  713. /package/{src → cli-tool/src}/analytics-web/components/ConversationTable.js +0 -0
  714. /package/{src → cli-tool/src}/analytics-web/components/DashboardPage.js +0 -0
  715. /package/{src → cli-tool/src}/analytics-web/components/HeaderComponent.js +0 -0
  716. /package/{src → cli-tool/src}/analytics-web/components/SessionTimer.js +0 -0
  717. /package/{src → cli-tool/src}/analytics-web/components/Sidebar.js +0 -0
  718. /package/{src → cli-tool/src}/analytics-web/components/ToolDisplay.js +0 -0
  719. /package/{src → cli-tool/src}/analytics-web/index.html +0 -0
  720. /package/{src → cli-tool/src}/analytics-web/index.html.original +0 -0
  721. /package/{src → cli-tool/src}/analytics-web/services/DataService.js +0 -0
  722. /package/{src → cli-tool/src}/analytics-web/services/StateService.js +0 -0
  723. /package/{src → cli-tool/src}/analytics-web/services/WebSocketService.js +0 -0
  724. /package/{src → cli-tool/src}/analytics.js +0 -0
  725. /package/{src → cli-tool/src}/chats-mobile.js +0 -0
  726. /package/{src → cli-tool/src}/claude-api-proxy.js +0 -0
  727. /package/{src → cli-tool/src}/command-scanner.js +0 -0
  728. /package/{src → cli-tool/src}/command-stats.js +0 -0
  729. /package/{src → cli-tool/src}/console-bridge.js +0 -0
  730. /package/{src → cli-tool/src}/file-operations.js +0 -0
  731. /package/{src → cli-tool/src}/health-check.js +0 -0
  732. /package/{src → cli-tool/src}/hook-scanner.js +0 -0
  733. /package/{src → cli-tool/src}/hook-stats.js +0 -0
  734. /package/{src → cli-tool/src}/mcp-stats.js +0 -0
  735. /package/{src → cli-tool/src}/prompts.js +0 -0
  736. /package/{src → cli-tool/src}/sandbox-server.js +0 -0
  737. /package/{src → cli-tool/src}/sdk/global-agent-manager.js +0 -0
  738. /package/{src → cli-tool/src}/templates.js +0 -0
  739. /package/{src → cli-tool/src}/test-activity-data.json +0 -0
  740. /package/{src → cli-tool/src}/test-console-bridge.js +0 -0
  741. /package/{src → cli-tool/src}/tracking-service.js +0 -0
  742. /package/{src → cli-tool/src}/utils.js +0 -0
  743. /package/{src/analytics.log → docu/static/.nojekyll} +0 -0
@@ -0,0 +1,909 @@
1
+ # Complete Guide to Creating Claude Code Commands
2
+
3
+ This guide teaches you how to create custom slash commands for Claude Code using `.md` files with optional YAML frontmatter configuration.
4
+
5
+ ## What are Claude Code Commands?
6
+
7
+ Commands are reusable prompts that you can invoke with a simple slash syntax during your Claude Code sessions. Each command:
8
+
9
+ - **Has a specific purpose** and can be customized with arguments
10
+ - **Can execute bash commands** before running the prompt
11
+ - **Supports file references** using the `@` syntax
12
+ - **Can be scoped** to projects or personal use
13
+ - **Includes optional metadata** through YAML frontmatter
14
+
15
+ ## Key Benefits
16
+
17
+ ### 🚀 Rapid Execution
18
+ Execute complex, frequently-used prompts with a simple `/command` syntax.
19
+
20
+ ### 🔧 Dynamic Arguments
21
+ Pass variables to commands using `$ARGUMENTS` placeholder for flexible reuse.
22
+
23
+ ### 📁 Smart Organization
24
+ Organize commands in subdirectories with automatic namespacing and conflict resolution.
25
+
26
+ ### 🔄 Context Enrichment
27
+ Automatically include bash command output and file contents in your prompts.
28
+
29
+ ### ♻️ Team Collaboration
30
+ Share project commands with your team while keeping personal commands private.
31
+
32
+ ## Command Locations
33
+
34
+ | Type | Location | Scope | Visibility | Priority |
35
+ |------|----------|-------|------------|----------|
36
+ | **Project Commands** | `.claude/commands/` | Current project only | Shared with team | Higher |
37
+ | **Personal Commands** | `~/.claude/commands/` | All projects | Private to user | Lower |
38
+
39
+ *When there are name conflicts, project commands take precedence over personal commands.*
40
+
41
+ ## Basic Command Format
42
+
43
+ Each command is defined in a Markdown file with this structure:
44
+
45
+ ```markdown
46
+ ---
47
+ allowed-tools: Read, Edit, Bash
48
+ argument-hint: [optional-arg]
49
+ description: Brief description of the command
50
+ model: sonnet
51
+ ---
52
+
53
+ Your command prompt goes here. This can include:
54
+
55
+ - Dynamic arguments using $ARGUMENTS
56
+ - File references using @filename.js
57
+ - Bash command output using !`command`
58
+ - Multiple paragraphs with detailed instructions
59
+
60
+ Include specific instructions and context that Claude should follow.
61
+ ```
62
+
63
+ ## Command Configuration
64
+
65
+ ### Basic Syntax
66
+ ```
67
+ /<command-name> [arguments]
68
+ ```
69
+
70
+ ### Filename to Command Mapping
71
+ - **File**: `optimize.md` → **Command**: `/optimize`
72
+ - **File**: `fix-issue.md` → **Command**: `/fix-issue`
73
+ - **File**: `security-review.md` → **Command**: `/security-review`
74
+
75
+ ### Directory Organization
76
+ Commands can be organized in subdirectories for better organization:
77
+
78
+ ```
79
+ .claude/commands/
80
+ ├── frontend/
81
+ │ ├── component.md # /component (project:frontend)
82
+ │ └── styling.md # /styling (project:frontend)
83
+ ├── backend/
84
+ │ ├── api-test.md # /api-test (project:backend)
85
+ │ └── database.md # /database (project:backend)
86
+ └── git/
87
+ ├── commit.md # /commit (project:git)
88
+ └── review.md # /review (project:git)
89
+ ```
90
+
91
+ ## Frontmatter Configuration
92
+
93
+ ### `allowed-tools` (Optional)
94
+ Restricts which tools the command can use:
95
+ ```yaml
96
+ allowed-tools: Read, Edit, Bash(git add:*), Bash(git status:*)
97
+ ```
98
+
99
+ **Common tool combinations:**
100
+ - **Code Analysis**: `Read, Grep, Glob`
101
+ - **File Operations**: `Read, Edit, Write`
102
+ - **Git Operations**: `Bash(git add:*), Bash(git status:*), Bash(git commit:*)`
103
+ - **Web Research**: `Read, WebSearch, WebFetch`
104
+ - **Full Access**: Leave empty to inherit all tools
105
+
106
+ ### `argument-hint` (Optional)
107
+ Provides autocomplete guidance for command arguments:
108
+ ```yaml
109
+ argument-hint: add [tagId] | remove [tagId] | list
110
+ argument-hint: [issue-number]
111
+ argument-hint: [component-name] [directory]
112
+ ```
113
+
114
+ ### `description` (Optional)
115
+ Brief description shown in `/help`:
116
+ ```yaml
117
+ description: Create a git commit with proper formatting
118
+ description: Analyze code performance and suggest optimizations
119
+ description: Generate React component with tests
120
+ ```
121
+
122
+ ### `model` (Optional)
123
+ Specify which Claude model to use:
124
+ ```yaml
125
+ model: claude-3-5-sonnet-20241022 # Default, balanced performance
126
+ model: claude-3-5-haiku-20241022 # Faster, simpler tasks
127
+ model: claude-3-opus-20240229 # Most capable, complex tasks
128
+ ```
129
+
130
+ ## Advanced Features
131
+
132
+ ### Dynamic Arguments
133
+ Use `$ARGUMENTS` to pass values to your commands:
134
+
135
+ ```markdown
136
+ ---
137
+ argument-hint: [issue-number]
138
+ description: Fix GitHub issue following coding standards
139
+ ---
140
+
141
+ Fix issue #$ARGUMENTS following our team's coding standards:
142
+
143
+ 1. Review the issue requirements
144
+ 2. Implement the solution
145
+ 3. Add appropriate tests
146
+ 4. Update documentation if needed
147
+ ```
148
+
149
+ **Usage**: `/fix-issue 123`
150
+
151
+ ### Bash Command Integration
152
+ Execute commands before the prompt runs using `!` prefix:
153
+
154
+ ```markdown
155
+ ---
156
+ allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
157
+ description: Create a comprehensive git commit
158
+ ---
159
+
160
+ ## Current Repository State
161
+
162
+ - Git status: !`git status --porcelain`
163
+ - Current branch: !`git branch --show-current`
164
+ - Staged changes: !`git diff --cached --stat`
165
+ - Unstaged changes: !`git diff --stat`
166
+ - Recent commits: !`git log --oneline -5`
167
+
168
+ ## Task
169
+
170
+ Based on the above repository state, create a well-formatted commit message and commit the staged changes.
171
+ ```
172
+
173
+ ### File References
174
+ Include file contents using `@` syntax:
175
+
176
+ ```markdown
177
+ ---
178
+ description: Review code implementation
179
+ ---
180
+
181
+ Please review the following implementation:
182
+
183
+ Main component: @src/components/UserProfile.js
184
+ Test file: @tests/components/UserProfile.test.js
185
+ Types: @types/user.ts
186
+
187
+ Analyze for:
188
+ - Code quality and best practices
189
+ - Test coverage completeness
190
+ - Type safety implementation
191
+ - Performance considerations
192
+ ```
193
+
194
+ ### Extended Thinking Mode
195
+ Trigger extended thinking by including specific keywords:
196
+
197
+ ```markdown
198
+ ---
199
+ description: Complex architectural decision analysis
200
+ ---
201
+
202
+ <thinking>
203
+ I need to carefully analyze this architectural decision considering multiple factors.
204
+ </thinking>
205
+
206
+ Analyze the architectural implications of @src/config/architecture.md and provide:
207
+
208
+ 1. Detailed analysis of current approach
209
+ 2. Alternative solutions with trade-offs
210
+ 3. Recommended implementation strategy
211
+ 4. Migration path if changes are needed
212
+ ```
213
+
214
+ ## Complete Command Examples
215
+
216
+ ### 1. Git Commit Command
217
+
218
+ ```markdown
219
+ ---
220
+ allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git log:*)
221
+ argument-hint: [optional-commit-message]
222
+ description: Create a well-formatted git commit
223
+ model: claude-3-5-sonnet-20241022
224
+ ---
225
+
226
+ ## Repository Context
227
+
228
+ - Current status: !`git status --porcelain`
229
+ - Current branch: !`git branch --show-current`
230
+ - Staged files: !`git diff --cached --name-only`
231
+ - Unstaged changes: !`git diff --name-only`
232
+ - Last 3 commits: !`git log --oneline -3`
233
+
234
+ ## Task
235
+
236
+ Create a git commit with proper formatting:
237
+
238
+ 1. **If no message provided**: Generate a descriptive commit message based on the staged changes
239
+ 2. **If message provided**: Use "$ARGUMENTS" as the commit message
240
+ 3. **Follow conventional commits format**: `type(scope): description`
241
+ 4. **Add co-authored-by**: Include Claude attribution
242
+
243
+ Commit message should be:
244
+ - Clear and descriptive
245
+ - Under 50 characters for the title
246
+ - Include detailed body if necessary
247
+ - Follow our team's commit standards
248
+ ```
249
+
250
+ ### 2. React Component Generator
251
+
252
+ ```markdown
253
+ ---
254
+ allowed-tools: Read, Write, Edit, Bash
255
+ argument-hint: [component-name] [directory]
256
+ description: Generate React component with TypeScript and tests
257
+ model: claude-3-5-sonnet-20241022
258
+ ---
259
+
260
+ ## Component Generation Task
261
+
262
+ Generate a complete React component with the following specifications:
263
+
264
+ **Component Name**: $ARGUMENTS (first argument)
265
+ **Directory**: $ARGUMENTS (second argument, default: src/components)
266
+
267
+ ## Requirements
268
+
269
+ ### 1. Component Structure
270
+ - TypeScript functional component with proper typing
271
+ - Props interface with JSDoc comments
272
+ - Default export with named export for testing
273
+ - Proper file naming convention
274
+
275
+ ### 2. Styling
276
+ - CSS Modules or styled-components (detect existing pattern: @src/components/)
277
+ - Responsive design considerations
278
+ - Accessibility attributes
279
+
280
+ ### 3. Testing
281
+ - Jest + React Testing Library test file
282
+ - Test component rendering
283
+ - Test props handling
284
+ - Test user interactions
285
+ - Accessibility testing
286
+
287
+ ### 4. Documentation
288
+ - JSDoc comments for component and props
289
+ - Usage examples in component file
290
+ - Storybook story (if Storybook detected: @.storybook/)
291
+
292
+ ## File Structure to Create
293
+ ```
294
+ [directory]/
295
+ ├── ComponentName.tsx
296
+ ├── ComponentName.module.css
297
+ ├── ComponentName.test.tsx
298
+ ├── ComponentName.stories.tsx (if Storybook exists)
299
+ └── index.ts
300
+ ```
301
+
302
+ Follow the existing code patterns from: @src/components/
303
+ ```
304
+
305
+ ### 3. API Testing Command
306
+
307
+ ```markdown
308
+ ---
309
+ allowed-tools: Read, Edit, Bash, WebFetch
310
+ argument-hint: [endpoint-path]
311
+ description: Generate comprehensive API tests
312
+ model: claude-3-5-sonnet-20241022
313
+ ---
314
+
315
+ ## API Testing Generation
316
+
317
+ **Target Endpoint**: $ARGUMENTS
318
+
319
+ ## Context Analysis
320
+
321
+ - API routes: @src/routes/ or @api/
322
+ - Existing tests: @tests/api/ or @__tests__/
323
+ - API documentation: @docs/api.md or @README.md
324
+ - Test configuration: @jest.config.js or @vitest.config.js
325
+
326
+ ## Test Generation Requirements
327
+
328
+ ### 1. Test Structure
329
+ - Comprehensive test suite for the endpoint
330
+ - Happy path testing
331
+ - Error case testing
332
+ - Edge case validation
333
+ - Authentication testing (if required)
334
+
335
+ ### 2. HTTP Methods Testing
336
+ For each supported method (GET, POST, PUT, DELETE):
337
+ - Valid request/response testing
338
+ - Invalid input validation
339
+ - Status code verification
340
+ - Response body validation
341
+ - Headers verification
342
+
343
+ ### 3. Test Data
344
+ - Mock data generation
345
+ - Fixtures for consistent testing
346
+ - Database seeding (if applicable)
347
+ - Cleanup procedures
348
+
349
+ ### 4. Integration Testing
350
+ - Database interactions
351
+ - External service mocking
352
+ - Middleware testing
353
+ - Rate limiting testing
354
+
355
+ ## Deliverables
356
+
357
+ 1. Complete test file with all scenarios
358
+ 2. Test data fixtures
359
+ 3. Mock configurations
360
+ 4. Documentation for running tests
361
+ ```
362
+
363
+ ### 4. Performance Analysis Command
364
+
365
+ ```markdown
366
+ ---
367
+ allowed-tools: Read, Bash, Grep, Glob
368
+ description: Analyze application performance and suggest optimizations
369
+ model: claude-3-5-sonnet-20241022
370
+ ---
371
+
372
+ ## Performance Analysis Report
373
+
374
+ ## Current Metrics
375
+
376
+ - Bundle analysis: !`npm run build -- --analyze 2>/dev/null || echo "No build analyzer available"`
377
+ - Dependencies: !`npm list --depth=0 --prod`
378
+ - Package size: !`du -sh node_modules/ 2>/dev/null || echo "No node_modules found"`
379
+
380
+ ## Code Analysis
381
+
382
+ ### Frontend Performance
383
+ - React components: @src/components/
384
+ - Main application: @src/App.js or @src/App.tsx
385
+ - Build configuration: @webpack.config.js or @vite.config.js or @next.config.js
386
+
387
+ ### Backend Performance
388
+ - Server entry: @src/server.js or @src/index.js
389
+ - Database queries: @src/models/ or @src/db/
390
+ - API routes: @src/routes/ or @api/
391
+
392
+ ## Analysis Areas
393
+
394
+ ### 1. Bundle Optimization
395
+ - Identify large dependencies
396
+ - Code splitting opportunities
397
+ - Tree shaking effectiveness
398
+ - Dynamic imports usage
399
+
400
+ ### 2. Runtime Performance
401
+ - Component re-render analysis
402
+ - Memory leak detection
403
+ - Event listener optimization
404
+ - Image optimization opportunities
405
+
406
+ ### 3. Backend Optimization
407
+ - Database query efficiency
408
+ - Caching strategies
409
+ - API response times
410
+ - Resource utilization
411
+
412
+ ### 4. Core Web Vitals
413
+ - Largest Contentful Paint (LCP)
414
+ - First Input Delay (FID)
415
+ - Cumulative Layout Shift (CLS)
416
+
417
+ ## Deliverables
418
+
419
+ 1. Performance audit report
420
+ 2. Specific optimization recommendations
421
+ 3. Implementation priority ranking
422
+ 4. Before/after metrics tracking plan
423
+ ```
424
+
425
+ ### 5. Security Audit Command
426
+
427
+ ```markdown
428
+ ---
429
+ allowed-tools: Read, Bash, Grep
430
+ description: Comprehensive security audit of the codebase
431
+ model: claude-3-5-sonnet-20241022
432
+ ---
433
+
434
+ ## Security Audit Report
435
+
436
+ ## Dependency Security
437
+
438
+ - Security audit: !`npm audit --audit-level=moderate 2>/dev/null || echo "npm audit not available"`
439
+ - Outdated packages: !`npm outdated 2>/dev/null || echo "npm outdated not available"`
440
+
441
+ ## Code Security Analysis
442
+
443
+ ### Configuration Files
444
+ - Environment variables: @.env* (if exists)
445
+ - Security configurations: @src/config/
446
+ - Database configurations: @src/db/config/
447
+
448
+ ### Authentication & Authorization
449
+ - Auth implementation: @src/auth/ or @src/middleware/auth.js
450
+ - JWT handling: Search for JWT-related code
451
+ - Password hashing: Search for bcrypt, scrypt, argon2
452
+
453
+ ### Input Validation
454
+ - API routes: @src/routes/ or @api/
455
+ - Form validation: @src/components/forms/
456
+ - Database queries: @src/models/
457
+
458
+ ## OWASP Top 10 Assessment
459
+
460
+ ### 1. Injection Vulnerabilities
461
+ - SQL injection prevention
462
+ - NoSQL injection prevention
463
+ - Command injection prevention
464
+ - XSS prevention
465
+
466
+ ### 2. Broken Authentication
467
+ - Session management
468
+ - Multi-factor authentication
469
+ - Password policies
470
+ - Account lockout mechanisms
471
+
472
+ ### 3. Sensitive Data Exposure
473
+ - Data encryption at rest
474
+ - Data encryption in transit
475
+ - API key management
476
+ - Logging security
477
+
478
+ ### 4. Security Misconfiguration
479
+ - Server configuration
480
+ - CORS configuration
481
+ - Security headers
482
+ - Error handling
483
+
484
+ ## Security Checklist
485
+
486
+ - [ ] Dependencies are up to date
487
+ - [ ] No hardcoded secrets
488
+ - [ ] Proper input validation
489
+ - [ ] Secure authentication
490
+ - [ ] HTTPS enforcement
491
+ - [ ] Security headers configured
492
+ - [ ] Error messages don't leak info
493
+ - [ ] Logging doesn't include sensitive data
494
+
495
+ ## Deliverables
496
+
497
+ 1. Security vulnerability report
498
+ 2. Risk assessment (Critical/High/Medium/Low)
499
+ 3. Remediation recommendations
500
+ 4. Security best practices guide
501
+ ```
502
+
503
+ ### 6. Database Migration Command
504
+
505
+ ```markdown
506
+ ---
507
+ allowed-tools: Read, Write, Edit, Bash
508
+ argument-hint: [migration-name]
509
+ description: Create database migration with rollback
510
+ model: claude-3-5-sonnet-20241022
511
+ ---
512
+
513
+ ## Database Migration Creation
514
+
515
+ **Migration Name**: $ARGUMENTS
516
+
517
+ ## Current Database Context
518
+
519
+ - Migration files: @migrations/ or @db/migrations/
520
+ - Database schema: @schema.sql or @db/schema/
521
+ - ORM configuration: @knexfile.js or @src/db/config.js or @prisma/schema.prisma
522
+ - Existing models: @src/models/
523
+
524
+ ## Migration Requirements
525
+
526
+ ### 1. Migration Structure
527
+ - Timestamp-based filename
528
+ - Clear up/down migration functions
529
+ - Proper error handling
530
+ - Transaction wrapping for safety
531
+
532
+ ### 2. Schema Changes
533
+ Based on migration name, determine operation:
534
+ - **CREATE**: New table creation
535
+ - **ALTER**: Table modifications
536
+ - **DROP**: Table/column removal
537
+ - **INDEX**: Index management
538
+ - **DATA**: Data migrations
539
+
540
+ ### 3. Rollback Strategy
541
+ - Complete rollback implementation
542
+ - Data preservation considerations
543
+ - Dependency handling
544
+ - Validation checks
545
+
546
+ ### 4. Best Practices
547
+ - Atomic operations
548
+ - No destructive changes without confirmation
549
+ - Proper indexing
550
+ - Foreign key constraints
551
+ - Default values handling
552
+
553
+ ## Deliverables
554
+
555
+ 1. Migration file with up/down functions
556
+ 2. Rollback testing instructions
557
+ 3. Migration documentation
558
+ 4. Data backup recommendations (if destructive)
559
+
560
+ ## Template Structure
561
+
562
+ ```sql
563
+ -- Up migration
564
+ CREATE TABLE example (
565
+ id SERIAL PRIMARY KEY,
566
+ created_at TIMESTAMP DEFAULT NOW(),
567
+ updated_at TIMESTAMP DEFAULT NOW()
568
+ );
569
+
570
+ -- Down migration
571
+ DROP TABLE IF EXISTS example;
572
+ ```
573
+ ```
574
+
575
+ ## Built-in Commands Reference
576
+
577
+ ### Essential Commands
578
+ - `/add-dir` - Add working directories to current session
579
+ - `/agents` - Manage and configure custom AI subagents
580
+ - `/clear` - Clear conversation history for fresh start
581
+ - `/compact [instructions]` - Compress conversation with optional focus
582
+ - `/config` - View and modify Claude Code configuration
583
+ - `/help` - Show all available commands and usage
584
+
585
+ ### Development Commands
586
+ - `/init` - Initialize project with CLAUDE.md configuration guide
587
+ - `/memory` - Edit CLAUDE.md memory files for persistent context
588
+ - `/review` - Request comprehensive code review
589
+ - `/pr_comments` - View and manage pull request comments
590
+
591
+ ### System Commands
592
+ - `/bug` - Report issues to Anthropic development team
593
+ - `/cost` - Display token usage and billing information
594
+ - `/doctor` - Health check for Claude Code installation
595
+ - `/model` - Select or change AI model (Sonnet/Haiku/Opus)
596
+ - `/status` - View account and system status information
597
+
598
+ ### Authentication & Permissions
599
+ - `/login` - Switch between Anthropic accounts
600
+ - `/logout` - Sign out from current account
601
+ - `/permissions` - View and update access permissions
602
+
603
+ ### Advanced Features
604
+ - `/mcp` - Manage MCP server connections and OAuth
605
+ - `/terminal-setup` - Configure Shift+Enter for newlines
606
+ - `/vim` - Toggle vim mode for modal editing
607
+
608
+ ## MCP Commands
609
+
610
+ ### Understanding MCP Commands
611
+ MCP (Model Context Protocol) servers can expose prompts as dynamic slash commands:
612
+
613
+ ```
614
+ /mcp__<server-name>__<prompt-name> [arguments]
615
+ ```
616
+
617
+ ### Example MCP Commands
618
+ ```bash
619
+ # GitHub integration
620
+ /mcp__github__list_prs
621
+ /mcp__github__pr_review 456
622
+
623
+ # Jira integration
624
+ /mcp__jira__create_issue "Bug title" high
625
+ /mcp__jira__list_issues
626
+
627
+ # Database operations
628
+ /mcp__postgres__query "SELECT * FROM users LIMIT 10"
629
+ /mcp__postgres__migrate
630
+ ```
631
+
632
+ ### MCP Management
633
+ Use `/mcp` to:
634
+ - View configured MCP servers
635
+ - Check connection status
636
+ - Authenticate with OAuth-enabled servers
637
+ - Clear authentication tokens
638
+ - View available tools and prompts
639
+
640
+ ## Best Practices for Creating Commands
641
+
642
+ ### 1. Command Design Principles
643
+ - **Single Responsibility**: One clear purpose per command
644
+ - **Descriptive Names**: Use clear, action-oriented names
645
+ - **Consistent Patterns**: Follow established naming conventions
646
+ - **Atomic Operations**: Complete tasks that don't require follow-up
647
+
648
+ ### 2. Effective Prompts
649
+ ```markdown
650
+ ## Structure Template
651
+
652
+ ### Context Section
653
+ - Current state analysis
654
+ - Relevant file contents
655
+ - System information
656
+
657
+ ### Requirements Section
658
+ - Clear, numbered requirements
659
+ - Acceptance criteria
660
+ - Quality standards
661
+
662
+ ### Deliverables Section
663
+ - Specific outputs expected
664
+ - Format requirements
665
+ - Documentation needs
666
+ ```
667
+
668
+ ### 3. Tool Selection Strategy
669
+ ```yaml
670
+ # ✅ Focused tool selection
671
+ allowed-tools: Read, Edit, Bash(git add:*), Bash(git status:*)
672
+
673
+ # ❌ Too permissive
674
+ allowed-tools: Read, Write, Edit, Bash, WebFetch, WebSearch, Grep, Glob
675
+ ```
676
+
677
+ ### 4. Argument Design
678
+ ```yaml
679
+ # ✅ Clear argument guidance
680
+ argument-hint: [component-name] [directory] [--typescript]
681
+
682
+ # ❌ Vague guidance
683
+ argument-hint: [options]
684
+ ```
685
+
686
+ ### 5. Command Testing
687
+ - **Test with real scenarios** from your projects
688
+ - **Verify argument handling** works correctly
689
+ - **Check bash command execution** produces expected output
690
+ - **Validate file references** resolve properly
691
+ - **Test error conditions** and edge cases
692
+
693
+ ## Common Use Cases
694
+
695
+ ### Development Workflow
696
+ ```bash
697
+ /init # Setup project configuration
698
+ /component Button # Generate React component
699
+ /test Button # Generate component tests
700
+ /commit # Create formatted git commit
701
+ /review # Request code review
702
+ ```
703
+
704
+ ### Debugging & Analysis
705
+ ```bash
706
+ /performance # Analyze performance issues
707
+ /security # Security audit
708
+ /dependencies # Analyze and update dependencies
709
+ /logs # Analyze log files
710
+ /errors # Debug error patterns
711
+ ```
712
+
713
+ ### Database Operations
714
+ ```bash
715
+ /migrate create_users # Create database migration
716
+ /seed # Generate test data
717
+ /backup # Backup database
718
+ /optimize # Optimize database performance
719
+ ```
720
+
721
+ ### DevOps & Deployment
722
+ ```bash
723
+ /deploy staging # Deploy to staging environment
724
+ /rollback # Rollback deployment
725
+ /monitor # Check system health
726
+ /scale # Scale application resources
727
+ ```
728
+
729
+ ## Command Organization Strategies
730
+
731
+ ### By Project Phase
732
+ ```
733
+ .claude/commands/
734
+ ├── setup/ # Project initialization
735
+ ├── development/ # Daily development tasks
736
+ ├── testing/ # Testing and QA
737
+ ├── deployment/ # Deployment and DevOps
738
+ └── maintenance/ # Ongoing maintenance
739
+ ```
740
+
741
+ ### By Technology Stack
742
+ ```
743
+ .claude/commands/
744
+ ├── frontend/ # React, Vue, Angular commands
745
+ ├── backend/ # Node.js, Python, API commands
746
+ ├── database/ # SQL, migrations, seeding
747
+ ├── infrastructure/ # Docker, K8s, cloud commands
748
+ └── tools/ # Build tools, linting, formatting
749
+ ```
750
+
751
+ ### By Team Role
752
+ ```
753
+ ~/.claude/commands/
754
+ ├── developer/ # General development commands
755
+ ├── devops/ # Infrastructure and deployment
756
+ ├── qa/ # Testing and quality assurance
757
+ └── lead/ # Architecture and code review
758
+ ```
759
+
760
+ ## Troubleshooting Common Issues
761
+
762
+ ### Command Not Found
763
+ **Symptoms**: `/command` shows "Command not found"
764
+ **Solutions**:
765
+ - Verify file exists in `.claude/commands/` or `~/.claude/commands/`
766
+ - Check filename matches command name (without `.md`)
767
+ - Ensure markdown file has proper content
768
+ - Restart Claude Code session
769
+
770
+ ### Arguments Not Working
771
+ **Symptoms**: `$ARGUMENTS` appears literally in output
772
+ **Solutions**:
773
+ - Ensure arguments are provided when calling command
774
+ - Check `argument-hint` frontmatter is correctly formatted
775
+ - Verify `$ARGUMENTS` placement in command content
776
+
777
+ ### Bash Commands Failing
778
+ **Symptoms**: `!command` output shows errors
779
+ **Solutions**:
780
+ - Verify `allowed-tools` includes `Bash` or specific commands
781
+ - Test bash commands work in terminal first
782
+ - Check file paths and permissions
783
+ - Ensure commands are available in system PATH
784
+
785
+ ### File References Not Working
786
+ **Symptoms**: `@filename` shows "File not found"
787
+ **Solutions**:
788
+ - Verify file paths are correct relative to working directory
789
+ - Check file permissions are readable
790
+ - Use `/add-dir` to add additional working directories
791
+ - Test file references with absolute paths
792
+
793
+ ### Permission Issues
794
+ **Symptoms**: Commands fail with permission errors
795
+ **Solutions**:
796
+ - Use `/permissions` to check current access levels
797
+ - Ensure `allowed-tools` includes necessary tools
798
+ - Check file system permissions
799
+ - Verify MCP server authentication if using MCP commands
800
+
801
+ ## Advanced Command Patterns
802
+
803
+ ### Conditional Logic
804
+ ```markdown
805
+ ---
806
+ description: Smart deployment based on environment
807
+ ---
808
+
809
+ Analyze the current environment and deploy accordingly:
810
+
811
+ **Current branch**: !`git branch --show-current`
812
+ **Environment config**: @.env
813
+ **Package.json**: @package.json
814
+
815
+ If production branch:
816
+ 1. Run full test suite
817
+ 2. Build production assets
818
+ 3. Deploy with zero downtime
819
+ 4. Run smoke tests
820
+
821
+ If staging branch:
822
+ 1. Run quick tests
823
+ 2. Deploy to staging
824
+ 3. Send notification to team
825
+
826
+ If development branch:
827
+ 1. Deploy to development environment
828
+ 2. Skip extensive testing
829
+ ```
830
+
831
+ ### Multi-Step Workflows
832
+ ```markdown
833
+ ---
834
+ allowed-tools: Read, Write, Edit, Bash
835
+ description: Complete feature implementation workflow
836
+ ---
837
+
838
+ Implement feature: $ARGUMENTS
839
+
840
+ ## Step 1: Planning
841
+ 1. Analyze requirements
842
+ 2. Check existing code: @src/
843
+ 3. Plan implementation approach
844
+
845
+ ## Step 2: Implementation
846
+ 1. Create necessary files
847
+ 2. Implement core functionality
848
+ 3. Add error handling
849
+
850
+ ## Step 3: Testing
851
+ 1. Create unit tests
852
+ 2. Create integration tests
853
+ 3. Run test suite: !`npm test`
854
+
855
+ ## Step 4: Documentation
856
+ 1. Update README if needed
857
+ 2. Add JSDoc comments
858
+ 3. Update API documentation
859
+
860
+ ## Step 5: Quality Assurance
861
+ 1. Run linting: !`npm run lint`
862
+ 2. Format code: !`npm run format`
863
+ 3. Check build: !`npm run build`
864
+
865
+ Complete each step before proceeding to the next.
866
+ ```
867
+
868
+ ### Environment-Aware Commands
869
+ ```markdown
870
+ ---
871
+ description: Environment-specific database operations
872
+ ---
873
+
874
+ **Current environment**: !`echo $NODE_ENV`
875
+ **Database config**: @config/database.js
876
+
877
+ ## Environment-Specific Actions
878
+
879
+ ### Production Environment
880
+ - Use read-only operations only
881
+ - Require explicit confirmation for changes
882
+ - Enable audit logging
883
+ - Use connection pooling
884
+
885
+ ### Staging Environment
886
+ - Allow controlled data modifications
887
+ - Enable detailed logging
888
+ - Use production-like configuration
889
+ - Reset data daily
890
+
891
+ ### Development Environment
892
+ - Allow all operations
893
+ - Use local database
894
+ - Enable debug logging
895
+ - Seed with test data
896
+
897
+ Execute database operation: $ARGUMENTS
898
+ ```
899
+
900
+ ## Conclusion
901
+
902
+ Claude Code commands are a powerful automation tool that can significantly improve your development workflow. With this guide, you can create effective commands that:
903
+
904
+ - **Automate repetitive tasks** with simple slash syntax
905
+ - **Standardize team workflows** through shared project commands
906
+ - **Integrate with external tools** via bash commands and MCP
907
+ - **Provide context-aware assistance** through file references and dynamic arguments
908
+
909
+ Start with simple, focused commands and gradually build more sophisticated workflows as you become comfortable with the system. Remember to test your commands thoroughly and document them well for team collaboration.