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,549 @@
1
+ ---
2
+ description: Enhance a plan with parallel research agents for each section to add depth, best practices, and implementation details
3
+ argument-hint: "[path to plan file]"
4
+ ---
5
+
6
+ # Deepen Plan - Power Enhancement Mode
7
+
8
+ ## Introduction
9
+
10
+ **Note: The current year is 2026.** Use this when searching for recent documentation and best practices.
11
+
12
+ This command takes an existing plan (from `/workflows-plan`) and enhances each section with parallel research agents. Each major element gets its own dedicated research sub-agent to find:
13
+ - Best practices and industry patterns
14
+ - Performance optimizations
15
+ - UI/UX improvements (if applicable)
16
+ - Quality enhancements and edge cases
17
+ - Real-world implementation examples
18
+
19
+ The result is a deeply grounded, production-ready plan with concrete implementation details.
20
+
21
+ ## Plan File
22
+
23
+ <plan_path> #$ARGUMENTS </plan_path>
24
+
25
+ **If the plan path above is empty:**
26
+ 1. Check for recent plans: `ls -la docs/plans/`
27
+ 2. Ask the user: "Which plan would you like to deepen? Please provide the path (e.g., `docs/plans/2026-01-15-feat-my-feature-plan.md`)."
28
+
29
+ Do not proceed until you have a valid plan file path.
30
+
31
+ ## Main Tasks
32
+
33
+ ### 1. Parse and Analyze Plan Structure
34
+
35
+ <thinking>
36
+ First, read and parse the plan to identify each major section that can be enhanced with research.
37
+ </thinking>
38
+
39
+ **Read the plan file and extract:**
40
+ - [ ] Overview/Problem Statement
41
+ - [ ] Proposed Solution sections
42
+ - [ ] Technical Approach/Architecture
43
+ - [ ] Implementation phases/steps
44
+ - [ ] Code examples and file references
45
+ - [ ] Acceptance criteria
46
+ - [ ] Any UI/UX components mentioned
47
+ - [ ] Technologies/frameworks mentioned (Rails, React, Python, TypeScript, etc.)
48
+ - [ ] Domain areas (data models, APIs, UI, security, performance, etc.)
49
+
50
+ **Create a section manifest:**
51
+ ```
52
+ Section 1: [Title] - [Brief description of what to research]
53
+ Section 2: [Title] - [Brief description of what to research]
54
+ ...
55
+ ```
56
+
57
+ ### 2. Discover and Apply Available Skills
58
+
59
+ <thinking>
60
+ Dynamically discover all available skills and match them to plan sections. Don't assume what skills exist - discover them at runtime.
61
+ </thinking>
62
+
63
+ **Step 1: Discover ALL available skills from ALL sources**
64
+
65
+ ```bash
66
+ # 1. Project-local skills (highest priority - project-specific)
67
+ ls .claude/skills/
68
+
69
+ # 2. User's global skills (~/.claude/)
70
+ ls ~/.claude/skills/
71
+
72
+ # 3. compound-engineering plugin skills
73
+ ls ~/.claude/plugins/cache/*/compound-engineering/*/skills/
74
+
75
+ # 4. ALL other installed plugins - check every plugin for skills
76
+ find ~/.claude/plugins/cache -type d -name "skills" 2>/dev/null
77
+
78
+ # 5. Also check installed_plugins.json for all plugin locations
79
+ cat ~/.claude/plugins/installed_plugins.json
80
+ ```
81
+
82
+ **Important:** Check EVERY source. Don't assume compound-engineering is the only plugin. Use skills from ANY installed plugin that's relevant.
83
+
84
+ **Step 2: For each discovered skill, read its SKILL.md to understand what it does**
85
+
86
+ ```bash
87
+ # For each skill directory found, read its documentation
88
+ cat [skill-path]/skill.md
89
+ ```
90
+
91
+ **Step 3: Match skills to plan content**
92
+
93
+ For each skill discovered:
94
+ - Read its SKILL.md description
95
+ - Check if any plan sections match the skill's domain
96
+ - If there's a match, spawn a sub-agent to apply that skill's knowledge
97
+
98
+ **Step 4: Spawn a sub-agent for EVERY matched skill**
99
+
100
+ **CRITICAL: For EACH skill that matches, spawn a separate sub-agent and instruct it to USE that skill.**
101
+
102
+ For each matched skill:
103
+ ```
104
+ Task general-purpose: "You have the [skill-name] skill available at [skill-path].
105
+
106
+ YOUR JOB: Use this skill on the plan.
107
+
108
+ 1. Read the skill: cat [skill-path]/skill.md
109
+ 2. Follow the skill's instructions exactly
110
+ 3. Apply the skill to this content:
111
+
112
+ [relevant plan section or full plan]
113
+
114
+ 4. Return the skill's full output
115
+
116
+ The skill tells you what to do - follow it. Execute the skill completely."
117
+ ```
118
+
119
+ **Spawn ALL skill sub-agents in PARALLEL:**
120
+ - 1 sub-agent per matched skill
121
+ - Each sub-agent reads and uses its assigned skill
122
+ - All run simultaneously
123
+ - 10, 20, 30 skill sub-agents is fine
124
+
125
+ **Each sub-agent:**
126
+ 1. Reads its skill's SKILL.md
127
+ 2. Follows the skill's workflow/instructions
128
+ 3. Applies the skill to the plan
129
+ 4. Returns whatever the skill produces (code, recommendations, patterns, reviews, etc.)
130
+
131
+ **Example spawns:**
132
+ ```
133
+ Task general-purpose: "Use the dhh-rails-style skill at ~/.claude/plugins/.../dhh-rails-style. Read SKILL.md and apply it to: [Rails sections of plan]"
134
+
135
+ Task general-purpose: "Use the frontend-design skill at ~/.claude/plugins/.../frontend-design. Read SKILL.md and apply it to: [UI sections of plan]"
136
+
137
+ Task general-purpose: "Use the agent-native-architecture skill at ~/.claude/plugins/.../agent-native-architecture. Read SKILL.md and apply it to: [agent/tool sections of plan]"
138
+
139
+ Task general-purpose: "Use the security-patterns skill at ~/.claude/skills/security-patterns. Read SKILL.md and apply it to: [full plan]"
140
+ ```
141
+
142
+ **No limit on skill sub-agents. Spawn one for every skill that could possibly be relevant.**
143
+
144
+ ### 3. Discover and Apply Learnings/Solutions
145
+
146
+ <thinking>
147
+ Check for documented learnings from /workflows-compound. These are solved problems stored as markdown files. Spawn a sub-agent for each learning to check if it's relevant.
148
+ </thinking>
149
+
150
+ **LEARNINGS LOCATION - Check these exact folders:**
151
+
152
+ ```
153
+ docs/solutions/ <-- PRIMARY: Project-level learnings (created by /workflows-compound)
154
+ ├── performance-issues/
155
+ │ └── *.md
156
+ ├── debugging-patterns/
157
+ │ └── *.md
158
+ ├── configuration-fixes/
159
+ │ └── *.md
160
+ ├── integration-issues/
161
+ │ └── *.md
162
+ ├── deployment-issues/
163
+ │ └── *.md
164
+ └── [other-categories]/
165
+ └── *.md
166
+ ```
167
+
168
+ **Step 1: Find ALL learning markdown files**
169
+
170
+ Run these commands to get every learning file:
171
+
172
+ ```bash
173
+ # PRIMARY LOCATION - Project learnings
174
+ find docs/solutions -name "*.md" -type f 2>/dev/null
175
+
176
+ # If docs/solutions doesn't exist, check alternate locations:
177
+ find .claude/docs -name "*.md" -type f 2>/dev/null
178
+ find ~/.claude/docs -name "*.md" -type f 2>/dev/null
179
+ ```
180
+
181
+ **Step 2: Read frontmatter of each learning to filter**
182
+
183
+ Each learning file has YAML frontmatter with metadata. Read the first ~20 lines of each file to get:
184
+
185
+ ```yaml
186
+ ---
187
+ title: "N+1 Query Fix for Briefs"
188
+ category: performance-issues
189
+ tags: [activerecord, n-plus-one, includes, eager-loading]
190
+ module: Briefs
191
+ symptom: "Slow page load, multiple queries in logs"
192
+ root_cause: "Missing includes on association"
193
+ ---
194
+ ```
195
+
196
+ **For each .md file, quickly scan its frontmatter:**
197
+
198
+ ```bash
199
+ # Read first 20 lines of each learning (frontmatter + summary)
200
+ head -20 docs/solutions/**/*.md
201
+ ```
202
+
203
+ **Step 3: Filter - only spawn sub-agents for LIKELY relevant learnings**
204
+
205
+ Compare each learning's frontmatter against the plan:
206
+ - `tags:` - Do any tags match technologies/patterns in the plan?
207
+ - `category:` - Is this category relevant? (e.g., skip deployment-issues if plan is UI-only)
208
+ - `module:` - Does the plan touch this module?
209
+ - `symptom:` / `root_cause:` - Could this problem occur with the plan?
210
+
211
+ **SKIP learnings that are clearly not applicable:**
212
+ - Plan is frontend-only → skip `database-migrations/` learnings
213
+ - Plan is Python → skip `rails-specific/` learnings
214
+ - Plan has no auth → skip `authentication-issues/` learnings
215
+
216
+ **SPAWN sub-agents for learnings that MIGHT apply:**
217
+ - Any tag overlap with plan technologies
218
+ - Same category as plan domain
219
+ - Similar patterns or concerns
220
+
221
+ **Step 4: Spawn sub-agents for filtered learnings**
222
+
223
+ For each learning that passes the filter:
224
+
225
+ ```
226
+ Task general-purpose: "
227
+ LEARNING FILE: [full path to .md file]
228
+
229
+ 1. Read this learning file completely
230
+ 2. This learning documents a previously solved problem
231
+
232
+ Check if this learning applies to this plan:
233
+
234
+ ---
235
+ [full plan content]
236
+ ---
237
+
238
+ If relevant:
239
+ - Explain specifically how it applies
240
+ - Quote the key insight or solution
241
+ - Suggest where/how to incorporate it
242
+
243
+ If NOT relevant after deeper analysis:
244
+ - Say 'Not applicable: [reason]'
245
+ "
246
+ ```
247
+
248
+ **Example filtering:**
249
+ ```
250
+ # Found 15 learning files, plan is about "Rails API caching"
251
+
252
+ # SPAWN (likely relevant):
253
+ docs/solutions/performance-issues/n-plus-one-queries.md # tags: [activerecord] ✓
254
+ docs/solutions/performance-issues/redis-cache-stampede.md # tags: [caching, redis] ✓
255
+ docs/solutions/configuration-fixes/redis-connection-pool.md # tags: [redis] ✓
256
+
257
+ # SKIP (clearly not applicable):
258
+ docs/solutions/deployment-issues/heroku-memory-quota.md # not about caching
259
+ docs/solutions/frontend-issues/stimulus-race-condition.md # plan is API, not frontend
260
+ docs/solutions/authentication-issues/jwt-expiry.md # plan has no auth
261
+ ```
262
+
263
+ **Spawn sub-agents in PARALLEL for all filtered learnings.**
264
+
265
+ **These learnings are institutional knowledge - applying them prevents repeating past mistakes.**
266
+
267
+ ### 4. Launch Per-Section Research Agents
268
+
269
+ <thinking>
270
+ For each major section in the plan, spawn dedicated sub-agents to research improvements. Use the Explore agent type for open-ended research.
271
+ </thinking>
272
+
273
+ **For each identified section, launch parallel research:**
274
+
275
+ ```
276
+ Task Explore: "Research best practices, patterns, and real-world examples for: [section topic].
277
+ Find:
278
+ - Industry standards and conventions
279
+ - Performance considerations
280
+ - Common pitfalls and how to avoid them
281
+ - Documentation and tutorials
282
+ Return concrete, actionable recommendations."
283
+ ```
284
+
285
+ **Also use Context7 MCP for framework documentation:**
286
+
287
+ For any technologies/frameworks mentioned in the plan, query Context7:
288
+ ```
289
+ mcp__plugin_compound-engineering_context7__resolve-library-id: Find library ID for [framework]
290
+ mcp__plugin_compound-engineering_context7__query-docs: Query documentation for specific patterns
291
+ ```
292
+
293
+ **Use WebSearch for current best practices:**
294
+
295
+ Search for recent (2024-2026) articles, blog posts, and documentation on topics in the plan.
296
+
297
+ ### 5. Discover and Run ALL Review Agents
298
+
299
+ <thinking>
300
+ Dynamically discover every available agent and run them ALL against the plan. Don't filter, don't skip, don't assume relevance. 40+ parallel agents is fine. Use everything available.
301
+ </thinking>
302
+
303
+ **Step 1: Discover ALL available agents from ALL sources**
304
+
305
+ ```bash
306
+ # 1. Project-local agents (highest priority - project-specific)
307
+ find .claude/agents -name "*.md" 2>/dev/null
308
+
309
+ # 2. User's global agents (~/.claude/)
310
+ find ~/.claude/agents -name "*.md" 2>/dev/null
311
+
312
+ # 3. compound-engineering plugin agents (all subdirectories)
313
+ find ~/.claude/plugins/cache/*/compound-engineering/*/agents -name "*.md" 2>/dev/null
314
+
315
+ # 4. ALL other installed plugins - check every plugin for agents
316
+ find ~/.claude/plugins/cache -path "*/agents/*.md" 2>/dev/null
317
+
318
+ # 5. Check installed_plugins.json to find all plugin locations
319
+ cat ~/.claude/plugins/installed_plugins.json
320
+
321
+ # 6. For local plugins (isLocal: true), check their source directories
322
+ # Parse installed_plugins.json and find local plugin paths
323
+ ```
324
+
325
+ **Important:** Check EVERY source. Include agents from:
326
+ - Project `.claude/agents/`
327
+ - User's `~/.claude/agents/`
328
+ - compound-engineering plugin (but SKIP workflow/ agents - only use review/, research/, design/, docs/)
329
+ - ALL other installed plugins (agent-sdk-dev, frontend-design, etc.)
330
+ - Any local plugins
331
+
332
+ **For compound-engineering plugin specifically:**
333
+ - USE: `agents/review/*` (all reviewers)
334
+ - USE: `agents/research/*` (all researchers)
335
+ - USE: `agents/design/*` (design agents)
336
+ - USE: `agents/docs/*` (documentation agents)
337
+ - SKIP: `agents/workflow/*` (these are workflow orchestrators, not reviewers)
338
+
339
+ **Step 2: For each discovered agent, read its description**
340
+
341
+ Read the first few lines of each agent file to understand what it reviews/analyzes.
342
+
343
+ **Step 3: Launch ALL agents in parallel**
344
+
345
+ For EVERY agent discovered, launch a Task in parallel:
346
+
347
+ ```
348
+ Task [agent-name]: "Review this plan using your expertise. Apply all your checks and patterns. Plan content: [full plan content]"
349
+ ```
350
+
351
+ **CRITICAL RULES:**
352
+ - Do NOT filter agents by "relevance" - run them ALL
353
+ - Do NOT skip agents because they "might not apply" - let them decide
354
+ - Launch ALL agents in a SINGLE message with multiple Task tool calls
355
+ - 20, 30, 40 parallel agents is fine - use everything
356
+ - Each agent may catch something others miss
357
+ - The goal is MAXIMUM coverage, not efficiency
358
+
359
+ **Step 4: Also discover and run research agents**
360
+
361
+ Research agents (like `best-practices-researcher`, `framework-docs-researcher`, `git-history-analyzer`, `repo-research-analyst`) should also be run for relevant plan sections.
362
+
363
+ ### 6. Wait for ALL Agents and Synthesize Everything
364
+
365
+ <thinking>
366
+ Wait for ALL parallel agents to complete - skills, research agents, review agents, everything. Then synthesize all findings into a comprehensive enhancement.
367
+ </thinking>
368
+
369
+ **Collect outputs from ALL sources:**
370
+
371
+ 1. **Skill-based sub-agents** - Each skill's full output (code examples, patterns, recommendations)
372
+ 2. **Learnings/Solutions sub-agents** - Relevant documented learnings from /workflows-compound
373
+ 3. **Research agents** - Best practices, documentation, real-world examples
374
+ 4. **Review agents** - All feedback from every reviewer (architecture, security, performance, simplicity, etc.)
375
+ 5. **Context7 queries** - Framework documentation and patterns
376
+ 6. **Web searches** - Current best practices and articles
377
+
378
+ **For each agent's findings, extract:**
379
+ - [ ] Concrete recommendations (actionable items)
380
+ - [ ] Code patterns and examples (copy-paste ready)
381
+ - [ ] Anti-patterns to avoid (warnings)
382
+ - [ ] Performance considerations (metrics, benchmarks)
383
+ - [ ] Security considerations (vulnerabilities, mitigations)
384
+ - [ ] Edge cases discovered (handling strategies)
385
+ - [ ] Documentation links (references)
386
+ - [ ] Skill-specific patterns (from matched skills)
387
+ - [ ] Relevant learnings (past solutions that apply - prevent repeating mistakes)
388
+
389
+ **Deduplicate and prioritize:**
390
+ - Merge similar recommendations from multiple agents
391
+ - Prioritize by impact (high-value improvements first)
392
+ - Flag conflicting advice for human review
393
+ - Group by plan section
394
+
395
+ ### 7. Enhance Plan Sections
396
+
397
+ <thinking>
398
+ Merge research findings back into the plan, adding depth without changing the original structure.
399
+ </thinking>
400
+
401
+ **Enhancement format for each section:**
402
+
403
+ ```markdown
404
+ ## [Original Section Title]
405
+
406
+ [Original content preserved]
407
+
408
+ ### Research Insights
409
+
410
+ **Best Practices:**
411
+ - [Concrete recommendation 1]
412
+ - [Concrete recommendation 2]
413
+
414
+ **Performance Considerations:**
415
+ - [Optimization opportunity]
416
+ - [Benchmark or metric to target]
417
+
418
+ **Implementation Details:**
419
+ ```[language]
420
+ // Concrete code example from research
421
+ ```
422
+
423
+ **Edge Cases:**
424
+ - [Edge case 1 and how to handle]
425
+ - [Edge case 2 and how to handle]
426
+
427
+ **References:**
428
+ - [Documentation URL 1]
429
+ - [Documentation URL 2]
430
+ ```
431
+
432
+ ### 8. Add Enhancement Summary
433
+
434
+ At the top of the plan, add a summary section:
435
+
436
+ ```markdown
437
+ ## Enhancement Summary
438
+
439
+ **Deepened on:** [Date]
440
+ **Sections enhanced:** [Count]
441
+ **Research agents used:** [List]
442
+
443
+ ### Key Improvements
444
+ 1. [Major improvement 1]
445
+ 2. [Major improvement 2]
446
+ 3. [Major improvement 3]
447
+
448
+ ### New Considerations Discovered
449
+ - [Important finding 1]
450
+ - [Important finding 2]
451
+ ```
452
+
453
+ ### 9. Update Plan File
454
+
455
+ **Write the enhanced plan:**
456
+ - Preserve original filename
457
+ - Add `-deepened` suffix if user prefers a new file
458
+ - Update any timestamps or metadata
459
+
460
+ ## Output Format
461
+
462
+ Update the plan file in place (or if user requests a separate file, append `-deepened` after `-plan`, e.g., `2026-01-15-feat-auth-plan-deepened.md`).
463
+
464
+ ## Quality Checks
465
+
466
+ Before finalizing:
467
+ - [ ] All original content preserved
468
+ - [ ] Research insights clearly marked and attributed
469
+ - [ ] Code examples are syntactically correct
470
+ - [ ] Links are valid and relevant
471
+ - [ ] No contradictions between sections
472
+ - [ ] Enhancement summary accurately reflects changes
473
+
474
+ ## Post-Enhancement Options
475
+
476
+ After writing the enhanced plan, use the **ask_user_question tool** to present these options:
477
+
478
+ **Question:** "Plan deepened at `[plan_path]`. What would you like to do next?"
479
+
480
+ **Options:**
481
+ 1. **View diff** - Show what was added/changed
482
+ 2. **Run `/technical_review`** - Get feedback from reviewers on enhanced plan
483
+ 3. **Start `/workflows-work`** - Begin implementing this enhanced plan
484
+ 4. **Deepen further** - Run another round of research on specific sections
485
+ 5. **Revert** - Restore original plan (if backup exists)
486
+
487
+ Based on selection:
488
+ - **View diff** → Run `git diff [plan_path]` or show before/after
489
+ - **`/technical_review`** → Call the /technical_review command with the plan file path
490
+ - **`/workflows-work`** → Call the /workflows-work command with the plan file path
491
+ - **Deepen further** → Ask which sections need more research, then re-run those agents
492
+ - **Revert** → Restore from git or backup
493
+
494
+ ## Example Enhancement
495
+
496
+ **Before (from /workflows-plan):**
497
+ ```markdown
498
+ ## Technical Approach
499
+
500
+ Use React Query for data fetching with optimistic updates.
501
+ ```
502
+
503
+ **After (from /workflows-deepen-plan):**
504
+ ```markdown
505
+ ## Technical Approach
506
+
507
+ Use React Query for data fetching with optimistic updates.
508
+
509
+ ### Research Insights
510
+
511
+ **Best Practices:**
512
+ - Configure `staleTime` and `cacheTime` based on data freshness requirements
513
+ - Use `queryKey` factories for consistent cache invalidation
514
+ - Implement error boundaries around query-dependent components
515
+
516
+ **Performance Considerations:**
517
+ - Enable `refetchOnWindowFocus: false` for stable data to reduce unnecessary requests
518
+ - Use `select` option to transform and memoize data at query level
519
+ - Consider `placeholderData` for instant perceived loading
520
+
521
+ **Implementation Details:**
522
+ ```typescript
523
+ // Recommended query configuration
524
+ const queryClient = new QueryClient({
525
+ defaultOptions: {
526
+ queries: {
527
+ staleTime: 5 * 60 * 1000, // 5 minutes
528
+ retry: 2,
529
+ refetchOnWindowFocus: false,
530
+ },
531
+ },
532
+ });
533
+ ```
534
+
535
+ **Edge Cases:**
536
+ - Handle race conditions with `cancelQueries` on component unmount
537
+ - Implement retry logic for transient network failures
538
+ - Consider offline support with `persistQueryClient`
539
+
540
+ **References:**
541
+ - https://tanstack.com/query/latest/docs/react/guides/optimistic-updates
542
+ - https://tkdodo.eu/blog/practical-react-query
543
+ ```
544
+
545
+ NEVER CODE! Just research and enhance the plan.
546
+ ## Pi + MCPorter note
547
+ For MCP access in Pi, use MCPorter via the generated tools:
548
+ - `mcporter_list` to inspect available MCP tools
549
+ - `mcporter_call` to invoke a tool