@arthai/agents 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/README.md +123 -0
  2. package/VERSION +1 -0
  3. package/agents/ai-consultant.md +999 -0
  4. package/agents/architect.md +174 -0
  5. package/agents/code-reviewer.md +115 -0
  6. package/agents/competitive-analyst.md +688 -0
  7. package/agents/content-strategist.md +607 -0
  8. package/agents/design-studio-create.md +304 -0
  9. package/agents/design-studio-critique.md +258 -0
  10. package/agents/design-studio-think.md +79 -0
  11. package/agents/domain-hunter.md +519 -0
  12. package/agents/explore-light.md +52 -0
  13. package/agents/frontend.md +261 -0
  14. package/agents/gtm-expert.md +811 -0
  15. package/agents/meeting-prep.md +318 -0
  16. package/agents/ops.md +149 -0
  17. package/agents/product-manager.md +563 -0
  18. package/agents/python-backend.md +286 -0
  19. package/agents/qa-baseline-updater.md +45 -0
  20. package/agents/qa-challenger.md +97 -0
  21. package/agents/qa-domain.md +145 -0
  22. package/agents/qa-e2e.md +184 -0
  23. package/agents/qa-test-promoter.md +97 -0
  24. package/agents/qa.md +226 -0
  25. package/agents/setup.md +134 -0
  26. package/agents/sre.md +165 -0
  27. package/agents/stakeholder-reporter.md +94 -0
  28. package/agents/user-researcher.md +602 -0
  29. package/bin/cli.js +322 -0
  30. package/bundles/canvas.json +16 -0
  31. package/bundles/compass.json +16 -0
  32. package/bundles/counsel.json +31 -0
  33. package/bundles/cruise.json +11 -0
  34. package/bundles/forge.json +26 -0
  35. package/bundles/prime.json +10 -0
  36. package/bundles/prism.json +23 -0
  37. package/bundles/scalpel.json +17 -0
  38. package/bundles/sentinel.json +19 -0
  39. package/bundles/shield.json +14 -0
  40. package/bundles/spark.json +19 -0
  41. package/compiler.sh +305 -0
  42. package/dist/plugins/canvas/.claude-plugin/plugin.json +6 -0
  43. package/dist/plugins/canvas/agents/design-studio-create.md +304 -0
  44. package/dist/plugins/canvas/agents/design-studio-critique.md +258 -0
  45. package/dist/plugins/canvas/agents/design-studio-think.md +79 -0
  46. package/dist/plugins/canvas/agents/frontend.md +261 -0
  47. package/dist/plugins/canvas/skills/planning/SKILL.md +436 -0
  48. package/dist/plugins/compass/.claude-plugin/plugin.json +6 -0
  49. package/dist/plugins/compass/agents/content-strategist.md +607 -0
  50. package/dist/plugins/compass/agents/gtm-expert.md +811 -0
  51. package/dist/plugins/compass/agents/product-manager.md +563 -0
  52. package/dist/plugins/compass/agents/user-researcher.md +602 -0
  53. package/dist/plugins/compass/skills/planning/SKILL.md +436 -0
  54. package/dist/plugins/counsel/.claude-plugin/plugin.json +6 -0
  55. package/dist/plugins/counsel/agents/ai-consultant.md +999 -0
  56. package/dist/plugins/counsel/agents/competitive-analyst.md +688 -0
  57. package/dist/plugins/counsel/agents/meeting-prep.md +318 -0
  58. package/dist/plugins/counsel/agents/stakeholder-reporter.md +94 -0
  59. package/dist/plugins/counsel/hooks/check-deliverable.sh +65 -0
  60. package/dist/plugins/counsel/hooks/ensure-client-dir.sh +59 -0
  61. package/dist/plugins/counsel/hooks/hooks.json +28 -0
  62. package/dist/plugins/counsel/skills/client-discovery/SKILL.md +266 -0
  63. package/dist/plugins/counsel/skills/consulting/SKILL.md +282 -0
  64. package/dist/plugins/counsel/skills/deliverable-builder/SKILL.md +928 -0
  65. package/dist/plugins/counsel/skills/engagement-tracker/SKILL.md +380 -0
  66. package/dist/plugins/counsel/skills/market-research/SKILL.md +300 -0
  67. package/dist/plugins/counsel/skills/opportunity-map/SKILL.md +307 -0
  68. package/dist/plugins/counsel/skills/pitch-generator/SKILL.md +378 -0
  69. package/dist/plugins/counsel/skills/roi-calculator/SKILL.md +469 -0
  70. package/dist/plugins/counsel/skills/share/SKILL.md +211 -0
  71. package/dist/plugins/counsel/skills/solution-architect/SKILL.md +566 -0
  72. package/dist/plugins/counsel/skills/templates/SKILL.md +194 -0
  73. package/dist/plugins/counsel/skills/welcome/SKILL.md +136 -0
  74. package/dist/plugins/counsel/skills/wizard/SKILL.md +411 -0
  75. package/dist/plugins/cruise/.claude-plugin/plugin.json +6 -0
  76. package/dist/plugins/cruise/skills/autopilot/SKILL.md +425 -0
  77. package/dist/plugins/forge/.claude-plugin/plugin.json +6 -0
  78. package/dist/plugins/forge/agents/architect.md +174 -0
  79. package/dist/plugins/forge/agents/code-reviewer.md +115 -0
  80. package/dist/plugins/forge/agents/frontend.md +261 -0
  81. package/dist/plugins/forge/agents/product-manager.md +563 -0
  82. package/dist/plugins/forge/agents/python-backend.md +286 -0
  83. package/dist/plugins/forge/agents/qa.md +226 -0
  84. package/dist/plugins/forge/hooks/hooks.json +28 -0
  85. package/dist/plugins/forge/hooks/post-test-summary.sh +115 -0
  86. package/dist/plugins/forge/hooks/triage-router.sh +740 -0
  87. package/dist/plugins/forge/skills/implement/SKILL.md +532 -0
  88. package/dist/plugins/forge/skills/planning/SKILL.md +436 -0
  89. package/dist/plugins/forge/skills/pr/SKILL.md +275 -0
  90. package/dist/plugins/forge/skills/precheck/SKILL.md +159 -0
  91. package/dist/plugins/forge/skills/qa/SKILL.md +127 -0
  92. package/dist/plugins/forge/skills/review-pr/SKILL.md +367 -0
  93. package/dist/plugins/prime/.claude-plugin/plugin.json +6 -0
  94. package/dist/plugins/prime/agents/ai-consultant.md +999 -0
  95. package/dist/plugins/prime/agents/architect.md +174 -0
  96. package/dist/plugins/prime/agents/code-reviewer.md +115 -0
  97. package/dist/plugins/prime/agents/competitive-analyst.md +688 -0
  98. package/dist/plugins/prime/agents/content-strategist.md +607 -0
  99. package/dist/plugins/prime/agents/design-studio-create.md +304 -0
  100. package/dist/plugins/prime/agents/design-studio-critique.md +258 -0
  101. package/dist/plugins/prime/agents/design-studio-think.md +79 -0
  102. package/dist/plugins/prime/agents/explore-light.md +52 -0
  103. package/dist/plugins/prime/agents/frontend.md +261 -0
  104. package/dist/plugins/prime/agents/gtm-expert.md +811 -0
  105. package/dist/plugins/prime/agents/meeting-prep.md +318 -0
  106. package/dist/plugins/prime/agents/ops.md +149 -0
  107. package/dist/plugins/prime/agents/product-manager.md +563 -0
  108. package/dist/plugins/prime/agents/python-backend.md +286 -0
  109. package/dist/plugins/prime/agents/qa-baseline-updater.md +45 -0
  110. package/dist/plugins/prime/agents/qa-challenger.md +97 -0
  111. package/dist/plugins/prime/agents/qa-domain.md +145 -0
  112. package/dist/plugins/prime/agents/qa-e2e.md +184 -0
  113. package/dist/plugins/prime/agents/qa-test-promoter.md +97 -0
  114. package/dist/plugins/prime/agents/qa.md +226 -0
  115. package/dist/plugins/prime/agents/setup.md +134 -0
  116. package/dist/plugins/prime/agents/sre.md +165 -0
  117. package/dist/plugins/prime/agents/stakeholder-reporter.md +94 -0
  118. package/dist/plugins/prime/agents/user-researcher.md +602 -0
  119. package/dist/plugins/prime/hooks/check-deliverable.sh +65 -0
  120. package/dist/plugins/prime/hooks/ensure-client-dir.sh +59 -0
  121. package/dist/plugins/prime/hooks/hooks.json +184 -0
  122. package/dist/plugins/prime/hooks/post-deploy-health.sh +83 -0
  123. package/dist/plugins/prime/hooks/post-diff-test-compare.sh +125 -0
  124. package/dist/plugins/prime/hooks/post-edit-lint.sh +92 -0
  125. package/dist/plugins/prime/hooks/post-git-state.sh +54 -0
  126. package/dist/plugins/prime/hooks/post-merge-cleanup.sh +101 -0
  127. package/dist/plugins/prime/hooks/post-test-summary.sh +115 -0
  128. package/dist/plugins/prime/hooks/pre-bash-guard.sh +142 -0
  129. package/dist/plugins/prime/hooks/pre-edit-guard.sh +121 -0
  130. package/dist/plugins/prime/hooks/pre-task-context.sh +113 -0
  131. package/dist/plugins/prime/hooks/session-bootstrap.sh +379 -0
  132. package/dist/plugins/prime/hooks/session-end.sh +107 -0
  133. package/dist/plugins/prime/hooks/session-summary.sh +97 -0
  134. package/dist/plugins/prime/hooks/sync-agents.sh +269 -0
  135. package/dist/plugins/prime/hooks/triage-router.sh +740 -0
  136. package/dist/plugins/prime/skills/arth/SKILL.md +165 -0
  137. package/dist/plugins/prime/skills/autopilot/SKILL.md +425 -0
  138. package/dist/plugins/prime/skills/calibrate/SKILL.md +1807 -0
  139. package/dist/plugins/prime/skills/ci-fix/SKILL.md +293 -0
  140. package/dist/plugins/prime/skills/client-discovery/SKILL.md +266 -0
  141. package/dist/plugins/prime/skills/consulting/SKILL.md +282 -0
  142. package/dist/plugins/prime/skills/custom-domain/SKILL.md +261 -0
  143. package/dist/plugins/prime/skills/deliverable-builder/SKILL.md +928 -0
  144. package/dist/plugins/prime/skills/discord-ops/SKILL.md +125 -0
  145. package/dist/plugins/prime/skills/engagement-tracker/SKILL.md +380 -0
  146. package/dist/plugins/prime/skills/explore.md +43 -0
  147. package/dist/plugins/prime/skills/fix/SKILL.md +1058 -0
  148. package/dist/plugins/prime/skills/implement/SKILL.md +532 -0
  149. package/dist/plugins/prime/skills/incident/SKILL.md +910 -0
  150. package/dist/plugins/prime/skills/issue/SKILL.md +134 -0
  151. package/dist/plugins/prime/skills/market-research/SKILL.md +300 -0
  152. package/dist/plugins/prime/skills/onboard/SKILL.md +344 -0
  153. package/dist/plugins/prime/skills/opportunity-map/SKILL.md +307 -0
  154. package/dist/plugins/prime/skills/pitch-generator/SKILL.md +378 -0
  155. package/dist/plugins/prime/skills/planning/SKILL.md +436 -0
  156. package/dist/plugins/prime/skills/pr/SKILL.md +275 -0
  157. package/dist/plugins/prime/skills/precheck/SKILL.md +159 -0
  158. package/dist/plugins/prime/skills/qa/SKILL.md +127 -0
  159. package/dist/plugins/prime/skills/qa-incident/SKILL.md +54 -0
  160. package/dist/plugins/prime/skills/qa-learn/SKILL.md +47 -0
  161. package/dist/plugins/prime/skills/restart/SKILL.md +70 -0
  162. package/dist/plugins/prime/skills/review-pr/SKILL.md +367 -0
  163. package/dist/plugins/prime/skills/roi-calculator/SKILL.md +469 -0
  164. package/dist/plugins/prime/skills/scan/SKILL.md +232 -0
  165. package/dist/plugins/prime/skills/setup/SKILL.md +691 -0
  166. package/dist/plugins/prime/skills/share/SKILL.md +211 -0
  167. package/dist/plugins/prime/skills/solution-architect/SKILL.md +566 -0
  168. package/dist/plugins/prime/skills/sre/SKILL.md +362 -0
  169. package/dist/plugins/prime/skills/sync/SKILL.md +188 -0
  170. package/dist/plugins/prime/skills/templates/SKILL.md +194 -0
  171. package/dist/plugins/prime/skills/welcome/SKILL.md +136 -0
  172. package/dist/plugins/prime/skills/wizard/SKILL.md +411 -0
  173. package/dist/plugins/prism/.claude-plugin/plugin.json +6 -0
  174. package/dist/plugins/prism/agents/qa-baseline-updater.md +45 -0
  175. package/dist/plugins/prism/agents/qa-challenger.md +97 -0
  176. package/dist/plugins/prism/agents/qa-domain.md +145 -0
  177. package/dist/plugins/prism/agents/qa-e2e.md +184 -0
  178. package/dist/plugins/prism/agents/qa-test-promoter.md +97 -0
  179. package/dist/plugins/prism/agents/qa.md +226 -0
  180. package/dist/plugins/prism/hooks/hooks.json +26 -0
  181. package/dist/plugins/prism/hooks/post-diff-test-compare.sh +125 -0
  182. package/dist/plugins/prism/hooks/post-test-summary.sh +115 -0
  183. package/dist/plugins/prism/skills/qa/SKILL.md +127 -0
  184. package/dist/plugins/prism/skills/qa-incident/SKILL.md +54 -0
  185. package/dist/plugins/prism/skills/qa-learn/SKILL.md +47 -0
  186. package/dist/plugins/scalpel/.claude-plugin/plugin.json +6 -0
  187. package/dist/plugins/scalpel/agents/code-reviewer.md +115 -0
  188. package/dist/plugins/scalpel/hooks/hooks.json +26 -0
  189. package/dist/plugins/scalpel/hooks/pre-edit-guard.sh +121 -0
  190. package/dist/plugins/scalpel/skills/ci-fix/SKILL.md +293 -0
  191. package/dist/plugins/scalpel/skills/fix/SKILL.md +1058 -0
  192. package/dist/plugins/scalpel/skills/issue/SKILL.md +134 -0
  193. package/dist/plugins/sentinel/.claude-plugin/plugin.json +6 -0
  194. package/dist/plugins/sentinel/agents/ops.md +149 -0
  195. package/dist/plugins/sentinel/agents/sre.md +165 -0
  196. package/dist/plugins/sentinel/hooks/hooks.json +26 -0
  197. package/dist/plugins/sentinel/hooks/post-deploy-health.sh +83 -0
  198. package/dist/plugins/sentinel/hooks/post-git-state.sh +54 -0
  199. package/dist/plugins/sentinel/skills/incident/SKILL.md +910 -0
  200. package/dist/plugins/sentinel/skills/restart/SKILL.md +70 -0
  201. package/dist/plugins/sentinel/skills/sre/SKILL.md +362 -0
  202. package/dist/plugins/shield/.claude-plugin/plugin.json +6 -0
  203. package/dist/plugins/shield/hooks/hooks.json +60 -0
  204. package/dist/plugins/shield/hooks/pre-bash-guard.sh +142 -0
  205. package/dist/plugins/shield/hooks/pre-edit-guard.sh +121 -0
  206. package/dist/plugins/shield/hooks/session-bootstrap.sh +379 -0
  207. package/dist/plugins/shield/hooks/triage-router.sh +740 -0
  208. package/dist/plugins/spark/.claude-plugin/plugin.json +6 -0
  209. package/dist/plugins/spark/agents/explore-light.md +52 -0
  210. package/dist/plugins/spark/agents/setup.md +134 -0
  211. package/dist/plugins/spark/hooks/hooks.json +16 -0
  212. package/dist/plugins/spark/hooks/session-bootstrap.sh +379 -0
  213. package/dist/plugins/spark/skills/calibrate/SKILL.md +1807 -0
  214. package/dist/plugins/spark/skills/onboard/SKILL.md +344 -0
  215. package/dist/plugins/spark/skills/scan/SKILL.md +232 -0
  216. package/dist/plugins/spark/skills/setup/SKILL.md +691 -0
  217. package/hook-defs.json +104 -0
  218. package/hooks/check-deliverable.sh +65 -0
  219. package/hooks/ensure-client-dir.sh +59 -0
  220. package/hooks/hooks.json +16 -0
  221. package/hooks/post-deploy-health.sh +83 -0
  222. package/hooks/post-diff-test-compare.sh +125 -0
  223. package/hooks/post-edit-lint.sh +92 -0
  224. package/hooks/post-git-state.sh +54 -0
  225. package/hooks/post-merge-cleanup.sh +101 -0
  226. package/hooks/post-test-summary.sh +115 -0
  227. package/hooks/pre-bash-guard.sh +142 -0
  228. package/hooks/pre-edit-guard.sh +121 -0
  229. package/hooks/pre-task-context.sh +113 -0
  230. package/hooks/session-bootstrap.sh +379 -0
  231. package/hooks/session-end.sh +107 -0
  232. package/hooks/session-start.sh +46 -0
  233. package/hooks/session-summary.sh +97 -0
  234. package/hooks/sync-agents.sh +269 -0
  235. package/hooks/triage-router.sh +740 -0
  236. package/install.sh +3185 -0
  237. package/package.json +40 -0
  238. package/portable.manifest +112 -0
  239. package/skills/arth/SKILL.md +165 -0
  240. package/skills/autopilot/SKILL.md +425 -0
  241. package/skills/calibrate/SKILL.md +1807 -0
  242. package/skills/ci-fix/SKILL.md +293 -0
  243. package/skills/client-discovery/SKILL.md +266 -0
  244. package/skills/consulting/SKILL.md +282 -0
  245. package/skills/continue/SKILL.md +174 -0
  246. package/skills/custom-domain/SKILL.md +261 -0
  247. package/skills/deliverable-builder/SKILL.md +928 -0
  248. package/skills/discord-ops/SKILL.md +125 -0
  249. package/skills/engagement-tracker/SKILL.md +380 -0
  250. package/skills/explore.md +43 -0
  251. package/skills/fix/SKILL.md +1058 -0
  252. package/skills/implement/SKILL.md +532 -0
  253. package/skills/incident/SKILL.md +910 -0
  254. package/skills/issue/SKILL.md +134 -0
  255. package/skills/market-research/SKILL.md +300 -0
  256. package/skills/onboard/SKILL.md +344 -0
  257. package/skills/opportunity-map/SKILL.md +307 -0
  258. package/skills/pitch-generator/SKILL.md +378 -0
  259. package/skills/planning/SKILL.md +436 -0
  260. package/skills/pr/SKILL.md +275 -0
  261. package/skills/precheck/SKILL.md +159 -0
  262. package/skills/qa/SKILL.md +127 -0
  263. package/skills/qa-incident/SKILL.md +54 -0
  264. package/skills/qa-learn/SKILL.md +47 -0
  265. package/skills/railway/central-station/SKILL.md +226 -0
  266. package/skills/railway/central-station/references/environment-config.md +183 -0
  267. package/skills/railway/central-station/references/monorepo.md +216 -0
  268. package/skills/railway/central-station/references/railpack.md +257 -0
  269. package/skills/railway/central-station/references/variables.md +170 -0
  270. package/skills/railway/database/SKILL.md +284 -0
  271. package/skills/railway/database/references/environment-config.md +183 -0
  272. package/skills/railway/database/references/monorepo.md +216 -0
  273. package/skills/railway/database/references/railpack.md +257 -0
  274. package/skills/railway/database/references/variables.md +170 -0
  275. package/skills/railway/database/scripts/railway-api.sh +41 -0
  276. package/skills/railway/deploy/SKILL.md +128 -0
  277. package/skills/railway/deploy/references/environment-config.md +183 -0
  278. package/skills/railway/deploy/references/monorepo.md +216 -0
  279. package/skills/railway/deploy/references/railpack.md +257 -0
  280. package/skills/railway/deploy/references/variables.md +170 -0
  281. package/skills/railway/deployment/SKILL.md +222 -0
  282. package/skills/railway/deployment/references/environment-config.md +183 -0
  283. package/skills/railway/deployment/references/monorepo.md +216 -0
  284. package/skills/railway/deployment/references/railpack.md +257 -0
  285. package/skills/railway/deployment/references/variables.md +170 -0
  286. package/skills/railway/domain/SKILL.md +137 -0
  287. package/skills/railway/domain/references/environment-config.md +183 -0
  288. package/skills/railway/domain/references/monorepo.md +216 -0
  289. package/skills/railway/domain/references/railpack.md +257 -0
  290. package/skills/railway/domain/references/variables.md +170 -0
  291. package/skills/railway/environment/SKILL.md +266 -0
  292. package/skills/railway/environment/references/environment-config.md +183 -0
  293. package/skills/railway/environment/references/monorepo.md +216 -0
  294. package/skills/railway/environment/references/railpack.md +257 -0
  295. package/skills/railway/environment/references/variables.md +170 -0
  296. package/skills/railway/metrics/SKILL.md +211 -0
  297. package/skills/railway/metrics/references/environment-config.md +183 -0
  298. package/skills/railway/metrics/references/monorepo.md +216 -0
  299. package/skills/railway/metrics/references/railpack.md +257 -0
  300. package/skills/railway/metrics/references/variables.md +170 -0
  301. package/skills/railway/metrics/scripts/railway-api.sh +41 -0
  302. package/skills/railway/new/SKILL.md +489 -0
  303. package/skills/railway/new/references/environment-config.md +183 -0
  304. package/skills/railway/new/references/monorepo.md +216 -0
  305. package/skills/railway/new/references/railpack.md +257 -0
  306. package/skills/railway/new/references/variables.md +170 -0
  307. package/skills/railway/projects/SKILL.md +142 -0
  308. package/skills/railway/projects/references/environment-config.md +183 -0
  309. package/skills/railway/projects/references/monorepo.md +216 -0
  310. package/skills/railway/projects/references/railpack.md +257 -0
  311. package/skills/railway/projects/references/variables.md +170 -0
  312. package/skills/railway/projects/scripts/railway-api.sh +41 -0
  313. package/skills/railway/railway-docs/SKILL.md +47 -0
  314. package/skills/railway/railway-docs/references/environment-config.md +183 -0
  315. package/skills/railway/railway-docs/references/monorepo.md +216 -0
  316. package/skills/railway/railway-docs/references/railpack.md +257 -0
  317. package/skills/railway/railway-docs/references/variables.md +170 -0
  318. package/skills/railway/service/SKILL.md +249 -0
  319. package/skills/railway/service/references/environment-config.md +183 -0
  320. package/skills/railway/service/references/monorepo.md +216 -0
  321. package/skills/railway/service/references/railpack.md +257 -0
  322. package/skills/railway/service/references/variables.md +170 -0
  323. package/skills/railway/service/scripts/railway-api.sh +41 -0
  324. package/skills/railway/status/SKILL.md +91 -0
  325. package/skills/railway/status/references/environment-config.md +183 -0
  326. package/skills/railway/status/references/monorepo.md +216 -0
  327. package/skills/railway/status/references/railpack.md +257 -0
  328. package/skills/railway/status/references/variables.md +170 -0
  329. package/skills/railway/templates/SKILL.md +275 -0
  330. package/skills/railway/templates/references/environment-config.md +183 -0
  331. package/skills/railway/templates/references/monorepo.md +216 -0
  332. package/skills/railway/templates/references/railpack.md +257 -0
  333. package/skills/railway/templates/references/variables.md +170 -0
  334. package/skills/railway/templates/scripts/railway-api.sh +41 -0
  335. package/skills/restart/SKILL.md +70 -0
  336. package/skills/review-pr/SKILL.md +367 -0
  337. package/skills/roi-calculator/SKILL.md +469 -0
  338. package/skills/scan/SKILL.md +232 -0
  339. package/skills/setup/SKILL.md +691 -0
  340. package/skills/share/SKILL.md +211 -0
  341. package/skills/solution-architect/SKILL.md +566 -0
  342. package/skills/sre/SKILL.md +362 -0
  343. package/skills/superpowers/brainstorming/SKILL.md +96 -0
  344. package/skills/superpowers/dispatching-parallel-agents/SKILL.md +180 -0
  345. package/skills/superpowers/executing-plans/SKILL.md +84 -0
  346. package/skills/superpowers/finishing-a-development-branch/SKILL.md +200 -0
  347. package/skills/superpowers/receiving-code-review/SKILL.md +213 -0
  348. package/skills/superpowers/requesting-code-review/SKILL.md +105 -0
  349. package/skills/superpowers/requesting-code-review/code-reviewer.md +146 -0
  350. package/skills/superpowers/subagent-driven-development/SKILL.md +242 -0
  351. package/skills/superpowers/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
  352. package/skills/superpowers/subagent-driven-development/implementer-prompt.md +78 -0
  353. package/skills/superpowers/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  354. package/skills/superpowers/systematic-debugging/CREATION-LOG.md +119 -0
  355. package/skills/superpowers/systematic-debugging/SKILL.md +296 -0
  356. package/skills/superpowers/systematic-debugging/condition-based-waiting-example.ts +158 -0
  357. package/skills/superpowers/systematic-debugging/condition-based-waiting.md +115 -0
  358. package/skills/superpowers/systematic-debugging/defense-in-depth.md +122 -0
  359. package/skills/superpowers/systematic-debugging/find-polluter.sh +63 -0
  360. package/skills/superpowers/systematic-debugging/root-cause-tracing.md +169 -0
  361. package/skills/superpowers/systematic-debugging/test-academic.md +14 -0
  362. package/skills/superpowers/systematic-debugging/test-pressure-1.md +58 -0
  363. package/skills/superpowers/systematic-debugging/test-pressure-2.md +68 -0
  364. package/skills/superpowers/systematic-debugging/test-pressure-3.md +69 -0
  365. package/skills/superpowers/test-driven-development/SKILL.md +371 -0
  366. package/skills/superpowers/test-driven-development/testing-anti-patterns.md +299 -0
  367. package/skills/superpowers/using-git-worktrees/SKILL.md +218 -0
  368. package/skills/superpowers/using-superpowers/SKILL.md +95 -0
  369. package/skills/superpowers/verification-before-completion/SKILL.md +139 -0
  370. package/skills/superpowers/writing-plans/SKILL.md +116 -0
  371. package/skills/superpowers/writing-skills/SKILL.md +655 -0
  372. package/skills/superpowers/writing-skills/anthropic-best-practices.md +1150 -0
  373. package/skills/superpowers/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  374. package/skills/superpowers/writing-skills/graphviz-conventions.dot +172 -0
  375. package/skills/superpowers/writing-skills/persuasion-principles.md +187 -0
  376. package/skills/superpowers/writing-skills/render-graphs.js +168 -0
  377. package/skills/superpowers/writing-skills/testing-skills-with-subagents.md +384 -0
  378. package/skills/sync/SKILL.md +188 -0
  379. package/skills/templates/SKILL.md +194 -0
  380. package/skills/welcome/SKILL.md +136 -0
  381. package/skills/wizard/SKILL.md +411 -0
  382. package/templates/CLAUDE.md.managed-block +123 -0
  383. package/templates/CLAUDE.md.template +111 -0
  384. package/templates/consulting/engagement-tracker-template.md +181 -0
  385. package/templates/consulting/executive-summary-template.md +83 -0
  386. package/templates/consulting/maturity-assessment-template.md +182 -0
  387. package/templates/consulting/proposal-template.md +209 -0
  388. package/templates/consulting/roi-model-template.md +139 -0
  389. package/templates/consulting/solution-architecture-template.md +313 -0
  390. package/templates/settings.json +130 -0
@@ -0,0 +1,469 @@
1
+ ---
2
+ name: roi-calculator
3
+ description: "Calculate ROI for AI initiatives with sensitivity analysis. Usage: /roi-calculator <client-name> [--initiative <name>]"
4
+ user-invocable: true
5
+ arguments: "<client-name> [--initiative <name>]"
6
+ ---
7
+
8
+ # AI Initiative ROI Calculator
9
+
10
+ Calculate detailed return on investment for AI initiatives with cost modeling, benefit projections, cash flow analysis, and sensitivity testing. Produces defensible financial models for inclusion in proposals and executive presentations.
11
+
12
+ ## Prerequisites
13
+
14
+ This skill requires completed discovery and opportunity mapping. Check for files at:
15
+ ```
16
+ consulting-toolkit/clients/<client-name>/profile.md
17
+ consulting-toolkit/clients/<client-name>/discovery/intake.md
18
+ consulting-toolkit/clients/<client-name>/assessment/opportunity-matrix.md
19
+ consulting-toolkit/clients/<client-name>/assessment/roadmap.md
20
+ ```
21
+
22
+ If files are missing, redirect:
23
+ ```
24
+ Required data not found for <client-name>. Run /client-discovery and /opportunity-map first.
25
+ ```
26
+
27
+ ## Step 1 — Financial Inputs
28
+
29
+ If `--initiative` is specified, focus on that single initiative. Otherwise, model the top 3 initiatives by weighted score from the opportunity matrix.
30
+
31
+ Use AskUserQuestion to gather financial inputs. Present all questions together for efficient answering:
32
+
33
+ ```
34
+ Financial Inputs for ROI Modeling — please provide the following:
35
+
36
+ 1. What are the current annual costs for the processes these AI initiatives would affect?
37
+ (e.g., manual data entry costs $200K/year in labor, customer support costs $500K/year)
38
+
39
+ 2. How many FTEs (full-time equivalents) are currently dedicated to these processes?
40
+ (e.g., 4 FTEs for data entry, 8 FTEs for customer support)
41
+
42
+ 3. What is the average fully-loaded cost per FTE? (salary + benefits + overhead)
43
+ (If unknown, we'll use industry average of $85,000/year)
44
+
45
+ 4. What is the company's annual revenue?
46
+ (Used for revenue impact calculations)
47
+
48
+ 5. What are the current gross and operating margins?
49
+ (e.g., 60% gross, 15% operating — used for incremental revenue valuation)
50
+
51
+ 6. What is the current error/rework rate for these processes?
52
+ (e.g., 5% of orders have errors requiring rework, each costing $50 on average)
53
+
54
+ 7. What discount rate should we use for NPV? (default: 10%)
55
+
56
+ 8. Are there any known infrastructure costs or constraints?
57
+ (e.g., current cloud spend is $5K/month, data warehouse costs $2K/month)
58
+ ```
59
+
60
+ For any unanswered questions, use these defaults:
61
+ - Fully-loaded FTE cost: $85,000/year
62
+ - Discount rate: 10%
63
+ - Error rate: 3-5% (industry average)
64
+ - Margins: Use industry averages based on the client's sector
65
+
66
+ ## Step 2 — Cost Model
67
+
68
+ Build a detailed cost model for each initiative. All costs are estimated ranges (low-high).
69
+
70
+ ### 2a. Implementation Costs (One-time)
71
+
72
+ ```
73
+ Implementation Cost Breakdown
74
+ ═══════════════════════════════════════════════════════════════
75
+ Category Low Estimate High Estimate
76
+ ───────────────────────────────────────────────────────────────
77
+ Solution Design & Architecture $X,XXX $XX,XXX
78
+ Data Preparation & Pipeline $X,XXX $XX,XXX
79
+ Model Development / API Setup $X,XXX $XX,XXX
80
+ Integration & Testing $X,XXX $XX,XXX
81
+ User Training & Change Mgmt $X,XXX $XX,XXX
82
+ Project Management $X,XXX $XX,XXX
83
+ Contingency (15%) $X,XXX $XX,XXX
84
+ ───────────────────────────────────────────────────────────────
85
+ Total Implementation $XX,XXX $XXX,XXX
86
+ ═══════════════════════════════════════════════════════════════
87
+ ```
88
+
89
+ ### 2b. Infrastructure Costs (Monthly recurring)
90
+
91
+ ```
92
+ Monthly Infrastructure Costs
93
+ ═══════════════════════════════════════════════════════════════
94
+ Category Low Estimate High Estimate
95
+ ───────────────────────────────────────────────────────────────
96
+ Cloud Compute (GPU/CPU) $XXX $X,XXX
97
+ Data Storage & Transfer $XXX $X,XXX
98
+ AI/ML Platform Licenses $XXX $X,XXX
99
+ API Costs (if using 3rd party) $XXX $X,XXX
100
+ Monitoring & Observability $XXX $XXX
101
+ ───────────────────────────────────────────────────────────────
102
+ Total Monthly Infrastructure $X,XXX $X,XXX
103
+ Annual Infrastructure $XX,XXX $XX,XXX
104
+ ═══════════════════════════════════════════════════════════════
105
+ ```
106
+
107
+ ### 2c. Training Costs (One-time + ongoing)
108
+
109
+ ```
110
+ Training & Adoption Costs
111
+ ═══════════════════════════════════════════════════════════════
112
+ Category One-time Annual Ongoing
113
+ ───────────────────────────────────────────────────────────────
114
+ End-user Training $X,XXX $X,XXX
115
+ Technical Team Upskilling $X,XXX $X,XXX
116
+ Documentation & Knowledge Base $X,XXX $XXX
117
+ Change Management Program $X,XXX $X,XXX
118
+ ───────────────────────────────────────────────────────────────
119
+ Total Training $XX,XXX $X,XXX
120
+ ═══════════════════════════════════════════════════════════════
121
+ ```
122
+
123
+ ### 2d. Maintenance Costs (Annual recurring)
124
+
125
+ ```
126
+ Annual Maintenance Costs
127
+ ═══════════════════════════════════════════════════════════════
128
+ Category Low Estimate High Estimate
129
+ ───────────────────────────────────────────────────────────────
130
+ Model Retraining & Updates $X,XXX $XX,XXX
131
+ Bug Fixes & Enhancements $X,XXX $XX,XXX
132
+ Data Pipeline Maintenance $X,XXX $X,XXX
133
+ Security & Compliance $X,XXX $X,XXX
134
+ Vendor Management $XXX $X,XXX
135
+ ───────────────────────────────────────────────────────────────
136
+ Total Annual Maintenance $XX,XXX $XX,XXX
137
+ ═══════════════════════════════════════════════════════════════
138
+ ```
139
+
140
+ ### Total Cost of Ownership (3-Year)
141
+
142
+ ```
143
+ TCO = Implementation + (Infrastructure_Annual × 3) + Training_OneTime
144
+ + (Training_Ongoing × 3) + (Maintenance × 3)
145
+ ```
146
+
147
+ ## Step 3 — Benefit Model
148
+
149
+ Quantify expected benefits for each initiative across four categories.
150
+
151
+ ### 3a. Time Savings
152
+
153
+ ```
154
+ Time Savings Calculation
155
+ ═══════════════════════════════════════════════════════════════
156
+ Process automated/augmented: [Name]
157
+ Current FTEs on process: [X]
158
+ Hours/week per FTE on task: [X]
159
+ Automation rate: [X]% (what % of work AI handles)
160
+ Hours saved per week: FTEs × Hours × Automation_Rate
161
+ Annual hours saved: Weekly_Hours × 52
162
+ Value of time saved: Annual_Hours × (FTE_Cost / 2080)
163
+ ═══════════════════════════════════════════════════════════════
164
+
165
+ Annual Time Savings Value: $XXX,XXX
166
+ ```
167
+
168
+ Note: Time savings does not always equal headcount reduction. Freed time may be redirected to higher-value work. Present both scenarios:
169
+ - Conservative: 50% of time savings translates to cost reduction
170
+ - Optimistic: Time savings redirected to revenue-generating activities
171
+
172
+ ### 3b. Error Reduction
173
+
174
+ ```
175
+ Error Reduction Calculation
176
+ ═══════════════════════════════════════════════════════════════
177
+ Current error/rework rate: [X]%
178
+ Current volume (transactions/yr): [X]
179
+ Current cost per error: $[X]
180
+ Annual cost of errors: Volume × Error_Rate × Cost_Per_Error
181
+ AI-enabled error rate: [X]% (typically 50-80% reduction)
182
+ New annual error cost: Volume × New_Rate × Cost_Per_Error
183
+ ═══════════════════════════════════════════════════════════════
184
+
185
+ Annual Error Reduction Savings: $XXX,XXX
186
+ ```
187
+
188
+ ### 3c. Revenue Impact
189
+
190
+ ```
191
+ Revenue Impact Calculation
192
+ ═══════════════════════════════════════════════════════════════
193
+ Mechanism: [e.g., improved lead conversion, faster time-to-market,
194
+ better customer retention, new product/service]
195
+
196
+ Current metric: [X] (e.g., 2% conversion rate, 15% churn)
197
+ Expected improvement: [X]% (e.g., +0.5% conversion, -3% churn)
198
+ Revenue per unit: $[X] (e.g., $500 average deal size)
199
+ Annual volume: [X] (e.g., 10,000 leads, 5,000 customers)
200
+ ═══════════════════════════════════════════════════════════════
201
+
202
+ Incremental Annual Revenue: $XXX,XXX
203
+ Profit Impact (at margin): Incremental_Revenue × Operating_Margin
204
+ ```
205
+
206
+ ### 3d. Risk Reduction
207
+
208
+ ```
209
+ Risk Reduction Calculation
210
+ ═══════════════════════════════════════════════════════════════
211
+ Risk Category: [e.g., compliance, fraud, downtime]
212
+ Annual expected loss: $[X] (probability × impact)
213
+ AI-enabled reduction: [X]% reduction in probability or impact
214
+ ═══════════════════════════════════════════════════════════════
215
+
216
+ Annual Risk Reduction Value: $XX,XXX
217
+ ```
218
+
219
+ ### Total Annual Benefits
220
+
221
+ ```
222
+ Total Annual Benefits = Time_Savings + Error_Reduction + Revenue_Impact_Profit + Risk_Reduction
223
+ ```
224
+
225
+ ## Step 4 — 12-Month Cash Flow Projection
226
+
227
+ Build a month-by-month cash flow projection showing costs and benefits ramping up over time.
228
+
229
+ Assumptions:
230
+ - Implementation costs spread across Months 1-3
231
+ - Infrastructure costs begin Month 1
232
+ - Benefits ramp: Month 1-2 at 0%, Month 3 at 25%, Month 4-6 at 50%, Month 7-9 at 75%, Month 10-12 at 100%
233
+ - Training costs in Months 1-2
234
+
235
+ ```
236
+ 12-Month Cash Flow Projection
237
+ ═══════════════════════════════════════════════════════════════════════════════════════════
238
+ Month 1 2 3 4 5 6 7 8 9 10 11 12 TOTAL
239
+ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
240
+ COSTS
241
+ Implementation ($XX) ($XX) ($XX) - - - - - - - - - ($XXX)
242
+ Infrastructure ($X) ($X) ($X) ($X) ($X) ($X) ($X) ($X) ($X) ($X) ($X) ($X) ($XX)
243
+ Training ($X) ($X) - - - - - - - - - - ($XX)
244
+ Maintenance - - - ($X) - - ($X) - - ($X) - - ($XX)
245
+ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
246
+ Total Costs ($XX) ($XX) ($XX) ($XX) ($X) ($X) ($XX) ($X) ($X) ($XX) ($X) ($X) ($XXX)
247
+
248
+ BENEFITS
249
+ Time Savings - - $X $XX $XX $XX $XX $XX $XX $XX $XX $XX $XXX
250
+ Error Reduction - - $X $X $X $X $XX $XX $XX $XX $XX $XX $XXX
251
+ Revenue Impact - - - $X $X $X $XX $XX $XX $XX $XX $XX $XXX
252
+ Risk Reduction - - $X $X $X $X $X $X $X $X $X $X $XX
253
+ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
254
+ Total Benefits - - $XX $XX $XX $XX $XXX $XXX $XXX $XXX $XXX $XXX $XXX
255
+
256
+ NET CASH FLOW ($XX) ($XX) ($XX) $XX $XX $XX $XX $XX $XX $XX $XX $XX $XXX
257
+ CUMULATIVE ($XX) ($XXX) ($XXX) ($XXX) ($XX) ($XX) $XX $XX $XXX $XXX $XXX $XXX
258
+ ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
259
+ ```
260
+
261
+ Populate with actual calculated values. Use the base (expected) case.
262
+
263
+ ## Step 5 — Key Financial Metrics
264
+
265
+ Calculate and present three key financial metrics:
266
+
267
+ ### 5a. Payback Period
268
+
269
+ ```
270
+ Payback Period Calculation
271
+ ═══════════════════════════════════════════════════════════════
272
+ Method: Identify the month where cumulative cash flow turns positive
273
+
274
+ From the 12-month projection above:
275
+ Cumulative turns positive in Month [X]
276
+
277
+ Payback Period: [X] months
278
+ ═══════════════════════════════════════════════════════════════
279
+ ```
280
+
281
+ ### 5b. 3-Year Net Present Value (NPV)
282
+
283
+ ```
284
+ NPV Calculation
285
+ ═══════════════════════════════════════════════════════════════
286
+ Discount Rate (r): 10% annually (0.833% monthly)
287
+
288
+ 36
289
+ NPV = Σ (Cash_Flow_t / (1 + r/12)^t)
290
+ t=1
291
+
292
+ Where:
293
+ Year 1 cash flows: from 12-month projection above
294
+ Year 2 cash flows: Annual benefits at 100% - Annual costs (infra + maintenance + training ongoing)
295
+ Year 3 cash flows: Same as Year 2 (assume stable state)
296
+
297
+ Year 1 Net Cash Flow: $XXX,XXX (from projection)
298
+ Year 2 Net Cash Flow: $XXX,XXX (full benefits - recurring costs)
299
+ Year 3 Net Cash Flow: $XXX,XXX (full benefits - recurring costs)
300
+
301
+ 3-Year NPV at 10%: $XXX,XXX
302
+ ═══════════════════════════════════════════════════════════════
303
+ ```
304
+
305
+ ### 5c. Internal Rate of Return (IRR)
306
+
307
+ ```
308
+ IRR Calculation
309
+ ═══════════════════════════════════════════════════════════════
310
+ IRR is the discount rate that makes NPV = 0
311
+
312
+ Using the 36-month cash flow series:
313
+ Solve for r where:
314
+ 36
315
+ 0 = Σ (Cash_Flow_t / (1 + r/12)^t)
316
+ t=1
317
+
318
+ Estimated IRR: [X]% annually
319
+
320
+ Interpretation:
321
+ IRR > Discount Rate (10%) → Project creates value
322
+ IRR > WACC → Project exceeds cost of capital
323
+ ═══════════════════════════════════════════════════════════════
324
+ ```
325
+
326
+ Note: Since we cannot run iterative solvers, estimate IRR by testing discount rates (15%, 25%, 50%, 75%, 100%, 150%, 200%) and interpolating where NPV crosses zero.
327
+
328
+ ### Summary Metrics Table
329
+
330
+ ```
331
+ Financial Summary
332
+ ═══════════════════════════════════════════════════════════════
333
+ Metric Value
334
+ ───────────────────────────────────────────────────────────────
335
+ Total Investment (Year 1) $XXX,XXX
336
+ Annual Benefits (Steady State) $XXX,XXX
337
+ Payback Period X months
338
+ 3-Year NPV (at 10%) $XXX,XXX
339
+ IRR XX%
340
+ 3-Year ROI XXX%
341
+ ═══════════════════════════════════════════════════════════════
342
+
343
+ 3-Year ROI = (3-Year Total Benefits - 3-Year Total Costs) / 3-Year Total Costs × 100
344
+ ```
345
+
346
+ ## Step 6 — Sensitivity Analysis
347
+
348
+ Test how results change across different assumption scenarios. Build a 3x3 matrix combining implementation scenarios with benefit scenarios.
349
+
350
+ ### Scenario Definitions
351
+
352
+ **Cost Scenarios:**
353
+ - **Best Case**: Implementation comes in 20% under budget, infrastructure costs 30% lower than expected
354
+ - **Expected Case**: Base estimates from cost model
355
+ - **Worst Case**: Implementation costs 40% over budget, infrastructure costs 50% higher, 2-month delay
356
+
357
+ **Benefit Scenarios:**
358
+ - **Optimistic**: Benefits 30% higher than base, ramp-up 2 months faster
359
+ - **Base**: Base estimates from benefit model
360
+ - **Pessimistic**: Benefits 40% lower than base, ramp-up 3 months slower
361
+
362
+ ### 3x3 Sensitivity Matrix
363
+
364
+ ```
365
+ Sensitivity Analysis — 3-Year NPV
366
+ ═══════════════════════════════════════════════════════════════════════
367
+ Optimistic Base Pessimistic
368
+ Benefits Benefits Benefits
369
+ ───────────────────────────────────────────────────────────────────────
370
+ Best Case $XXX,XXX $XXX,XXX $XXX,XXX
371
+ Costs (IRR: XX%) (IRR: XX%) (IRR: XX%)
372
+ Payback: X mo Payback: X mo Payback: X mo
373
+
374
+ Expected $XXX,XXX $XXX,XXX $XXX,XXX
375
+ Costs (IRR: XX%) (IRR: XX%) (IRR: XX%)
376
+ Payback: X mo Payback: X mo Payback: X mo
377
+
378
+ Worst Case $XXX,XXX $XXX,XXX $XX,XXX
379
+ Costs (IRR: XX%) (IRR: XX%) (IRR: X%)
380
+ Payback: X mo Payback: XX mo Payback: XX mo
381
+ ───────────────────────────────────────────────────────────────────────
382
+
383
+ Best scenario: Best costs + Optimistic benefits → NPV $XXX,XXX
384
+ Base scenario: Expected costs + Base benefits → NPV $XXX,XXX
385
+ Worst scenario: Worst costs + Pessimistic benefits → NPV $XX,XXX
386
+ ═══════════════════════════════════════════════════════════════════════
387
+ ```
388
+
389
+ ### Breakeven Analysis
390
+
391
+ ```
392
+ Breakeven Analysis
393
+ ═══════════════════════════════════════════════════════════════
394
+ Question: What is the minimum benefit level needed to break even?
395
+
396
+ Total 3-Year Costs (Expected): $XXX,XXX
397
+ Monthly benefits needed for breakeven: $XX,XXX
398
+ This represents XX% of base case monthly benefits
399
+
400
+ Conclusion: The initiative breaks even even if benefits are [X]% lower
401
+ than projected, providing a [X]% margin of safety.
402
+ ═══════════════════════════════════════════════════════════════
403
+ ```
404
+
405
+ ### Key Assumptions & Risks
406
+
407
+ List the top 5 assumptions that most affect the model, with the impact if the assumption is wrong:
408
+
409
+ | # | Assumption | Impact if Wrong | Likelihood | Mitigation |
410
+ |---|---|---|---|---|
411
+ | 1 | [e.g., 70% automation rate] | NPV drops by $XX,XXX per 10% decrease | Medium | Pilot test before full rollout |
412
+ | 2 | [e.g., data is ML-ready] | 2-month delay, $XX,XXX additional prep | High if data readiness < 3 | Data audit in Wave 1 |
413
+ | 3 | ... | ... | ... | ... |
414
+
415
+ ## Step 7 — Output Files
416
+
417
+ Create the following files in `consulting-toolkit/clients/<client-name>/`:
418
+
419
+ ### 7a. `assessment/roi-model.md`
420
+
421
+ Contains:
422
+ - Financial inputs summary (Step 1)
423
+ - Full cost model with all categories (Step 2)
424
+ - Full benefit model with calculations (Step 3)
425
+ - 12-month cash flow projection table (Step 4)
426
+ - Key financial metrics: Payback, NPV, IRR, ROI (Step 5)
427
+ - All formulas and calculations shown transparently
428
+
429
+ ### 7b. `assessment/sensitivity-analysis.md`
430
+
431
+ Contains:
432
+ - Scenario definitions (Step 6)
433
+ - 3x3 sensitivity matrix (Step 6)
434
+ - Breakeven analysis (Step 6)
435
+ - Key assumptions and risks table (Step 6)
436
+ - Recommendation based on risk tolerance:
437
+ - Conservative recommendation (based on worst-case)
438
+ - Balanced recommendation (based on expected case)
439
+ - Aggressive recommendation (based on best case)
440
+
441
+ After saving, inform the user:
442
+ ```
443
+ ROI model generated for <client-name>.
444
+
445
+ Key Results (Base Case):
446
+ - Total Investment: $XXX,XXX
447
+ - Annual Benefits: $XXX,XXX
448
+ - Payback Period: X months
449
+ - 3-Year NPV: $XXX,XXX
450
+ - IRR: XX%
451
+
452
+ Files:
453
+ assessment/roi-model.md
454
+ assessment/sensitivity-analysis.md
455
+
456
+ To include these numbers in a proposal, run:
457
+ /pitch-generator <client-name> --format proposal
458
+ ```
459
+
460
+ ## Notes
461
+
462
+ - All financial projections are estimates — clearly label them as such in all outputs
463
+ - Use conservative estimates by default — it's better to under-promise and over-deliver
464
+ - Show all calculations transparently — the client should be able to verify every number
465
+ - If the client hasn't provided specific financial data, use industry benchmarks and clearly mark assumptions
466
+ - Currency format: USD with thousands separators and no decimal cents (e.g., $125,000 not $125,000.00)
467
+ - Always present ranges rather than point estimates for key metrics
468
+ - If IRR is negative or payback period exceeds 24 months in the expected case, flag the initiative as high-risk and recommend revisiting the scope or approach
469
+ - The model intentionally excludes intangible benefits (brand value, employee satisfaction) — mention these qualitatively but do not assign dollar values
@@ -0,0 +1,211 @@
1
+ ---
2
+ name: share
3
+ description: "Format plans and strategies for sharing. Adds attribution, cleans sensitive info, outputs shareable format. Usage: /share <plan-name> <--format md|slack|twitter>"
4
+ user-invocable: true
5
+ arguments: "<plan-name> <--format md|slack|twitter>"
6
+ ---
7
+
8
+ # Share Skill — Shareable Artifact Generator
9
+
10
+ Formats generated plans, strategies, and briefs for sharing outside the terminal.
11
+ Enables the viral artifact loop: user generates a deliverable → shares it → peers see
12
+ quality → peers try the toolkit.
13
+
14
+ **Design principles:**
15
+ - The output IS the marketing — make it look professional
16
+ - Attribution is subtle, not annoying
17
+ - Strip sensitive info by default (API keys, internal URLs, file paths)
18
+ - Multiple output formats for different sharing contexts
19
+
20
+ ## Argument Parsing
21
+
22
+ Parse from the argument string:
23
+ - `plan-name`: Optional. Name of a plan in `.claude/plans/`. If omitted, share the most recently generated artifact from the current session.
24
+ - `--format`: Optional. Output format: `md` (default), `slack`, `twitter`, `html`
25
+ - `--no-attribution`: Optional flag. Skip the attribution footer.
26
+
27
+ ## Execution Steps
28
+
29
+ ### 1. Find the Artifact to Share
30
+
31
+ **Priority order:**
32
+ 1. If `plan-name` is provided, look for `.claude/plans/{plan-name}.md`
33
+ 2. If no name, check if a plan was generated in this session (look for recent Write tool calls to `.claude/plans/`)
34
+ 3. If still nothing, list available plans and ask the user to pick:
35
+ ```
36
+ Available plans:
37
+ 1. user-notifications.md (created 2 hours ago)
38
+ 2. oauth-support.md (created yesterday)
39
+ 3. gtm-strategy.md (created 3 days ago)
40
+ Which one would you like to share?
41
+ ```
42
+
43
+ ### 2. Read and Process the Artifact
44
+
45
+ Read the plan file. Then process it:
46
+
47
+ **Strip YAML frontmatter:**
48
+ Remove the `---` delimited YAML block at the top (contains internal metadata like `layers: [frontend, backend]`).
49
+
50
+ **Strip sensitive information:**
51
+ - Remove absolute file paths (replace `/home/user/project/src/...` with `src/...`)
52
+ - Remove API keys, tokens, secrets (anything matching common patterns)
53
+ - Remove internal URLs (localhost, staging URLs, internal domains)
54
+ - Remove `.claude/` references and toolkit internals
55
+
56
+ **Clean up for readability:**
57
+ - Ensure headings are properly formatted
58
+ - Remove any `<!-- comments -->`
59
+ - Ensure code blocks have language tags
60
+
61
+ ### 3. Format for Target Platform
62
+
63
+ #### Markdown (default — `--format md`)
64
+
65
+ Output the cleaned plan as a well-formatted markdown document with:
66
+ - A title block (feature name, date)
67
+ - All sections preserved
68
+ - Attribution footer
69
+
70
+ ```markdown
71
+ # Feature Plan: User Notifications
72
+
73
+ *Generated on March 20, 2026*
74
+
75
+ ## Problem & User Segment
76
+ [content...]
77
+
78
+ ## Technical Approach
79
+ [content...]
80
+
81
+ ## Task Breakdown
82
+ [content...]
83
+
84
+ ## Acceptance Criteria
85
+ [content...]
86
+
87
+ ---
88
+ *Created with [Claude Agents](https://github.com/ArthTech-AI/claude-agents) — AI product + architecture team*
89
+ ```
90
+
91
+ #### Slack (`--format slack`)
92
+
93
+ Format for pasting into Slack with Slack-compatible markdown:
94
+ - Use `*bold*` instead of `**bold**`
95
+ - Use bullet points that render well in Slack
96
+ - Shorter sections (Slack truncates long messages)
97
+ - Attribution as a small footer line
98
+
99
+ ```
100
+ *Feature Plan: User Notifications*
101
+
102
+ *Problem & User Segment*
103
+ • [concise bullet points...]
104
+
105
+ *Technical Approach*
106
+ • [concise bullet points...]
107
+
108
+ *Key Tasks*
109
+ • [top 5 tasks only...]
110
+
111
+ _Created with Claude Agents — AI product + architecture team_
112
+ ```
113
+
114
+ #### Twitter/X (`--format twitter`)
115
+
116
+ Format as a thread-ready summary (each section = one tweet-length block):
117
+ - Max 280 chars per block
118
+ - Use line breaks between blocks
119
+ - Include a hook/opener
120
+ - Attribution in the last block
121
+
122
+ ```
123
+ Just used AI agents to plan our notifications feature in 8 minutes.
124
+
125
+ Here's what came out 👇
126
+
127
+ ---
128
+
129
+ Problem: Users miss critical updates because email-only notifications
130
+ have <12% open rates. Mobile push + in-app needed.
131
+
132
+ Target: Active users with >3 logins/week (power users first).
133
+
134
+ ---
135
+
136
+ Technical approach:
137
+ - WebSocket for real-time in-app
138
+ - FCM/APNs for push
139
+ - Preference center per channel
140
+ - Background job queue for batching
141
+
142
+ ---
143
+
144
+ 5 backend tasks, 4 frontend tasks, 8 acceptance criteria.
145
+ Full plan generated by an AI PM + Architect team.
146
+
147
+ Built with Claude Agents → github.com/ArthTech-AI/claude-agents
148
+ ```
149
+
150
+ #### HTML (`--format html`)
151
+
152
+ Wrap the markdown in a clean, minimal HTML template suitable for sharing as a link:
153
+ - Professional styling (system fonts, good spacing, readable line length)
154
+ - Responsive (mobile-friendly)
155
+ - Print-friendly
156
+ - Meta tags for social sharing (og:title, og:description)
157
+
158
+ ### 4. Output the Result
159
+
160
+ **For md/slack/twitter:** Write the formatted output directly to the terminal for the user to copy.
161
+
162
+ **For html:** Write to `.claude/shared/{plan-name}.html` and inform the user:
163
+ ```
164
+ Shareable version saved to .claude/shared/{plan-name}.html
165
+ Open it in a browser to preview, or share the file with your team.
166
+ ```
167
+
168
+ ### 5. Offer Next Steps
169
+
170
+ After outputting, suggest:
171
+
172
+ ```
173
+ Sharing options:
174
+ - Copy the text above and paste into Slack/docs/email
175
+ - "share this as slack" for Slack-formatted version
176
+ - "share this as twitter" for tweet thread format
177
+ - "share this as html" for a shareable web page
178
+ ```
179
+
180
+ ## Attribution Footer
181
+
182
+ Default attribution (included unless `--no-attribution`):
183
+
184
+ For plans with multiple agents:
185
+ ```
186
+ Created with Claude Agents — PM + Architect team
187
+ ```
188
+
189
+ For GTM strategies:
190
+ ```
191
+ Created with Claude Agents — GTM Expert
192
+ ```
193
+
194
+ For design briefs:
195
+ ```
196
+ Created with Claude Agents — Design Studio
197
+ ```
198
+
199
+ The attribution is intentionally subtle — one line, no logos, no CTAs.
200
+ It works because people will ask "what's Claude Agents?" when they see
201
+ a high-quality deliverable with that attribution.
202
+
203
+ ## Rules
204
+
205
+ - **Never share raw file paths** — always strip to relative paths
206
+ - **Never share API keys or secrets** — scan and remove before outputting
207
+ - **Keep attribution subtle** — one line, not a banner
208
+ - **Preserve the substance** — don't summarize or truncate unless format requires it (twitter)
209
+ - **Default to markdown** — it's the most portable format
210
+ - **Don't auto-share** — always output to the terminal for the user to copy; never post anywhere
211
+ - **Respect --no-attribution** — if the user opts out, honor it completely