compound-engineering-pi 0.2.3

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 (332) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +124 -0
  3. package/bin/compound-engineering-pi +12 -0
  4. package/bin/compound-plugin +12 -0
  5. package/compound-engineering-pi +12 -0
  6. package/compound-plugin +5 -0
  7. package/docs/pi.md +152 -0
  8. package/extensions/compound-engineering-compat.ts +452 -0
  9. package/package.json +84 -0
  10. package/pi-resources/compound-engineering/mcporter.json +7 -0
  11. package/plugins/coding-tutor/.claude-plugin/plugin.json +9 -0
  12. package/plugins/coding-tutor/README.md +37 -0
  13. package/plugins/coding-tutor/commands/quiz-me.md +1 -0
  14. package/plugins/coding-tutor/commands/sync-tutorials.md +25 -0
  15. package/plugins/coding-tutor/commands/teach-me.md +1 -0
  16. package/plugins/coding-tutor/skills/coding-tutor/SKILL.md +214 -0
  17. package/plugins/coding-tutor/skills/coding-tutor/scripts/create_tutorial.py +207 -0
  18. package/plugins/coding-tutor/skills/coding-tutor/scripts/index_tutorials.py +193 -0
  19. package/plugins/coding-tutor/skills/coding-tutor/scripts/quiz_priority.py +190 -0
  20. package/plugins/coding-tutor/skills/coding-tutor/scripts/setup_tutorials.py +118 -0
  21. package/plugins/compound-engineering/.claude-plugin/plugin.json +33 -0
  22. package/plugins/compound-engineering/CHANGELOG.md +457 -0
  23. package/plugins/compound-engineering/CLAUDE.md +89 -0
  24. package/plugins/compound-engineering/LICENSE +21 -0
  25. package/plugins/compound-engineering/README.md +232 -0
  26. package/plugins/compound-engineering/agents/design/design-implementation-reviewer.md +109 -0
  27. package/plugins/compound-engineering/agents/design/design-iterator.md +224 -0
  28. package/plugins/compound-engineering/agents/design/figma-design-sync.md +190 -0
  29. package/plugins/compound-engineering/agents/docs/ankane-readme-writer.md +65 -0
  30. package/plugins/compound-engineering/agents/research/best-practices-researcher.md +126 -0
  31. package/plugins/compound-engineering/agents/research/framework-docs-researcher.md +106 -0
  32. package/plugins/compound-engineering/agents/research/git-history-analyzer.md +59 -0
  33. package/plugins/compound-engineering/agents/research/learnings-researcher.md +264 -0
  34. package/plugins/compound-engineering/agents/research/repo-research-analyst.md +135 -0
  35. package/plugins/compound-engineering/agents/review/agent-native-reviewer.md +261 -0
  36. package/plugins/compound-engineering/agents/review/architecture-strategist.md +67 -0
  37. package/plugins/compound-engineering/agents/review/code-simplicity-reviewer.md +101 -0
  38. package/plugins/compound-engineering/agents/review/data-integrity-guardian.md +85 -0
  39. package/plugins/compound-engineering/agents/review/data-migration-expert.md +112 -0
  40. package/plugins/compound-engineering/agents/review/deployment-verification-agent.md +174 -0
  41. package/plugins/compound-engineering/agents/review/dhh-rails-reviewer.md +66 -0
  42. package/plugins/compound-engineering/agents/review/julik-frontend-races-reviewer.md +221 -0
  43. package/plugins/compound-engineering/agents/review/kieran-python-reviewer.md +133 -0
  44. package/plugins/compound-engineering/agents/review/kieran-rails-reviewer.md +115 -0
  45. package/plugins/compound-engineering/agents/review/kieran-typescript-reviewer.md +124 -0
  46. package/plugins/compound-engineering/agents/review/pattern-recognition-specialist.md +72 -0
  47. package/plugins/compound-engineering/agents/review/performance-oracle.md +137 -0
  48. package/plugins/compound-engineering/agents/review/schema-drift-detector.md +154 -0
  49. package/plugins/compound-engineering/agents/review/security-sentinel.md +114 -0
  50. package/plugins/compound-engineering/agents/workflow/bug-reproduction-validator.md +82 -0
  51. package/plugins/compound-engineering/agents/workflow/every-style-editor.md +64 -0
  52. package/plugins/compound-engineering/agents/workflow/lint.md +16 -0
  53. package/plugins/compound-engineering/agents/workflow/pr-comment-resolver.md +84 -0
  54. package/plugins/compound-engineering/agents/workflow/spec-flow-analyzer.md +134 -0
  55. package/plugins/compound-engineering/commands/agent-native-audit.md +278 -0
  56. package/plugins/compound-engineering/commands/changelog.md +138 -0
  57. package/plugins/compound-engineering/commands/create-agent-skill.md +9 -0
  58. package/plugins/compound-engineering/commands/deepen-plan.md +546 -0
  59. package/plugins/compound-engineering/commands/deploy-docs.md +113 -0
  60. package/plugins/compound-engineering/commands/feature-video.md +342 -0
  61. package/plugins/compound-engineering/commands/generate_command.md +163 -0
  62. package/plugins/compound-engineering/commands/heal-skill.md +143 -0
  63. package/plugins/compound-engineering/commands/lfg.md +20 -0
  64. package/plugins/compound-engineering/commands/release-docs.md +212 -0
  65. package/plugins/compound-engineering/commands/report-bug.md +151 -0
  66. package/plugins/compound-engineering/commands/reproduce-bug.md +100 -0
  67. package/plugins/compound-engineering/commands/resolve_parallel.md +35 -0
  68. package/plugins/compound-engineering/commands/resolve_todo_parallel.md +37 -0
  69. package/plugins/compound-engineering/commands/slfg.md +32 -0
  70. package/plugins/compound-engineering/commands/technical_review.md +8 -0
  71. package/plugins/compound-engineering/commands/test-browser.md +339 -0
  72. package/plugins/compound-engineering/commands/test-xcode.md +332 -0
  73. package/plugins/compound-engineering/commands/triage.md +311 -0
  74. package/plugins/compound-engineering/commands/workflows/brainstorm.md +124 -0
  75. package/plugins/compound-engineering/commands/workflows/compound.md +239 -0
  76. package/plugins/compound-engineering/commands/workflows/plan.md +551 -0
  77. package/plugins/compound-engineering/commands/workflows/review.md +526 -0
  78. package/plugins/compound-engineering/commands/workflows/work.md +433 -0
  79. package/plugins/compound-engineering/skills/agent-browser/SKILL.md +223 -0
  80. package/plugins/compound-engineering/skills/agent-native-architecture/SKILL.md +435 -0
  81. package/plugins/compound-engineering/skills/agent-native-architecture/references/action-parity-discipline.md +409 -0
  82. package/plugins/compound-engineering/skills/agent-native-architecture/references/agent-execution-patterns.md +467 -0
  83. package/plugins/compound-engineering/skills/agent-native-architecture/references/agent-native-testing.md +582 -0
  84. package/plugins/compound-engineering/skills/agent-native-architecture/references/architecture-patterns.md +478 -0
  85. package/plugins/compound-engineering/skills/agent-native-architecture/references/dynamic-context-injection.md +338 -0
  86. package/plugins/compound-engineering/skills/agent-native-architecture/references/files-universal-interface.md +301 -0
  87. package/plugins/compound-engineering/skills/agent-native-architecture/references/from-primitives-to-domain-tools.md +359 -0
  88. package/plugins/compound-engineering/skills/agent-native-architecture/references/mcp-tool-design.md +506 -0
  89. package/plugins/compound-engineering/skills/agent-native-architecture/references/mobile-patterns.md +871 -0
  90. package/plugins/compound-engineering/skills/agent-native-architecture/references/product-implications.md +443 -0
  91. package/plugins/compound-engineering/skills/agent-native-architecture/references/refactoring-to-prompt-native.md +317 -0
  92. package/plugins/compound-engineering/skills/agent-native-architecture/references/self-modification.md +269 -0
  93. package/plugins/compound-engineering/skills/agent-native-architecture/references/shared-workspace-architecture.md +680 -0
  94. package/plugins/compound-engineering/skills/agent-native-architecture/references/system-prompt-design.md +250 -0
  95. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/SKILL.md +184 -0
  96. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/database-adapters.md +231 -0
  97. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/module-organization.md +121 -0
  98. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/rails-integration.md +183 -0
  99. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/resources.md +119 -0
  100. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/testing-patterns.md +261 -0
  101. package/plugins/compound-engineering/skills/brainstorming/SKILL.md +190 -0
  102. package/plugins/compound-engineering/skills/compound-docs/SKILL.md +511 -0
  103. package/plugins/compound-engineering/skills/compound-docs/assets/critical-pattern-template.md +34 -0
  104. package/plugins/compound-engineering/skills/compound-docs/assets/resolution-template.md +93 -0
  105. package/plugins/compound-engineering/skills/compound-docs/references/yaml-schema.md +65 -0
  106. package/plugins/compound-engineering/skills/compound-docs/schema.yaml +176 -0
  107. package/plugins/compound-engineering/skills/create-agent-skills/SKILL.md +275 -0
  108. package/plugins/compound-engineering/skills/create-agent-skills/references/api-security.md +226 -0
  109. package/plugins/compound-engineering/skills/create-agent-skills/references/be-clear-and-direct.md +531 -0
  110. package/plugins/compound-engineering/skills/create-agent-skills/references/best-practices.md +404 -0
  111. package/plugins/compound-engineering/skills/create-agent-skills/references/common-patterns.md +595 -0
  112. package/plugins/compound-engineering/skills/create-agent-skills/references/core-principles.md +437 -0
  113. package/plugins/compound-engineering/skills/create-agent-skills/references/executable-code.md +175 -0
  114. package/plugins/compound-engineering/skills/create-agent-skills/references/iteration-and-testing.md +474 -0
  115. package/plugins/compound-engineering/skills/create-agent-skills/references/official-spec.md +134 -0
  116. package/plugins/compound-engineering/skills/create-agent-skills/references/recommended-structure.md +168 -0
  117. package/plugins/compound-engineering/skills/create-agent-skills/references/skill-structure.md +152 -0
  118. package/plugins/compound-engineering/skills/create-agent-skills/references/using-scripts.md +113 -0
  119. package/plugins/compound-engineering/skills/create-agent-skills/references/using-templates.md +112 -0
  120. package/plugins/compound-engineering/skills/create-agent-skills/references/workflows-and-validation.md +510 -0
  121. package/plugins/compound-engineering/skills/create-agent-skills/templates/router-skill.md +73 -0
  122. package/plugins/compound-engineering/skills/create-agent-skills/templates/simple-skill.md +33 -0
  123. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-reference.md +96 -0
  124. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-script.md +93 -0
  125. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-template.md +74 -0
  126. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-workflow.md +120 -0
  127. package/plugins/compound-engineering/skills/create-agent-skills/workflows/audit-skill.md +138 -0
  128. package/plugins/compound-engineering/skills/create-agent-skills/workflows/create-domain-expertise-skill.md +605 -0
  129. package/plugins/compound-engineering/skills/create-agent-skills/workflows/create-new-skill.md +191 -0
  130. package/plugins/compound-engineering/skills/create-agent-skills/workflows/get-guidance.md +121 -0
  131. package/plugins/compound-engineering/skills/create-agent-skills/workflows/upgrade-to-router.md +161 -0
  132. package/plugins/compound-engineering/skills/create-agent-skills/workflows/verify-skill.md +204 -0
  133. package/plugins/compound-engineering/skills/dhh-rails-style/SKILL.md +185 -0
  134. package/plugins/compound-engineering/skills/dhh-rails-style/references/architecture.md +653 -0
  135. package/plugins/compound-engineering/skills/dhh-rails-style/references/controllers.md +303 -0
  136. package/plugins/compound-engineering/skills/dhh-rails-style/references/frontend.md +510 -0
  137. package/plugins/compound-engineering/skills/dhh-rails-style/references/gems.md +266 -0
  138. package/plugins/compound-engineering/skills/dhh-rails-style/references/models.md +359 -0
  139. package/plugins/compound-engineering/skills/dhh-rails-style/references/testing.md +338 -0
  140. package/plugins/compound-engineering/skills/document-review/SKILL.md +87 -0
  141. package/plugins/compound-engineering/skills/dspy-ruby/SKILL.md +737 -0
  142. package/plugins/compound-engineering/skills/dspy-ruby/assets/config-template.rb +187 -0
  143. package/plugins/compound-engineering/skills/dspy-ruby/assets/module-template.rb +300 -0
  144. package/plugins/compound-engineering/skills/dspy-ruby/assets/signature-template.rb +221 -0
  145. package/plugins/compound-engineering/skills/dspy-ruby/references/core-concepts.md +674 -0
  146. package/plugins/compound-engineering/skills/dspy-ruby/references/observability.md +366 -0
  147. package/plugins/compound-engineering/skills/dspy-ruby/references/optimization.md +603 -0
  148. package/plugins/compound-engineering/skills/dspy-ruby/references/providers.md +418 -0
  149. package/plugins/compound-engineering/skills/dspy-ruby/references/toolsets.md +502 -0
  150. package/plugins/compound-engineering/skills/every-style-editor/SKILL.md +134 -0
  151. package/plugins/compound-engineering/skills/every-style-editor/references/EVERY_WRITE_STYLE.md +529 -0
  152. package/plugins/compound-engineering/skills/file-todos/SKILL.md +252 -0
  153. package/plugins/compound-engineering/skills/file-todos/assets/todo-template.md +155 -0
  154. package/plugins/compound-engineering/skills/frontend-design/SKILL.md +42 -0
  155. package/plugins/compound-engineering/skills/gemini-imagegen/SKILL.md +237 -0
  156. package/plugins/compound-engineering/skills/gemini-imagegen/requirements.txt +2 -0
  157. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/compose_images.py +157 -0
  158. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/edit_image.py +144 -0
  159. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/gemini_images.py +263 -0
  160. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/generate_image.py +133 -0
  161. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/multi_turn_chat.py +216 -0
  162. package/plugins/compound-engineering/skills/git-worktree/SKILL.md +302 -0
  163. package/plugins/compound-engineering/skills/git-worktree/scripts/worktree-manager.sh +337 -0
  164. package/plugins/compound-engineering/skills/orchestrating-swarms/SKILL.md +1718 -0
  165. package/plugins/compound-engineering/skills/rclone/SKILL.md +150 -0
  166. package/plugins/compound-engineering/skills/rclone/scripts/check_setup.sh +60 -0
  167. package/plugins/compound-engineering/skills/resolve-pr-parallel/SKILL.md +89 -0
  168. package/plugins/compound-engineering/skills/resolve-pr-parallel/scripts/get-pr-comments +68 -0
  169. package/plugins/compound-engineering/skills/resolve-pr-parallel/scripts/resolve-pr-thread +23 -0
  170. package/plugins/compound-engineering/skills/skill-creator/SKILL.md +210 -0
  171. package/plugins/compound-engineering/skills/skill-creator/scripts/init_skill.py +303 -0
  172. package/plugins/compound-engineering/skills/skill-creator/scripts/package_skill.py +110 -0
  173. package/plugins/compound-engineering/skills/skill-creator/scripts/quick_validate.py +65 -0
  174. package/prompts/deepen-plan.md +549 -0
  175. package/prompts/feature-video.md +341 -0
  176. package/prompts/resolve_todo_parallel.md +36 -0
  177. package/prompts/test-browser.md +342 -0
  178. package/prompts/workflows-brainstorm.md +123 -0
  179. package/prompts/workflows-compound.md +238 -0
  180. package/prompts/workflows-plan.md +550 -0
  181. package/prompts/workflows-review.md +529 -0
  182. package/prompts/workflows-work.md +432 -0
  183. package/skills/agent-browser/SKILL.md +223 -0
  184. package/skills/agent-native-architecture/SKILL.md +435 -0
  185. package/skills/agent-native-architecture/references/action-parity-discipline.md +409 -0
  186. package/skills/agent-native-architecture/references/agent-execution-patterns.md +467 -0
  187. package/skills/agent-native-architecture/references/agent-native-testing.md +582 -0
  188. package/skills/agent-native-architecture/references/architecture-patterns.md +478 -0
  189. package/skills/agent-native-architecture/references/dynamic-context-injection.md +338 -0
  190. package/skills/agent-native-architecture/references/files-universal-interface.md +301 -0
  191. package/skills/agent-native-architecture/references/from-primitives-to-domain-tools.md +359 -0
  192. package/skills/agent-native-architecture/references/mcp-tool-design.md +506 -0
  193. package/skills/agent-native-architecture/references/mobile-patterns.md +871 -0
  194. package/skills/agent-native-architecture/references/product-implications.md +443 -0
  195. package/skills/agent-native-architecture/references/refactoring-to-prompt-native.md +317 -0
  196. package/skills/agent-native-architecture/references/self-modification.md +269 -0
  197. package/skills/agent-native-architecture/references/shared-workspace-architecture.md +680 -0
  198. package/skills/agent-native-architecture/references/system-prompt-design.md +250 -0
  199. package/skills/agent-native-reviewer/SKILL.md +260 -0
  200. package/skills/andrew-kane-gem-writer/SKILL.md +184 -0
  201. package/skills/andrew-kane-gem-writer/references/database-adapters.md +231 -0
  202. package/skills/andrew-kane-gem-writer/references/module-organization.md +121 -0
  203. package/skills/andrew-kane-gem-writer/references/rails-integration.md +183 -0
  204. package/skills/andrew-kane-gem-writer/references/resources.md +119 -0
  205. package/skills/andrew-kane-gem-writer/references/testing-patterns.md +261 -0
  206. package/skills/ankane-readme-writer/SKILL.md +63 -0
  207. package/skills/architecture-strategist/SKILL.md +66 -0
  208. package/skills/best-practices-researcher/SKILL.md +125 -0
  209. package/skills/brainstorming/SKILL.md +190 -0
  210. package/skills/bug-reproduction-validator/SKILL.md +81 -0
  211. package/skills/code-simplicity-reviewer/SKILL.md +100 -0
  212. package/skills/compound-docs/SKILL.md +511 -0
  213. package/skills/compound-docs/assets/critical-pattern-template.md +34 -0
  214. package/skills/compound-docs/assets/resolution-template.md +93 -0
  215. package/skills/compound-docs/references/yaml-schema.md +65 -0
  216. package/skills/compound-docs/schema.yaml +176 -0
  217. package/skills/create-agent-skills/SKILL.md +275 -0
  218. package/skills/create-agent-skills/references/api-security.md +226 -0
  219. package/skills/create-agent-skills/references/be-clear-and-direct.md +531 -0
  220. package/skills/create-agent-skills/references/best-practices.md +404 -0
  221. package/skills/create-agent-skills/references/common-patterns.md +595 -0
  222. package/skills/create-agent-skills/references/core-principles.md +437 -0
  223. package/skills/create-agent-skills/references/executable-code.md +175 -0
  224. package/skills/create-agent-skills/references/iteration-and-testing.md +474 -0
  225. package/skills/create-agent-skills/references/official-spec.md +134 -0
  226. package/skills/create-agent-skills/references/recommended-structure.md +168 -0
  227. package/skills/create-agent-skills/references/skill-structure.md +152 -0
  228. package/skills/create-agent-skills/references/using-scripts.md +113 -0
  229. package/skills/create-agent-skills/references/using-templates.md +112 -0
  230. package/skills/create-agent-skills/references/workflows-and-validation.md +510 -0
  231. package/skills/create-agent-skills/templates/router-skill.md +73 -0
  232. package/skills/create-agent-skills/templates/simple-skill.md +33 -0
  233. package/skills/create-agent-skills/workflows/add-reference.md +96 -0
  234. package/skills/create-agent-skills/workflows/add-script.md +93 -0
  235. package/skills/create-agent-skills/workflows/add-template.md +74 -0
  236. package/skills/create-agent-skills/workflows/add-workflow.md +120 -0
  237. package/skills/create-agent-skills/workflows/audit-skill.md +138 -0
  238. package/skills/create-agent-skills/workflows/create-domain-expertise-skill.md +605 -0
  239. package/skills/create-agent-skills/workflows/create-new-skill.md +191 -0
  240. package/skills/create-agent-skills/workflows/get-guidance.md +121 -0
  241. package/skills/create-agent-skills/workflows/upgrade-to-router.md +161 -0
  242. package/skills/create-agent-skills/workflows/verify-skill.md +204 -0
  243. package/skills/data-integrity-guardian/SKILL.md +84 -0
  244. package/skills/data-migration-expert/SKILL.md +111 -0
  245. package/skills/deployment-verification-agent/SKILL.md +173 -0
  246. package/skills/design-implementation-reviewer/SKILL.md +107 -0
  247. package/skills/design-iterator/SKILL.md +222 -0
  248. package/skills/dhh-rails-reviewer/SKILL.md +65 -0
  249. package/skills/dhh-rails-style/SKILL.md +185 -0
  250. package/skills/dhh-rails-style/references/architecture.md +653 -0
  251. package/skills/dhh-rails-style/references/controllers.md +303 -0
  252. package/skills/dhh-rails-style/references/frontend.md +510 -0
  253. package/skills/dhh-rails-style/references/gems.md +266 -0
  254. package/skills/dhh-rails-style/references/models.md +359 -0
  255. package/skills/dhh-rails-style/references/testing.md +338 -0
  256. package/skills/document-review/SKILL.md +87 -0
  257. package/skills/dspy-ruby/SKILL.md +737 -0
  258. package/skills/dspy-ruby/assets/config-template.rb +187 -0
  259. package/skills/dspy-ruby/assets/module-template.rb +300 -0
  260. package/skills/dspy-ruby/assets/signature-template.rb +221 -0
  261. package/skills/dspy-ruby/references/core-concepts.md +674 -0
  262. package/skills/dspy-ruby/references/observability.md +366 -0
  263. package/skills/dspy-ruby/references/optimization.md +603 -0
  264. package/skills/dspy-ruby/references/providers.md +418 -0
  265. package/skills/dspy-ruby/references/toolsets.md +502 -0
  266. package/skills/every-style-editor/SKILL.md +134 -0
  267. package/skills/every-style-editor/references/EVERY_WRITE_STYLE.md +529 -0
  268. package/skills/every-style-editor-2/SKILL.md +62 -0
  269. package/skills/figma-design-sync/SKILL.md +188 -0
  270. package/skills/file-todos/SKILL.md +252 -0
  271. package/skills/file-todos/assets/todo-template.md +155 -0
  272. package/skills/framework-docs-researcher/SKILL.md +105 -0
  273. package/skills/frontend-design/SKILL.md +42 -0
  274. package/skills/gemini-imagegen/SKILL.md +237 -0
  275. package/skills/gemini-imagegen/requirements.txt +2 -0
  276. package/skills/gemini-imagegen/scripts/compose_images.py +157 -0
  277. package/skills/gemini-imagegen/scripts/edit_image.py +144 -0
  278. package/skills/gemini-imagegen/scripts/gemini_images.py +263 -0
  279. package/skills/gemini-imagegen/scripts/generate_image.py +133 -0
  280. package/skills/gemini-imagegen/scripts/multi_turn_chat.py +216 -0
  281. package/skills/git-history-analyzer/SKILL.md +58 -0
  282. package/skills/git-worktree/SKILL.md +302 -0
  283. package/skills/git-worktree/scripts/worktree-manager.sh +337 -0
  284. package/skills/julik-frontend-races-reviewer/SKILL.md +220 -0
  285. package/skills/kieran-python-reviewer/SKILL.md +132 -0
  286. package/skills/kieran-rails-reviewer/SKILL.md +114 -0
  287. package/skills/kieran-typescript-reviewer/SKILL.md +123 -0
  288. package/skills/learnings-researcher/SKILL.md +263 -0
  289. package/skills/lint/SKILL.md +14 -0
  290. package/skills/orchestrating-swarms/SKILL.md +1718 -0
  291. package/skills/pattern-recognition-specialist/SKILL.md +71 -0
  292. package/skills/performance-oracle/SKILL.md +136 -0
  293. package/skills/pr-comment-resolver/SKILL.md +82 -0
  294. package/skills/rclone/SKILL.md +150 -0
  295. package/skills/rclone/scripts/check_setup.sh +60 -0
  296. package/skills/repo-research-analyst/SKILL.md +134 -0
  297. package/skills/resolve_pr_parallel/SKILL.md +89 -0
  298. package/skills/resolve_pr_parallel/scripts/get-pr-comments +68 -0
  299. package/skills/resolve_pr_parallel/scripts/resolve-pr-thread +23 -0
  300. package/skills/schema-drift-detector/SKILL.md +153 -0
  301. package/skills/security-sentinel/SKILL.md +113 -0
  302. package/skills/skill-creator/SKILL.md +210 -0
  303. package/skills/skill-creator/scripts/init_skill.py +303 -0
  304. package/skills/skill-creator/scripts/package_skill.py +110 -0
  305. package/skills/skill-creator/scripts/quick_validate.py +65 -0
  306. package/skills/spec-flow-analyzer/SKILL.md +133 -0
  307. package/src/commands/convert.ts +183 -0
  308. package/src/commands/install.ts +273 -0
  309. package/src/commands/list.ts +37 -0
  310. package/src/commands/sync.ts +89 -0
  311. package/src/converters/claude-to-codex.ts +182 -0
  312. package/src/converters/claude-to-opencode.ts +395 -0
  313. package/src/converters/claude-to-pi.ts +205 -0
  314. package/src/index.ts +22 -0
  315. package/src/parsers/claude-home.ts +65 -0
  316. package/src/parsers/claude.ts +252 -0
  317. package/src/sync/codex.ts +92 -0
  318. package/src/sync/opencode.ts +75 -0
  319. package/src/sync/pi.ts +88 -0
  320. package/src/targets/codex.ts +96 -0
  321. package/src/targets/index.ts +38 -0
  322. package/src/targets/opencode.ts +57 -0
  323. package/src/targets/pi.ts +131 -0
  324. package/src/templates/pi/compat-extension.ts +452 -0
  325. package/src/types/claude.ts +90 -0
  326. package/src/types/codex.ts +23 -0
  327. package/src/types/opencode.ts +54 -0
  328. package/src/types/pi.ts +40 -0
  329. package/src/utils/codex-agents.ts +64 -0
  330. package/src/utils/files.ts +77 -0
  331. package/src/utils/frontmatter.ts +65 -0
  332. package/src/utils/symlink.ts +43 -0
@@ -0,0 +1,550 @@
1
+ ---
2
+ description: Transform feature descriptions into well-structured project plans following conventions
3
+ argument-hint: "[feature description, bug report, or improvement idea]"
4
+ ---
5
+
6
+ # Create a plan for a new feature or bug fix
7
+
8
+ ## Introduction
9
+
10
+ **Note: The current year is 2026.** Use this when dating plans and searching for recent documentation.
11
+
12
+ Transform feature descriptions, bug reports, or improvement ideas into well-structured markdown files issues that follow project conventions and best practices. This command provides flexible detail levels to match your needs.
13
+
14
+ ## Feature Description
15
+
16
+ <feature_description> #$ARGUMENTS </feature_description>
17
+
18
+ **If the feature description above is empty, ask the user:** "What would you like to plan? Please describe the feature, bug fix, or improvement you have in mind."
19
+
20
+ Do not proceed until you have a clear feature description from the user.
21
+
22
+ ### 0. Idea Refinement
23
+
24
+ **Check for brainstorm output first:**
25
+
26
+ Before asking questions, look for recent brainstorm documents in `docs/brainstorms/` that match this feature:
27
+
28
+ ```bash
29
+ ls -la docs/brainstorms/*.md 2>/dev/null | head -10
30
+ ```
31
+
32
+ **Relevance criteria:** A brainstorm is relevant if:
33
+ - The topic (from filename or YAML frontmatter) semantically matches the feature description
34
+ - Created within the last 14 days
35
+ - If multiple candidates match, use the most recent one
36
+
37
+ **If a relevant brainstorm exists:**
38
+ 1. Read the brainstorm document
39
+ 2. Announce: "Found brainstorm from [date]: [topic]. Using as context for planning."
40
+ 3. Extract key decisions, chosen approach, and open questions
41
+ 4. **Skip the idea refinement questions below** - the brainstorm already answered WHAT to build
42
+ 5. Use brainstorm decisions as input to the research phase
43
+
44
+ **If multiple brainstorms could match:**
45
+ Use **ask_user_question tool** to ask which brainstorm to use, or whether to proceed without one.
46
+
47
+ **If no brainstorm found (or not relevant), run idea refinement:**
48
+
49
+ Refine the idea through collaborative dialogue using the **ask_user_question tool**:
50
+
51
+ - Ask questions one at a time to understand the idea fully
52
+ - Prefer multiple choice questions when natural options exist
53
+ - Focus on understanding: purpose, constraints and success criteria
54
+ - Continue until the idea is clear OR user says "proceed"
55
+
56
+ **Gather signals for research decision.** During refinement, note:
57
+
58
+ - **User's familiarity**: Do they know the codebase patterns? Are they pointing to examples?
59
+ - **User's intent**: Speed vs thoroughness? Exploration vs execution?
60
+ - **Topic risk**: Security, payments, external APIs warrant more caution
61
+ - **Uncertainty level**: Is the approach clear or open-ended?
62
+
63
+ **Skip option:** If the feature description is already detailed, offer:
64
+ "Your description is clear. Should I proceed with research, or would you like to refine it further?"
65
+
66
+ ## Main Tasks
67
+
68
+ ### 1. Local Research (Always Runs - Parallel)
69
+
70
+ <thinking>
71
+ First, I need to understand the project's conventions, existing patterns, and any documented learnings. This is fast and local - it informs whether external research is needed.
72
+ </thinking>
73
+
74
+ Run these agents **in parallel** to gather local context:
75
+
76
+ - Run subagent with agent="repo-research-analyst" and task="feature_description".
77
+ - Run subagent with agent="learnings-researcher" and task="feature_description".
78
+
79
+ **What to look for:**
80
+ - **Repo research:** existing patterns, CLAUDE.md guidance, technology familiarity, pattern consistency
81
+ - **Learnings:** documented solutions in `docs/solutions/` that might apply (gotchas, patterns, lessons learned)
82
+
83
+ These findings inform the next step.
84
+
85
+ ### 1.5. Research Decision
86
+
87
+ Based on signals from Step 0 and findings from Step 1, decide on external research.
88
+
89
+ **High-risk topics → always research.** Security, payments, external APIs, data privacy. The cost of missing something is too high. This takes precedence over speed signals.
90
+
91
+ **Strong local context → skip external research.** Codebase has good patterns, CLAUDE.md has guidance, user knows what they want. External research adds little value.
92
+
93
+ **Uncertainty or unfamiliar territory → research.** User is exploring, codebase has no examples, new technology. External perspective is valuable.
94
+
95
+ **Announce the decision and proceed.** Brief explanation, then continue. User can redirect if needed.
96
+
97
+ Examples:
98
+ - "Your codebase has solid patterns for this. Proceeding without external research."
99
+ - "This involves payment processing, so I'll research current best practices first."
100
+
101
+ ### 1.5b. External Research (Conditional)
102
+
103
+ **Only run if Step 1.5 indicates external research is valuable.**
104
+
105
+ Run these agents in parallel:
106
+
107
+ - Run subagent with agent="best-practices-researcher" and task="feature_description".
108
+ - Run subagent with agent="framework-docs-researcher" and task="feature_description".
109
+
110
+ ### 1.6. Consolidate Research
111
+
112
+ After all research steps complete, consolidate findings:
113
+
114
+ - Document relevant file paths from repo research (e.g., `app/services/example_service.rb:42`)
115
+ - **Include relevant institutional learnings** from `docs/solutions/` (key insights, gotchas to avoid)
116
+ - Note external documentation URLs and best practices (if external research was done)
117
+ - List related issues or PRs discovered
118
+ - Capture CLAUDE.md conventions
119
+
120
+ **Optional validation:** Briefly summarize findings and ask if anything looks off or missing before proceeding to planning.
121
+
122
+ ### 2. Issue Planning & Structure
123
+
124
+ <thinking>
125
+ Think like a product manager - what would make this issue clear and actionable? Consider multiple perspectives
126
+ </thinking>
127
+
128
+ **Title & Categorization:**
129
+
130
+ - [ ] Draft clear, searchable issue title using conventional format (e.g., `feat: Add user authentication`, `fix: Cart total calculation`)
131
+ - [ ] Determine issue type: enhancement, bug, refactor
132
+ - [ ] Convert title to filename: add today's date prefix, strip prefix colon, kebab-case, add `-plan` suffix
133
+ - Example: `feat: Add User Authentication` → `2026-01-21-feat-add-user-authentication-plan.md`
134
+ - Keep it descriptive (3-5 words after prefix) so plans are findable by context
135
+
136
+ **Stakeholder Analysis:**
137
+
138
+ - [ ] Identify who will be affected by this issue (end users, developers, operations)
139
+ - [ ] Consider implementation complexity and required expertise
140
+
141
+ **Content Planning:**
142
+
143
+ - [ ] Choose appropriate detail level based on issue complexity and audience
144
+ - [ ] List all necessary sections for the chosen template
145
+ - [ ] Gather supporting materials (error logs, screenshots, design mockups)
146
+ - [ ] Prepare code examples or reproduction steps if applicable, name the mock filenames in the lists
147
+
148
+ ### 3. SpecFlow Analysis
149
+
150
+ After planning the issue structure, run SpecFlow Analyzer to validate and refine the feature specification:
151
+
152
+ - Run subagent with agent="spec-flow-analyzer" and task="feature_description, research_findings".
153
+
154
+ **SpecFlow Analyzer Output:**
155
+
156
+ - [ ] Review SpecFlow analysis results
157
+ - [ ] Incorporate any identified gaps or edge cases into the issue
158
+ - [ ] Update acceptance criteria based on SpecFlow findings
159
+
160
+ ### 4. Choose Implementation Detail Level
161
+
162
+ Select how comprehensive you want the issue to be, simpler is mostly better.
163
+
164
+ #### 📄 MINIMAL (Quick Issue)
165
+
166
+ **Best for:** Simple bugs, small improvements, clear features
167
+
168
+ **Includes:**
169
+
170
+ - Problem statement or feature description
171
+ - Basic acceptance criteria
172
+ - Essential context only
173
+
174
+ **Structure:**
175
+
176
+ ````markdown
177
+ ---
178
+ title: [Issue Title]
179
+ type: [feat|fix|refactor]
180
+ date: YYYY-MM-DD
181
+ ---
182
+
183
+ # [Issue Title]
184
+
185
+ [Brief problem/feature description]
186
+
187
+ ## Acceptance Criteria
188
+
189
+ - [ ] Core requirement 1
190
+ - [ ] Core requirement 2
191
+
192
+ ## Context
193
+
194
+ [Any critical information]
195
+
196
+ ## MVP
197
+
198
+ ### test.rb
199
+
200
+ ```ruby
201
+ class Test
202
+ def initialize
203
+ @name = "test"
204
+ end
205
+ end
206
+ ```
207
+
208
+ ## References
209
+
210
+ - Related issue: #[issue_number]
211
+ - Documentation: [relevant_docs_url]
212
+ ````
213
+
214
+ #### 📋 MORE (Standard Issue)
215
+
216
+ **Best for:** Most features, complex bugs, team collaboration
217
+
218
+ **Includes everything from MINIMAL plus:**
219
+
220
+ - Detailed background and motivation
221
+ - Technical considerations
222
+ - Success metrics
223
+ - Dependencies and risks
224
+ - Basic implementation suggestions
225
+
226
+ **Structure:**
227
+
228
+ ```markdown
229
+ ---
230
+ title: [Issue Title]
231
+ type: [feat|fix|refactor]
232
+ date: YYYY-MM-DD
233
+ ---
234
+
235
+ # [Issue Title]
236
+
237
+ ## Overview
238
+
239
+ [Comprehensive description]
240
+
241
+ ## Problem Statement / Motivation
242
+
243
+ [Why this matters]
244
+
245
+ ## Proposed Solution
246
+
247
+ [High-level approach]
248
+
249
+ ## Technical Considerations
250
+
251
+ - Architecture impacts
252
+ - Performance implications
253
+ - Security considerations
254
+
255
+ ## Acceptance Criteria
256
+
257
+ - [ ] Detailed requirement 1
258
+ - [ ] Detailed requirement 2
259
+ - [ ] Testing requirements
260
+
261
+ ## Success Metrics
262
+
263
+ [How we measure success]
264
+
265
+ ## Dependencies & Risks
266
+
267
+ [What could block or complicate this]
268
+
269
+ ## References & Research
270
+
271
+ - Similar implementations: [file_path:line_number]
272
+ - Best practices: [documentation_url]
273
+ - Related PRs: #[pr_number]
274
+ ```
275
+
276
+ #### 📚 A LOT (Comprehensive Issue)
277
+
278
+ **Best for:** Major features, architectural changes, complex integrations
279
+
280
+ **Includes everything from MORE plus:**
281
+
282
+ - Detailed implementation plan with phases
283
+ - Alternative approaches considered
284
+ - Extensive technical specifications
285
+ - Resource requirements and timeline
286
+ - Future considerations and extensibility
287
+ - Risk mitigation strategies
288
+ - Documentation requirements
289
+
290
+ **Structure:**
291
+
292
+ ```markdown
293
+ ---
294
+ title: [Issue Title]
295
+ type: [feat|fix|refactor]
296
+ date: YYYY-MM-DD
297
+ ---
298
+
299
+ # [Issue Title]
300
+
301
+ ## Overview
302
+
303
+ [Executive summary]
304
+
305
+ ## Problem Statement
306
+
307
+ [Detailed problem analysis]
308
+
309
+ ## Proposed Solution
310
+
311
+ [Comprehensive solution design]
312
+
313
+ ## Technical Approach
314
+
315
+ ### Architecture
316
+
317
+ [Detailed technical design]
318
+
319
+ ### Implementation Phases
320
+
321
+ #### Phase 1: [Foundation]
322
+
323
+ - Tasks and deliverables
324
+ - Success criteria
325
+ - Estimated effort
326
+
327
+ #### Phase 2: [Core Implementation]
328
+
329
+ - Tasks and deliverables
330
+ - Success criteria
331
+ - Estimated effort
332
+
333
+ #### Phase 3: [Polish & Optimization]
334
+
335
+ - Tasks and deliverables
336
+ - Success criteria
337
+ - Estimated effort
338
+
339
+ ## Alternative Approaches Considered
340
+
341
+ [Other solutions evaluated and why rejected]
342
+
343
+ ## Acceptance Criteria
344
+
345
+ ### Functional Requirements
346
+
347
+ - [ ] Detailed functional criteria
348
+
349
+ ### Non-Functional Requirements
350
+
351
+ - [ ] Performance targets
352
+ - [ ] Security requirements
353
+ - [ ] Accessibility standards
354
+
355
+ ### Quality Gates
356
+
357
+ - [ ] Test coverage requirements
358
+ - [ ] Documentation completeness
359
+ - [ ] Code review approval
360
+
361
+ ## Success Metrics
362
+
363
+ [Detailed KPIs and measurement methods]
364
+
365
+ ## Dependencies & Prerequisites
366
+
367
+ [Detailed dependency analysis]
368
+
369
+ ## Risk Analysis & Mitigation
370
+
371
+ [Comprehensive risk assessment]
372
+
373
+ ## Resource Requirements
374
+
375
+ [Team, time, infrastructure needs]
376
+
377
+ ## Future Considerations
378
+
379
+ [Extensibility and long-term vision]
380
+
381
+ ## Documentation Plan
382
+
383
+ [What docs need updating]
384
+
385
+ ## References & Research
386
+
387
+ ### Internal References
388
+
389
+ - Architecture decisions: [file_path:line_number]
390
+ - Similar features: [file_path:line_number]
391
+ - Configuration: [file_path:line_number]
392
+
393
+ ### External References
394
+
395
+ - Framework documentation: [url]
396
+ - Best practices guide: [url]
397
+ - Industry standards: [url]
398
+
399
+ ### Related Work
400
+
401
+ - Previous PRs: #[pr_numbers]
402
+ - Related issues: #[issue_numbers]
403
+ - Design documents: [links]
404
+ ```
405
+
406
+ ### 5. Issue Creation & Formatting
407
+
408
+ <thinking>
409
+ Apply best practices for clarity and actionability, making the issue easy to scan and understand
410
+ </thinking>
411
+
412
+ **Content Formatting:**
413
+
414
+ - [ ] Use clear, descriptive headings with proper hierarchy (##, ###)
415
+ - [ ] Include code examples in triple backticks with language syntax highlighting
416
+ - [ ] Add screenshots/mockups if UI-related (drag & drop or use image hosting)
417
+ - [ ] Use task lists (- [ ]) for trackable items that can be checked off
418
+ - [ ] Add collapsible sections for lengthy logs or optional details using `<details>` tags
419
+ - [ ] Apply appropriate emoji for visual scanning (🐛 bug, ✨ feature, 📚 docs, ♻️ refactor)
420
+
421
+ **Cross-Referencing:**
422
+
423
+ - [ ] Link to related issues/PRs using #number format
424
+ - [ ] Reference specific commits with SHA hashes when relevant
425
+ - [ ] Link to code using GitHub's permalink feature (press 'y' for permanent link)
426
+ - [ ] Mention relevant team members with @username if needed
427
+ - [ ] Add links to external resources with descriptive text
428
+
429
+ **Code & Examples:**
430
+
431
+ ````markdown
432
+ # Good example with syntax highlighting and line references
433
+
434
+
435
+ ```ruby
436
+ # app/services/user_service.rb:42
437
+ def process_user(user)
438
+
439
+ # Implementation here
440
+
441
+ end
442
+ ```
443
+
444
+ # Collapsible error logs
445
+
446
+ <details>
447
+ <summary>Full error stacktrace</summary>
448
+
449
+ `Error details here...`
450
+
451
+ </details>
452
+ ````
453
+
454
+ **AI-Era Considerations:**
455
+
456
+ - [ ] Account for accelerated development with AI pair programming
457
+ - [ ] Include prompts or instructions that worked well during research
458
+ - [ ] Note which AI tools were used for initial exploration (Claude, Copilot, etc.)
459
+ - [ ] Emphasize comprehensive testing given rapid implementation
460
+ - [ ] Document any AI-generated code that needs human review
461
+
462
+ ### 6. Final Review & Submission
463
+
464
+ **Pre-submission Checklist:**
465
+
466
+ - [ ] Title is searchable and descriptive
467
+ - [ ] Labels accurately categorize the issue
468
+ - [ ] All template sections are complete
469
+ - [ ] Links and references are working
470
+ - [ ] Acceptance criteria are measurable
471
+ - [ ] Add names of files in pseudo code examples and todo lists
472
+ - [ ] Add an ERD mermaid diagram if applicable for new model changes
473
+
474
+ ## Output Format
475
+
476
+ **Filename:** Use the date and kebab-case filename from Step 2 Title & Categorization.
477
+
478
+ ```
479
+ docs/plans/YYYY-MM-DD-<type>-<descriptive-name>-plan.md
480
+ ```
481
+
482
+ Examples:
483
+ - ✅ `docs/plans/2026-01-15-feat-user-authentication-flow-plan.md`
484
+ - ✅ `docs/plans/2026-02-03-fix-checkout-race-condition-plan.md`
485
+ - ✅ `docs/plans/2026-03-10-refactor-api-client-extraction-plan.md`
486
+ - ❌ `docs/plans/2026-01-15-feat-thing-plan.md` (not descriptive - what "thing"?)
487
+ - ❌ `docs/plans/2026-01-15-feat-new-feature-plan.md` (too vague - what feature?)
488
+ - ❌ `docs/plans/2026-01-15-feat: user auth-plan.md` (invalid characters - colon and space)
489
+ - ❌ `docs/plans/feat-user-auth-plan.md` (missing date prefix)
490
+
491
+ ## Post-Generation Options
492
+
493
+ After writing the plan file, use the **ask_user_question tool** to present these options:
494
+
495
+ **Question:** "Plan ready at `docs/plans/YYYY-MM-DD-<type>-<name>-plan.md`. What would you like to do next?"
496
+
497
+ **Options:**
498
+ 1. **Open plan in editor** - Open the plan file for review
499
+ 2. **Run `/deepen-plan`** - Enhance each section with parallel research agents (best practices, performance, UI)
500
+ 3. **Run `/technical_review`** - Technical feedback from code-focused reviewers (DHH, Kieran, Simplicity)
501
+ 4. **Review and refine** - Improve the document through structured self-review
502
+ 5. **Start `/workflows-work`** - Begin implementing this plan locally
503
+ 6. **Start `/workflows-work` on remote** - Begin implementing in Claude Code on the web (use `&` to run in background)
504
+ 7. **Create Issue** - Create issue in project tracker (GitHub/Linear)
505
+
506
+ Based on selection:
507
+ - **Open plan in editor** → Run `open docs/plans/<plan_filename>.md` to open the file in the user's default editor
508
+ - **`/deepen-plan`** → Call the /deepen-plan command with the plan file path to enhance with research
509
+ - **`/technical_review`** → Call the /technical_review command with the plan file path
510
+ - **Review and refine** → Load `document-review` skill.
511
+ - **`/workflows-work`** → Call the /workflows-work command with the plan file path
512
+ - **`/workflows-work` on remote** → Run `/workflows-work docs/plans/<plan_filename>.md &` to start work in background for Claude Code web
513
+ - **Create Issue** → See "Issue Creation" section below
514
+ - **Other** (automatically provided) → Accept free text for rework or specific changes
515
+
516
+ **Note:** If running `/workflows-plan` with ultrathink enabled, automatically run `/deepen-plan` after plan creation for maximum depth and grounding.
517
+
518
+ Loop back to options after Simplify or Other changes until user selects `/workflows-work` or `/technical_review`.
519
+
520
+ ## Issue Creation
521
+
522
+ When user selects "Create Issue", detect their project tracker from CLAUDE.md:
523
+
524
+ 1. **Check for tracker preference** in user's CLAUDE.md (global or project):
525
+ - Look for `project_tracker: github` or `project_tracker: linear`
526
+ - Or look for mentions of "GitHub Issues" or "Linear" in their workflow section
527
+
528
+ 2. **If GitHub:**
529
+
530
+ Use the title and type from Step 2 (already in context - no need to re-read the file):
531
+
532
+ ```bash
533
+ gh issue create --title "<type>: <title>" --body-file <plan_path>
534
+ ```
535
+
536
+ 3. **If Linear:**
537
+
538
+ ```bash
539
+ linear issue create --title "<title>" --description "$(cat <plan_path>)"
540
+ ```
541
+
542
+ 4. **If no tracker configured:**
543
+ Ask user: "Which project tracker do you use? (GitHub/Linear/Other)"
544
+ - Suggest adding `project_tracker: github` or `project_tracker: linear` to their CLAUDE.md
545
+
546
+ 5. **After creation:**
547
+ - Display the issue URL
548
+ - Ask if they want to proceed to `/workflows-work` or `/technical_review`
549
+
550
+ NEVER CODE! Just research and write the plan.