maestro-flow 0.4.9 → 0.4.11

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 (410) hide show
  1. package/.agents/agents/cli-explore-agent.md +189 -0
  2. package/.agents/agents/conceptual-planning-agent.md +247 -0
  3. package/.agents/agents/impeccable-agent.md +101 -0
  4. package/.agents/agents/team-supervisor.md +145 -0
  5. package/.agents/agents/team-worker.md +239 -0
  6. package/.agents/agents/ui-design-agent.md +289 -0
  7. package/.agents/agents/workflow-analyzer.md +117 -0
  8. package/.agents/agents/workflow-codebase-mapper.md +79 -0
  9. package/.agents/agents/workflow-collab-planner.md +145 -0
  10. package/.agents/agents/workflow-debugger.md +105 -0
  11. package/.agents/agents/workflow-executor.md +134 -0
  12. package/.agents/agents/workflow-external-researcher.md +88 -0
  13. package/.agents/agents/workflow-integration-checker.md +85 -0
  14. package/.agents/agents/workflow-nyquist-auditor.md +87 -0
  15. package/.agents/agents/workflow-phase-researcher.md +87 -0
  16. package/.agents/agents/workflow-plan-checker.md +92 -0
  17. package/.agents/agents/workflow-planner.md +197 -0
  18. package/.agents/agents/workflow-project-researcher.md +76 -0
  19. package/.agents/agents/workflow-research-synthesizer.md +72 -0
  20. package/.agents/agents/workflow-reviewer.md +84 -0
  21. package/.agents/agents/workflow-roadmapper.md +83 -0
  22. package/.agents/agents/workflow-verifier.md +122 -0
  23. package/.agents/skills/codify-to-knowhow/SKILL.md +169 -0
  24. package/.agents/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
  25. package/.agents/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
  26. package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
  27. package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
  28. package/.agents/skills/learn-decompose/SKILL.md +118 -0
  29. package/.agents/skills/learn-follow/SKILL.md +129 -0
  30. package/.agents/skills/learn-investigate/SKILL.md +154 -0
  31. package/.agents/skills/learn-retro/SKILL.md +159 -0
  32. package/.agents/skills/learn-second-opinion/SKILL.md +124 -0
  33. package/.agents/skills/maestro/SKILL.md +224 -0
  34. package/.agents/skills/maestro-amend/SKILL.md +165 -0
  35. package/.agents/skills/maestro-analyze/SKILL.md +135 -0
  36. package/.agents/skills/maestro-brainstorm/SKILL.md +118 -0
  37. package/.agents/skills/maestro-collab/SKILL.md +174 -0
  38. package/.agents/skills/maestro-composer/SKILL.md +181 -0
  39. package/.agents/skills/maestro-execute/SKILL.md +133 -0
  40. package/.agents/skills/maestro-fork/SKILL.md +88 -0
  41. package/.agents/skills/maestro-guard/SKILL.md +103 -0
  42. package/.agents/skills/maestro-help/SKILL.md +266 -0
  43. package/.agents/skills/maestro-help/index/catalog.json +184 -0
  44. package/.agents/skills/maestro-help/phases/01-parse-intent.md +122 -0
  45. package/.agents/skills/maestro-help/phases/02-search-present.md +181 -0
  46. package/.agents/skills/maestro-help/phases/03-workflow-guide.md +186 -0
  47. package/.agents/skills/maestro-impeccable/SKILL.md +251 -0
  48. package/.agents/skills/maestro-init/SKILL.md +80 -0
  49. package/.agents/skills/maestro-learn/SKILL.md +142 -0
  50. package/.agents/skills/maestro-merge/SKILL.md +66 -0
  51. package/.agents/skills/maestro-milestone-audit/SKILL.md +70 -0
  52. package/.agents/skills/maestro-milestone-complete/SKILL.md +77 -0
  53. package/.agents/skills/maestro-milestone-release/SKILL.md +98 -0
  54. package/.agents/skills/maestro-overlay/SKILL.md +180 -0
  55. package/.agents/skills/maestro-plan/SKILL.md +172 -0
  56. package/.agents/skills/maestro-player/SKILL.md +177 -0
  57. package/.agents/skills/maestro-quick/SKILL.md +67 -0
  58. package/.agents/skills/maestro-ralph/SKILL.md +685 -0
  59. package/.agents/skills/maestro-ralph-execute/SKILL.md +259 -0
  60. package/.agents/skills/maestro-roadmap/SKILL.md +170 -0
  61. package/.agents/skills/maestro-tools-execute/SKILL.md +119 -0
  62. package/.agents/skills/maestro-tools-register/SKILL.md +159 -0
  63. package/.agents/skills/maestro-ui-codify/SKILL.md +82 -0
  64. package/.agents/skills/maestro-update/SKILL.md +178 -0
  65. package/.agents/skills/maestro-verify/SKILL.md +111 -0
  66. package/.agents/skills/manage-codebase-rebuild/SKILL.md +77 -0
  67. package/.agents/skills/manage-codebase-refresh/SKILL.md +59 -0
  68. package/.agents/skills/manage-harvest/SKILL.md +96 -0
  69. package/.agents/skills/manage-issue/SKILL.md +75 -0
  70. package/.agents/skills/manage-issue-discover/SKILL.md +83 -0
  71. package/.agents/skills/manage-knowhow/SKILL.md +79 -0
  72. package/.agents/skills/manage-knowhow-capture/SKILL.md +81 -0
  73. package/.agents/skills/manage-learn/SKILL.md +67 -0
  74. package/.agents/skills/manage-status/SKILL.md +54 -0
  75. package/.agents/skills/manage-wiki/SKILL.md +64 -0
  76. package/.agents/skills/quality-auto-test/SKILL.md +138 -0
  77. package/.agents/skills/quality-debug/SKILL.md +122 -0
  78. package/.agents/skills/quality-refactor/SKILL.md +69 -0
  79. package/.agents/skills/quality-retrospective/SKILL.md +79 -0
  80. package/.agents/skills/quality-review/SKILL.md +130 -0
  81. package/.agents/skills/quality-sync/SKILL.md +53 -0
  82. package/.agents/skills/quality-test/SKILL.md +119 -0
  83. package/.agents/skills/security-audit/SKILL.md +157 -0
  84. package/.agents/skills/skill-iter-tune/SKILL.md +384 -0
  85. package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -0
  86. package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -0
  87. package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
  88. package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -0
  89. package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -0
  90. package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
  91. package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
  92. package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
  93. package/.agents/skills/spec-add/SKILL.md +70 -0
  94. package/.agents/skills/spec-load/SKILL.md +73 -0
  95. package/.agents/skills/spec-remove/SKILL.md +53 -0
  96. package/.agents/skills/spec-setup/SKILL.md +50 -0
  97. package/.agents/skills/team-coordinate/SKILL.md +268 -0
  98. package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
  99. package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
  100. package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -0
  101. package/.agents/skills/team-coordinate/roles/coordinator/role.md +365 -0
  102. package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
  103. package/.agents/skills/team-coordinate/specs/pipelines.md +97 -0
  104. package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -0
  105. package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -0
  106. package/.agents/skills/team-executor/SKILL.md +191 -0
  107. package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -0
  108. package/.agents/skills/team-executor/roles/executor/role.md +171 -0
  109. package/.agents/skills/team-executor/specs/session-schema.md +264 -0
  110. package/.agents/skills/team-lifecycle-v4/SKILL.md +211 -0
  111. package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +96 -0
  112. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
  113. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
  114. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
  115. package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
  116. package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
  117. package/.agents/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
  118. package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +69 -0
  119. package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +87 -0
  120. package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
  121. package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
  122. package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +71 -0
  123. package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +194 -0
  124. package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +89 -0
  125. package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +97 -0
  126. package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
  127. package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
  128. package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
  129. package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -0
  130. package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -0
  131. package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
  132. package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -0
  133. package/.agents/skills/team-quality-assurance/SKILL.md +149 -0
  134. package/.agents/skills/team-quality-assurance/roles/analyst/role.md +90 -0
  135. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
  136. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
  137. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -0
  138. package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
  139. package/.agents/skills/team-quality-assurance/roles/executor/role.md +68 -0
  140. package/.agents/skills/team-quality-assurance/roles/generator/role.md +70 -0
  141. package/.agents/skills/team-quality-assurance/roles/scout/role.md +77 -0
  142. package/.agents/skills/team-quality-assurance/roles/strategist/role.md +73 -0
  143. package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -0
  144. package/.agents/skills/team-quality-assurance/specs/team-config.json +131 -0
  145. package/.agents/skills/team-review/SKILL.md +149 -0
  146. package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
  147. package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
  148. package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -0
  149. package/.agents/skills/team-review/roles/coordinator/role.md +132 -0
  150. package/.agents/skills/team-review/roles/fixer/role.md +78 -0
  151. package/.agents/skills/team-review/roles/reviewer/role.md +70 -0
  152. package/.agents/skills/team-review/roles/scanner/role.md +81 -0
  153. package/.agents/skills/team-review/specs/dimensions.md +82 -0
  154. package/.agents/skills/team-review/specs/finding-schema.json +82 -0
  155. package/.agents/skills/team-review/specs/pipelines.md +102 -0
  156. package/.agents/skills/team-review/specs/team-config.json +27 -0
  157. package/.agents/skills/team-tech-debt/SKILL.md +130 -0
  158. package/.agents/skills/team-tech-debt/roles/assessor/role.md +79 -0
  159. package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
  160. package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
  161. package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -0
  162. package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -0
  163. package/.agents/skills/team-tech-debt/roles/executor/role.md +78 -0
  164. package/.agents/skills/team-tech-debt/roles/planner/role.md +71 -0
  165. package/.agents/skills/team-tech-debt/roles/scanner/role.md +92 -0
  166. package/.agents/skills/team-tech-debt/roles/validator/role.md +80 -0
  167. package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -0
  168. package/.agents/skills/team-tech-debt/specs/team-config.json +129 -0
  169. package/.agents/skills/team-testing/SKILL.md +145 -0
  170. package/.agents/skills/team-testing/roles/analyst/role.md +105 -0
  171. package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
  172. package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
  173. package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -0
  174. package/.agents/skills/team-testing/roles/coordinator/role.md +134 -0
  175. package/.agents/skills/team-testing/roles/executor/role.md +101 -0
  176. package/.agents/skills/team-testing/roles/generator/role.md +100 -0
  177. package/.agents/skills/team-testing/roles/strategist/role.md +85 -0
  178. package/.agents/skills/team-testing/specs/pipelines.md +101 -0
  179. package/.agents/skills/team-testing/specs/team-config.json +93 -0
  180. package/.agents/skills/wiki-connect/SKILL.md +64 -0
  181. package/.agents/skills/wiki-digest/SKILL.md +70 -0
  182. package/.agents/skills/workflow-skill-designer/SKILL.md +498 -0
  183. package/.agents/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
  184. package/.agents/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
  185. package/.agents/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
  186. package/.agents/skills/workflow-skill-designer/phases/04-validation.md +471 -0
  187. package/.agy/agents/cli-explore-agent.md +186 -0
  188. package/.agy/agents/conceptual-planning-agent.md +244 -0
  189. package/.agy/agents/impeccable-agent.md +97 -0
  190. package/.agy/agents/team-supervisor.md +142 -0
  191. package/.agy/agents/team-worker.md +236 -0
  192. package/.agy/agents/ui-design-agent.md +286 -0
  193. package/.agy/agents/workflow-analyzer.md +114 -0
  194. package/.agy/agents/workflow-codebase-mapper.md +76 -0
  195. package/.agy/agents/workflow-collab-planner.md +142 -0
  196. package/.agy/agents/workflow-debugger.md +102 -0
  197. package/.agy/agents/workflow-executor.md +131 -0
  198. package/.agy/agents/workflow-external-researcher.md +86 -0
  199. package/.agy/agents/workflow-integration-checker.md +82 -0
  200. package/.agy/agents/workflow-nyquist-auditor.md +84 -0
  201. package/.agy/agents/workflow-phase-researcher.md +84 -0
  202. package/.agy/agents/workflow-plan-checker.md +89 -0
  203. package/.agy/agents/workflow-planner.md +194 -0
  204. package/.agy/agents/workflow-project-researcher.md +73 -0
  205. package/.agy/agents/workflow-research-synthesizer.md +70 -0
  206. package/.agy/agents/workflow-reviewer.md +81 -0
  207. package/.agy/agents/workflow-roadmapper.md +81 -0
  208. package/.agy/agents/workflow-verifier.md +119 -0
  209. package/.agy/skills/codify-to-knowhow/SKILL.md +172 -0
  210. package/.agy/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
  211. package/.agy/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
  212. package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
  213. package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
  214. package/.agy/skills/learn-decompose/SKILL.md +118 -0
  215. package/.agy/skills/learn-follow/SKILL.md +129 -0
  216. package/.agy/skills/learn-investigate/SKILL.md +154 -0
  217. package/.agy/skills/learn-retro/SKILL.md +159 -0
  218. package/.agy/skills/learn-second-opinion/SKILL.md +124 -0
  219. package/.agy/skills/maestro/SKILL.md +223 -0
  220. package/.agy/skills/maestro-amend/SKILL.md +162 -0
  221. package/.agy/skills/maestro-analyze/SKILL.md +135 -0
  222. package/.agy/skills/maestro-brainstorm/SKILL.md +118 -0
  223. package/.agy/skills/maestro-collab/SKILL.md +174 -0
  224. package/.agy/skills/maestro-composer/SKILL.md +180 -0
  225. package/.agy/skills/maestro-execute/SKILL.md +133 -0
  226. package/.agy/skills/maestro-fork/SKILL.md +88 -0
  227. package/.agy/skills/maestro-guard/SKILL.md +101 -0
  228. package/.agy/skills/maestro-help/SKILL.md +267 -0
  229. package/.agy/skills/maestro-help/index/catalog.json +184 -0
  230. package/.agy/skills/maestro-help/phases/01-parse-intent.md +122 -0
  231. package/.agy/skills/maestro-help/phases/02-search-present.md +181 -0
  232. package/.agy/skills/maestro-help/phases/03-workflow-guide.md +186 -0
  233. package/.agy/skills/maestro-impeccable/SKILL.md +250 -0
  234. package/.agy/skills/maestro-init/SKILL.md +80 -0
  235. package/.agy/skills/maestro-learn/SKILL.md +142 -0
  236. package/.agy/skills/maestro-merge/SKILL.md +66 -0
  237. package/.agy/skills/maestro-milestone-audit/SKILL.md +70 -0
  238. package/.agy/skills/maestro-milestone-complete/SKILL.md +77 -0
  239. package/.agy/skills/maestro-milestone-release/SKILL.md +98 -0
  240. package/.agy/skills/maestro-overlay/SKILL.md +177 -0
  241. package/.agy/skills/maestro-plan/SKILL.md +172 -0
  242. package/.agy/skills/maestro-player/SKILL.md +176 -0
  243. package/.agy/skills/maestro-quick/SKILL.md +67 -0
  244. package/.agy/skills/maestro-ralph/SKILL.md +681 -0
  245. package/.agy/skills/maestro-ralph-execute/SKILL.md +255 -0
  246. package/.agy/skills/maestro-roadmap/SKILL.md +170 -0
  247. package/.agy/skills/maestro-tools-execute/SKILL.md +119 -0
  248. package/.agy/skills/maestro-tools-register/SKILL.md +159 -0
  249. package/.agy/skills/maestro-ui-codify/SKILL.md +81 -0
  250. package/.agy/skills/maestro-update/SKILL.md +175 -0
  251. package/.agy/skills/maestro-verify/SKILL.md +111 -0
  252. package/.agy/skills/manage-codebase-rebuild/SKILL.md +77 -0
  253. package/.agy/skills/manage-codebase-refresh/SKILL.md +59 -0
  254. package/.agy/skills/manage-harvest/SKILL.md +96 -0
  255. package/.agy/skills/manage-issue/SKILL.md +72 -0
  256. package/.agy/skills/manage-issue-discover/SKILL.md +83 -0
  257. package/.agy/skills/manage-knowhow/SKILL.md +76 -0
  258. package/.agy/skills/manage-knowhow-capture/SKILL.md +78 -0
  259. package/.agy/skills/manage-learn/SKILL.md +64 -0
  260. package/.agy/skills/manage-status/SKILL.md +51 -0
  261. package/.agy/skills/manage-wiki/SKILL.md +61 -0
  262. package/.agy/skills/quality-auto-test/SKILL.md +135 -0
  263. package/.agy/skills/quality-debug/SKILL.md +122 -0
  264. package/.agy/skills/quality-refactor/SKILL.md +69 -0
  265. package/.agy/skills/quality-retrospective/SKILL.md +79 -0
  266. package/.agy/skills/quality-review/SKILL.md +130 -0
  267. package/.agy/skills/quality-sync/SKILL.md +53 -0
  268. package/.agy/skills/quality-test/SKILL.md +119 -0
  269. package/.agy/skills/security-audit/SKILL.md +157 -0
  270. package/.agy/skills/skill-iter-tune/SKILL.md +381 -0
  271. package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -0
  272. package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -0
  273. package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
  274. package/.agy/skills/skill-iter-tune/phases/04-improve.md +198 -0
  275. package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -0
  276. package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
  277. package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
  278. package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
  279. package/.agy/skills/spec-add/SKILL.md +67 -0
  280. package/.agy/skills/spec-load/SKILL.md +70 -0
  281. package/.agy/skills/spec-remove/SKILL.md +50 -0
  282. package/.agy/skills/spec-setup/SKILL.md +47 -0
  283. package/.agy/skills/team-coordinate/SKILL.md +267 -0
  284. package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
  285. package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
  286. package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +348 -0
  287. package/.agy/skills/team-coordinate/roles/coordinator/role.md +362 -0
  288. package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
  289. package/.agy/skills/team-coordinate/specs/pipelines.md +97 -0
  290. package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -0
  291. package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -0
  292. package/.agy/skills/team-executor/SKILL.md +180 -0
  293. package/.agy/skills/team-executor/roles/executor/commands/monitor.md +235 -0
  294. package/.agy/skills/team-executor/roles/executor/role.md +171 -0
  295. package/.agy/skills/team-executor/specs/session-schema.md +264 -0
  296. package/.agy/skills/team-lifecycle-v4/SKILL.md +189 -0
  297. package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +92 -0
  298. package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
  299. package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
  300. package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
  301. package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
  302. package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
  303. package/.agy/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
  304. package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +64 -0
  305. package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +82 -0
  306. package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
  307. package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
  308. package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +65 -0
  309. package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +188 -0
  310. package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +84 -0
  311. package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +92 -0
  312. package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
  313. package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
  314. package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
  315. package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -0
  316. package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -0
  317. package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
  318. package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -0
  319. package/.agy/skills/team-quality-assurance/SKILL.md +148 -0
  320. package/.agy/skills/team-quality-assurance/roles/analyst/role.md +85 -0
  321. package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
  322. package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
  323. package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +235 -0
  324. package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
  325. package/.agy/skills/team-quality-assurance/roles/executor/role.md +62 -0
  326. package/.agy/skills/team-quality-assurance/roles/generator/role.md +65 -0
  327. package/.agy/skills/team-quality-assurance/roles/scout/role.md +72 -0
  328. package/.agy/skills/team-quality-assurance/roles/strategist/role.md +69 -0
  329. package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -0
  330. package/.agy/skills/team-quality-assurance/specs/team-config.json +131 -0
  331. package/.agy/skills/team-review/SKILL.md +149 -0
  332. package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
  333. package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
  334. package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +209 -0
  335. package/.agy/skills/team-review/roles/coordinator/role.md +132 -0
  336. package/.agy/skills/team-review/roles/fixer/role.md +74 -0
  337. package/.agy/skills/team-review/roles/reviewer/role.md +66 -0
  338. package/.agy/skills/team-review/roles/scanner/role.md +77 -0
  339. package/.agy/skills/team-review/specs/dimensions.md +82 -0
  340. package/.agy/skills/team-review/specs/finding-schema.json +82 -0
  341. package/.agy/skills/team-review/specs/pipelines.md +102 -0
  342. package/.agy/skills/team-review/specs/team-config.json +27 -0
  343. package/.agy/skills/team-tech-debt/SKILL.md +133 -0
  344. package/.agy/skills/team-tech-debt/roles/assessor/role.md +76 -0
  345. package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
  346. package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
  347. package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +198 -0
  348. package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -0
  349. package/.agy/skills/team-tech-debt/roles/executor/role.md +76 -0
  350. package/.agy/skills/team-tech-debt/roles/planner/role.md +68 -0
  351. package/.agy/skills/team-tech-debt/roles/scanner/role.md +90 -0
  352. package/.agy/skills/team-tech-debt/roles/validator/role.md +78 -0
  353. package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -0
  354. package/.agy/skills/team-tech-debt/specs/team-config.json +129 -0
  355. package/.agy/skills/team-testing/SKILL.md +144 -0
  356. package/.agy/skills/team-testing/roles/analyst/role.md +101 -0
  357. package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
  358. package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
  359. package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +242 -0
  360. package/.agy/skills/team-testing/roles/coordinator/role.md +134 -0
  361. package/.agy/skills/team-testing/roles/executor/role.md +95 -0
  362. package/.agy/skills/team-testing/roles/generator/role.md +95 -0
  363. package/.agy/skills/team-testing/roles/strategist/role.md +81 -0
  364. package/.agy/skills/team-testing/specs/pipelines.md +101 -0
  365. package/.agy/skills/team-testing/specs/team-config.json +93 -0
  366. package/.agy/skills/wiki-connect/SKILL.md +64 -0
  367. package/.agy/skills/wiki-digest/SKILL.md +70 -0
  368. package/.agy/skills/workflow-skill-designer/SKILL.md +506 -0
  369. package/.agy/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
  370. package/.agy/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
  371. package/.agy/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
  372. package/.agy/skills/workflow-skill-designer/phases/04-validation.md +471 -0
  373. package/.claude/commands/maestro-ralph.md +222 -87
  374. package/.claude/commands/maestro.md +13 -11
  375. package/.codex/skills/maestro/SKILL.md +23 -17
  376. package/.codex/skills/maestro-ralph/SKILL.md +177 -67
  377. package/dist/src/commands/install-backend.d.ts +12 -0
  378. package/dist/src/commands/install-backend.d.ts.map +1 -1
  379. package/dist/src/commands/install-backend.js +144 -0
  380. package/dist/src/commands/install-backend.js.map +1 -1
  381. package/dist/src/core/component-defs.d.ts +6 -0
  382. package/dist/src/core/component-defs.d.ts.map +1 -1
  383. package/dist/src/core/component-defs.js +97 -0
  384. package/dist/src/core/component-defs.js.map +1 -1
  385. package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts +11 -0
  386. package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -0
  387. package/dist/src/tui/install-ui/ExtraMcpConfig.js +61 -0
  388. package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -0
  389. package/dist/src/tui/install-ui/InstallConfirm.d.ts +3 -0
  390. package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
  391. package/dist/src/tui/install-ui/InstallConfirm.js +1 -1
  392. package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
  393. package/dist/src/tui/install-ui/InstallExecution.d.ts +2 -0
  394. package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
  395. package/dist/src/tui/install-ui/InstallExecution.js +14 -2
  396. package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
  397. package/dist/src/tui/install-ui/InstallFlow.d.ts +1 -1
  398. package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
  399. package/dist/src/tui/install-ui/InstallFlow.js +16 -3
  400. package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
  401. package/dist/src/tui/install-ui/InstallHub.d.ts +2 -0
  402. package/dist/src/tui/install-ui/InstallHub.d.ts.map +1 -1
  403. package/dist/src/tui/install-ui/InstallHub.js +8 -0
  404. package/dist/src/tui/install-ui/InstallHub.js.map +1 -1
  405. package/dist/src/tui/install-ui/InstallResult.d.ts.map +1 -1
  406. package/dist/src/tui/install-ui/InstallResult.js +3 -1
  407. package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
  408. package/dist/src/utils/update-notices.js +19 -0
  409. package/dist/src/utils/update-notices.js.map +1 -1
  410. package/package.json +7 -2
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: manage-harvest
3
+ description: Extract knowledge from artifacts into wiki/spec/issues
4
+ argument-hint: [<session-id|path>] [--to wiki|spec|issue|auto] [--source <type>] [--recent N] [--dry-run] [-y]
5
+ allowed-tools:
6
+ - ask_question
7
+ - define_subagent
8
+ - grep_search
9
+ - invoke_subagent
10
+ - manage_subagents
11
+ - replace_file_content
12
+ - run_command
13
+ - send_message
14
+ - view_file
15
+ - write_to_file
16
+ ---
17
+ <purpose>
18
+ Extract knowledge fragments from workflow artifacts (analysis results, brainstorm outputs, debug sessions, lite-plan/fix results, scratchpad notes, completed sessions) and route them into the project's three knowledge stores: wiki entries, spec conventions, and trackable issues.
19
+
20
+ Complements `quality-retrospective` (which is phase-scoped) by harvesting from **any** workflow artifact. Prevents knowledge loss from completed analysis and planning sessions that would otherwise only exist as stale files.
21
+
22
+ **Closed-loop**: harvest extracts → wiki/spec/issue stores → downstream commands consume (wiki-digest, spec-load, maestro-plan --gaps).
23
+ </purpose>
24
+
25
+ <required_reading>
26
+ @~/.maestro/workflows/harvest.md
27
+ </required_reading>
28
+
29
+ <deferred_reading>
30
+ - @~/.maestro/workflows/issue.md (issues.jsonl schema for issue routing — read when creating issues in Stage 6c)
31
+ - @~/.maestro/workflows/specs-add.md (spec entry format — read when routing to spec in Stage 6b)
32
+ </deferred_reading>
33
+
34
+ <context>
35
+ Arguments: $ARGUMENTS
36
+
37
+ **Modes (auto-detected):**
38
+ - No arguments → `scan` mode: discover all harvestable artifacts, interactive selection
39
+ - `<session-id>` (e.g., `ANL-auth-20260410`, `WFS-xxx`) → `session` mode: harvest specific session
40
+ - `<path>` (e.g., `.workflow/.analysis/ANL-auth-20260410/`) → `path` mode: harvest from explicit directory
41
+
42
+ Flags, source registry (scan paths), and storage locations defined in workflow harvest.md.
43
+ </context>
44
+
45
+ <execution>
46
+ Follow '~/.maestro/workflows/harvest.md' Stages 1-8 in order.
47
+
48
+ **Key invariants:**
49
+ 1. **Read-only until Stage 6** — extraction and classification happen in-memory.
50
+ 2. **Dedup before write** — check harvest-log.jsonl and existing stores before each write.
51
+ 3. **Never modify source artifacts** — harvest is purely extractive.
52
+
53
+ Extraction patterns, classification rules, routing infrastructure, and fragment ID scheme defined in workflow harvest.md.
54
+
55
+ **Next-step routing on completion:**
56
+ - Review wiki entries → `maestro wiki list --type note`
57
+ - Connect wiki graph → `/wiki-connect --fix`
58
+ - Triage issues → `/manage-issue list --source harvest`
59
+ - View specs → `/spec-load --role implement`
60
+ - Full retrospective → `/quality-retrospective`
61
+ </execution>
62
+
63
+ <error_codes>
64
+ | Code | Severity | Condition | Recovery |
65
+ |------|----------|-----------|----------|
66
+ | E001 | error | `.workflow/` not initialized | Run `/maestro-init` first |
67
+ | E002 | error | Invalid `--to` target (must be: wiki, spec, issue, auto) | Display valid options |
68
+ | E003 | error | Invalid `--source` type | Display valid source types from registry |
69
+ | E004 | error | Session ID not found in any source path | Show available sessions with `--source all` |
70
+ | E005 | error | Path does not exist or contains no parseable artifacts | Verify path and file structure |
71
+ | W001 | warning | No harvestable artifacts found within `--recent` window | Widen time window or check `.workflow/` contents |
72
+ | W002 | warning | `maestro wiki create` failed — wiki entries saved to `.workflow/harvest/wiki-pending-*.md` | Apply pending entries manually or retry |
73
+ | W003 | warning | Some fragments below confidence threshold — logged but not routed | Lower `--min-confidence` to include |
74
+ | W004 | warning | Duplicate fragments skipped | Review harvest-log.jsonl for prior routing |
75
+ | W005 | warning | `.workflow/issues/` directory missing | Auto-create directory and empty issues.jsonl |
76
+ </error_codes>
77
+
78
+ <success_criteria>
79
+ - [ ] Mode correctly resolved (scan / session / path)
80
+ - [ ] Source artifacts discovered and listed with metadata
81
+ - [ ] User selected artifact(s) to harvest (or auto-selected via session/path mode)
82
+ - [ ] All files in selected artifacts loaded and parsed
83
+ - [ ] Knowledge fragments extracted with category, confidence, tags
84
+ - [ ] Fragments filtered by `--min-confidence`
85
+ - [ ] Routing classification applied (auto or forced by `--to`)
86
+ - [ ] Dedup check passed against harvest-log.jsonl and existing stores
87
+ - [ ] If `--dry-run`: preview displayed, no files written
88
+ - [ ] If not dry-run: all routed items written to target stores
89
+ - [ ] Wiki entries created via `maestro wiki create` (or fallback to pending files)
90
+ - [ ] Spec entries added via `spec-add` mechanism
91
+ - [ ] Issue entries appended to `issues.jsonl` with canonical schema
92
+ - [ ] `harvest-log.jsonl` updated with provenance for each routed item
93
+ - [ ] `harvest-report-{date}.md` written with full summary
94
+ - [ ] No source artifacts modified
95
+ - [ ] Summary displayed with counts and next-step routing
96
+ </success_criteria>
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: manage-issue
3
+ description: Create, query, update, close, and link issues
4
+ argument-hint: <subcommand: create|list|status|update|close|link> [--title text] [--severity S] [--status S] [--resolution text]
5
+ allowed-tools:
6
+ - ask_question
7
+ - grep_search
8
+ - replace_file_content
9
+ - run_command
10
+ - view_file
11
+ - write_to_file
12
+ ---
13
+ <purpose>
14
+ Issue lifecycle management for the project issue tracker. Supports create, list, status, update, close, and link (bidirectional issue-task cross-reference). All issues stored in `.workflow/issues/issues.jsonl` using the issue.json schema.
15
+
16
+ For automated issue discovery, use `/manage-issue-discover`.
17
+
18
+ **Closed-loop workflow**: After creating an issue, use `/maestro-analyze --gaps <ISS-ID>` for root cause analysis, `/maestro-plan --gaps` for solution planning, and `/maestro-execute` for execution.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/issue.md
23
+ </required_reading>
24
+
25
+ <deferred_reading>
26
+ - [issue.json template](~/.maestro/templates/issue.json) — read when creating or updating issue records (create, update, close)
27
+ </deferred_reading>
28
+
29
+ <context>
30
+ $ARGUMENTS -- subcommand + options. Parse first token as subcommand.
31
+
32
+ **Valid subcommands:**
33
+ - `create` -- create a new issue (--title, --severity, --source, --phase, --description)
34
+ - `list` -- list issues with optional filters (--status, --phase, --severity, --source)
35
+ - `status` -- show full detail for a specific issue (ISS-XXXXXXXX-NNN)
36
+ - `update` -- update issue fields (ISS-XXXXXXXX-NNN --status, --priority, --severity, --tags, ...)
37
+ - `close` -- close an issue with resolution (ISS-XXXXXXXX-NNN --resolution)
38
+ - `link` -- link issue to a task (ISS-XXXXXXXX-NNN --task TASK-NNN)
39
+
40
+ **State files:**
41
+ - `.workflow/issues/issues.jsonl` -- active issues (one JSON per line)
42
+ - `.workflow/issues/issue-history.jsonl` -- archived/closed issues
43
+ </context>
44
+
45
+ <execution>
46
+ Parse subcommand from first token of $ARGUMENTS.
47
+ Follow '~/.maestro/workflows/issue.md' completely.
48
+
49
+ **Next-step routing on completion:**
50
+ - create → `/maestro-analyze --gaps <ISS-ID>` or `/maestro-plan --gaps`
51
+ - list → `/maestro-analyze --gaps <ISS-ID>` for any open issue
52
+ - close → `/manage-status`
53
+ </execution>
54
+
55
+ <error_codes>
56
+ | Code | Severity | Condition | Recovery |
57
+ |------|----------|-----------|----------|
58
+ | E_NO_SUBCOMMAND | error | No subcommand provided in $ARGUMENTS | Display valid subcommands, prompt user to select |
59
+ | E_INVALID_SUBCOMMAND | error | Unrecognized subcommand | Display valid subcommands with usage hints |
60
+ | E_ISSUES_DIR_MISSING | warning | `.workflow/issues/` directory does not exist | Auto-create directory and empty issues.jsonl |
61
+ </error_codes>
62
+
63
+ <success_criteria>
64
+ - [ ] Subcommand parsed and routed to correct handler
65
+ - [ ] Issue data read/written to correct JSONL file
66
+ - [ ] Output displayed in appropriate format (table for list, detail for status)
67
+ - [ ] Cross-references maintained (link creates bidirectional references)
68
+ - [ ] Next step routing by subcommand:
69
+ - create → `/maestro-analyze --gaps <ISS-ID>` or `/maestro-plan --gaps`
70
+ - list → `/maestro-analyze --gaps <ISS-ID>` for any open issue
71
+ - close → `/manage-status`
72
+ </success_criteria>
@@ -0,0 +1,83 @@
1
+ ---
2
+ name: manage-issue-discover
3
+ description: Discover issues via multi-perspective analysis
4
+ argument-hint: [multi-perspective | by-prompt <prompt>] [-y] [--scope <glob>] [--depth standard|deep]
5
+ allowed-tools:
6
+ - ask_question
7
+ - define_subagent
8
+ - grep_search
9
+ - invoke_subagent
10
+ - manage_subagents
11
+ - run_command
12
+ - send_message
13
+ - view_file
14
+ - write_to_file
15
+ ---
16
+ <purpose>
17
+ Automated issue discovery via multi-perspective codebase analysis (8 perspectives) or prompt-driven exploration. Discovers issues, deduplicates findings, and records them in `.workflow/issues/issues.jsonl`.
18
+
19
+ - **Default (no args)**: Interactive mode selection — choose multi-perspective or prompt-driven.
20
+ - **`multi-perspective`**: 8-perspective parallel agent scan — security, performance, reliability, maintainability, scalability, UX, accessibility, compliance.
21
+ - **`by-prompt "..."`**: Prompt-driven — CLI delegate plans exploration strategy, agents explore iteratively with cross-dimension analysis.
22
+
23
+ For CRUD operations (create, list, update, close, link), use `/manage-issue`.
24
+
25
+ After discovery, use `/maestro-analyze --gaps <ISS-ID>` to perform root cause analysis on individual findings.
26
+ </purpose>
27
+
28
+ <required_reading>
29
+ @~/.maestro/workflows/issue-discover.md
30
+ </required_reading>
31
+
32
+ <deferred_reading>
33
+ - [issue.json template](~/.maestro/templates/issue.json) — read when creating issue records from findings (Step 6/11)
34
+ - [search-tools](~/.maestro/templates/search-tools.md) — search tool priority, passed to agents via workflow
35
+ </deferred_reading>
36
+
37
+ <context>
38
+ $ARGUMENTS -- optional. Parse first token to determine mode.
39
+
40
+ **Modes:**
41
+ - _(empty)_ -- interactive mode selection (ask_question)
42
+ - `multi-perspective` -- 8-perspective parallel agent scan
43
+ - `by-prompt "..."` -- prompt-driven iterative agent exploration (CLI-planned)
44
+
45
+ **Flags:**
46
+ - `-y` / `--yes` -- auto mode, skip confirmations
47
+ - `--scope=<pattern>` -- file scope (default: `**/*`)
48
+ - `--depth=standard|deep` -- exploration depth (by-prompt only, default: `standard`)
49
+
50
+ **State files:**
51
+ - `.workflow/issues/issues.jsonl` -- issues appended here
52
+ - `.workflow/issues/discoveries/{SESSION_ID}/` -- session artifacts
53
+
54
+ ### Pre-load specs
55
+ 1. **Debug specs**: Run `maestro spec load --category debug` to load known antipatterns, root causes, and gotchas. Informs discovery perspectives with prior findings.
56
+ 2. Optional — proceed without if unavailable.
57
+ </context>
58
+
59
+ <execution>
60
+ Determine mode from $ARGUMENTS:
61
+ - No arguments or empty → interactive selection via ask_question
62
+ - First token is `multi-perspective` → multi-perspective mode
63
+ - First token is `by-prompt` → prompt-driven mode, remaining tokens are the user prompt
64
+
65
+ Follow '~/.maestro/workflows/issue-discover.md' completely.
66
+ </execution>
67
+
68
+ <error_codes>
69
+ | Code | Severity | Condition | Recovery |
70
+ |------|----------|-----------|----------|
71
+ | E_NO_PROJECT | error | `.workflow/` does not exist | Prompt user to run `/maestro-init` first |
72
+ | E_DISCOVERY_FAILED | error | CLI analysis returned no results | Retry with different tool or report partial findings |
73
+ | E_EMPTY_PROMPT | warning | `by-prompt` used without prompt text | Interactive prompt with suggested options |
74
+ </error_codes>
75
+
76
+ <success_criteria>
77
+ - [ ] Discovery mode correctly determined from arguments
78
+ - [ ] All perspectives analyzed (multi-perspective) or dimensions explored (by-prompt)
79
+ - [ ] Findings deduplicated before issue creation
80
+ - [ ] Issues appended to issues.jsonl with correct schema
81
+ - [ ] Discovery session fully traceable via session directory
82
+ - [ ] Next step routing: `/maestro-analyze --gaps <ISS-ID>` for root cause analysis, or `/manage-issue list` to review all issues
83
+ </success_criteria>
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: manage-knowhow
3
+ description: Manage knowhow entries (workflow and system)
4
+ argument-hint: <subcommand: list|search|view|edit|delete|prune> [query|id] [--store workflow|system|all] [--tag <tag>] [--type compact|tip]
5
+ allowed-tools:
6
+ - ask_question
7
+ - grep_search
8
+ - replace_file_content
9
+ - run_command
10
+ - view_file
11
+ - write_to_file
12
+ ---
13
+ <purpose>
14
+ Unified memory management across two stores:
15
+ 1. **Workflow knowhow** (`.workflow/knowhow/`) — Session compacts and tips with JSON index, created by `manage-knowhow-capture`
16
+ 2. **System memory** (`~/.claude/projects/{project}/memory/`) — Claude Code auto-memory (MEMORY.md + topic files), persists across conversations
17
+
18
+ Provides list/search/view/edit/delete/prune operations. Default store is `all` (show both).
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/knowhow.md
23
+ </required_reading>
24
+
25
+ <context>
26
+ Arguments: $ARGUMENTS
27
+
28
+ Dual store architecture (paths, formats, index) defined in workflow knowhow.md.
29
+
30
+ **Subcommands:**
31
+ - `list` — List entries from both stores (default if no arguments)
32
+ - `search <query>` — Full-text search across both stores
33
+ - `view <id|file>` — Display a workflow entry by ID or system file by name
34
+ - `edit <file>` — Edit a system memory file (MEMORY.md or topic file)
35
+ - `delete <id|file>` — Remove an entry/file (with confirmation)
36
+ - `prune` — Bulk cleanup by criteria
37
+
38
+ **Flags:**
39
+ - `--store <workflow|system|all>` — Target store (default: `all` for list/search, inferred for other ops)
40
+ - `--tag <tag>` — Filter by tag (workflow store)
41
+ - `--type <compact|tip>` — Filter by entry type (workflow store)
42
+ - `--before <YYYY-MM-DD>` — Entries before date
43
+ - `--after <YYYY-MM-DD>` — Entries after date
44
+ - `--dry-run` — Preview destructive ops without executing
45
+ - `--confirm` — Skip confirmation prompt
46
+ </context>
47
+
48
+ <execution>
49
+ Follow '~/.maestro/workflows/knowhow.md' Part A (KnowHow Management) completely.
50
+ </execution>
51
+
52
+ <error_codes>
53
+ | Code | Severity | Description | Stage |
54
+ |------|----------|-------------|-------|
55
+ | E001 | error | No memory stores found — run `/manage-knowhow-capture` or create MEMORY.md | resolve_paths |
56
+ | E002 | error | Entry ID or filename not found | execute_view, execute_delete |
57
+ | E003 | error | Prune requires at least one filter (--tag, --type, --before, --after) | execute_prune |
58
+ | E004 | error | Cannot delete MEMORY.md — use `edit` subcommand instead | execute_delete |
59
+ | W001 | warning | Workflow index has orphaned files or dangling references | integrity_check |
60
+ | W002 | warning | MEMORY.md references non-existent topic file | integrity_check |
61
+ | W003 | warning | MEMORY.md exceeds 200 lines — content will be truncated at load | execute_edit |
62
+ </error_codes>
63
+
64
+ <success_criteria>
65
+ - [ ] Both store paths correctly resolved
66
+ - [ ] Subcommand correctly detected from arguments
67
+ - [ ] Store auto-detected from argument format (KNW-*/TIP-* vs filename)
68
+ - [ ] List: both stores displayed with appropriate formatting
69
+ - [ ] Search: results from both stores, ranked by relevance
70
+ - [ ] View: correct store selected, full content displayed
71
+ - [ ] Edit: system memory files editable, MEMORY.md kept under 200 lines
72
+ - [ ] Delete: MEMORY.md protected, confirmation required, references checked
73
+ - [ ] Prune: workflow-only, filters validated, index updated
74
+ - [ ] Integrity check catches orphans and broken links
75
+ - [ ] Next step: `/manage-knowhow-capture compact` to save new knowhow, or `/manage-status` to continue workflow
76
+ </success_criteria>
@@ -0,0 +1,78 @@
1
+ ---
2
+ name: manage-knowhow-capture
3
+ description: Capture reusable knowledge as templates, recipes, or tips
4
+ argument-hint: [<type>] [<description>] [--lang <lang>] [--source <url>] [--tag t1,t2]
5
+ allowed-tools:
6
+ - ask_question
7
+ - grep_search
8
+ - replace_file_content
9
+ - run_command
10
+ - view_file
11
+ - write_to_file
12
+ ---
13
+ <purpose>
14
+ Capture reusable knowledge into `.workflow/knowhow/` with type-specific structured fields.
15
+ Auto-indexed by WikiIndexer (type=knowhow), searchable via `maestro knowhow search`.
16
+ </purpose>
17
+
18
+ <required_reading>
19
+ @~/.maestro/workflows/knowhow.md
20
+ </required_reading>
21
+
22
+ <context>
23
+ $ARGUMENTS — type token + description + optional flags.
24
+
25
+ **Flags**: `--lang <lang>`, `--source <url>`, `--tag tag1,tag2`, `--title <title>`, `--asset-type <type>`, `--code-paths <paths>`, `--category <cat>`
26
+
27
+ **Type routing** (first token match):
28
+
29
+ | Token | Type | Prefix | Key fields |
30
+ |-------|------|--------|------------|
31
+ | `compact`/`session`/`压缩`/`保存` | compact | KNW- | objective, files, decisions, plan, pending |
32
+ | `template`/`tpl`/`模板` | template | TPL- | language, code block, usage, parameters |
33
+ | `recipe`/`rcp`/`配方`/`步骤` | recipe | RCP- | prerequisites, steps, expected outcome, pitfalls |
34
+ | `reference`/`ref`/`参考`/`引用` | reference | REF- | source URL, key points, scenarios, examples |
35
+ | `decision`/`dcs`/`决策`/`adr` | decision | DCS- | context, alternatives table, rationale, consequences |
36
+ | `tip`/`note`/`记录`/`快速` | tip | TIP- | content, tags |
37
+ | `asset`/`ast`/`资产`/`契约` | asset | AST- | assetType, codePaths, category |
38
+ | `blueprint`/`blp`/`蓝图` | blueprint | BLP- | codePaths, category |
39
+ | `document`/`doc`/`文档` | document | DOC- | (general fallback) |
40
+ | Short text + `--tag` | tip | TIP- | — |
41
+ | No args | — | — | ask_question (9 options) |
42
+
43
+ **Output**: `.workflow/knowhow/{PREFIX}-{YYYYMMDD}-{HHMM}.md` with YAML frontmatter (title, type, category, created, tags, source, lang, status)
44
+ </context>
45
+
46
+ <execution>
47
+ Follow '~/.maestro/workflows/knowhow.md' completely.
48
+
49
+ **Tags language rule**: Tags must match content language. Chinese content → Chinese tags (如 `认证,令牌,刷新`). English content → English tags. Mixed → bilingual.
50
+
51
+ **Type-specific content rules**:
52
+
53
+ | Type | Content extraction |
54
+ |------|-------------------|
55
+ | compact | Extract from conversation: session ID, objective, execution plan (verbatim), working files (3-8), decisions, constraints, pending. Plan priority: workflow IMPL_PLAN.md > TodoWrite > user-stated > inferred. |
56
+ | template | Ask for: language, code block, parameters (placeholders), usage context, dependencies |
57
+ | recipe | Ask for: goal, prerequisites, numbered steps, expected outcome, common pitfalls |
58
+ | reference | From --source URL or ask. Key points, applicable scenarios, quick examples. Offer WebFetch if URL provided. |
59
+ | decision | Context, alternatives (table: alt/pros/cons/rejected-because), rationale, consequences. Status: proposed/accepted/superseded. |
60
+ | tip | Content = everything after type token. Auto-detect context from recent files. |
61
+ | asset | assetType (api-contract/data-model/prompt/config), codePaths, category for agent discovery |
62
+ | blueprint | Architecture design with codePaths and category |
63
+ </execution>
64
+
65
+ <error_codes>
66
+ | Code | Condition | Recovery |
67
+ |------|-----------|----------|
68
+ | E002 | Template: no code provided after prompt | Ask again or cancel |
69
+ | E003 | Recipe: no steps provided after prompt | Ask again or cancel |
70
+ | W001 | No active workflow session (compact) | Captures conversation only |
71
+ | W002 | Plan detection found no explicit plan (compact) | Uses inferred plan |
72
+ </error_codes>
73
+
74
+ <success_criteria>
75
+ - [ ] Type detected or selected, all type-specific fields populated
76
+ - [ ] File written to .workflow/knowhow/ with correct prefix and YAML frontmatter
77
+ - [ ] Confirmation displayed with ID, type, path
78
+ </success_criteria>
@@ -0,0 +1,64 @@
1
+ ---
2
+ name: manage-learn
3
+ description: Capture and search learning insights and tips
4
+ argument-hint: [<text> | tip <text> | list | search | show <id>] [--category <cat>] [--tag t1,t2] [--phase N]
5
+ allowed-tools:
6
+ - ask_question
7
+ - grep_search
8
+ - replace_file_content
9
+ - run_command
10
+ - view_file
11
+ - write_to_file
12
+ ---
13
+ <purpose>
14
+ Unified atomic knowledge capture for the workflow learning library. Captures two types of knowledge:
15
+ - **Insights**: Timeless "eureka moment" entries (patterns, gotchas, techniques) — the default mode
16
+ - **Tips**: Quick contextual notes for cross-session recovery (formerly in `manage-knowhow-capture tip`)
17
+
18
+ Both types are stored in `.workflow/specs/learnings.md` as `<spec-entry>` blocks with auto-detected phase linkage and keyword-based category inference. Tips are distinguished by `source: "tip"` and implicitly tagged `tip`. Same store as retrospective output, so search and list see the entire knowledge corpus.
19
+ </purpose>
20
+
21
+ <required_reading>
22
+ @~/.maestro/workflows/learn.md
23
+ </required_reading>
24
+
25
+ <context>
26
+ Arguments: $ARGUMENTS
27
+
28
+ **Modes (auto-detected from first token):**
29
+ - `"<insight text>"` (or any non-keyword text) → insight capture mode
30
+ - `tip <text>` → tip capture mode (quick contextual note, auto-tagged `tip`)
31
+ - `list` → list recent entries (default 20)
32
+ - `search <query>` → `maestro spec load --category learning` or text search across `specs/learnings.md`
33
+ - `show <INS-id>` → full detail with phase context
34
+ - empty → ask_question to prompt for text
35
+
36
+ Flags, storage paths, and shared store rationale defined in workflow learn.md.
37
+ </context>
38
+
39
+ <execution>
40
+ Follow `~/.maestro/workflows/learn.md` Stages 1–5 in order.
41
+ </execution>
42
+
43
+ <error_codes>
44
+ | Code | Severity | Description | Stage |
45
+ |------|----------|-------------|-------|
46
+ | E001 | error | `.workflow/` not initialized — run `/maestro-init` first | parse_input |
47
+ | E002 | error | Unknown `--category` value (allowed: pattern, antipattern, decision, tool, gotcha, technique, tip) | parse_input |
48
+ | E003 | error | `show` mode requires an INS-id argument | show |
49
+ | E004 | error | Insight id not found in `specs/learnings.md` | show |
50
+ | W001 | warning | Auto-phase detection found a current_phase but no matching artifact in registry; phase set to null | capture |
51
+ </error_codes>
52
+
53
+ <success_criteria>
54
+ - [ ] Mode correctly routed (capture / list / search / show)
55
+ - [ ] Capture: `<spec-entry>` block appended to `specs/learnings.md` with all required fields
56
+ - [ ] Capture: phase auto-link resolves correctly via artifact registry when `state.json` has `current_phase`
57
+ - [ ] Capture: category inference produces a sensible default when `--category` absent
58
+ - [ ] List: filters apply, output sorted newest-first, default limit 20
59
+ - [ ] Search: results ranked by title (3) > tags (2) > summary (1) match
60
+ - [ ] Show: full insight displayed with phase context and routed-artifact link if any
61
+ - [ ] No file modifications outside `.workflow/knowhow/`
62
+ - [ ] Confirmation banner displayed with INS-id and next-step hints
63
+ - [ ] Next step: `/manage-learn list` to browse, or `/manage-learn search <query>` to find related insights
64
+ </success_criteria>
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: manage-status
3
+ description: Show project dashboard with progress and next steps
4
+ argument-hint:
5
+ allowed-tools:
6
+ - grep_search
7
+ - run_command
8
+ - view_file
9
+ ---
10
+ <purpose>
11
+ Display a unified project dashboard showing artifact progress, task counts, active work, and intelligent next-step suggestions.
12
+ Reads state.json artifact registry and roadmap to render a formatted overview with progress and status tables.
13
+ Provides situational awareness before continuing work. Uses virtual phase view derived from artifact registry.
14
+ </purpose>
15
+
16
+ <required_reading>
17
+ @~/.maestro/workflows/status.md
18
+ </required_reading>
19
+
20
+ <context>
21
+ $ARGUMENTS (no arguments required)
22
+
23
+ **State files read:**
24
+ - `.workflow/state.json` -- project-level state machine + artifact registry
25
+ - `.workflow/roadmap.md` -- milestone and phase structure
26
+ - `.workflow/scratch/*/plan.json` -- plan metadata (via artifact registry paths)
27
+ - `.workflow/scratch/*/.task/TASK-*.json` -- individual task statuses
28
+ </context>
29
+
30
+ <execution>
31
+ Follow '~/.maestro/workflows/status.md' completely.
32
+
33
+ Next-step decision table defined in workflow status.md Step 5.
34
+ </execution>
35
+
36
+ <error_codes>
37
+ | Code | Severity | Description | Stage |
38
+ |------|----------|-------------|-------|
39
+ | E001 | fatal | `.workflow/` not initialized -- run `/maestro-init` first | parse_input |
40
+ | E002 | fatal | `state.json` missing or corrupt -- project state unrecoverable | parse_input |
41
+ </error_codes>
42
+
43
+ <success_criteria>
44
+ - [ ] Project state loaded from `state.json`
45
+ - [ ] Roadmap parsed with milestone/phase structure
46
+ - [ ] Per-phase progress calculated (task counts, completion %)
47
+ - [ ] Dashboard rendered with progress bars and status table
48
+ - [ ] Active work section shows current phase details
49
+ - [ ] Next steps suggested based on current state analysis
50
+ - [ ] Wiki health score displayed (or graceful unavailable message)
51
+ </success_criteria>
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: manage-wiki
3
+ description: Manage wiki graph — health, cleanup, search, stats
4
+ argument-hint: <subcommand: health|search|cleanup|stats> [query] [--fix] [--dry-run]
5
+ allowed-tools:
6
+ - ask_question
7
+ - grep_search
8
+ - replace_file_content
9
+ - run_command
10
+ - view_file
11
+ - write_to_file
12
+ ---
13
+ <purpose>
14
+ Unified wiki graph management command. Provides interactive access to wiki health monitoring, entry search, orphan cleanup, and graph statistics — the day-to-day operations that keep the knowledge graph healthy.
15
+
16
+ Complements `/wiki-connect` (link discovery) and `/wiki-digest` (synthesis) with operational tooling.
17
+ </purpose>
18
+
19
+ <required_reading>
20
+ @~/.maestro/workflows/wiki-manage.md
21
+ </required_reading>
22
+
23
+ <context>
24
+ $ARGUMENTS — subcommand and optional flags.
25
+
26
+ **Subcommands:**
27
+ | Subcommand | Description |
28
+ |-----------|-------------|
29
+ | `health` | Health dashboard — score, broken links, orphans, hubs (default) |
30
+ | `search <query>` | Interactive BM25 search with follow-up actions |
31
+ | `cleanup` | Find and resolve orphans, broken links, stale entries |
32
+ | `stats` | Graph statistics — type distribution, tag frequency, growth trends |
33
+ | No args | Same as `health` |
34
+
35
+ **Flags:**
36
+ - `--type <type>` — Filter by wiki type: spec, knowhow, note, issue
37
+ - `--fix` — Auto-fix issues found during cleanup (remove broken links, suggest connections)
38
+ - `--json` — Output in JSON format
39
+ </context>
40
+
41
+ <execution>
42
+ Follow '~/.maestro/workflows/wiki-manage.md' completely.
43
+ </execution>
44
+
45
+ <error_codes>
46
+ | Code | Severity | Description | Stage |
47
+ |------|----------|-------------|-------|
48
+ | E001 | fatal | `.workflow/` not initialized — run `/maestro-init` first | validate |
49
+ | E002 | fatal | No wiki entries found — create content first | load |
50
+ | E003 | error | Invalid subcommand | parse_input |
51
+ | W001 | warning | Health score below 50 — graph needs attention | health |
52
+ | W002 | warning | Orphan cleanup had partial failures | cleanup |
53
+ </error_codes>
54
+
55
+ <success_criteria>
56
+ - [ ] Subcommand parsed (health/search/cleanup/stats)
57
+ - [ ] Wiki data loaded via `maestro wiki` CLI
58
+ - [ ] Results displayed in formatted output
59
+ - [ ] If cleanup --fix: issues resolved and delta reported
60
+ - [ ] Next-step suggestions provided
61
+ </success_criteria>