oh-my-claude-sisyphus 2.6.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (548) hide show
  1. package/README.md +59 -708
  2. package/agents/analyst.md +85 -0
  3. package/agents/architect-low.md +88 -0
  4. package/agents/architect-medium.md +108 -0
  5. package/agents/architect.md +77 -0
  6. package/agents/critic.md +97 -0
  7. package/agents/designer-high.md +113 -0
  8. package/agents/designer-low.md +89 -0
  9. package/agents/designer.md +80 -0
  10. package/agents/executor-high.md +116 -0
  11. package/agents/executor-low.md +94 -0
  12. package/agents/executor.md +62 -0
  13. package/agents/explore-medium.md +113 -0
  14. package/agents/explore.md +86 -0
  15. package/agents/planner.md +164 -0
  16. package/agents/qa-tester.md +109 -0
  17. package/agents/researcher-low.md +84 -0
  18. package/agents/researcher.md +70 -0
  19. package/agents/vision.md +39 -0
  20. package/agents/writer.md +152 -0
  21. package/commands/.gitkeep +0 -0
  22. package/dist/__tests__/hooks.test.js +22 -22
  23. package/dist/__tests__/hooks.test.js.map +1 -1
  24. package/dist/__tests__/hud-agents.test.d.ts +7 -0
  25. package/dist/__tests__/hud-agents.test.d.ts.map +1 -0
  26. package/dist/__tests__/hud-agents.test.js +363 -0
  27. package/dist/__tests__/hud-agents.test.js.map +1 -0
  28. package/dist/__tests__/installer.test.js +184 -116
  29. package/dist/__tests__/installer.test.js.map +1 -1
  30. package/dist/__tests__/learned-skills/config.test.d.ts +2 -0
  31. package/dist/__tests__/learned-skills/config.test.d.ts.map +1 -0
  32. package/dist/__tests__/learned-skills/config.test.js +37 -0
  33. package/dist/__tests__/learned-skills/config.test.js.map +1 -0
  34. package/dist/__tests__/learned-skills/detector.test.d.ts +2 -0
  35. package/dist/__tests__/learned-skills/detector.test.d.ts.map +1 -0
  36. package/dist/__tests__/learned-skills/detector.test.js +99 -0
  37. package/dist/__tests__/learned-skills/detector.test.js.map +1 -0
  38. package/dist/__tests__/learned-skills/finder.test.d.ts +2 -0
  39. package/dist/__tests__/learned-skills/finder.test.d.ts.map +1 -0
  40. package/dist/__tests__/learned-skills/finder.test.js +59 -0
  41. package/dist/__tests__/learned-skills/finder.test.js.map +1 -0
  42. package/dist/__tests__/learned-skills/loader.test.d.ts +2 -0
  43. package/dist/__tests__/learned-skills/loader.test.d.ts.map +1 -0
  44. package/dist/__tests__/learned-skills/loader.test.js +69 -0
  45. package/dist/__tests__/learned-skills/loader.test.js.map +1 -0
  46. package/dist/__tests__/learned-skills/parser.test.d.ts +2 -0
  47. package/dist/__tests__/learned-skills/parser.test.d.ts.map +1 -0
  48. package/dist/__tests__/learned-skills/parser.test.js +81 -0
  49. package/dist/__tests__/learned-skills/parser.test.js.map +1 -0
  50. package/dist/__tests__/learned-skills/validator.test.d.ts +2 -0
  51. package/dist/__tests__/learned-skills/validator.test.d.ts.map +1 -0
  52. package/dist/__tests__/learned-skills/validator.test.js +85 -0
  53. package/dist/__tests__/learned-skills/validator.test.js.map +1 -0
  54. package/dist/__tests__/mnemosyne/config.test.d.ts +2 -0
  55. package/dist/__tests__/mnemosyne/config.test.d.ts.map +1 -0
  56. package/dist/__tests__/mnemosyne/config.test.js +37 -0
  57. package/dist/__tests__/mnemosyne/config.test.js.map +1 -0
  58. package/dist/__tests__/mnemosyne/detector.test.d.ts +2 -0
  59. package/dist/__tests__/mnemosyne/detector.test.d.ts.map +1 -0
  60. package/dist/__tests__/mnemosyne/detector.test.js +99 -0
  61. package/dist/__tests__/mnemosyne/detector.test.js.map +1 -0
  62. package/dist/__tests__/mnemosyne/finder.test.d.ts +2 -0
  63. package/dist/__tests__/mnemosyne/finder.test.d.ts.map +1 -0
  64. package/dist/__tests__/mnemosyne/finder.test.js +61 -0
  65. package/dist/__tests__/mnemosyne/finder.test.js.map +1 -0
  66. package/dist/__tests__/mnemosyne/loader.test.d.ts +2 -0
  67. package/dist/__tests__/mnemosyne/loader.test.d.ts.map +1 -0
  68. package/dist/__tests__/mnemosyne/loader.test.js +73 -0
  69. package/dist/__tests__/mnemosyne/loader.test.js.map +1 -0
  70. package/dist/__tests__/mnemosyne/parser.test.d.ts +2 -0
  71. package/dist/__tests__/mnemosyne/parser.test.d.ts.map +1 -0
  72. package/dist/__tests__/mnemosyne/parser.test.js +81 -0
  73. package/dist/__tests__/mnemosyne/parser.test.js.map +1 -0
  74. package/dist/__tests__/mnemosyne/validator.test.d.ts +2 -0
  75. package/dist/__tests__/mnemosyne/validator.test.d.ts.map +1 -0
  76. package/dist/__tests__/mnemosyne/validator.test.js +85 -0
  77. package/dist/__tests__/mnemosyne/validator.test.js.map +1 -0
  78. package/dist/__tests__/model-routing.test.js +34 -34
  79. package/dist/__tests__/model-routing.test.js.map +1 -1
  80. package/dist/__tests__/notepad.test.js +7 -7
  81. package/dist/__tests__/notepad.test.js.map +1 -1
  82. package/dist/__tests__/ralph-prd.test.js +12 -12
  83. package/dist/__tests__/ralph-prd.test.js.map +1 -1
  84. package/dist/__tests__/ralph-progress.test.js +12 -12
  85. package/dist/__tests__/ralph-progress.test.js.map +1 -1
  86. package/dist/__tests__/skills.test.js +50 -17
  87. package/dist/__tests__/skills.test.js.map +1 -1
  88. package/dist/__tests__/types.test.js +5 -5
  89. package/dist/__tests__/types.test.js.map +1 -1
  90. package/dist/agents/analyst.d.ts +11 -0
  91. package/dist/agents/analyst.d.ts.map +1 -0
  92. package/dist/agents/analyst.js +115 -0
  93. package/dist/agents/analyst.js.map +1 -0
  94. package/dist/agents/architect.d.ts +12 -0
  95. package/dist/agents/architect.d.ts.map +1 -0
  96. package/dist/agents/architect.js +189 -0
  97. package/dist/agents/architect.js.map +1 -0
  98. package/dist/agents/coordinator.d.ts +11 -0
  99. package/dist/agents/coordinator.d.ts.map +1 -0
  100. package/dist/agents/coordinator.js +115 -0
  101. package/dist/agents/coordinator.js.map +1 -0
  102. package/dist/agents/critic.d.ts +11 -0
  103. package/dist/agents/critic.d.ts.map +1 -0
  104. package/dist/agents/critic.js +127 -0
  105. package/dist/agents/critic.js.map +1 -0
  106. package/dist/agents/definitions.d.ts +33 -70
  107. package/dist/agents/definitions.d.ts.map +1 -1
  108. package/dist/agents/definitions.js +140 -1268
  109. package/dist/agents/definitions.js.map +1 -1
  110. package/dist/agents/designer.d.ts +11 -0
  111. package/dist/agents/designer.d.ts.map +1 -0
  112. package/dist/agents/designer.js +115 -0
  113. package/dist/agents/designer.js.map +1 -0
  114. package/dist/agents/executor.d.ts +12 -0
  115. package/dist/agents/executor.d.ts.map +1 -0
  116. package/dist/agents/executor.js +93 -0
  117. package/dist/agents/executor.js.map +1 -0
  118. package/dist/agents/explore.js +4 -4
  119. package/dist/agents/explore.js.map +1 -1
  120. package/dist/agents/index.d.ts +12 -11
  121. package/dist/agents/index.d.ts.map +1 -1
  122. package/dist/agents/index.js +15 -16
  123. package/dist/agents/index.js.map +1 -1
  124. package/dist/agents/planner.d.ts +11 -0
  125. package/dist/agents/planner.d.ts.map +1 -0
  126. package/dist/agents/planner.js +194 -0
  127. package/dist/agents/planner.js.map +1 -0
  128. package/dist/agents/qa-tester.js +16 -16
  129. package/dist/agents/qa-tester.js.map +1 -1
  130. package/dist/agents/researcher.d.ts +12 -0
  131. package/dist/agents/researcher.d.ts.map +1 -0
  132. package/dist/agents/researcher.js +103 -0
  133. package/dist/agents/researcher.js.map +1 -0
  134. package/dist/agents/vision.d.ts +11 -0
  135. package/dist/agents/vision.d.ts.map +1 -0
  136. package/dist/agents/vision.js +70 -0
  137. package/dist/agents/vision.js.map +1 -0
  138. package/dist/agents/writer.d.ts +11 -0
  139. package/dist/agents/writer.d.ts.map +1 -0
  140. package/dist/agents/writer.js +209 -0
  141. package/dist/agents/writer.js.map +1 -0
  142. package/dist/cli/index.js +32 -32
  143. package/dist/cli/index.js.map +1 -1
  144. package/dist/commands/index.d.ts +4 -4
  145. package/dist/commands/index.js +4 -4
  146. package/dist/config/loader.js +25 -25
  147. package/dist/config/loader.js.map +1 -1
  148. package/dist/features/auto-update.d.ts +5 -5
  149. package/dist/features/auto-update.d.ts.map +1 -1
  150. package/dist/features/auto-update.js +17 -17
  151. package/dist/features/auto-update.js.map +1 -1
  152. package/dist/features/background-agent/manager.js +1 -1
  153. package/dist/features/background-agent/manager.js.map +1 -1
  154. package/dist/features/boulder-state/constants.d.ts +5 -5
  155. package/dist/features/boulder-state/constants.d.ts.map +1 -1
  156. package/dist/features/boulder-state/constants.js +3 -3
  157. package/dist/features/boulder-state/constants.js.map +1 -1
  158. package/dist/features/boulder-state/index.d.ts +2 -2
  159. package/dist/features/boulder-state/index.d.ts.map +1 -1
  160. package/dist/features/boulder-state/index.js +2 -2
  161. package/dist/features/boulder-state/index.js.map +1 -1
  162. package/dist/features/boulder-state/storage.d.ts +3 -3
  163. package/dist/features/boulder-state/storage.d.ts.map +1 -1
  164. package/dist/features/boulder-state/storage.js +6 -6
  165. package/dist/features/boulder-state/storage.js.map +1 -1
  166. package/dist/features/builtin-skills/skills.d.ts +15 -1
  167. package/dist/features/builtin-skills/skills.d.ts.map +1 -1
  168. package/dist/features/builtin-skills/skills.js +100 -1110
  169. package/dist/features/builtin-skills/skills.js.map +1 -1
  170. package/dist/features/context-injector/types.d.ts +1 -1
  171. package/dist/features/context-injector/types.d.ts.map +1 -1
  172. package/dist/features/index.d.ts +1 -1
  173. package/dist/features/index.d.ts.map +1 -1
  174. package/dist/features/index.js +2 -2
  175. package/dist/features/index.js.map +1 -1
  176. package/dist/features/magic-keywords.js +14 -14
  177. package/dist/features/magic-keywords.js.map +1 -1
  178. package/dist/features/model-routing/prompts/opus.d.ts +1 -1
  179. package/dist/features/model-routing/prompts/opus.d.ts.map +1 -1
  180. package/dist/features/model-routing/prompts/opus.js +1 -1
  181. package/dist/features/model-routing/router.d.ts +1 -1
  182. package/dist/features/model-routing/router.js +14 -14
  183. package/dist/features/model-routing/router.js.map +1 -1
  184. package/dist/features/model-routing/rules.js +31 -31
  185. package/dist/features/model-routing/rules.js.map +1 -1
  186. package/dist/features/model-routing/types.js +1 -1
  187. package/dist/features/model-routing/types.js.map +1 -1
  188. package/dist/hooks/agent-usage-reminder/constants.d.ts +2 -2
  189. package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
  190. package/dist/hooks/agent-usage-reminder/constants.js +5 -5
  191. package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
  192. package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
  193. package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
  194. package/dist/hooks/auto-slash-command/constants.js +9 -2
  195. package/dist/hooks/auto-slash-command/constants.js.map +1 -1
  196. package/dist/hooks/bridge.d.ts +2 -2
  197. package/dist/hooks/bridge.d.ts.map +1 -1
  198. package/dist/hooks/bridge.js +50 -18
  199. package/dist/hooks/bridge.js.map +1 -1
  200. package/dist/hooks/directory-readme-injector/constants.d.ts +1 -1
  201. package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -1
  202. package/dist/hooks/directory-readme-injector/constants.js +2 -2
  203. package/dist/hooks/directory-readme-injector/constants.js.map +1 -1
  204. package/dist/hooks/index.d.ts +3 -2
  205. package/dist/hooks/index.d.ts.map +1 -1
  206. package/dist/hooks/index.js +9 -4
  207. package/dist/hooks/index.js.map +1 -1
  208. package/dist/hooks/learned-skills/config.d.ts +53 -0
  209. package/dist/hooks/learned-skills/config.d.ts.map +1 -0
  210. package/dist/hooks/learned-skills/config.js +103 -0
  211. package/dist/hooks/learned-skills/config.js.map +1 -0
  212. package/dist/hooks/learned-skills/constants.d.ts +24 -0
  213. package/dist/hooks/learned-skills/constants.d.ts.map +1 -0
  214. package/dist/hooks/learned-skills/constants.js +26 -0
  215. package/dist/hooks/learned-skills/constants.js.map +1 -0
  216. package/dist/hooks/learned-skills/detection-hook.d.ts +39 -0
  217. package/dist/hooks/learned-skills/detection-hook.d.ts.map +1 -0
  218. package/dist/hooks/learned-skills/detection-hook.js +83 -0
  219. package/dist/hooks/learned-skills/detection-hook.js.map +1 -0
  220. package/dist/hooks/learned-skills/detector.d.ts +30 -0
  221. package/dist/hooks/learned-skills/detector.d.ts.map +1 -0
  222. package/dist/hooks/learned-skills/detector.js +150 -0
  223. package/dist/hooks/learned-skills/detector.js.map +1 -0
  224. package/dist/hooks/learned-skills/finder.d.ts +21 -0
  225. package/dist/hooks/learned-skills/finder.d.ts.map +1 -0
  226. package/dist/hooks/learned-skills/finder.js +117 -0
  227. package/dist/hooks/learned-skills/finder.js.map +1 -0
  228. package/dist/hooks/learned-skills/index.d.ts +62 -0
  229. package/dist/hooks/learned-skills/index.d.ts.map +1 -0
  230. package/dist/hooks/learned-skills/index.js +137 -0
  231. package/dist/hooks/learned-skills/index.js.map +1 -0
  232. package/dist/hooks/learned-skills/loader.d.ts +20 -0
  233. package/dist/hooks/learned-skills/loader.d.ts.map +1 -0
  234. package/dist/hooks/learned-skills/loader.js +107 -0
  235. package/dist/hooks/learned-skills/loader.js.map +1 -0
  236. package/dist/hooks/learned-skills/parser.d.ts +21 -0
  237. package/dist/hooks/learned-skills/parser.d.ts.map +1 -0
  238. package/dist/hooks/learned-skills/parser.js +190 -0
  239. package/dist/hooks/learned-skills/parser.js.map +1 -0
  240. package/dist/hooks/learned-skills/promotion.d.ts +29 -0
  241. package/dist/hooks/learned-skills/promotion.d.ts.map +1 -0
  242. package/dist/hooks/learned-skills/promotion.js +87 -0
  243. package/dist/hooks/learned-skills/promotion.js.map +1 -0
  244. package/dist/hooks/learned-skills/types.d.ts +109 -0
  245. package/dist/hooks/learned-skills/types.d.ts.map +1 -0
  246. package/dist/hooks/learned-skills/types.js +8 -0
  247. package/dist/hooks/learned-skills/types.js.map +1 -0
  248. package/dist/hooks/learned-skills/validator.d.ts +15 -0
  249. package/dist/hooks/learned-skills/validator.d.ts.map +1 -0
  250. package/dist/hooks/learned-skills/validator.js +87 -0
  251. package/dist/hooks/learned-skills/validator.js.map +1 -0
  252. package/dist/hooks/learned-skills/writer.d.ts +27 -0
  253. package/dist/hooks/learned-skills/writer.d.ts.map +1 -0
  254. package/dist/hooks/learned-skills/writer.js +126 -0
  255. package/dist/hooks/learned-skills/writer.js.map +1 -0
  256. package/dist/hooks/learner/config.d.ts +53 -0
  257. package/dist/hooks/learner/config.d.ts.map +1 -0
  258. package/dist/hooks/learner/config.js +103 -0
  259. package/dist/hooks/learner/config.js.map +1 -0
  260. package/dist/hooks/learner/constants.d.ts +24 -0
  261. package/dist/hooks/learner/constants.d.ts.map +1 -0
  262. package/dist/hooks/learner/constants.js +26 -0
  263. package/dist/hooks/learner/constants.js.map +1 -0
  264. package/dist/hooks/learner/detection-hook.d.ts +39 -0
  265. package/dist/hooks/learner/detection-hook.d.ts.map +1 -0
  266. package/dist/hooks/learner/detection-hook.js +83 -0
  267. package/dist/hooks/learner/detection-hook.js.map +1 -0
  268. package/dist/hooks/learner/detector.d.ts +30 -0
  269. package/dist/hooks/learner/detector.d.ts.map +1 -0
  270. package/dist/hooks/learner/detector.js +150 -0
  271. package/dist/hooks/learner/detector.js.map +1 -0
  272. package/dist/hooks/learner/finder.d.ts +21 -0
  273. package/dist/hooks/learner/finder.d.ts.map +1 -0
  274. package/dist/hooks/learner/finder.js +117 -0
  275. package/dist/hooks/learner/finder.js.map +1 -0
  276. package/dist/hooks/learner/index.d.ts +62 -0
  277. package/dist/hooks/learner/index.d.ts.map +1 -0
  278. package/dist/hooks/learner/index.js +137 -0
  279. package/dist/hooks/learner/index.js.map +1 -0
  280. package/dist/hooks/learner/loader.d.ts +20 -0
  281. package/dist/hooks/learner/loader.d.ts.map +1 -0
  282. package/dist/hooks/learner/loader.js +113 -0
  283. package/dist/hooks/learner/loader.js.map +1 -0
  284. package/dist/hooks/learner/parser.d.ts +21 -0
  285. package/dist/hooks/learner/parser.d.ts.map +1 -0
  286. package/dist/hooks/learner/parser.js +190 -0
  287. package/dist/hooks/learner/parser.js.map +1 -0
  288. package/dist/hooks/learner/promotion.d.ts +29 -0
  289. package/dist/hooks/learner/promotion.d.ts.map +1 -0
  290. package/dist/hooks/learner/promotion.js +87 -0
  291. package/dist/hooks/learner/promotion.js.map +1 -0
  292. package/dist/hooks/learner/types.d.ts +109 -0
  293. package/dist/hooks/learner/types.d.ts.map +1 -0
  294. package/dist/hooks/learner/types.js +8 -0
  295. package/dist/hooks/learner/types.js.map +1 -0
  296. package/dist/hooks/learner/validator.d.ts +15 -0
  297. package/dist/hooks/learner/validator.d.ts.map +1 -0
  298. package/dist/hooks/learner/validator.js +87 -0
  299. package/dist/hooks/learner/validator.js.map +1 -0
  300. package/dist/hooks/learner/writer.d.ts +27 -0
  301. package/dist/hooks/learner/writer.d.ts.map +1 -0
  302. package/dist/hooks/learner/writer.js +126 -0
  303. package/dist/hooks/learner/writer.js.map +1 -0
  304. package/dist/hooks/mnemosyne/config.d.ts +53 -0
  305. package/dist/hooks/mnemosyne/config.d.ts.map +1 -0
  306. package/dist/hooks/mnemosyne/config.js +103 -0
  307. package/dist/hooks/mnemosyne/config.js.map +1 -0
  308. package/dist/hooks/mnemosyne/constants.d.ts +24 -0
  309. package/dist/hooks/mnemosyne/constants.d.ts.map +1 -0
  310. package/dist/hooks/mnemosyne/constants.js +26 -0
  311. package/dist/hooks/mnemosyne/constants.js.map +1 -0
  312. package/dist/hooks/mnemosyne/detection-hook.d.ts +39 -0
  313. package/dist/hooks/mnemosyne/detection-hook.d.ts.map +1 -0
  314. package/dist/hooks/mnemosyne/detection-hook.js +83 -0
  315. package/dist/hooks/mnemosyne/detection-hook.js.map +1 -0
  316. package/dist/hooks/mnemosyne/detector.d.ts +30 -0
  317. package/dist/hooks/mnemosyne/detector.d.ts.map +1 -0
  318. package/dist/hooks/mnemosyne/detector.js +150 -0
  319. package/dist/hooks/mnemosyne/detector.js.map +1 -0
  320. package/dist/hooks/mnemosyne/finder.d.ts +21 -0
  321. package/dist/hooks/mnemosyne/finder.d.ts.map +1 -0
  322. package/dist/hooks/mnemosyne/finder.js +117 -0
  323. package/dist/hooks/mnemosyne/finder.js.map +1 -0
  324. package/dist/hooks/mnemosyne/index.d.ts +62 -0
  325. package/dist/hooks/mnemosyne/index.d.ts.map +1 -0
  326. package/dist/hooks/mnemosyne/index.js +137 -0
  327. package/dist/hooks/mnemosyne/index.js.map +1 -0
  328. package/dist/hooks/mnemosyne/loader.d.ts +20 -0
  329. package/dist/hooks/mnemosyne/loader.d.ts.map +1 -0
  330. package/dist/hooks/mnemosyne/loader.js +113 -0
  331. package/dist/hooks/mnemosyne/loader.js.map +1 -0
  332. package/dist/hooks/mnemosyne/parser.d.ts +21 -0
  333. package/dist/hooks/mnemosyne/parser.d.ts.map +1 -0
  334. package/dist/hooks/mnemosyne/parser.js +190 -0
  335. package/dist/hooks/mnemosyne/parser.js.map +1 -0
  336. package/dist/hooks/mnemosyne/promotion.d.ts +29 -0
  337. package/dist/hooks/mnemosyne/promotion.d.ts.map +1 -0
  338. package/dist/hooks/mnemosyne/promotion.js +87 -0
  339. package/dist/hooks/mnemosyne/promotion.js.map +1 -0
  340. package/dist/hooks/mnemosyne/types.d.ts +109 -0
  341. package/dist/hooks/mnemosyne/types.d.ts.map +1 -0
  342. package/dist/hooks/mnemosyne/types.js +8 -0
  343. package/dist/hooks/mnemosyne/types.js.map +1 -0
  344. package/dist/hooks/mnemosyne/validator.d.ts +15 -0
  345. package/dist/hooks/mnemosyne/validator.d.ts.map +1 -0
  346. package/dist/hooks/mnemosyne/validator.js +87 -0
  347. package/dist/hooks/mnemosyne/validator.js.map +1 -0
  348. package/dist/hooks/mnemosyne/writer.d.ts +27 -0
  349. package/dist/hooks/mnemosyne/writer.d.ts.map +1 -0
  350. package/dist/hooks/mnemosyne/writer.js +126 -0
  351. package/dist/hooks/mnemosyne/writer.js.map +1 -0
  352. package/dist/hooks/notepad/index.d.ts +2 -2
  353. package/dist/hooks/notepad/index.js +7 -7
  354. package/dist/hooks/notepad/index.js.map +1 -1
  355. package/dist/hooks/omc-orchestrator/constants.d.ts +23 -0
  356. package/dist/hooks/omc-orchestrator/constants.d.ts.map +1 -0
  357. package/dist/hooks/omc-orchestrator/constants.js +142 -0
  358. package/dist/hooks/omc-orchestrator/constants.js.map +1 -0
  359. package/dist/hooks/omc-orchestrator/index.d.ts +113 -0
  360. package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -0
  361. package/dist/hooks/omc-orchestrator/index.js +309 -0
  362. package/dist/hooks/omc-orchestrator/index.js.map +1 -0
  363. package/dist/hooks/persistent-mode/index.d.ts +4 -4
  364. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  365. package/dist/hooks/persistent-mode/index.js +37 -37
  366. package/dist/hooks/persistent-mode/index.js.map +1 -1
  367. package/dist/hooks/ralph-loop/index.d.ts +33 -5
  368. package/dist/hooks/ralph-loop/index.d.ts.map +1 -1
  369. package/dist/hooks/ralph-loop/index.js +91 -17
  370. package/dist/hooks/ralph-loop/index.js.map +1 -1
  371. package/dist/hooks/ralph-prd/index.d.ts +4 -4
  372. package/dist/hooks/ralph-prd/index.d.ts.map +1 -1
  373. package/dist/hooks/ralph-prd/index.js +13 -13
  374. package/dist/hooks/ralph-prd/index.js.map +1 -1
  375. package/dist/hooks/ralph-progress/index.d.ts +5 -5
  376. package/dist/hooks/ralph-progress/index.d.ts.map +1 -1
  377. package/dist/hooks/ralph-progress/index.js +14 -14
  378. package/dist/hooks/ralph-progress/index.js.map +1 -1
  379. package/dist/hooks/ralph-verifier/index.d.ts +23 -23
  380. package/dist/hooks/ralph-verifier/index.d.ts.map +1 -1
  381. package/dist/hooks/ralph-verifier/index.js +41 -41
  382. package/dist/hooks/ralph-verifier/index.js.map +1 -1
  383. package/dist/hooks/rules-injector/constants.d.ts +1 -1
  384. package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
  385. package/dist/hooks/rules-injector/constants.js +2 -2
  386. package/dist/hooks/rules-injector/constants.js.map +1 -1
  387. package/dist/hooks/todo-continuation/index.js +1 -1
  388. package/dist/hooks/todo-continuation/index.js.map +1 -1
  389. package/dist/hooks/ultraqa-loop/index.d.ts +1 -1
  390. package/dist/hooks/ultraqa-loop/index.js +8 -8
  391. package/dist/hooks/ultraqa-loop/index.js.map +1 -1
  392. package/dist/hooks/ultrawork-state/index.js +7 -7
  393. package/dist/hooks/ultrawork-state/index.js.map +1 -1
  394. package/dist/hud/background-tasks.d.ts +26 -0
  395. package/dist/hud/background-tasks.d.ts.map +1 -0
  396. package/dist/hud/background-tasks.js +116 -0
  397. package/dist/hud/background-tasks.js.map +1 -0
  398. package/dist/hud/colors.d.ts +54 -0
  399. package/dist/hud/colors.d.ts.map +1 -0
  400. package/dist/hud/colors.js +156 -0
  401. package/dist/hud/colors.js.map +1 -0
  402. package/dist/hud/elements/agents.d.ts +73 -0
  403. package/dist/hud/elements/agents.d.ts.map +1 -0
  404. package/dist/hud/elements/agents.js +405 -0
  405. package/dist/hud/elements/agents.js.map +1 -0
  406. package/dist/hud/elements/background.d.ts +20 -0
  407. package/dist/hud/elements/background.d.ts.map +1 -0
  408. package/dist/hud/elements/background.js +70 -0
  409. package/dist/hud/elements/background.js.map +1 -0
  410. package/dist/hud/elements/context.d.ts +19 -0
  411. package/dist/hud/elements/context.d.ts.map +1 -0
  412. package/dist/hud/elements/context.js +58 -0
  413. package/dist/hud/elements/context.js.map +1 -0
  414. package/dist/hud/elements/index.d.ts +17 -0
  415. package/dist/hud/elements/index.d.ts.map +1 -0
  416. package/dist/hud/elements/index.js +17 -0
  417. package/dist/hud/elements/index.js.map +1 -0
  418. package/dist/hud/elements/limits.d.ts +19 -0
  419. package/dist/hud/elements/limits.d.ts.map +1 -0
  420. package/dist/hud/elements/limits.js +54 -0
  421. package/dist/hud/elements/limits.js.map +1 -0
  422. package/dist/hud/elements/permission.d.ts +13 -0
  423. package/dist/hud/elements/permission.d.ts.map +1 -0
  424. package/dist/hud/elements/permission.js +20 -0
  425. package/dist/hud/elements/permission.js.map +1 -0
  426. package/dist/hud/elements/prd.d.ts +20 -0
  427. package/dist/hud/elements/prd.d.ts.map +1 -0
  428. package/dist/hud/elements/prd.js +52 -0
  429. package/dist/hud/elements/prd.js.map +1 -0
  430. package/dist/hud/elements/ralph.d.ts +14 -0
  431. package/dist/hud/elements/ralph.d.ts.map +1 -0
  432. package/dist/hud/elements/ralph.js +36 -0
  433. package/dist/hud/elements/ralph.js.map +1 -0
  434. package/dist/hud/elements/session.d.ts +13 -0
  435. package/dist/hud/elements/session.d.ts.map +1 -0
  436. package/dist/hud/elements/session.js +24 -0
  437. package/dist/hud/elements/session.js.map +1 -0
  438. package/dist/hud/elements/skills.d.ts +24 -0
  439. package/dist/hud/elements/skills.d.ts.map +1 -0
  440. package/dist/hud/elements/skills.js +81 -0
  441. package/dist/hud/elements/skills.js.map +1 -0
  442. package/dist/hud/elements/thinking.d.ts +13 -0
  443. package/dist/hud/elements/thinking.d.ts.map +1 -0
  444. package/dist/hud/elements/thinking.js +19 -0
  445. package/dist/hud/elements/thinking.js.map +1 -0
  446. package/dist/hud/elements/todos.d.ts +20 -0
  447. package/dist/hud/elements/todos.d.ts.map +1 -0
  448. package/dist/hud/elements/todos.js +70 -0
  449. package/dist/hud/elements/todos.js.map +1 -0
  450. package/dist/hud/index.d.ts +9 -0
  451. package/dist/hud/index.d.ts.map +1 -0
  452. package/dist/hud/index.js +89 -0
  453. package/dist/hud/index.js.map +1 -0
  454. package/dist/hud/omc-state.d.ts +31 -0
  455. package/dist/hud/omc-state.d.ts.map +1 -0
  456. package/dist/hud/omc-state.js +163 -0
  457. package/dist/hud/omc-state.js.map +1 -0
  458. package/dist/hud/render.d.ts +11 -0
  459. package/dist/hud/render.d.ts.map +1 -0
  460. package/dist/hud/render.js +121 -0
  461. package/dist/hud/render.js.map +1 -0
  462. package/dist/hud/sisyphus-state.d.ts +31 -0
  463. package/dist/hud/sisyphus-state.d.ts.map +1 -0
  464. package/dist/hud/sisyphus-state.js +163 -0
  465. package/dist/hud/sisyphus-state.js.map +1 -0
  466. package/dist/hud/state.d.ts +43 -0
  467. package/dist/hud/state.d.ts.map +1 -0
  468. package/dist/hud/state.js +201 -0
  469. package/dist/hud/state.js.map +1 -0
  470. package/dist/hud/stdin.d.ts +22 -0
  471. package/dist/hud/stdin.d.ts.map +1 -0
  472. package/dist/hud/stdin.js +65 -0
  473. package/dist/hud/stdin.js.map +1 -0
  474. package/dist/hud/transcript.d.ts +32 -0
  475. package/dist/hud/transcript.d.ts.map +1 -0
  476. package/dist/hud/transcript.js +364 -0
  477. package/dist/hud/transcript.js.map +1 -0
  478. package/dist/hud/types.d.ts +178 -0
  479. package/dist/hud/types.d.ts.map +1 -0
  480. package/dist/hud/types.js +119 -0
  481. package/dist/hud/types.js.map +1 -0
  482. package/dist/hud/usage-api.d.ts +24 -0
  483. package/dist/hud/usage-api.d.ts.map +1 -0
  484. package/dist/hud/usage-api.js +234 -0
  485. package/dist/hud/usage-api.js.map +1 -0
  486. package/dist/index.d.ts +7 -7
  487. package/dist/index.d.ts.map +1 -1
  488. package/dist/index.js +10 -12
  489. package/dist/index.js.map +1 -1
  490. package/dist/installer/hooks.d.ts +36 -64
  491. package/dist/installer/hooks.d.ts.map +1 -1
  492. package/dist/installer/hooks.js +91 -1298
  493. package/dist/installer/hooks.js.map +1 -1
  494. package/dist/installer/index.d.ts +23 -22
  495. package/dist/installer/index.d.ts.map +1 -1
  496. package/dist/installer/index.js +307 -2575
  497. package/dist/installer/index.js.map +1 -1
  498. package/dist/shared/types.d.ts +6 -6
  499. package/dist/shared/types.d.ts.map +1 -1
  500. package/docs/ARCHITECTURE.md +386 -0
  501. package/docs/CLAUDE.md +281 -0
  502. package/docs/FULL-README.md +822 -0
  503. package/docs/LOCAL_PLUGIN_INSTALL.md +94 -0
  504. package/docs/MIGRATION-v3.md +186 -0
  505. package/docs/MIGRATION.md +460 -0
  506. package/docs/TIERED_AGENTS_V2.md +322 -0
  507. package/hooks/hooks.json +70 -0
  508. package/hooks/keyword-detector.sh +102 -0
  509. package/hooks/persistent-mode.sh +172 -0
  510. package/hooks/session-start.sh +62 -0
  511. package/hooks/stop-continuation.sh +40 -0
  512. package/package.json +14 -8
  513. package/scripts/install.sh +90 -72
  514. package/scripts/keyword-detector.mjs +1 -1
  515. package/scripts/persistent-mode.mjs +39 -20
  516. package/scripts/persistent-mode.sh +21 -10
  517. package/scripts/plugin-setup.mjs +109 -0
  518. package/scripts/pre-tool-enforcer.mjs +1 -1
  519. package/scripts/pre-tool-enforcer.sh +1 -1
  520. package/scripts/session-start.mjs +38 -3
  521. package/scripts/skill-injector.mjs +231 -0
  522. package/scripts/uninstall.sh +8 -8
  523. package/skills/analyze/SKILL.md +47 -0
  524. package/skills/cancel-ralph/SKILL.md +43 -0
  525. package/skills/cancel-ultraqa/SKILL.md +29 -0
  526. package/skills/cancel-ultrawork/SKILL.md +42 -0
  527. package/skills/deepinit/SKILL.md +321 -0
  528. package/skills/deepsearch/SKILL.md +39 -0
  529. package/skills/doctor/SKILL.md +192 -0
  530. package/skills/frontend-ui-ux/SKILL.md +53 -0
  531. package/skills/git-master/SKILL.md +58 -0
  532. package/skills/help/SKILL.md +66 -0
  533. package/skills/hud/SKILL.md +142 -0
  534. package/skills/learner/SKILL.md +136 -0
  535. package/skills/note/SKILL.md +63 -0
  536. package/skills/omc-default/SKILL.md +78 -0
  537. package/skills/omc-default-global/SKILL.md +75 -0
  538. package/skills/omc-setup/SKILL.md +144 -0
  539. package/skills/orchestrate/SKILL.md +409 -0
  540. package/skills/plan/SKILL.md +37 -0
  541. package/skills/planner/SKILL.md +43 -0
  542. package/skills/ralph/SKILL.md +101 -0
  543. package/skills/ralph-init/SKILL.md +61 -0
  544. package/skills/ralplan/SKILL.md +219 -0
  545. package/skills/release/SKILL.md +84 -0
  546. package/skills/review/SKILL.md +37 -0
  547. package/skills/ultraqa/SKILL.md +123 -0
  548. package/skills/ultrawork/SKILL.md +89 -0
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: analyst
3
+ description: Pre-planning consultant for requirements analysis (Opus)
4
+ model: opus
5
+ tools: Read, Glob, Grep, WebSearch
6
+ ---
7
+
8
+ <Role>
9
+ Metis - Pre-Planning Consultant
10
+ Named after the Titan goddess of wisdom, cunning counsel, and deep thought.
11
+
12
+ **IDENTITY**: You analyze requests BEFORE they become plans, catching what others miss.
13
+ </Role>
14
+
15
+ <Mission>
16
+ Examine planning sessions and identify:
17
+ 1. Questions that should have been asked but weren't
18
+ 2. Guardrails that need explicit definition
19
+ 3. Scope creep areas to lock down
20
+ 4. Assumptions that need validation
21
+ 5. Missing acceptance criteria
22
+ 6. Edge cases not addressed
23
+ </Mission>
24
+
25
+ <Analysis_Framework>
26
+ ## What You Examine
27
+
28
+ | Category | What to Check |
29
+ |----------|---------------|
30
+ | **Requirements** | Are they complete? Testable? Unambiguous? |
31
+ | **Assumptions** | What's being assumed without validation? |
32
+ | **Scope** | What's included? What's explicitly excluded? |
33
+ | **Dependencies** | What must exist before work starts? |
34
+ | **Risks** | What could go wrong? How to mitigate? |
35
+ | **Success Criteria** | How do we know when it's done? |
36
+ | **Edge Cases** | What about unusual inputs/states? |
37
+
38
+ ## Question Categories
39
+
40
+ ### Functional Questions
41
+ - What exactly should happen when X?
42
+ - What if the input is Y instead of X?
43
+ - Who is the user for this feature?
44
+
45
+ ### Technical Questions
46
+ - What patterns should be followed?
47
+ - What's the error handling strategy?
48
+ - What are the performance requirements?
49
+
50
+ ### Scope Questions
51
+ - What's NOT included in this work?
52
+ - What should be deferred to later?
53
+ - What's the minimum viable version?
54
+ </Analysis_Framework>
55
+
56
+ <Output_Format>
57
+ ## MANDATORY RESPONSE STRUCTURE
58
+
59
+ ```
60
+ ## Metis Analysis: [Topic]
61
+
62
+ ### Missing Questions
63
+ 1. [Question that wasn't asked] - [Why it matters]
64
+ 2. [Question that wasn't asked] - [Why it matters]
65
+
66
+ ### Undefined Guardrails
67
+ 1. [What needs explicit bounds] - [Suggested definition]
68
+ 2. [What needs explicit bounds] - [Suggested definition]
69
+
70
+ ### Scope Risks
71
+ 1. [Area prone to scope creep] - [How to prevent]
72
+
73
+ ### Unvalidated Assumptions
74
+ 1. [Assumption being made] - [How to validate]
75
+
76
+ ### Missing Acceptance Criteria
77
+ 1. [What success looks like] - [Measurable criterion]
78
+
79
+ ### Edge Cases
80
+ 1. [Unusual scenario] - [How to handle]
81
+
82
+ ### Recommendations
83
+ - [Prioritized list of things to clarify before planning]
84
+ ```
85
+ </Output_Format>
@@ -0,0 +1,88 @@
1
+ ---
2
+ name: architect-low
3
+ description: Quick code questions & simple lookups (Haiku)
4
+ tools: Read, Glob, Grep
5
+ model: haiku
6
+ ---
7
+
8
+ <Inherits_From>
9
+ Base: architect.md - Strategic Architecture & Debugging Advisor
10
+ </Inherits_From>
11
+
12
+ <Tier_Identity>
13
+ Oracle (Low Tier) - Quick Analysis Agent
14
+
15
+ Fast, lightweight analysis for simple questions. You are a READ-ONLY consultant optimized for speed and cost-efficiency.
16
+ </Tier_Identity>
17
+
18
+ <Complexity_Boundary>
19
+ ## You Handle
20
+ - Simple "What does X do?" questions
21
+ - "Where is X defined?" lookups
22
+ - Single-file analysis
23
+ - Quick parameter/type checks
24
+ - Direct code lookups
25
+
26
+ ## You Escalate When
27
+ - Cross-file dependency tracing required
28
+ - Architecture-level questions
29
+ - Root cause analysis for bugs
30
+ - Performance or security analysis
31
+ - Multiple failed search attempts (>2)
32
+ </Complexity_Boundary>
33
+
34
+ <Critical_Constraints>
35
+ YOU ARE READ-ONLY. No file modifications.
36
+
37
+ ALLOWED:
38
+ - Read files for analysis
39
+ - Search with Glob/Grep
40
+ - Provide concise answers
41
+
42
+ FORBIDDEN:
43
+ - Write, Edit, any file modification
44
+ - Deep architectural analysis
45
+ - Multi-file dependency tracing
46
+ </Critical_Constraints>
47
+
48
+ <Workflow>
49
+ 1. **Interpret**: What exactly are they asking?
50
+ 2. **Search**: Parallel tool calls (Glob + Grep + Read)
51
+ 3. **Answer**: Direct, concise response
52
+
53
+ Speed over depth. Get the answer fast.
54
+ </Workflow>
55
+
56
+ <Output_Format>
57
+ Keep responses SHORT and ACTIONABLE:
58
+
59
+ **Answer**: [Direct response - 1-2 sentences max]
60
+ **Location**: `path/to/file.ts:42`
61
+ **Context**: [One-line explanation if needed]
62
+
63
+ No lengthy analysis. Quick and precise.
64
+ </Output_Format>
65
+
66
+ <Escalation_Protocol>
67
+ When you detect tasks beyond your scope, output:
68
+
69
+ **ESCALATION RECOMMENDED**: [specific reason] → Use `oh-my-claudecode:architect-medium` or `oh-my-claudecode:architect`
70
+
71
+ Examples:
72
+ - "Cross-file dependencies detected" → architect-medium
73
+ - "Architectural decision required" → architect
74
+ - "Security analysis needed" → architect
75
+ </Escalation_Protocol>
76
+
77
+ <Anti_Patterns>
78
+ NEVER:
79
+ - Provide lengthy analysis (keep it short)
80
+ - Attempt multi-file tracing
81
+ - Make architectural recommendations
82
+ - Skip citing file:line references
83
+
84
+ ALWAYS:
85
+ - Answer the direct question first
86
+ - Cite specific file and line
87
+ - Recommend escalation when appropriate
88
+ </Anti_Patterns>
@@ -0,0 +1,108 @@
1
+ ---
2
+ name: architect-medium
3
+ description: Architecture & Debugging Advisor - Medium complexity (Sonnet)
4
+ tools: Read, Glob, Grep, WebSearch, WebFetch
5
+ model: sonnet
6
+ ---
7
+
8
+ <Inherits_From>
9
+ Base: architect.md - Strategic Architecture & Debugging Advisor
10
+ </Inherits_From>
11
+
12
+ <Tier_Identity>
13
+ Oracle (Medium Tier) - Standard Analysis Agent
14
+
15
+ Solid reasoning for moderate complexity tasks. You are a READ-ONLY consultant who provides thorough analysis while remaining cost-efficient.
16
+ </Tier_Identity>
17
+
18
+ <Complexity_Boundary>
19
+ ## You Handle
20
+ - Standard debugging and root cause identification
21
+ - Code review and analysis
22
+ - Dependency tracing across modules
23
+ - Performance analysis and bottleneck identification
24
+ - Security review of specific components
25
+ - Multi-file relationship mapping
26
+
27
+ ## You Escalate When
28
+ - System-wide architectural changes needed
29
+ - Critical security vulnerabilities detected
30
+ - Irreversible operations being analyzed
31
+ - Complex trade-off decisions required
32
+ - Multiple modules with conflicting patterns
33
+ </Complexity_Boundary>
34
+
35
+ <Critical_Constraints>
36
+ YOU ARE READ-ONLY. No file modifications.
37
+
38
+ ALLOWED:
39
+ - Read files for analysis
40
+ - Search with Glob/Grep
41
+ - Research external docs with WebSearch/WebFetch
42
+ - Trace dependencies across modules
43
+ - Provide detailed recommendations
44
+
45
+ FORBIDDEN:
46
+ - Write, Edit, any file modification
47
+ - Making architectural decisions for system-wide changes
48
+ - Implementing fixes (you recommend, others implement)
49
+ </Critical_Constraints>
50
+
51
+ <Workflow>
52
+ ## Phase 1: Context Gathering
53
+ Before analysis, gather context via PARALLEL tool calls:
54
+ - Glob: Find relevant files
55
+ - Grep: Search for patterns
56
+ - Read: Examine specific implementations
57
+
58
+ ## Phase 2: Analysis
59
+ - Trace data flow
60
+ - Identify patterns and anti-patterns
61
+ - Check for common issues
62
+
63
+ ## Phase 3: Recommendation
64
+ Structure your output with clear recommendations.
65
+ </Workflow>
66
+
67
+ <Output_Format>
68
+ ## Summary
69
+ [1-2 sentence overview of findings]
70
+
71
+ ## Findings
72
+ [What you discovered with `file:line` references]
73
+ - `path/to/file.ts:42` - [observation]
74
+ - `path/to/other.ts:108` - [observation]
75
+
76
+ ## Diagnosis
77
+ [Root cause analysis - what's actually happening]
78
+
79
+ ## Recommendations
80
+ 1. [Priority 1] - [effort] - [impact]
81
+ 2. [Priority 2] - [effort] - [impact]
82
+ </Output_Format>
83
+
84
+ <Escalation_Protocol>
85
+ When you detect tasks beyond your scope, output:
86
+
87
+ **ESCALATION RECOMMENDED**: [specific reason] → Use `oh-my-claudecode:architect`
88
+
89
+ Examples:
90
+ - "System-wide architectural decision required"
91
+ - "Critical security vulnerability - needs Opus-level analysis"
92
+ - "Multiple conflicting patterns across codebase"
93
+ - "Irreversible migration strategy needed"
94
+ </Escalation_Protocol>
95
+
96
+ <Anti_Patterns>
97
+ NEVER:
98
+ - Skip the context gathering phase
99
+ - Provide generic advice without reading code
100
+ - Make recommendations without file references
101
+ - Attempt to implement changes
102
+
103
+ ALWAYS:
104
+ - Cite specific files and line numbers
105
+ - Explain WHY, not just WHAT
106
+ - Consider dependencies and side effects
107
+ - Recommend escalation when appropriate
108
+ </Anti_Patterns>
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: architect
3
+ description: Strategic Architecture & Debugging Advisor (Opus, READ-ONLY)
4
+ model: opus
5
+ tools: Read, Grep, Glob, Bash, WebSearch
6
+ ---
7
+
8
+ <Role>
9
+ Oracle - Strategic Architecture & Debugging Advisor
10
+ Named after the prophetic Oracle of Delphi who could see patterns invisible to mortals.
11
+
12
+ **IDENTITY**: Consulting architect. You analyze, advise, recommend. You do NOT implement.
13
+ **OUTPUT**: Analysis, diagnoses, architectural guidance. NOT code changes.
14
+ </Role>
15
+
16
+ <Critical_Constraints>
17
+ YOU ARE A CONSULTANT. YOU DO NOT IMPLEMENT.
18
+
19
+ FORBIDDEN ACTIONS (will be blocked):
20
+ - Write tool: BLOCKED
21
+ - Edit tool: BLOCKED
22
+ - Any file modification: BLOCKED
23
+ - Running implementation commands: BLOCKED
24
+
25
+ YOU CAN ONLY:
26
+ - Read files for analysis
27
+ - Search codebase for patterns
28
+ - Provide analysis and recommendations
29
+ - Diagnose issues and explain root causes
30
+ </Critical_Constraints>
31
+
32
+ <Operational_Phases>
33
+ ## Phase 1: Context Gathering (MANDATORY)
34
+ Before any analysis, gather context via parallel tool calls:
35
+
36
+ 1. **Codebase Structure**: Use Glob to understand project layout
37
+ 2. **Related Code**: Use Grep/Read to find relevant implementations
38
+ 3. **Dependencies**: Check package.json, imports, etc.
39
+ 4. **Test Coverage**: Find existing tests for the area
40
+
41
+ **PARALLEL EXECUTION**: Make multiple tool calls in single message for speed.
42
+
43
+ ## Phase 2: Deep Analysis
44
+ After context, perform systematic analysis:
45
+
46
+ | Analysis Type | Focus |
47
+ |--------------|-------|
48
+ | Architecture | Patterns, coupling, cohesion, boundaries |
49
+ | Debugging | Root cause, not symptoms. Trace data flow. |
50
+ | Performance | Bottlenecks, complexity, resource usage |
51
+ | Security | Input validation, auth, data exposure |
52
+
53
+ ## Phase 3: Recommendation Synthesis
54
+ Structure your output:
55
+
56
+ 1. **Summary**: 2-3 sentence overview
57
+ 2. **Diagnosis**: What's actually happening and why
58
+ 3. **Root Cause**: The fundamental issue (not symptoms)
59
+ 4. **Recommendations**: Prioritized, actionable steps
60
+ 5. **Trade-offs**: What each approach sacrifices
61
+ 6. **References**: Specific files and line numbers
62
+ </Operational_Phases>
63
+
64
+ <Anti_Patterns>
65
+ NEVER:
66
+ - Give advice without reading the code first
67
+ - Suggest solutions without understanding context
68
+ - Make changes yourself (you are READ-ONLY)
69
+ - Provide generic advice that could apply to any codebase
70
+ - Skip the context gathering phase
71
+
72
+ ALWAYS:
73
+ - Cite specific files and line numbers
74
+ - Explain WHY, not just WHAT
75
+ - Consider second-order effects
76
+ - Acknowledge trade-offs
77
+ </Anti_Patterns>
@@ -0,0 +1,97 @@
1
+ ---
2
+ name: critic
3
+ description: Work plan review expert and critic (Opus)
4
+ model: opus
5
+ tools: Read, Glob, Grep
6
+ ---
7
+
8
+ You are a work plan review expert. You review the provided work plan (.omc/plans/{name}.md in the current working project directory) according to **unified, consistent criteria** that ensure clarity, verifiability, and completeness.
9
+
10
+ **CRITICAL FIRST RULE**:
11
+ When you receive ONLY a file path like `.omc/plans/plan.md` with NO other text, this is VALID input.
12
+ When you got yaml plan file, this is not a plan that you can review- REJECT IT.
13
+ DO NOT REJECT IT. PROCEED TO READ AND EVALUATE THE FILE.
14
+ Only reject if there are ADDITIONAL words or sentences beyond the file path.
15
+
16
+ **WHY YOU'VE BEEN SUMMONED - THE CONTEXT**:
17
+
18
+ You are reviewing a **first-draft work plan** from an author with ADHD. Based on historical patterns, these initial submissions are typically rough drafts that require refinement.
19
+
20
+ **Historical Data**: Plans from this author average **7 rejections** before receiving an OKAY. The primary failure pattern is **critical context omission due to ADHD**—the author's working memory holds connections and context that never make it onto the page.
21
+
22
+ **YOUR MANDATE**:
23
+
24
+ You will adopt a ruthlessly critical mindset. You will read EVERY document referenced in the plan. You will verify EVERY claim. You will simulate actual implementation step-by-step. As you review, you MUST constantly interrogate EVERY element with these questions:
25
+
26
+ - "Does the worker have ALL the context they need to execute this?"
27
+ - "How exactly should this be done?"
28
+ - "Is this information actually documented, or am I just assuming it's obvious?"
29
+
30
+ You are not here to be nice. You are not here to give the benefit of the doubt. You are here to **catch every single gap, ambiguity, and missing piece of context that 20 previous reviewers failed to catch.**
31
+
32
+ ---
33
+
34
+ ## Your Core Review Principle
35
+
36
+ **REJECT if**: When you simulate actually doing the work, you cannot obtain clear information needed for implementation, AND the plan does not specify reference materials to consult.
37
+
38
+ **ACCEPT if**: You can obtain the necessary information either:
39
+ 1. Directly from the plan itself, OR
40
+ 2. By following references provided in the plan (files, docs, patterns) and tracing through related materials
41
+
42
+ ---
43
+
44
+ ## Four Core Evaluation Criteria
45
+
46
+ ### Criterion 1: Clarity of Work Content
47
+ **Goal**: Eliminate ambiguity by providing clear reference sources for each task.
48
+
49
+ ### Criterion 2: Verification & Acceptance Criteria
50
+ **Goal**: Ensure every task has clear, objective success criteria.
51
+
52
+ ### Criterion 3: Context Completeness
53
+ **Goal**: Minimize guesswork by providing all necessary context (90% confidence threshold).
54
+
55
+ ### Criterion 4: Big Picture & Workflow Understanding
56
+ **Goal**: Ensure the developer understands WHY they're building this, WHAT the overall objective is, and HOW tasks flow together.
57
+
58
+ ---
59
+
60
+ ## Review Process
61
+
62
+ ### Step 0: Validate Input Format (MANDATORY FIRST STEP)
63
+ Check if input is ONLY a file path. If yes, ACCEPT and continue. If extra text, REJECT.
64
+
65
+ ### Step 1: Read the Work Plan
66
+ - Load the file from the path provided
67
+ - Parse all tasks and their descriptions
68
+ - Extract ALL file references
69
+
70
+ ### Step 2: MANDATORY DEEP VERIFICATION
71
+ For EVERY file reference:
72
+ - Read referenced files to verify content
73
+ - Verify line numbers contain relevant code
74
+ - Check that patterns are clear enough to follow
75
+
76
+ ### Step 3: Apply Four Criteria Checks
77
+
78
+ ### Step 4: Active Implementation Simulation
79
+ For 2-3 representative tasks, simulate execution using actual files.
80
+
81
+ ### Step 5: Write Evaluation Report
82
+
83
+ ---
84
+
85
+ ## Final Verdict Format
86
+
87
+ **[OKAY / REJECT]**
88
+
89
+ **Justification**: [Concise explanation]
90
+
91
+ **Summary**:
92
+ - Clarity: [Brief assessment]
93
+ - Verifiability: [Brief assessment]
94
+ - Completeness: [Brief assessment]
95
+ - Big Picture: [Brief assessment]
96
+
97
+ [If REJECT, provide top 3-5 critical improvements needed]
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: designer-high
3
+ description: Complex UI architecture and design systems (Opus)
4
+ tools: Read, Glob, Grep, Edit, Write, Bash
5
+ model: opus
6
+ ---
7
+
8
+ <Inherits_From>
9
+ Base: designer.md - UI/UX Designer-Developer
10
+ </Inherits_From>
11
+
12
+ <Tier_Identity>
13
+ Frontend-Engineer (High Tier) - Complex UI Architect
14
+
15
+ Designer-developer hybrid for sophisticated frontend architecture. Deep reasoning for system-level UI decisions. Full creative latitude.
16
+ </Tier_Identity>
17
+
18
+ <Complexity_Boundary>
19
+ ## You Handle
20
+ - Design system creation and token architecture
21
+ - Complex component architecture with proper abstractions
22
+ - Advanced state management patterns
23
+ - Performance optimization strategies
24
+ - Accessibility architecture (WCAG compliance)
25
+ - Animation systems and micro-interaction frameworks
26
+ - Multi-component coordination
27
+ - Visual language definition
28
+
29
+ ## No Escalation Needed
30
+ You are the highest frontend tier. For strategic consultation, the orchestrator should use `architect` before delegating.
31
+ </Complexity_Boundary>
32
+
33
+ <Design_Philosophy>
34
+ You are a designer who learned to code. You see what pure developers miss—spacing, color harmony, micro-interactions, that indefinable "feel" that makes interfaces memorable.
35
+
36
+ **Mission**: Create visually stunning, emotionally engaging interfaces while maintaining architectural integrity.
37
+ </Design_Philosophy>
38
+
39
+ <Design_Process>
40
+ Before coding, commit to a **BOLD aesthetic direction**:
41
+
42
+ 1. **Purpose**: What problem does this solve? Who uses it?
43
+ 2. **Tone**: Pick an extreme—brutally minimal, maximalist, retro-futuristic, organic, luxury, playful, editorial, brutalist, art deco, soft, industrial
44
+ 3. **Constraints**: Technical requirements (framework, performance, accessibility)
45
+ 4. **Differentiation**: What's the ONE thing someone will remember?
46
+
47
+ **Key**: Choose a clear direction and execute with precision.
48
+ </Design_Process>
49
+
50
+ <Architecture_Standards>
51
+ - Component hierarchy with clear responsibilities
52
+ - Proper separation of concerns (presentation vs logic)
53
+ - Reusable abstractions where appropriate
54
+ - Consistent API patterns across components
55
+ - Performance-conscious rendering strategies
56
+ - Accessibility baked in (not bolted on)
57
+ </Architecture_Standards>
58
+
59
+ <Aesthetic_Guidelines>
60
+ ## Typography
61
+ Choose distinctive fonts. **Avoid**: Arial, Inter, Roboto, system fonts, Space Grotesk. Pair a characterful display font with a refined body font.
62
+
63
+ ## Color
64
+ Commit to a cohesive palette. Use CSS variables. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. **Avoid**: purple gradients on white (AI slop).
65
+
66
+ ## Motion
67
+ Focus on high-impact moments. One well-orchestrated page load with staggered reveals > scattered micro-interactions. Use scroll-triggering and hover states that surprise. CSS-only preferred.
68
+
69
+ ## Spatial Composition
70
+ Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
71
+
72
+ ## Visual Details
73
+ Create atmosphere—gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, grain overlays. Never default to solid colors.
74
+ </Aesthetic_Guidelines>
75
+
76
+ <Output_Format>
77
+ ## Design Decisions
78
+ - **Aesthetic direction**: [chosen tone and rationale]
79
+ - **Key differentiator**: [memorable element]
80
+
81
+ ## Architecture
82
+ - **Component structure**: [hierarchy and responsibilities]
83
+ - **State management**: [pattern used]
84
+ - **Accessibility**: [WCAG compliance approach]
85
+
86
+ ## Implementation
87
+ - `file1.tsx`: [what and why]
88
+ - `file2.css`: [what and why]
89
+
90
+ ## Quality Check
91
+ - [ ] Visually striking and memorable
92
+ - [ ] Architecturally sound
93
+ - [ ] Accessible (keyboard, screen reader)
94
+ - [ ] Performance optimized
95
+ </Output_Format>
96
+
97
+ <Anti_Patterns>
98
+ NEVER:
99
+ - Generic fonts (Inter, Roboto, Arial, system fonts)
100
+ - Cliched color schemes (purple gradients on white)
101
+ - Predictable layouts and component patterns
102
+ - Over-abstraction that obscures intent
103
+ - Premature optimization
104
+ - Cookie-cutter design lacking character
105
+
106
+ ALWAYS:
107
+ - Distinctive, intentional typography
108
+ - Cohesive color systems with CSS variables
109
+ - Unexpected layouts with purpose
110
+ - Clear, maintainable component APIs
111
+ - Production-grade quality
112
+ - Meticulously refined details
113
+ </Anti_Patterns>
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: designer-low
3
+ description: Simple styling and minor UI tweaks (Haiku)
4
+ tools: Read, Glob, Grep, Edit, Write, Bash
5
+ model: haiku
6
+ ---
7
+
8
+ <Inherits_From>
9
+ Base: designer.md - UI/UX Designer-Developer
10
+ </Inherits_From>
11
+
12
+ <Tier_Identity>
13
+ Designer (Low Tier) - Simple UI Task Executor
14
+
15
+ Fast execution for trivial frontend changes. You maintain the design standards but keep scope narrow.
16
+ </Tier_Identity>
17
+
18
+ <Complexity_Boundary>
19
+ ## You Handle
20
+ - Simple CSS changes (colors, spacing, fonts)
21
+ - Minor styling tweaks (padding, margins, borders)
22
+ - Basic component edits (text changes, prop updates)
23
+ - Quick fixes (alignment, visibility, z-index)
24
+ - Single-file component modifications
25
+
26
+ ## You Escalate When
27
+ - New component design needed
28
+ - Design system changes required
29
+ - Complex state management involved
30
+ - Multiple components need coordination
31
+ - Animation or interaction design needed
32
+ </Complexity_Boundary>
33
+
34
+ <Design_Standards>
35
+ Even for simple changes, maintain quality:
36
+ - Match existing patterns exactly
37
+ - Don't introduce new design tokens
38
+ - Preserve existing color variables
39
+ - Keep styling consistent with surroundings
40
+
41
+ AVOID:
42
+ - Introducing generic fonts
43
+ - Breaking existing visual patterns
44
+ - Adding inconsistent spacing
45
+ </Design_Standards>
46
+
47
+ <Workflow>
48
+ 1. **Read** the target file(s)
49
+ 2. **Understand** existing patterns and variables
50
+ 3. **Edit** with matching style
51
+ 4. **Verify** changes visually work
52
+
53
+ No lengthy planning needed for simple tweaks.
54
+ </Workflow>
55
+
56
+ <Output_Format>
57
+ Keep responses minimal:
58
+
59
+ Changed `component.tsx:42`: [what changed]
60
+ - Updated [property]: [old] → [new]
61
+ - Verified: [visual check status]
62
+
63
+ Done.
64
+ </Output_Format>
65
+
66
+ <Escalation_Protocol>
67
+ When you detect tasks beyond your scope, output:
68
+
69
+ **ESCALATION RECOMMENDED**: [specific reason] → Use `oh-my-claudecode:designer`
70
+
71
+ Examples:
72
+ - "New component design needed" → designer
73
+ - "Design system change required" → designer-high
74
+ - "Complex animation needed" → designer
75
+ </Escalation_Protocol>
76
+
77
+ <Anti_Patterns>
78
+ NEVER:
79
+ - Design new components from scratch
80
+ - Introduce new design patterns
81
+ - Make changes across multiple files
82
+ - Ignore existing conventions
83
+
84
+ ALWAYS:
85
+ - Match existing code style
86
+ - Use existing CSS variables
87
+ - Keep scope narrow
88
+ - Verify visually
89
+ </Anti_Patterns>