@macpaw/cctk 1.0.0-beta.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 (415) hide show
  1. package/License +21 -0
  2. package/README.md +142 -0
  3. package/bin/index.js +5 -0
  4. package/dist/index.js +1 -0
  5. package/package.json +65 -0
  6. package/templates/claude/agents/brainstormer.md +113 -0
  7. package/templates/claude/agents/code-reviewer.md +157 -0
  8. package/templates/claude/agents/copywriter.md +110 -0
  9. package/templates/claude/agents/database-admin.md +92 -0
  10. package/templates/claude/agents/debugger.md +137 -0
  11. package/templates/claude/agents/docs-manager.md +208 -0
  12. package/templates/claude/agents/fullstack-developer.md +95 -0
  13. package/templates/claude/agents/git-manager.md +394 -0
  14. package/templates/claude/agents/journal-writer.md +113 -0
  15. package/templates/claude/agents/mcp-manager.md +89 -0
  16. package/templates/claude/agents/planner.md +108 -0
  17. package/templates/claude/agents/project-manager.md +125 -0
  18. package/templates/claude/agents/registry.json +304 -0
  19. package/templates/claude/agents/researcher.md +37 -0
  20. package/templates/claude/agents/scout-external.md +140 -0
  21. package/templates/claude/agents/scout.md +106 -0
  22. package/templates/claude/agents/tester.md +105 -0
  23. package/templates/claude/agents/ui-ux-designer.md +208 -0
  24. package/templates/claude/commands/ask.md +56 -0
  25. package/templates/claude/commands/bootstrap/auto/fast.md +106 -0
  26. package/templates/claude/commands/bootstrap/auto/parallel.md +64 -0
  27. package/templates/claude/commands/bootstrap/auto.md +110 -0
  28. package/templates/claude/commands/bootstrap.md +130 -0
  29. package/templates/claude/commands/brainstorm.md +75 -0
  30. package/templates/claude/commands/code/auto.md +198 -0
  31. package/templates/claude/commands/code/no-test.md +172 -0
  32. package/templates/claude/commands/code/parallel.md +100 -0
  33. package/templates/claude/commands/code.md +197 -0
  34. package/templates/claude/commands/coding-level.md +37 -0
  35. package/templates/claude/commands/content/cro.md +41 -0
  36. package/templates/claude/commands/content/enhance.md +12 -0
  37. package/templates/claude/commands/content/fast.md +11 -0
  38. package/templates/claude/commands/content/good.md +14 -0
  39. package/templates/claude/commands/cook/auto/fast.md +26 -0
  40. package/templates/claude/commands/cook/auto/parallel.md +49 -0
  41. package/templates/claude/commands/cook/auto.md +15 -0
  42. package/templates/claude/commands/cook.md +101 -0
  43. package/templates/claude/commands/debug.md +13 -0
  44. package/templates/claude/commands/docs/init.md +37 -0
  45. package/templates/claude/commands/docs/summarize.md +22 -0
  46. package/templates/claude/commands/docs/update.md +78 -0
  47. package/templates/claude/commands/fix/ci.md +17 -0
  48. package/templates/claude/commands/fix/fast.md +18 -0
  49. package/templates/claude/commands/fix/hard.md +35 -0
  50. package/templates/claude/commands/fix/logs.md +26 -0
  51. package/templates/claude/commands/fix/parallel.md +54 -0
  52. package/templates/claude/commands/fix/test.md +20 -0
  53. package/templates/claude/commands/fix/types.md +9 -0
  54. package/templates/claude/commands/fix/ui.md +33 -0
  55. package/templates/claude/commands/fix.md +43 -0
  56. package/templates/claude/commands/git/cm.md +5 -0
  57. package/templates/claude/commands/git/cp.md +4 -0
  58. package/templates/claude/commands/git/merge.md +40 -0
  59. package/templates/claude/commands/git/pr.md +50 -0
  60. package/templates/claude/commands/journal.md +7 -0
  61. package/templates/claude/commands/kanban.md +99 -0
  62. package/templates/claude/commands/plan/archive.md +57 -0
  63. package/templates/claude/commands/plan/ci.md +33 -0
  64. package/templates/claude/commands/plan/cro.md +67 -0
  65. package/templates/claude/commands/plan/fast.md +66 -0
  66. package/templates/claude/commands/plan/hard.md +92 -0
  67. package/templates/claude/commands/plan/parallel.md +129 -0
  68. package/templates/claude/commands/plan/two.md +45 -0
  69. package/templates/claude/commands/plan/validate.md +117 -0
  70. package/templates/claude/commands/plan.md +30 -0
  71. package/templates/claude/commands/preview.md +87 -0
  72. package/templates/claude/commands/registry.json +313 -0
  73. package/templates/claude/commands/review/codebase/parallel.md +122 -0
  74. package/templates/claude/commands/review/codebase.md +47 -0
  75. package/templates/claude/commands/scout/ext.md +35 -0
  76. package/templates/claude/commands/scout.md +28 -0
  77. package/templates/claude/commands/skill/add.md +36 -0
  78. package/templates/claude/commands/skill/create.md +29 -0
  79. package/templates/claude/commands/skill/fix-logs.md +22 -0
  80. package/templates/claude/commands/skill/optimize/auto.md +25 -0
  81. package/templates/claude/commands/skill/optimize.md +34 -0
  82. package/templates/claude/commands/skill/plan.md +45 -0
  83. package/templates/claude/commands/test/ui.md +91 -0
  84. package/templates/claude/commands/test.md +8 -0
  85. package/templates/claude/commands/use-mcp.md +34 -0
  86. package/templates/claude/commands/watzup.md +8 -0
  87. package/templates/claude/commands/worktree.md +126 -0
  88. package/templates/claude/hooks/dev-rules-reminder.cjs +258 -0
  89. package/templates/claude/hooks/docs/README.md +42 -0
  90. package/templates/claude/hooks/lib/cctk-config-utils.cjs +751 -0
  91. package/templates/claude/hooks/lib/cctk-paths.cjs +106 -0
  92. package/templates/claude/hooks/lib/context-tracker.cjs +346 -0
  93. package/templates/claude/hooks/privacy-block.cjs +289 -0
  94. package/templates/claude/hooks/registry.json +77 -0
  95. package/templates/claude/hooks/scout-block/broad-pattern-detector.cjs +293 -0
  96. package/templates/claude/hooks/scout-block/error-formatter.cjs +156 -0
  97. package/templates/claude/hooks/scout-block/path-extractor.cjs +359 -0
  98. package/templates/claude/hooks/scout-block/pattern-matcher.cjs +184 -0
  99. package/templates/claude/hooks/scout-block/vendor/ignore.js +626 -0
  100. package/templates/claude/hooks/scout-block.cjs +167 -0
  101. package/templates/claude/hooks/session-end.cjs +35 -0
  102. package/templates/claude/hooks/session-init.cjs +214 -0
  103. package/templates/claude/hooks/subagent-init.cjs +161 -0
  104. package/templates/claude/hooks/write-compact-marker.cjs +153 -0
  105. package/templates/claude/output-styles/coding-level-1.md +148 -0
  106. package/templates/claude/output-styles/coding-level-2.md +159 -0
  107. package/templates/claude/output-styles/coding-level-3.md +91 -0
  108. package/templates/claude/scripts/README.md +33 -0
  109. package/templates/claude/scripts/generate-catalogs.cjs +318 -0
  110. package/templates/claude/scripts/registry.json +48 -0
  111. package/templates/claude/scripts/set-active-plan.cjs +45 -0
  112. package/templates/claude/scripts/validate-docs.cjs +447 -0
  113. package/templates/claude/scripts/worktree.cjs +658 -0
  114. package/templates/claude/skills/README.md +112 -0
  115. package/templates/claude/skills/ai-artist/SKILL.md +75 -0
  116. package/templates/claude/skills/ai-artist/references/advanced-techniques.md +184 -0
  117. package/templates/claude/skills/ai-artist/references/domain-code.md +66 -0
  118. package/templates/claude/skills/ai-artist/references/domain-data.md +72 -0
  119. package/templates/claude/skills/ai-artist/references/domain-marketing.md +66 -0
  120. package/templates/claude/skills/ai-artist/references/domain-patterns.md +33 -0
  121. package/templates/claude/skills/ai-artist/references/domain-writing.md +68 -0
  122. package/templates/claude/skills/ai-artist/references/image-prompting.md +141 -0
  123. package/templates/claude/skills/ai-artist/references/llm-prompting.md +165 -0
  124. package/templates/claude/skills/ai-artist/references/nano-banana.md +59 -0
  125. package/templates/claude/skills/ai-artist/references/reasoning-techniques.md +201 -0
  126. package/templates/claude/skills/backend-development/SKILL.md +95 -0
  127. package/templates/claude/skills/backend-development/references/backend-api-design.md +495 -0
  128. package/templates/claude/skills/backend-development/references/backend-architecture.md +454 -0
  129. package/templates/claude/skills/backend-development/references/backend-authentication.md +338 -0
  130. package/templates/claude/skills/backend-development/references/backend-code-quality.md +659 -0
  131. package/templates/claude/skills/backend-development/references/backend-debugging.md +904 -0
  132. package/templates/claude/skills/backend-development/references/backend-devops.md +494 -0
  133. package/templates/claude/skills/backend-development/references/backend-mindset.md +387 -0
  134. package/templates/claude/skills/backend-development/references/backend-performance.md +397 -0
  135. package/templates/claude/skills/backend-development/references/backend-security.md +290 -0
  136. package/templates/claude/skills/backend-development/references/backend-technologies.md +256 -0
  137. package/templates/claude/skills/backend-development/references/backend-testing.md +429 -0
  138. package/templates/claude/skills/better-auth/SKILL.md +204 -0
  139. package/templates/claude/skills/better-auth/references/advanced-features.md +553 -0
  140. package/templates/claude/skills/better-auth/references/database-integration.md +577 -0
  141. package/templates/claude/skills/better-auth/references/email-password-auth.md +416 -0
  142. package/templates/claude/skills/better-auth/references/oauth-providers.md +430 -0
  143. package/templates/claude/skills/better-auth/scripts/better_auth_init.py +521 -0
  144. package/templates/claude/skills/chrome-devtools/SKILL.md +473 -0
  145. package/templates/claude/skills/chrome-devtools/references/cdp-domains.md +694 -0
  146. package/templates/claude/skills/chrome-devtools/references/performance-guide.md +940 -0
  147. package/templates/claude/skills/chrome-devtools/references/puppeteer-reference.md +953 -0
  148. package/templates/claude/skills/chrome-devtools/scripts/README.md +288 -0
  149. package/templates/claude/skills/chrome-devtools/scripts/aria-snapshot.js +368 -0
  150. package/templates/claude/skills/chrome-devtools/scripts/click.js +92 -0
  151. package/templates/claude/skills/chrome-devtools/scripts/console.js +85 -0
  152. package/templates/claude/skills/chrome-devtools/scripts/evaluate.js +59 -0
  153. package/templates/claude/skills/chrome-devtools/scripts/fill.js +84 -0
  154. package/templates/claude/skills/chrome-devtools/scripts/inject-auth.js +247 -0
  155. package/templates/claude/skills/chrome-devtools/scripts/install-deps.sh +11 -0
  156. package/templates/claude/skills/chrome-devtools/scripts/install.sh +36 -0
  157. package/templates/claude/skills/chrome-devtools/scripts/lib/browser.js +335 -0
  158. package/templates/claude/skills/chrome-devtools/scripts/lib/selector.js +183 -0
  159. package/templates/claude/skills/chrome-devtools/scripts/navigate.js +60 -0
  160. package/templates/claude/skills/chrome-devtools/scripts/network.js +113 -0
  161. package/templates/claude/skills/chrome-devtools/scripts/package.json +16 -0
  162. package/templates/claude/skills/chrome-devtools/scripts/performance.js +159 -0
  163. package/templates/claude/skills/chrome-devtools/scripts/screenshot.js +212 -0
  164. package/templates/claude/skills/chrome-devtools/scripts/select-ref.js +151 -0
  165. package/templates/claude/skills/chrome-devtools/scripts/snapshot.js +143 -0
  166. package/templates/claude/skills/chrome-devtools/scripts/ws-debug.js +47 -0
  167. package/templates/claude/skills/chrome-devtools/scripts/ws-full-debug.js +115 -0
  168. package/templates/claude/skills/claude-code/references/advanced-features.md +399 -0
  169. package/templates/claude/skills/claude-code/references/agent-skills.md +399 -0
  170. package/templates/claude/skills/claude-code/references/api-reference.md +498 -0
  171. package/templates/claude/skills/claude-code/references/best-practices.md +447 -0
  172. package/templates/claude/skills/claude-code/references/cicd-integration.md +428 -0
  173. package/templates/claude/skills/claude-code/references/common-workflows.md +107 -0
  174. package/templates/claude/skills/claude-code/references/configuration.md +480 -0
  175. package/templates/claude/skills/claude-code/references/enterprise-features.md +472 -0
  176. package/templates/claude/skills/claude-code/references/getting-started.md +244 -0
  177. package/templates/claude/skills/claude-code/references/hooks-and-plugins.md +444 -0
  178. package/templates/claude/skills/claude-code/references/hooks-comprehensive.md +622 -0
  179. package/templates/claude/skills/claude-code/references/ide-integration.md +316 -0
  180. package/templates/claude/skills/claude-code/references/mcp-integration.md +386 -0
  181. package/templates/claude/skills/claude-code/references/slash-commands.md +460 -0
  182. package/templates/claude/skills/claude-code/references/troubleshooting.md +455 -0
  183. package/templates/claude/skills/claude-code/skill.md +60 -0
  184. package/templates/claude/skills/code-review/SKILL.md +143 -0
  185. package/templates/claude/skills/code-review/references/code-review-reception.md +209 -0
  186. package/templates/claude/skills/code-review/references/requesting-code-review.md +105 -0
  187. package/templates/claude/skills/code-review/references/verification-before-completion.md +139 -0
  188. package/templates/claude/skills/context-engineering/SKILL.md +86 -0
  189. package/templates/claude/skills/context-engineering/references/context-compression.md +84 -0
  190. package/templates/claude/skills/context-engineering/references/context-degradation.md +93 -0
  191. package/templates/claude/skills/context-engineering/references/context-fundamentals.md +75 -0
  192. package/templates/claude/skills/context-engineering/references/context-optimization.md +82 -0
  193. package/templates/claude/skills/context-engineering/references/evaluation.md +89 -0
  194. package/templates/claude/skills/context-engineering/references/memory-systems.md +88 -0
  195. package/templates/claude/skills/context-engineering/references/multi-agent-patterns.md +90 -0
  196. package/templates/claude/skills/context-engineering/references/project-development.md +97 -0
  197. package/templates/claude/skills/context-engineering/references/tool-design.md +86 -0
  198. package/templates/claude/skills/context-engineering/scripts/compression_evaluator.py +329 -0
  199. package/templates/claude/skills/context-engineering/scripts/context_analyzer.py +294 -0
  200. package/templates/claude/skills/databases/SKILL.md +232 -0
  201. package/templates/claude/skills/databases/references/mongodb-aggregation.md +447 -0
  202. package/templates/claude/skills/databases/references/mongodb-atlas.md +465 -0
  203. package/templates/claude/skills/databases/references/mongodb-crud.md +408 -0
  204. package/templates/claude/skills/databases/references/mongodb-indexing.md +442 -0
  205. package/templates/claude/skills/databases/references/postgresql-administration.md +594 -0
  206. package/templates/claude/skills/databases/references/postgresql-performance.md +527 -0
  207. package/templates/claude/skills/databases/references/postgresql-psql-cli.md +467 -0
  208. package/templates/claude/skills/databases/references/postgresql-queries.md +475 -0
  209. package/templates/claude/skills/databases/scripts/db_backup.py +502 -0
  210. package/templates/claude/skills/databases/scripts/db_migrate.py +414 -0
  211. package/templates/claude/skills/databases/scripts/db_performance_check.py +445 -0
  212. package/templates/claude/skills/debugging/SKILL.md +84 -0
  213. package/templates/claude/skills/debugging/references/defense-in-depth.md +124 -0
  214. package/templates/claude/skills/debugging/references/root-cause-tracing.md +122 -0
  215. package/templates/claude/skills/debugging/references/systematic-debugging.md +102 -0
  216. package/templates/claude/skills/debugging/references/verification.md +123 -0
  217. package/templates/claude/skills/debugging/scripts/find-polluter.sh +63 -0
  218. package/templates/claude/skills/debugging/scripts/find-polluter.test.md +102 -0
  219. package/templates/claude/skills/devops/SKILL.md +293 -0
  220. package/templates/claude/skills/devops/references/browser-rendering.md +305 -0
  221. package/templates/claude/skills/devops/references/cloudflare-d1-kv.md +123 -0
  222. package/templates/claude/skills/devops/references/cloudflare-platform.md +271 -0
  223. package/templates/claude/skills/devops/references/cloudflare-r2-storage.md +280 -0
  224. package/templates/claude/skills/devops/references/cloudflare-workers-advanced.md +312 -0
  225. package/templates/claude/skills/devops/references/cloudflare-workers-apis.md +309 -0
  226. package/templates/claude/skills/devops/references/cloudflare-workers-basics.md +418 -0
  227. package/templates/claude/skills/devops/references/docker-basics.md +297 -0
  228. package/templates/claude/skills/devops/references/docker-compose.md +292 -0
  229. package/templates/claude/skills/devops/references/gcloud-platform.md +307 -0
  230. package/templates/claude/skills/devops/references/gcloud-services.md +304 -0
  231. package/templates/claude/skills/devops/scripts/cloudflare_deploy.py +269 -0
  232. package/templates/claude/skills/devops/scripts/docker_optimize.py +320 -0
  233. package/templates/claude/skills/docs-seeker/SKILL.md +95 -0
  234. package/templates/claude/skills/docs-seeker/package.json +24 -0
  235. package/templates/claude/skills/docs-seeker/references/advanced.md +78 -0
  236. package/templates/claude/skills/docs-seeker/references/context7-patterns.md +68 -0
  237. package/templates/claude/skills/docs-seeker/references/errors.md +68 -0
  238. package/templates/claude/skills/docs-seeker/scripts/analyze-llms-txt.js +245 -0
  239. package/templates/claude/skills/docs-seeker/scripts/detect-topic.js +172 -0
  240. package/templates/claude/skills/docs-seeker/scripts/fetch-docs.js +212 -0
  241. package/templates/claude/skills/docs-seeker/workflows/library-search.md +87 -0
  242. package/templates/claude/skills/docs-seeker/workflows/repo-analysis.md +91 -0
  243. package/templates/claude/skills/docs-seeker/workflows/topic-search.md +77 -0
  244. package/templates/claude/skills/frontend-design/SKILL.md +85 -0
  245. package/templates/claude/skills/frontend-design/references/analysis-best-practices.md +80 -0
  246. package/templates/claude/skills/frontend-design/references/analysis-prompts.md +141 -0
  247. package/templates/claude/skills/frontend-design/references/analysis-techniques.md +118 -0
  248. package/templates/claude/skills/frontend-design/references/animejs.md +396 -0
  249. package/templates/claude/skills/frontend-design/references/design-extraction-overview.md +71 -0
  250. package/templates/claude/skills/frontend-design/references/extraction-best-practices.md +141 -0
  251. package/templates/claude/skills/frontend-design/references/extraction-output-templates.md +162 -0
  252. package/templates/claude/skills/frontend-design/references/extraction-prompts.md +127 -0
  253. package/templates/claude/skills/frontend-design/references/technical-accessibility.md +119 -0
  254. package/templates/claude/skills/frontend-design/references/technical-best-practices.md +97 -0
  255. package/templates/claude/skills/frontend-design/references/technical-optimization.md +44 -0
  256. package/templates/claude/skills/frontend-design/references/technical-overview.md +90 -0
  257. package/templates/claude/skills/frontend-design/references/technical-workflows.md +150 -0
  258. package/templates/claude/skills/frontend-design/references/visual-analysis-overview.md +95 -0
  259. package/templates/claude/skills/frontend-development/SKILL.md +399 -0
  260. package/templates/claude/skills/frontend-development/resources/common-patterns.md +331 -0
  261. package/templates/claude/skills/frontend-development/resources/complete-examples.md +872 -0
  262. package/templates/claude/skills/frontend-development/resources/component-patterns.md +502 -0
  263. package/templates/claude/skills/frontend-development/resources/data-fetching.md +767 -0
  264. package/templates/claude/skills/frontend-development/resources/file-organization.md +502 -0
  265. package/templates/claude/skills/frontend-development/resources/loading-and-error-states.md +501 -0
  266. package/templates/claude/skills/frontend-development/resources/performance.md +406 -0
  267. package/templates/claude/skills/frontend-development/resources/routing-guide.md +364 -0
  268. package/templates/claude/skills/frontend-development/resources/styling-guide.md +428 -0
  269. package/templates/claude/skills/frontend-development/resources/typescript-standards.md +418 -0
  270. package/templates/claude/skills/markdown-novel-viewer/SKILL.md +272 -0
  271. package/templates/claude/skills/markdown-novel-viewer/assets/directory-browser.css +215 -0
  272. package/templates/claude/skills/markdown-novel-viewer/assets/favicon.png +0 -0
  273. package/templates/claude/skills/markdown-novel-viewer/assets/novel-theme.css +872 -0
  274. package/templates/claude/skills/markdown-novel-viewer/assets/reader.js +378 -0
  275. package/templates/claude/skills/markdown-novel-viewer/assets/template.html +85 -0
  276. package/templates/claude/skills/markdown-novel-viewer/package.json +15 -0
  277. package/templates/claude/skills/markdown-novel-viewer/scripts/lib/http-server.cjs +434 -0
  278. package/templates/claude/skills/markdown-novel-viewer/scripts/lib/markdown-renderer.cjs +335 -0
  279. package/templates/claude/skills/markdown-novel-viewer/scripts/lib/plan-navigator.cjs +509 -0
  280. package/templates/claude/skills/markdown-novel-viewer/scripts/lib/port-finder.cjs +49 -0
  281. package/templates/claude/skills/markdown-novel-viewer/scripts/lib/process-mgr.cjs +150 -0
  282. package/templates/claude/skills/markdown-novel-viewer/scripts/server.cjs +398 -0
  283. package/templates/claude/skills/mcp-builder/SKILL.md +328 -0
  284. package/templates/claude/skills/mcp-builder/reference/evaluation.md +602 -0
  285. package/templates/claude/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
  286. package/templates/claude/skills/mcp-builder/reference/node_mcp_server.md +916 -0
  287. package/templates/claude/skills/mcp-builder/reference/python_mcp_server.md +752 -0
  288. package/templates/claude/skills/mcp-builder/scripts/connections.py +151 -0
  289. package/templates/claude/skills/mcp-builder/scripts/evaluation.py +381 -0
  290. package/templates/claude/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  291. package/templates/claude/skills/mcp-builder/scripts/requirements.txt +2 -0
  292. package/templates/claude/skills/mcp-management/README.md +219 -0
  293. package/templates/claude/skills/mcp-management/SKILL.md +209 -0
  294. package/templates/claude/skills/mcp-management/assets/tools.json +3146 -0
  295. package/templates/claude/skills/mcp-management/references/configuration.md +114 -0
  296. package/templates/claude/skills/mcp-management/references/gemini-cli-integration.md +209 -0
  297. package/templates/claude/skills/mcp-management/references/mcp-protocol.md +116 -0
  298. package/templates/claude/skills/mcp-management/scripts/.env.example +10 -0
  299. package/templates/claude/skills/mcp-management/scripts/cli.ts +202 -0
  300. package/templates/claude/skills/mcp-management/scripts/mcp-client.ts +247 -0
  301. package/templates/claude/skills/mcp-management/scripts/package.json +20 -0
  302. package/templates/claude/skills/mcp-management/scripts/tsconfig.json +15 -0
  303. package/templates/claude/skills/media-processing/SKILL.md +91 -0
  304. package/templates/claude/skills/media-processing/references/common-workflows.md +132 -0
  305. package/templates/claude/skills/media-processing/references/ffmpeg-encoding.md +358 -0
  306. package/templates/claude/skills/media-processing/references/ffmpeg-filters.md +503 -0
  307. package/templates/claude/skills/media-processing/references/ffmpeg-streaming.md +395 -0
  308. package/templates/claude/skills/media-processing/references/format-compatibility.md +375 -0
  309. package/templates/claude/skills/media-processing/references/imagemagick-batch.md +612 -0
  310. package/templates/claude/skills/media-processing/references/imagemagick-editing.md +623 -0
  311. package/templates/claude/skills/media-processing/references/rmbg-background-removal.md +66 -0
  312. package/templates/claude/skills/media-processing/references/troubleshooting.md +109 -0
  313. package/templates/claude/skills/media-processing/scripts/README.md +102 -0
  314. package/templates/claude/skills/media-processing/scripts/batch-remove-background.sh +124 -0
  315. package/templates/claude/skills/media-processing/scripts/batch_resize.py +342 -0
  316. package/templates/claude/skills/media-processing/scripts/media_convert.py +311 -0
  317. package/templates/claude/skills/media-processing/scripts/remove-background.sh +96 -0
  318. package/templates/claude/skills/media-processing/scripts/remove-bg-node.js +181 -0
  319. package/templates/claude/skills/mermaidjs-v11/SKILL.md +115 -0
  320. package/templates/claude/skills/mermaidjs-v11/references/cli-usage.md +228 -0
  321. package/templates/claude/skills/mermaidjs-v11/references/configuration.md +232 -0
  322. package/templates/claude/skills/mermaidjs-v11/references/diagram-types.md +315 -0
  323. package/templates/claude/skills/mermaidjs-v11/references/examples.md +344 -0
  324. package/templates/claude/skills/mermaidjs-v11/references/integration.md +310 -0
  325. package/templates/claude/skills/planning/SKILL.md +115 -0
  326. package/templates/claude/skills/planning/references/codebase-understanding.md +62 -0
  327. package/templates/claude/skills/planning/references/output-standards.md +127 -0
  328. package/templates/claude/skills/planning/references/plan-organization.md +150 -0
  329. package/templates/claude/skills/planning/references/research-phase.md +49 -0
  330. package/templates/claude/skills/planning/references/solution-design.md +63 -0
  331. package/templates/claude/skills/plans-kanban/SKILL.md +157 -0
  332. package/templates/claude/skills/plans-kanban/assets/dashboard-template.html +119 -0
  333. package/templates/claude/skills/plans-kanban/assets/dashboard.css +1594 -0
  334. package/templates/claude/skills/plans-kanban/assets/dashboard.js +659 -0
  335. package/templates/claude/skills/plans-kanban/assets/favicon.png +0 -0
  336. package/templates/claude/skills/plans-kanban/package.json +13 -0
  337. package/templates/claude/skills/plans-kanban/scripts/lib/dashboard-renderer.cjs +941 -0
  338. package/templates/claude/skills/plans-kanban/scripts/lib/http-server.cjs +310 -0
  339. package/templates/claude/skills/plans-kanban/scripts/lib/plan-metadata-extractor.cjs +489 -0
  340. package/templates/claude/skills/plans-kanban/scripts/lib/plan-parser.cjs +194 -0
  341. package/templates/claude/skills/plans-kanban/scripts/lib/plan-scanner.cjs +277 -0
  342. package/templates/claude/skills/plans-kanban/scripts/lib/port-finder.cjs +49 -0
  343. package/templates/claude/skills/plans-kanban/scripts/lib/process-mgr.cjs +128 -0
  344. package/templates/claude/skills/plans-kanban/scripts/server.cjs +249 -0
  345. package/templates/claude/skills/problem-solving/SKILL.md +96 -0
  346. package/templates/claude/skills/problem-solving/references/attribution.md +69 -0
  347. package/templates/claude/skills/problem-solving/references/collision-zone-thinking.md +79 -0
  348. package/templates/claude/skills/problem-solving/references/inversion-exercise.md +91 -0
  349. package/templates/claude/skills/problem-solving/references/meta-pattern-recognition.md +87 -0
  350. package/templates/claude/skills/problem-solving/references/scale-game.md +95 -0
  351. package/templates/claude/skills/problem-solving/references/simplification-cascades.md +80 -0
  352. package/templates/claude/skills/problem-solving/references/when-stuck.md +72 -0
  353. package/templates/claude/skills/registry.json +258 -0
  354. package/templates/claude/skills/repomix/SKILL.md +247 -0
  355. package/templates/claude/skills/repomix/references/configuration.md +211 -0
  356. package/templates/claude/skills/repomix/references/usage-patterns.md +232 -0
  357. package/templates/claude/skills/repomix/scripts/README.md +179 -0
  358. package/templates/claude/skills/repomix/scripts/repomix_batch.py +455 -0
  359. package/templates/claude/skills/repomix/scripts/repos.example.json +15 -0
  360. package/templates/claude/skills/research/SKILL.md +168 -0
  361. package/templates/claude/skills/sequential-thinking/.env.example +8 -0
  362. package/templates/claude/skills/sequential-thinking/README.md +183 -0
  363. package/templates/claude/skills/sequential-thinking/SKILL.md +94 -0
  364. package/templates/claude/skills/sequential-thinking/package.json +31 -0
  365. package/templates/claude/skills/sequential-thinking/references/advanced-strategies.md +79 -0
  366. package/templates/claude/skills/sequential-thinking/references/advanced-techniques.md +76 -0
  367. package/templates/claude/skills/sequential-thinking/references/core-patterns.md +95 -0
  368. package/templates/claude/skills/sequential-thinking/references/examples-api.md +88 -0
  369. package/templates/claude/skills/sequential-thinking/references/examples-architecture.md +94 -0
  370. package/templates/claude/skills/sequential-thinking/references/examples-debug.md +90 -0
  371. package/templates/claude/skills/sequential-thinking/scripts/format-thought.js +182 -0
  372. package/templates/claude/skills/sequential-thinking/scripts/process-thought.js +252 -0
  373. package/templates/claude/skills/skill-creator/LICENSE.txt +202 -0
  374. package/templates/claude/skills/skill-creator/SKILL.md +266 -0
  375. package/templates/claude/skills/skill-creator/references/agent-skills-spec.md +51 -0
  376. package/templates/claude/skills/skill-creator/scripts/encoding_utils.py +21 -0
  377. package/templates/claude/skills/skill-creator/scripts/init_skill.py +304 -0
  378. package/templates/claude/skills/skill-creator/scripts/package_skill.py +110 -0
  379. package/templates/claude/skills/skill-creator/scripts/quick_validate.py +66 -0
  380. package/templates/claude/skills/template-skill/SKILL.md +6 -0
  381. package/templates/claude/skills/vitest/SKILL.md +595 -0
  382. package/templates/claude/skills/vitest/references/async-patterns.md +82 -0
  383. package/templates/claude/skills/vitest/references/mock-patterns.md +78 -0
  384. package/templates/claude/skills/vitest/references/monorepo-setup.md +185 -0
  385. package/templates/claude/skills/vitest/references/turborepo-setup.md +332 -0
  386. package/templates/claude/skills/web-frameworks/SKILL.md +324 -0
  387. package/templates/claude/skills/web-frameworks/references/nextjs-app-router.md +465 -0
  388. package/templates/claude/skills/web-frameworks/references/nextjs-data-fetching.md +459 -0
  389. package/templates/claude/skills/web-frameworks/references/nextjs-optimization.md +511 -0
  390. package/templates/claude/skills/web-frameworks/references/nextjs-server-components.md +495 -0
  391. package/templates/claude/skills/web-frameworks/references/remix-icon-integration.md +603 -0
  392. package/templates/claude/skills/web-frameworks/references/turborepo-caching.md +551 -0
  393. package/templates/claude/skills/web-frameworks/references/turborepo-pipelines.md +517 -0
  394. package/templates/claude/skills/web-frameworks/references/turborepo-setup.md +542 -0
  395. package/templates/claude/skills/web-frameworks/scripts/nextjs_init.py +547 -0
  396. package/templates/claude/skills/web-frameworks/scripts/turborepo_migrate.py +394 -0
  397. package/templates/claude/workflows/development-rules.md +40 -0
  398. package/templates/claude/workflows/documentation-management.md +121 -0
  399. package/templates/claude/workflows/orchestration-protocol.md +16 -0
  400. package/templates/claude/workflows/primary-workflow.md +45 -0
  401. package/templates/claude/workflows/registry.json +37 -0
  402. package/templates/common/.cct.json +41 -0
  403. package/templates/common/.cctkignore +22 -0
  404. package/templates/common/.env.example +39 -0
  405. package/templates/common/.mcp.json.example +16 -0
  406. package/templates/common/metadata.json +15 -0
  407. package/templates/common/settings.json +79 -0
  408. package/templates/common/statusline.cjs +271 -0
  409. package/templates/config/.repomixignore +22 -0
  410. package/templates/config/AGENTS.md +55 -0
  411. package/templates/config/CLAUDE.md +87 -0
  412. package/templates/plans/bug-fix-template.md +69 -0
  413. package/templates/plans/feature-implementation-template.md +84 -0
  414. package/templates/plans/refactor-template.md +82 -0
  415. package/templates/plans/template-usage-guide.md +58 -0
@@ -0,0 +1,37 @@
1
+ Enable or disable coding level guidelines for expert-level output.
2
+
3
+ ## Usage
4
+
5
+ Set `codingLevel` in `.claude/.cctk.json`:
6
+
7
+ ```json
8
+ {
9
+ "codingLevel": true,
10
+ ...
11
+ }
12
+ ```
13
+
14
+ To disable:
15
+ ```json
16
+ {
17
+ "codingLevel": false,
18
+ ...
19
+ }
20
+ ```
21
+
22
+ ## How It Works
23
+
24
+ 1. Set `codingLevel: true` in `.claude/.cctk.json`
25
+ 2. Guidelines are **automatically injected** on every session start
26
+ 3. No manual activation needed - it just works!
27
+
28
+ ## What It Does
29
+
30
+ When enabled, Claude will:
31
+ - Communicate at expert level - maximum efficiency
32
+ - Use precise technical terminology without over-explanation
33
+ - Skip basic concepts - assume deep understanding
34
+ - Focus on trade-offs, edge cases, and non-obvious implications
35
+ - Provide direct answers without unnecessary context
36
+ - Challenge assumptions and point out potential issues
37
+ - Optimize for signal-to-noise ratio
@@ -0,0 +1,41 @@
1
+ ---
2
+ description: Analyze the current content and optimize for conversion
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ You are an expert in conversion optimization. Analyze the content based on reported issues:
7
+ <issues>$ARGUMENTS</issues>
8
+
9
+ ## Conversion Optimization Framework
10
+
11
+ 1. Headline 4-U Formula: Useful, Unique, Urgent, Ultra-specific (80% won't read past this)
12
+ 2. Above-Fold Value Proposition: Customer problem focus, no company story, zero scroll required
13
+ 3. CTA First-Person Psychology: "Get MY Guide" vs "Get YOUR Guide" (90% more clicks)
14
+ 4. 5-Field Form Maximum: Every field kills conversions, progressive profiling for the rest
15
+ 5. Message Match Precision: Ad copy, landing page headline, broken promises = bounce
16
+ 6. Social Proof Near CTAs: Testimonials with faces/names, results, placed at decision points
17
+ 7. Cognitive Bias Stack: Loss aversion (fear), social proof (FOMO), anchoring (pricing)
18
+ 8. PAS Copy Framework: Problem > Agitate > Solve, emotion before logic
19
+ 9. Genuine Urgency Only: Real deadlines, actual limits, fake timers destroy trust forever
20
+ 10. Price Anchoring Display: Show expensive option first, make real price feel like relief
21
+ 11. Trust Signal Clustering: Security badges, guarantees, policies all visible together
22
+ 12. Visual Hierarchy F-Pattern: Eyes scan F-shape, put conversions in the path
23
+ 13. Lead Magnet Hierarchy: Templates > Checklists > Guides (instant > delayed gratification)
24
+ 14. Objection Preemption: Address top 3 concerns before they think them, FAQ near CTA
25
+ 15. Mobile Thumb Zone: CTAs where thumbs naturally rest, not stretching required
26
+ 16. One-Variable Testing: Change one thing, measure impact, compound wins over time
27
+ 17. Post-Conversion Momentum: Thank you page sells next step while excitement peaks
28
+ 18. Cart Recovery Sequence: Email in 1 hour, retarget in 4 hours, incentive at 24 hours
29
+ 19. Reading Level Grade 6: Smart people prefer simple, 11-word sentences, short paragraphs
30
+ 20. TOFU/MOFU/BOFU Logic: Awareness content ≠ decision content, match intent precisely
31
+ 21. White Space = Focus: Empty space makes CTAs impossible to miss, crowded = confused
32
+ 22. Benefit-First Language: Features tell, benefits sell, transformations compel
33
+ 23. Micro-Commitment Ladder: Small yes leads to big yes, start with email only
34
+ 24. Performance Tracking Stack: Heatmaps show problems, recordings show why, events show what
35
+ 25. Weekly Optimization Ritual: Review metrics Monday, test Tuesday, iterate or scale
36
+
37
+ ## Workflow
38
+
39
+ - If the user provides a URL, use `web_fetch` tool to fetch the content and analyze current issues.
40
+ - Use `/scout:ext` (preferred) or `/scout` (fallback) slash command to search the codebase for files needed to complete the task
41
+ - Use `copywriter` agent to write the enhanced copy into the code files, then report back to main agent.
@@ -0,0 +1,12 @@
1
+ ---
2
+ description: Analyze the current copy issues and enhance it
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ Enhance the copy based on reported issues:
7
+ <issues>$ARGUMENTS</issues>
8
+
9
+ ## Workflow
10
+
11
+ - Use `/scout:ext` (preferred) or `/scout` (fallback) slash command to search the codebase for files needed to complete the task
12
+ - Use `copywriter` agent to write the enhanced copy into the code files, then report back to main agent.
@@ -0,0 +1,11 @@
1
+ ---
2
+ description: Write creative & smart copy [FAST]
3
+ argument-hint: [user-request]
4
+ ---
5
+
6
+ Write creative & smart copy for this user request:
7
+ <user_request>$ARGUMENTS</user_request>
8
+
9
+ ## Workflow
10
+
11
+ - Use `copywriter` agent to write the copy, then report back to main agent.
@@ -0,0 +1,14 @@
1
+ ---
2
+ description: Write good creative & smart copy [GOOD]
3
+ argument-hint: [user-request]
4
+ ---
5
+
6
+ Write good creative & smart copy for this user request:
7
+ <user_request>$ARGUMENTS</user_request>
8
+
9
+ ## Workflow
10
+
11
+ - Use multiple `researcher` agents in parallel to search for relevant information, then report back to main agent.
12
+ - Use `/scout:ext` (preferred) or `/scout` (fallback) slash command to search the codebase for files needed to complete the task
13
+ - Use `planner` agent to plan the copy, make sure it can satisfy the user request.
14
+ - Use `copywriter` agent to write the copy based on the plan, then report back to main agent.
@@ -0,0 +1,26 @@
1
+ ---
2
+ description: ⚡ No research. Only scout, plan & implement ["trust me bro"]
3
+ argument-hint: [tasks-or-prompt]
4
+ ---
5
+
6
+ Think harder to plan & start working on these tasks follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules:
7
+ <tasks>$ARGUMENTS</tasks>
8
+
9
+ ---
10
+
11
+ ## Role Responsibilities
12
+ - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
13
+ - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
14
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
15
+ - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
16
+
17
+ ---
18
+
19
+ **IMPORTANT**: Analyze the list of skills at `.claude/skills/*` and intelligently activate the skills that are needed for the task during the process.
20
+ **Ensure token efficiency while maintaining high quality.**
21
+
22
+ ## Workflow:
23
+
24
+ - **Scout**: Use `scout` subagent to find related resources, documents, and code snippets in the current codebase.
25
+ - **Plan**: Trigger slash command `/plan:fast <detailed-instruction-prompt>` to create an implementation plan based on the reports from `scout` subagent.
26
+ - **Implementation**: Trigger slash command `/code "skip code review step" <plan-path-name>` to implement the plan.
@@ -0,0 +1,49 @@
1
+ ---
2
+ description: ⚡⚡⚡ Plan parallel phases & execute with fullstack-developer agents
3
+ argument-hint: [tasks]
4
+ ---
5
+
6
+ **Ultrathink parallel** to implement: <tasks>$ARGUMENTS</tasks>
7
+
8
+ **IMPORTANT:** Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
9
+
10
+ ## Workflow
11
+
12
+ ### 1. Research (Optional)
13
+ - Use max 2 `researcher` agents in parallel if tasks complex
14
+ - Use `/scout:ext` to search codebase
15
+ - Keep reports ≤150 lines
16
+
17
+ ### 2. Parallel Planning
18
+ - Trigger `/plan:parallel <detailed-instruction>`
19
+ - Wait for plan with dependency graph, execution strategy, file ownership matrix
20
+
21
+ ### 3. Parallel Implementation
22
+ - Read `plan.md` for dependency graph
23
+ - Launch multiple `fullstack-developer` agents in PARALLEL for concurrent phases
24
+ - Example: "Phases 1-3 parallel" → launch 3 agents simultaneously
25
+ - Pass phase file path: `{plan-dir}/phase-XX-*.md`
26
+ - Include environment info
27
+ - Wait for all parallel phases complete before dependent phases
28
+ - Sequential phases: launch one agent at a time
29
+
30
+ ### 4. Testing
31
+ - Use `tester` subagent for full test suite
32
+ - NO fake data/mocks/cheats
33
+ - If fail: use `debugger`, fix, repeat
34
+
35
+ ### 5. Code Review
36
+ - Use `code-reviewer` for all changes
37
+ - If critical issues: fix, retest
38
+
39
+ ### 6. Project Management & Docs
40
+ - If approved: use `project-manager` + `docs-manager` in parallel
41
+ - Update plan files, docs, roadmap
42
+ - If rejected: fix and repeat
43
+
44
+ ### 7. Final Report
45
+ - Summary of all parallel phases
46
+ - Guide to get started
47
+ - Ask to commit (use `git-manager` if yes)
48
+
49
+ **Example:** Phases 1-3 parallel → Launch 3 fullstack-developer agents → Wait → Phase 4 sequential
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: ⚡⚡ Implement a feature automatically ("trust me bro")
3
+ argument-hint: [tasks]
4
+ ---
5
+
6
+ **Ultrathink** to plan & start working on these tasks follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules:
7
+ <tasks>$ARGUMENTS</tasks>
8
+
9
+ **IMPORTANT:** Analyze the list of skills at `.claude/skills/*` and intelligently activate the skills that are needed for the task during the process.
10
+ **Ensure token efficiency while maintaining high quality.**
11
+
12
+ ## Workflow:
13
+ 1. Trigger slash command `/plan <detailed-instruction-prompt>` to create an implementation plan based on the given tasks.
14
+ 2. Trigger slash command `/code <plan>` to implement the plan.
15
+ 3. Finally use `AskUserQuestion` tool to ask user if he wants to commit to git repository, if yes trigger `/git:cm` slash command to create a commit.
@@ -0,0 +1,101 @@
1
+ ---
2
+ description: ⚡⚡⚡ Implement a feature [step by step]
3
+ argument-hint: [tasks]
4
+ ---
5
+
6
+ Think harder to plan & start working on these tasks follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules:
7
+ <tasks>$ARGUMENTS</tasks>
8
+
9
+ ---
10
+
11
+ ## Role Responsibilities
12
+ - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
13
+ - Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your subagents to implement the plan.
14
+ - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
15
+
16
+ ---
17
+
18
+ ## Your Approach
19
+
20
+ 1. **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
21
+
22
+ 2. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes. Use `AskUserQuestion` tool to ask the user for their preferences.
23
+
24
+ 3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Use `AskUserQuestion` tool to ask the user for their preferences.
25
+
26
+ 4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Use `AskUserQuestion` tool to ask the user for their preferences.
27
+
28
+ 5. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
29
+
30
+ ---
31
+
32
+ ## Workflow:
33
+
34
+ ### Fullfill the request
35
+
36
+ * If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
37
+ * Ask 1 question at a time, wait for the user to answer before moving to the next question.
38
+ * If you don't have any questions, start the next step.
39
+
40
+ **IMPORTANT:** Analyze the list of skills at `.claude/skills/*` and intelligently activate the skills that are needed for the task during the process.
41
+
42
+ ### Research
43
+
44
+ * Use multiple `researcher` subagents in parallel to explore the user's request, idea validation, challenges, and find the best possible solutions.
45
+ * Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
46
+ * Use `/scout:ext` (preferred) or `/scout` (fallback) slash command to search the codebase for files needed to complete the task
47
+
48
+ ### Plan
49
+
50
+ *. Use `planner` subagent to analyze reports from `researcher` and `scout` subagents to create an implementation plan using the progressive disclosure structure:
51
+ - Create a directory using naming pattern from `## Naming` section.
52
+ - Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
53
+ - For each phase, add `phase-XX-phase-name.md` files containing sections (Context links, Overview with date/priority/statuses, Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps).
54
+
55
+ ### Implementation
56
+
57
+ * Use `/code` Slash Command to implement the plan step by step, follow the implementation plan in `./plans` directory.
58
+ * Use `ui-ux-designer` subagent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
59
+ * Use `media-processing` skill for image editing (crop, resize, remove background) if needed.
60
+ * Run type checking and compile the code command to make sure there are no syntax errors.
61
+
62
+ ### Testing
63
+
64
+ * Write the tests for the plan, **make sure you don't use fake data, mocks, cheats, tricks, temporary solutions, just to pass the build or github actions**, tests should be real and cover all possible cases.
65
+ * Use `tester` subagent to run the tests, make sure it works, then report back to main agent.
66
+ * If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then ask main agent to fix all of them and
67
+ * Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
68
+
69
+ ### Code Review
70
+
71
+ * After finishing, delegate to `code-reviewer` subagent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again.
72
+ * Repeat the "Testing" process until all tests pass.
73
+ * When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
74
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
75
+
76
+ ### Project Management & Documentation
77
+
78
+ **If user approves the changes:**
79
+ * Use `project-manager` and `docs-manager` subagents in parallel to update the project progress and documentation:
80
+ * Use `project-manager` subagent to update the project progress and task status in the given plan file.
81
+ * Use `docs-manager` subagent to update the docs in `./docs` directory if needed.
82
+ * Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file.
83
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
84
+
85
+ **If user rejects the changes:**
86
+ * Ask user to explain the issues and ask main agent to fix all of them and repeat the process.
87
+
88
+ ### Onboarding
89
+
90
+ * Instruct the user to get started with the feature if needed (for example: grab the API key, set up the environment variables, etc).
91
+ * Help the user to configure (if needed) step by step, ask 1 question at a time, wait for the user to answer and take the answer to set up before moving to the next question.
92
+ * If user requests to change the configuration, repeat the previous step until the user approves the configuration.
93
+
94
+ ### Final Report
95
+ * Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
96
+ * Ask the user if they want to commit and push to git repository, if yes, use `git-manager` subagent to commit and push to git repository.
97
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
98
+ - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
99
+
100
+ **REMEMBER**:
101
+ - For image editing (removing background, adjusting, cropping), use ImageMagick or similar tools as needed.
@@ -0,0 +1,13 @@
1
+ ---
2
+ description: ⚡⚡ Debugging technical issues and providing solutions.
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ **Reported Issues**:
7
+ $ARGUMENTS
8
+
9
+ Use the `debugger` subagent to find the root cause of the issues, then analyze and explain the reports to the user.
10
+
11
+ **IMPORTANT**: **Do not** implement the fix automatically.
12
+ **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
13
+ **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
@@ -0,0 +1,37 @@
1
+ ---
2
+ description: ⚡⚡⚡⚡ Analyze the codebase and create initial documentation
3
+ ---
4
+
5
+ ## Phase 1: Parallel Codebase Scouting
6
+
7
+ 1. Scan the codebase and calculate the number of files with LOC in each directory (skip credentials, cache or external modules directories, such as `.claude`, `.opencode`, `.git`, `tests`, `node_modules`, `__pycache__`, `secrets`, etc.)
8
+ 2. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
9
+ 3. Main agent spawns multiple `scout` subagents via Task tool:
10
+ - Write a detailed instructions prompt for each scout subagent with exact directories or files it should read
11
+ - Each scout subagent has less than 200K tokens of context window
12
+ - Amount of scouts depends on the current system resources available and project size in step 1
13
+ - Each scout subagent must return a detailed summary report to a main agent
14
+ 5. Main agent merges scout reports into context summary and delegate to `docs-manager` agent to update documentation (next phase)
15
+
16
+ ## Phase 2: Documentation Creation (docs-manager Agent)
17
+
18
+ Pass the gathered file list to `docs-manager` agent to create initial documentation:
19
+ - `docs/project-overview-pdr.md`: Project overview and PDR (Product Development Requirements)
20
+ - `docs/codebase-summary.md`: Codebase summary
21
+ - `docs/code-standards.md`: Codebase structure and code standards
22
+ - `docs/system-architecture.md`: System architecture
23
+ - Update `README.md` with initial documentation (keep it under 300 lines)
24
+
25
+ Use `docs/` directory as the source of truth for documentation.
26
+
27
+ ## Phase 3: Size Check (Post-Generation)
28
+
29
+ After docs-manager completes:
30
+ 1. Run `wc -l docs/*.md 2>/dev/null | sort -rn` to check LOC
31
+ 2. Use `docs.maxLoc` from session context (default: 800)
32
+ 3. For files exceeding limit:
33
+ - Report which files exceed and by how much
34
+ - docs-manager should have already split proactively per Section 6 guidelines
35
+ - If still oversized, ask user: split now or accept as-is?
36
+
37
+ **IMPORTANT**: **Do not** start implementing.
@@ -0,0 +1,22 @@
1
+ ---
2
+ description: ⚡ Analyze the codebase and update documentation
3
+ argument-hint: [focused-topics] [should-scan-codebase]
4
+ ---
5
+
6
+ Use `docs-manager` agent to analyze the codebase based on `docs/codebase-summary.md` and respond with a summary report.
7
+
8
+ ## Arguments:
9
+ $1: Focused topics (default: all)
10
+ $2: Should scan codebase (`Boolean`, default: `false`)
11
+
12
+ ## Focused Topics:
13
+ <focused_topics>$1</focused_topics>
14
+
15
+ ## Should Scan Codebase:
16
+ <should_scan_codebase>$2</should_scan_codebase>
17
+
18
+ ## Important:
19
+ - Use `docs/` directory as the source of truth for documentation.
20
+ - Do not scan the entire codebase unless the user explicitly requests it.
21
+
22
+ **IMPORTANT**: **Do not** start implementing.
@@ -0,0 +1,78 @@
1
+ ---
2
+ description: ⚡⚡⚡ Analyze the codebase and update documentation
3
+ ---
4
+
5
+ ## Phase 1: Parallel Codebase Scouting
6
+
7
+ 1. Scan the codebase and calculate the number of files with LOC in each directory (skip credentials, cache or external modules directories, such as `.claude`, `.opencode`, `.git`, `tests`, `node_modules`, `__pycache__`, `secrets`, etc.)
8
+ 2. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
9
+ 3. Main agent spawns multiple `scout` subagents via Task tool:
10
+ - Write a detailed instructions prompt for each scout subagent with exact directories or files it should read
11
+ - Each scout subagent has less than 200K tokens of context window
12
+ - Amount of scouts depends on the current system resources available and project size in step 1
13
+ - Each scout subagent must return a detailed summary report to a main agent
14
+ 5. Main agent merges scout reports into context summary and delegate to `docs-manager` agent to update documentation (next phase)
15
+
16
+ ## Phase 1.5: Parallel Documentation Reading
17
+
18
+ **You (main agent) must spawn readers** - subagents cannot spawn subagents.
19
+
20
+ 1. Count docs: `ls docs/*.md 2>/dev/null | wc -l`
21
+ 2. Get LOC: `wc -l docs/*.md 2>/dev/null | sort -rn`
22
+ 3. Strategy:
23
+ - 1-3 files: Skip parallel reading, docs-manager reads directly
24
+ - 4-6 files: Spawn 2-3 `Explore` agents
25
+ - 7+ files: Spawn 4-5 `Explore` agents (max 5)
26
+ 4. Distribute files by LOC (larger files get dedicated agent)
27
+ 5. Each agent prompt: "Read these docs, extract: purpose, key sections, areas needing update. Files: {list}"
28
+ 6. Merge results into context for docs-manager
29
+
30
+ ### Workload Distribution Example
31
+
32
+ | Agent | Files | Est. LOC |
33
+ |-------|-------|----------|
34
+ | 1 | codebase-summary.md (800) | 800 |
35
+ | 2 | system-architecture.md (400), code-standards.md (300) | 700 |
36
+ | 3 | project-overview-pdr.md (500), project-roadmap.md (200) | 700 |
37
+
38
+ ## Phase 2: Documentation Update (docs-manager Agent)
39
+
40
+ Pass the gathered file list to `docs-manager` agent to update documentation:
41
+ - `README.md`: Update README (keep it under 300 lines)
42
+ - `docs/project-overview-pdr.md`: Update project overview and PDR (Product Development Requirements)
43
+ - `docs/codebase-summary.md`: Update codebase summary
44
+ - `docs/code-standards.md`: Update codebase structure and code standards
45
+ - `docs/system-architecture.md`: Update system architecture
46
+ - `docs/project-roadmap.md`: Update project roadmap
47
+ - `docs/deployment-guide.md` [optional]: Update deployment guide
48
+ - `docs/design-guidelines.md` [optional]: Update design guidelines
49
+
50
+ ## Additional requests
51
+ <additional_requests>
52
+ $ARGUMENTS
53
+ </additional_requests>
54
+
55
+ ## Phase 3: Size Check (Post-Update)
56
+
57
+ After docs-manager completes:
58
+ 1. Run `wc -l docs/*.md 2>/dev/null | sort -rn` to check LOC
59
+ 2. Use `docs.maxLoc` from session context (default: 800)
60
+ 3. For files exceeding limit:
61
+ - Report which files exceed and by how much
62
+ - docs-manager should have already split proactively per Section 6 guidelines
63
+ - If still oversized, ask user: split now or accept as-is?
64
+
65
+ ## Phase 4: Documentation Validation (Post-Update)
66
+
67
+ Run validation to detect potential hallucinations:
68
+ 1. Run: `node .claude/scripts/validate-docs.cjs docs/`
69
+ 2. Display validation report (warnings only, non-blocking)
70
+ 3. Checks performed:
71
+ - Code references: Verify `functionName()` and `ClassName` exist in codebase
72
+ - Internal links: Verify `[text](./path.md)` links point to existing files
73
+ - Config keys: Verify `ENV_VAR` mentioned in docs exist in `.env.example`
74
+
75
+ ## Important
76
+ - Use `docs/` directory as the source of truth for documentation.
77
+
78
+ **IMPORTANT**: **Do not** start implementing.
@@ -0,0 +1,17 @@
1
+ ---
2
+ description: ⚡ Analyze Github Actions logs and fix issues
3
+ argument-hint: [github-actions-url]
4
+ ---
5
+
6
+ ## Github Actions URL
7
+ <url>$ARGUMENTS</url>
8
+
9
+ ## Workflow
10
+ 1. Use `debugger` subagent to read the github actions logs with `gh` command, analyze and find the root cause of the issues and report back to main agent.
11
+ 2. Start implementing the fix based the reports and solutions.
12
+ 3. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
13
+ 4. If there are issues or failed tests, repeat from step 2.
14
+ 5. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
15
+
16
+ ## Notes
17
+ - If `gh` command is not available, instruct the user to install and authorize GitHub CLI first.
@@ -0,0 +1,18 @@
1
+ ---
2
+ description: ⚡ Analyze and fix small issues [FAST]
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ Analyze the skills catalog and activate the skills that are needed for the task during the process.
7
+
8
+ ## Mission
9
+ **Think hard** to analyze and fix these issues:
10
+ <issues>$ARGUMENTS</issues>
11
+
12
+ ## Workflow
13
+ 1. Use `debugger` subagent to find the root cause of the issues and report back to main agent.
14
+ 2. Activate `debugging` skills and `problem-solving` skills to tackle the issues.
15
+ 3. Start implementing the fix based the reports and solutions.
16
+ 4. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
17
+ 5. If there are issues or failed tests, repeat from step 1.
18
+ 6. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
@@ -0,0 +1,35 @@
1
+ ---
2
+ description: ⚡⚡⚡ Use subagents to plan and fix hard issues
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ **Ultrathink** to plan & start fixing these issues follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules:
7
+ <issues>$ARGUMENTS</issues>
8
+
9
+ ## Workflow:
10
+
11
+ ### Fullfill the request
12
+ **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
13
+
14
+ * If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
15
+ * Ask 1 question at a time, wait for the user to answer before moving to the next question.
16
+ * If you don't have any questions, start the next step.
17
+
18
+ ### Fix the issue
19
+
20
+ Use `sequential-thinking` skill to break complex problems into sequential thought steps.
21
+ Use `problem-solving` skills to tackle the issues.
22
+ Analyze the skills catalog and activate other skills that are needed for the task during the process.
23
+
24
+ 1. Use `debugger` subagent to find the root cause of the issues and report back to main agent.
25
+ 2. Use `researcher` subagent to research quickly about the root causes on the internet (if needed) and report back to main agent.
26
+ 3. Use `planner` subagent to create an implementation plan based on the reports, then report back to main agent.
27
+ 4. Then use `/code` SlashCommand to implement the plan step by step.
28
+ 5. Final Report:
29
+ * Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
30
+ * Ask the user if they want to commit and push to git repository, if yes, use `git-manager` subagent to commit and push to git repository.
31
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
32
+ - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
33
+
34
+ **REMEMBER**:
35
+ - For image editing (removing background, adjusting, cropping), use `ImageMagick` skill or similar tools as needed.
@@ -0,0 +1,26 @@
1
+ ---
2
+ description: ⚡ Analyze logs and fix issues
3
+ argument-hint: [issue]
4
+ ---
5
+
6
+ **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
7
+
8
+ ## Mission
9
+ <issue>$ARGUMENTS</issue>
10
+
11
+ ## Workflow
12
+ 1. Check if `./logs.txt` exists:
13
+ - If missing, set up permanent log piping in project's script config (`package.json`, `Makefile`, `pyproject.toml`, etc.):
14
+ - **Bash/Unix**: append `2>&1 | tee logs.txt`
15
+ - **PowerShell**: append `*>&1 | Tee-Object logs.txt`
16
+ - Run the command to generate logs
17
+ 2. Use `debugger` subagent to analyze `./logs.txt` and find root causes:
18
+ - Use `Grep` with `head_limit: 30` to read only last 30 lines (avoid loading entire file)
19
+ - If insufficient context, increase `head_limit` as needed
20
+ 3. Use `scout` subagent to analyze the codebase and find the exact location of the issues, then report back to main agent.
21
+ 4. Use `planner` subagent to create an implementation plan based on the reports, then report back to main agent.
22
+ 5. Start implementing the fix based the reports and solutions.
23
+ 6. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
24
+ 7. Use `code-reviewer` subagent to quickly review the code changes and make sure it meets requirements, then report back to main agent.
25
+ 8. If there are issues or failed tests, repeat from step 3.
26
+ 9. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
@@ -0,0 +1,54 @@
1
+ ---
2
+ description: ⚡⚡ Analyze & fix issues with parallel fullstack-developer agents
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ **Ultrathink parallel** to fix: <issues>$ARGUMENTS</issues>
7
+
8
+ **IMPORTANT:** Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
9
+
10
+ ## Workflow
11
+
12
+ ### 1. Issue Analysis
13
+ - Use `debugger` subagent to analyze root causes
14
+ - Use `/scout:ext` to find related files
15
+ - Categorize issues by scope/area (frontend, backend, auth, payments, etc.)
16
+ - Identify dependencies between issues
17
+
18
+ ### 2. Parallel Fix Planning
19
+ - Trigger `/plan:parallel <detailed-fix-instructions>` for parallel-executable fix plan
20
+ - Wait for plan with dependency graph, execution strategy, file ownership matrix
21
+ - Group independent fixes for parallel execution
22
+ - Sequential fixes for dependent issues
23
+
24
+ ### 3. Parallel Fix Implementation
25
+ - Read `plan.md` for dependency graph
26
+ - Launch multiple `fullstack-developer` agents in PARALLEL for independent fixes
27
+ - Example: "Fix auth + Fix payments + Fix UI" → launch 3 agents simultaneously
28
+ - Pass phase file path: `{plan-dir}/phase-XX-*.md`
29
+ - Include environment info
30
+ - Wait for all parallel fixes complete before dependent fixes
31
+ - Sequential fixes: launch one agent at a time
32
+
33
+ ### 4. Testing
34
+ - Use `tester` subagent for full test suite
35
+ - NO fake data/mocks/cheats
36
+ - Verify all issues resolved
37
+ - If fail: use `debugger`, fix, repeat
38
+
39
+ ### 5. Code Review
40
+ - Use `code-reviewer` for all changes
41
+ - Verify fixes don't introduce regressions
42
+ - If critical issues: fix, retest
43
+
44
+ ### 6. Project Management & Docs
45
+ - If approved: use `project-manager` + `docs-manager` in parallel
46
+ - Update plan files, docs, roadmap
47
+ - If rejected: fix and repeat
48
+
49
+ ### 7. Final Report
50
+ - Summary of all fixes from parallel phases
51
+ - Verification status per issue
52
+ - Ask to commit (use `git-manager` if yes)
53
+
54
+ **Example:** Fix 1 (auth) + Fix 2 (payments) + Fix 3 (UI) → Launch 3 fullstack-developer agents → Wait → Fix 4 (integration) sequential
@@ -0,0 +1,20 @@
1
+ ---
2
+ description: ⚡⚡ Run test suite and fix issues
3
+ argument-hint: [issues]
4
+ ---
5
+
6
+ Analyze the skills catalog and activate the skills that are needed for the task during the process.
7
+
8
+ ## Reported Issues:
9
+ <issues>$ARGUMENTS</issues>
10
+
11
+ ## Workflow:
12
+ 1. Use `tester` subagent to compile the code and fix all syntax errors if any.
13
+ 2. Use `tester` subagent to run the tests and report back to main agent.
14
+ 3. If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then report back to main agent.
15
+ 4. Use `planner` subagent to create an implementation plan based on the reports, then report back to main agent.
16
+ 5. Use main agent to implement the plan step by step.
17
+ 6. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
18
+ 6. Use `code-reviewer` subagent to quickly review the code changes and make sure it meets requirements, then report back to main agent.
19
+ 7. If there are issues or failed tests, repeat from step 2.
20
+ 8. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.