maestro-flow 0.5.36 → 0.5.38

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 (1755) hide show
  1. package/.agents/agents/cli-explore-agent.md +1 -1
  2. package/.agents/agents/role-design-author.md +1 -1
  3. package/.agents/agents/team-supervisor.md +131 -131
  4. package/.agents/agents/ui-design-agent.md +1 -1
  5. package/.agents/agents/workflow-codebase-mapper.md +67 -67
  6. package/.agents/agents/workflow-collab-planner.md +1 -1
  7. package/.agents/agents/workflow-debugger.md +1 -1
  8. package/.agents/agents/workflow-executor.md +2 -2
  9. package/.agents/agents/workflow-external-researcher.md +78 -78
  10. package/.agents/agents/workflow-nyquist-auditor.md +1 -1
  11. package/.agents/agents/workflow-plan-checker.md +1 -1
  12. package/.agents/agents/workflow-planner.md +1 -1
  13. package/.agents/agents/workflow-project-researcher.md +63 -63
  14. package/.agents/agents/workflow-research-synthesizer.md +63 -63
  15. package/.agents/agents/workflow-reviewer.md +73 -73
  16. package/.agents/agents/workflow-verifier.md +1 -1
  17. package/.agents/skills/codify-to-knowhow/SKILL.md +1 -1
  18. package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
  19. package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
  20. package/.agents/skills/delegation-check/SKILL.md +292 -292
  21. package/.agents/skills/delegation-check/specs/separation-rules.md +269 -269
  22. package/.agents/skills/learn-follow/SKILL.md +114 -114
  23. package/.agents/skills/learn-investigate/SKILL.md +138 -138
  24. package/.agents/skills/learn-second-opinion/SKILL.md +105 -105
  25. package/.agents/skills/maestro/SKILL.md +233 -227
  26. package/.agents/skills/maestro-amend/SKILL.md +150 -150
  27. package/.agents/skills/maestro-analyze/SKILL.md +210 -210
  28. package/.agents/skills/maestro-blueprint/SKILL.md +175 -175
  29. package/.agents/skills/maestro-brainstorm/SKILL.md +205 -205
  30. package/.agents/skills/maestro-collab/SKILL.md +173 -173
  31. package/.agents/skills/maestro-companion/SKILL.md +517 -517
  32. package/.agents/skills/maestro-composer/SKILL.md +173 -173
  33. package/.agents/skills/maestro-execute/SKILL.md +169 -169
  34. package/.agents/skills/maestro-fork/SKILL.md +97 -97
  35. package/.agents/skills/maestro-grill/SKILL.md +161 -161
  36. package/.agents/skills/maestro-guard/SKILL.md +93 -93
  37. package/.agents/skills/maestro-help/index/catalog.json +1 -1
  38. package/.agents/skills/maestro-help/phases/03-workflow-guide.md +1 -1
  39. package/.agents/skills/maestro-impeccable/SKILL.md +296 -296
  40. package/.agents/skills/maestro-init/SKILL.md +117 -117
  41. package/.agents/skills/maestro-merge/SKILL.md +73 -73
  42. package/.agents/skills/maestro-milestone-audit/SKILL.md +126 -126
  43. package/.agents/skills/maestro-milestone-complete/SKILL.md +123 -123
  44. package/.agents/skills/maestro-milestone-release/SKILL.md +122 -122
  45. package/.agents/skills/maestro-next/SKILL.md +252 -252
  46. package/.agents/skills/maestro-overlay/SKILL.md +177 -177
  47. package/.agents/skills/maestro-plan/SKILL.md +222 -222
  48. package/.agents/skills/maestro-player/SKILL.md +167 -167
  49. package/.agents/skills/maestro-quick/SKILL.md +69 -69
  50. package/.agents/skills/maestro-ralph/SKILL.md +900 -832
  51. package/.agents/skills/maestro-ralph-execute/SKILL.md +287 -276
  52. package/.agents/skills/maestro-roadmap/SKILL.md +159 -159
  53. package/.agents/skills/maestro-swarm-workflow/SKILL.md +229 -229
  54. package/.agents/skills/maestro-tools-execute/SKILL.md +108 -108
  55. package/.agents/skills/maestro-tools-register/SKILL.md +142 -142
  56. package/.agents/skills/maestro-ui-codify/SKILL.md +101 -101
  57. package/.agents/skills/maestro-universal-workflow/SKILL.md +534 -534
  58. package/.agents/skills/maestro-update/SKILL.md +109 -109
  59. package/.agents/skills/manage-codebase-rebuild/SKILL.md +73 -73
  60. package/.agents/skills/manage-drift-realign/SKILL.md +153 -0
  61. package/.agents/skills/manage-harvest/SKILL.md +86 -86
  62. package/.agents/skills/manage-issue/SKILL.md +59 -59
  63. package/.agents/skills/manage-issue-discover/SKILL.md +70 -70
  64. package/.agents/skills/manage-kg-extractors/SKILL.md +2 -2
  65. package/.agents/skills/manage-knowhow/SKILL.md +70 -70
  66. package/.agents/skills/manage-knowhow-capture/SKILL.md +79 -79
  67. package/.agents/skills/manage-knowledge-audit/SKILL.md +120 -120
  68. package/.agents/skills/manage-status/SKILL.md +52 -52
  69. package/.agents/skills/manage-wiki/SKILL.md +69 -69
  70. package/.agents/skills/odyssey-debug/SKILL.md +465 -465
  71. package/.agents/skills/odyssey-improve/SKILL.md +496 -496
  72. package/.agents/skills/odyssey-planex/SKILL.md +594 -594
  73. package/.agents/skills/odyssey-review-test-fix/SKILL.md +422 -422
  74. package/.agents/skills/odyssey-ui/SKILL.md +450 -450
  75. package/.agents/skills/prompt-generator/SKILL.md +465 -465
  76. package/.agents/skills/prompt-generator/specs/agent-design-spec.md +299 -299
  77. package/.agents/skills/prompt-generator/specs/command-design-spec.md +367 -367
  78. package/.agents/skills/prompt-generator/specs/conversion-spec.md +207 -207
  79. package/.agents/skills/prompt-generator/templates/agent-md.md +145 -145
  80. package/.agents/skills/prompt-generator/templates/command-md.md +118 -118
  81. package/.agents/skills/quality-auto-test/SKILL.md +140 -140
  82. package/.agents/skills/quality-debug/SKILL.md +145 -145
  83. package/.agents/skills/quality-refactor/SKILL.md +91 -91
  84. package/.agents/skills/quality-retrospective/SKILL.md +109 -109
  85. package/.agents/skills/quality-review/SKILL.md +144 -144
  86. package/.agents/skills/quality-sync/SKILL.md +74 -74
  87. package/.agents/skills/quality-test/SKILL.md +157 -157
  88. package/.agents/skills/scholar-anti-ai-writing/SKILL.md +168 -168
  89. package/.agents/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
  90. package/.agents/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
  91. package/.agents/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
  92. package/.agents/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
  93. package/.agents/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
  94. package/.agents/skills/scholar-citation-verify/SKILL.md +161 -161
  95. package/.agents/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
  96. package/.agents/skills/scholar-citation-verify/phases/02-verify.md +310 -310
  97. package/.agents/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
  98. package/.agents/skills/scholar-citation-verify/references/api-usage.md +372 -372
  99. package/.agents/skills/scholar-citation-verify/references/common-errors.md +384 -384
  100. package/.agents/skills/scholar-citation-verify/references/verification-rules.md +399 -399
  101. package/.agents/skills/scholar-experiment/SKILL.md +316 -316
  102. package/.agents/skills/scholar-experiment/phases/01-data-loading.md +209 -209
  103. package/.agents/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
  104. package/.agents/skills/scholar-experiment/phases/03-visualization.md +319 -319
  105. package/.agents/skills/scholar-experiment/phases/04-results-writing.md +229 -229
  106. package/.agents/skills/scholar-experiment/phases/05-quality-check.md +261 -261
  107. package/.agents/skills/scholar-ideation/SKILL.md +283 -283
  108. package/.agents/skills/scholar-ideation/phases/01-literature-search.md +317 -317
  109. package/.agents/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
  110. package/.agents/skills/scholar-ideation/phases/03-research-question.md +200 -200
  111. package/.agents/skills/scholar-ideation/phases/04-method-selection.md +185 -185
  112. package/.agents/skills/scholar-ideation/phases/05-research-planning.md +385 -385
  113. package/.agents/skills/scholar-latex-organizer/SKILL.md +181 -181
  114. package/.agents/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
  115. package/.agents/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
  116. package/.agents/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
  117. package/.agents/skills/scholar-publish/SKILL.md +215 -215
  118. package/.agents/skills/scholar-publish/phases/01-presentation.md +243 -243
  119. package/.agents/skills/scholar-publish/phases/02-poster.md +239 -239
  120. package/.agents/skills/scholar-publish/phases/03-promotion.md +255 -255
  121. package/.agents/skills/scholar-rebuttal-pro/README.md +313 -313
  122. package/.agents/skills/scholar-rebuttal-pro/SKILL.md +507 -507
  123. package/.agents/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
  124. package/.agents/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
  125. package/.agents/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
  126. package/.agents/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
  127. package/.agents/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
  128. package/.agents/skills/scholar-review/SKILL.md +222 -222
  129. package/.agents/skills/scholar-review/phases/01-self-review.md +186 -186
  130. package/.agents/skills/scholar-review/phases/02-review-analysis.md +203 -203
  131. package/.agents/skills/scholar-review/phases/03-response-strategy.md +193 -193
  132. package/.agents/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
  133. package/.agents/skills/scholar-review/phases/05-revision.md +183 -183
  134. package/.agents/skills/scholar-review/specs/tone-guidelines.md +76 -76
  135. package/.agents/skills/scholar-thesis-docx/README.md +111 -111
  136. package/.agents/skills/scholar-thesis-docx/README_EN.md +108 -108
  137. package/.agents/skills/scholar-thesis-docx/SKILL.md +208 -208
  138. package/.agents/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
  139. package/.agents/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
  140. package/.agents/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
  141. package/.agents/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
  142. package/.agents/skills/scholar-thesis-docx/references/script-usage.md +157 -157
  143. package/.agents/skills/scholar-writing/SKILL.md +291 -291
  144. package/.agents/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
  145. package/.agents/skills/scholar-writing/phases/02-structure-planning.md +197 -197
  146. package/.agents/skills/scholar-writing/phases/03-section-drafting.md +215 -215
  147. package/.agents/skills/scholar-writing/phases/04-citation-management.md +310 -310
  148. package/.agents/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
  149. package/.agents/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
  150. package/.agents/skills/security-audit/SKILL.md +217 -217
  151. package/.agents/skills/skill-generator/SKILL.md +465 -465
  152. package/.agents/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
  153. package/.agents/skills/skill-generator/phases/02-structure-generation.md +261 -261
  154. package/.agents/skills/skill-generator/phases/03-phase-generation.md +976 -976
  155. package/.agents/skills/skill-generator/phases/04-specs-templates.md +398 -398
  156. package/.agents/skills/skill-generator/phases/05-validation.md +417 -417
  157. package/.agents/skills/skill-generator/specs/cli-integration.md +442 -442
  158. package/.agents/skills/skill-generator/specs/execution-modes.md +399 -399
  159. package/.agents/skills/skill-generator/specs/reference-docs-spec.md +271 -271
  160. package/.agents/skills/skill-generator/specs/scripting-integration.md +265 -265
  161. package/.agents/skills/skill-generator/specs/skill-requirements.md +466 -466
  162. package/.agents/skills/skill-generator/templates/autonomous-action.md +330 -330
  163. package/.agents/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
  164. package/.agents/skills/skill-generator/templates/code-analysis-action.md +514 -514
  165. package/.agents/skills/skill-generator/templates/llm-action.md +367 -367
  166. package/.agents/skills/skill-generator/templates/script-template.md +368 -368
  167. package/.agents/skills/skill-generator/templates/sequential-phase.md +474 -474
  168. package/.agents/skills/skill-generator/templates/skill-md.md +312 -312
  169. package/.agents/skills/skill-iter-tune/SKILL.md +378 -378
  170. package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -144
  171. package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -292
  172. package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
  173. package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -186
  174. package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -166
  175. package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
  176. package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
  177. package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
  178. package/.agents/skills/skill-simplify/SKILL.md +58 -58
  179. package/.agents/skills/skill-simplify/phases/01-analysis.md +224 -224
  180. package/.agents/skills/skill-simplify/phases/02-optimize.md +111 -111
  181. package/.agents/skills/skill-simplify/phases/03-check.md +224 -224
  182. package/.agents/skills/skill-tuning/SKILL.md +170 -170
  183. package/.agents/skills/skill-tuning/phases/actions/action-abort.md +164 -164
  184. package/.agents/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
  185. package/.agents/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
  186. package/.agents/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
  187. package/.agents/skills/skill-tuning/phases/actions/action-complete.md +195 -195
  188. package/.agents/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
  189. package/.agents/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
  190. package/.agents/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
  191. package/.agents/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
  192. package/.agents/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
  193. package/.agents/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
  194. package/.agents/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
  195. package/.agents/skills/skill-tuning/phases/actions/action-init.md +149 -149
  196. package/.agents/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
  197. package/.agents/skills/skill-tuning/phases/actions/action-verify.md +222 -222
  198. package/.agents/skills/skill-tuning/phases/orchestrator.md +190 -190
  199. package/.agents/skills/skill-tuning/phases/state-schema.md +378 -378
  200. package/.agents/skills/skill-tuning/specs/category-mappings.json +5 -5
  201. package/.agents/skills/skill-tuning/specs/dimension-mapping.md +212 -212
  202. package/.agents/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
  203. package/.agents/skills/skill-tuning/specs/quality-gates.md +263 -263
  204. package/.agents/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
  205. package/.agents/skills/skill-tuning/specs/tuning-strategies.md +392 -392
  206. package/.agents/skills/skill-tuning/templates/diagnosis-report.md +153 -153
  207. package/.agents/skills/skill-tuning/templates/fix-proposal.md +204 -204
  208. package/.agents/skills/spec-add/SKILL.md +66 -66
  209. package/.agents/skills/spec-load/SKILL.md +67 -67
  210. package/.agents/skills/spec-remove/SKILL.md +42 -42
  211. package/.agents/skills/spec-setup/SKILL.md +37 -37
  212. package/.agents/skills/team-arch-opt/SKILL.md +153 -153
  213. package/.agents/skills/team-arch-opt/roles/analyzer/role.md +80 -80
  214. package/.agents/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
  215. package/.agents/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
  216. package/.agents/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
  217. package/.agents/skills/team-arch-opt/roles/coordinator/role.md +146 -146
  218. package/.agents/skills/team-arch-opt/roles/designer/role.md +109 -109
  219. package/.agents/skills/team-arch-opt/roles/refactorer/role.md +98 -98
  220. package/.agents/skills/team-arch-opt/roles/reviewer/role.md +105 -105
  221. package/.agents/skills/team-arch-opt/roles/validator/role.md +109 -109
  222. package/.agents/skills/team-arch-opt/specs/pipelines.md +102 -102
  223. package/.agents/skills/team-brainstorm/SKILL.md +166 -166
  224. package/.agents/skills/team-brainstorm/roles/challenger/role.md +55 -55
  225. package/.agents/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
  226. package/.agents/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
  227. package/.agents/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
  228. package/.agents/skills/team-brainstorm/roles/coordinator/role.md +140 -140
  229. package/.agents/skills/team-brainstorm/roles/evaluator/role.md +50 -50
  230. package/.agents/skills/team-brainstorm/roles/ideator/role.md +63 -63
  231. package/.agents/skills/team-brainstorm/roles/synthesizer/role.md +51 -51
  232. package/.agents/skills/team-brainstorm/specs/pipelines.md +72 -72
  233. package/.agents/skills/team-coordinate/SKILL.md +261 -261
  234. package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
  235. package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
  236. package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
  237. package/.agents/skills/team-coordinate/roles/coordinator/role.md +360 -360
  238. package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
  239. package/.agents/skills/team-coordinate/specs/pipelines.md +97 -97
  240. package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -112
  241. package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -198
  242. package/.agents/skills/team-designer/SKILL.md +155 -155
  243. package/.agents/skills/team-designer/phases/01-requirements-analysis.md +265 -265
  244. package/.agents/skills/team-designer/phases/02-scaffold-generation.md +236 -236
  245. package/.agents/skills/team-designer/phases/03-content-generation.md +330 -330
  246. package/.agents/skills/team-designer/phases/04-validation.md +329 -329
  247. package/.agents/skills/team-executor/SKILL.md +184 -184
  248. package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -239
  249. package/.agents/skills/team-executor/roles/executor/role.md +171 -171
  250. package/.agents/skills/team-executor/specs/session-schema.md +264 -264
  251. package/.agents/skills/team-frontend/SKILL.md +131 -131
  252. package/.agents/skills/team-frontend/roles/analyst/role.md +92 -92
  253. package/.agents/skills/team-frontend/roles/architect/role.md +78 -78
  254. package/.agents/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
  255. package/.agents/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
  256. package/.agents/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
  257. package/.agents/skills/team-frontend/roles/coordinator/role.md +158 -158
  258. package/.agents/skills/team-frontend/roles/developer/role.md +85 -85
  259. package/.agents/skills/team-frontend/roles/qa/role.md +71 -71
  260. package/.agents/skills/team-frontend/specs/pipelines.md +76 -76
  261. package/.agents/skills/team-frontend-debug/SKILL.md +193 -193
  262. package/.agents/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
  263. package/.agents/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
  264. package/.agents/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
  265. package/.agents/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
  266. package/.agents/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
  267. package/.agents/skills/team-frontend-debug/roles/fixer/role.md +138 -138
  268. package/.agents/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
  269. package/.agents/skills/team-frontend-debug/roles/tester/role.md +222 -222
  270. package/.agents/skills/team-frontend-debug/roles/verifier/role.md +164 -164
  271. package/.agents/skills/team-frontend-debug/specs/debug-tools.md +215 -215
  272. package/.agents/skills/team-frontend-debug/specs/pipelines.md +94 -94
  273. package/.agents/skills/team-interactive-craft/SKILL.md +136 -136
  274. package/.agents/skills/team-interactive-craft/roles/a11y-tester/role.md +153 -153
  275. package/.agents/skills/team-interactive-craft/roles/builder/role.md +210 -210
  276. package/.agents/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
  277. package/.agents/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
  278. package/.agents/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
  279. package/.agents/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
  280. package/.agents/skills/team-interactive-craft/roles/interaction-designer/role.md +138 -138
  281. package/.agents/skills/team-interactive-craft/roles/researcher/role.md +125 -125
  282. package/.agents/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
  283. package/.agents/skills/team-interactive-craft/specs/pipelines.md +85 -85
  284. package/.agents/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
  285. package/.agents/skills/team-issue/SKILL.md +166 -166
  286. package/.agents/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
  287. package/.agents/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
  288. package/.agents/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
  289. package/.agents/skills/team-issue/roles/coordinator/role.md +172 -172
  290. package/.agents/skills/team-issue/roles/explorer/role.md +96 -96
  291. package/.agents/skills/team-issue/roles/implementer/role.md +81 -81
  292. package/.agents/skills/team-issue/roles/integrator/role.md +78 -78
  293. package/.agents/skills/team-issue/roles/planner/role.md +74 -74
  294. package/.agents/skills/team-issue/roles/reviewer/role.md +80 -80
  295. package/.agents/skills/team-issue/specs/pipelines.md +124 -124
  296. package/.agents/skills/team-lifecycle-v4/SKILL.md +204 -204
  297. package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
  298. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
  299. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
  300. package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
  301. package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
  302. package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
  303. package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
  304. package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
  305. package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
  306. package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
  307. package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
  308. package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
  309. package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
  310. package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  311. package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
  312. package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
  313. package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
  314. package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -254
  315. package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -196
  316. package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
  317. package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -224
  318. package/.agents/skills/team-motion-design/SKILL.md +137 -137
  319. package/.agents/skills/team-motion-design/roles/animator/role.md +188 -188
  320. package/.agents/skills/team-motion-design/roles/choreographer/role.md +158 -158
  321. package/.agents/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
  322. package/.agents/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
  323. package/.agents/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
  324. package/.agents/skills/team-motion-design/roles/coordinator/role.md +167 -167
  325. package/.agents/skills/team-motion-design/roles/motion-researcher/role.md +109 -109
  326. package/.agents/skills/team-motion-design/roles/motion-tester/role.md +169 -169
  327. package/.agents/skills/team-motion-design/specs/gpu-constraints.md +114 -114
  328. package/.agents/skills/team-motion-design/specs/motion-tokens.md +128 -128
  329. package/.agents/skills/team-motion-design/specs/pipelines.md +74 -74
  330. package/.agents/skills/team-motion-design/specs/reduced-motion.md +129 -129
  331. package/.agents/skills/team-perf-opt/SKILL.md +170 -170
  332. package/.agents/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
  333. package/.agents/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
  334. package/.agents/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
  335. package/.agents/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
  336. package/.agents/skills/team-perf-opt/roles/coordinator/role.md +147 -147
  337. package/.agents/skills/team-perf-opt/roles/optimizer/role.md +89 -89
  338. package/.agents/skills/team-perf-opt/roles/profiler/role.md +73 -73
  339. package/.agents/skills/team-perf-opt/roles/reviewer/role.md +64 -64
  340. package/.agents/skills/team-perf-opt/roles/strategist/role.md +85 -85
  341. package/.agents/skills/team-perf-opt/specs/pipelines.md +65 -65
  342. package/.agents/skills/team-planex/SKILL.md +132 -132
  343. package/.agents/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
  344. package/.agents/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
  345. package/.agents/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
  346. package/.agents/skills/team-planex/roles/coordinator/role.md +140 -140
  347. package/.agents/skills/team-planex/roles/executor/role.md +83 -83
  348. package/.agents/skills/team-planex/roles/planner/role.md +111 -111
  349. package/.agents/skills/team-planex/specs/pipelines.md +93 -93
  350. package/.agents/skills/team-quality-assurance/SKILL.md +142 -142
  351. package/.agents/skills/team-quality-assurance/roles/analyst/role.md +79 -79
  352. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
  353. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
  354. package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
  355. package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
  356. package/.agents/skills/team-quality-assurance/roles/executor/role.md +55 -55
  357. package/.agents/skills/team-quality-assurance/roles/generator/role.md +58 -58
  358. package/.agents/skills/team-quality-assurance/roles/scout/role.md +70 -70
  359. package/.agents/skills/team-quality-assurance/roles/strategist/role.md +63 -63
  360. package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -115
  361. package/.agents/skills/team-quality-assurance/specs/team-config.json +8 -8
  362. package/.agents/skills/team-review/SKILL.md +142 -142
  363. package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
  364. package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
  365. package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
  366. package/.agents/skills/team-review/roles/coordinator/role.md +132 -132
  367. package/.agents/skills/team-review/roles/fixer/role.md +68 -68
  368. package/.agents/skills/team-review/specs/dimensions.md +82 -82
  369. package/.agents/skills/team-review/specs/pipelines.md +102 -102
  370. package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
  371. package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
  372. package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
  373. package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
  374. package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
  375. package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
  376. package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
  377. package/.agents/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
  378. package/.agents/skills/team-roadmap-dev/roles/executor/role.md +62 -62
  379. package/.agents/skills/team-roadmap-dev/roles/planner/role.md +76 -76
  380. package/.agents/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
  381. package/.agents/skills/team-roadmap-dev/specs/pipelines.md +93 -93
  382. package/.agents/skills/team-roadmap-dev/specs/team-config.json +3 -3
  383. package/.agents/skills/team-swarm/SKILL.md +173 -173
  384. package/.agents/skills/team-tech-debt/SKILL.md +123 -123
  385. package/.agents/skills/team-tech-debt/roles/assessor/role.md +71 -71
  386. package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
  387. package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
  388. package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
  389. package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -123
  390. package/.agents/skills/team-tech-debt/roles/executor/role.md +1 -1
  391. package/.agents/skills/team-tech-debt/roles/planner/role.md +63 -63
  392. package/.agents/skills/team-tech-debt/roles/scanner/role.md +84 -84
  393. package/.agents/skills/team-tech-debt/roles/validator/role.md +2 -2
  394. package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -47
  395. package/.agents/skills/team-tech-debt/specs/team-config.json +5 -5
  396. package/.agents/skills/team-testing/SKILL.md +138 -138
  397. package/.agents/skills/team-testing/roles/analyst/role.md +95 -95
  398. package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
  399. package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
  400. package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
  401. package/.agents/skills/team-testing/roles/coordinator/role.md +134 -134
  402. package/.agents/skills/team-testing/roles/executor/role.md +2 -2
  403. package/.agents/skills/team-testing/roles/generator/role.md +1 -1
  404. package/.agents/skills/team-testing/roles/strategist/role.md +75 -75
  405. package/.agents/skills/team-testing/specs/pipelines.md +101 -101
  406. package/.agents/skills/team-ui-polish/SKILL.md +136 -136
  407. package/.agents/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
  408. package/.agents/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
  409. package/.agents/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
  410. package/.agents/skills/team-ui-polish/roles/coordinator/role.md +170 -170
  411. package/.agents/skills/team-ui-polish/roles/diagnostician/role.md +154 -154
  412. package/.agents/skills/team-ui-polish/roles/optimizer/role.md +219 -219
  413. package/.agents/skills/team-ui-polish/roles/scanner/role.md +350 -350
  414. package/.agents/skills/team-ui-polish/roles/verifier/role.md +136 -136
  415. package/.agents/skills/team-ui-polish/specs/anti-patterns.md +141 -141
  416. package/.agents/skills/team-ui-polish/specs/design-standards.md +356 -356
  417. package/.agents/skills/team-ui-polish/specs/fix-strategies.md +235 -235
  418. package/.agents/skills/team-ui-polish/specs/pipelines.md +81 -81
  419. package/.agents/skills/team-ui-polish/specs/scoring-guide.md +162 -162
  420. package/.agents/skills/team-uidesign/SKILL.md +139 -139
  421. package/.agents/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
  422. package/.agents/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
  423. package/.agents/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
  424. package/.agents/skills/team-uidesign/roles/coordinator/role.md +168 -168
  425. package/.agents/skills/team-uidesign/roles/designer/role.md +87 -87
  426. package/.agents/skills/team-uidesign/roles/implementer/role.md +88 -88
  427. package/.agents/skills/team-uidesign/roles/researcher/role.md +95 -95
  428. package/.agents/skills/team-uidesign/roles/reviewer/role.md +63 -63
  429. package/.agents/skills/team-uidesign/specs/anti-patterns.md +211 -211
  430. package/.agents/skills/team-uidesign/specs/design-standards.md +329 -329
  431. package/.agents/skills/team-uidesign/specs/pipelines.md +76 -76
  432. package/.agents/skills/team-uidesign/specs/scoring-guide.md +114 -114
  433. package/.agents/skills/team-uidesign/specs/ux-writing.md +86 -86
  434. package/.agents/skills/team-ultra-analyze/SKILL.md +168 -168
  435. package/.agents/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
  436. package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
  437. package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
  438. package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
  439. package/.agents/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
  440. package/.agents/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
  441. package/.agents/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
  442. package/.agents/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
  443. package/.agents/skills/team-ultra-analyze/specs/pipelines.md +64 -64
  444. package/.agents/skills/team-ultra-analyze/specs/team-config.json +6 -6
  445. package/.agents/skills/team-ux-improve/SKILL.md +146 -146
  446. package/.agents/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
  447. package/.agents/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
  448. package/.agents/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
  449. package/.agents/skills/team-ux-improve/roles/coordinator/role.md +142 -142
  450. package/.agents/skills/team-ux-improve/roles/designer/role.md +146 -146
  451. package/.agents/skills/team-ux-improve/roles/diagnoser/role.md +102 -102
  452. package/.agents/skills/team-ux-improve/roles/explorer/role.md +71 -71
  453. package/.agents/skills/team-ux-improve/roles/implementer/role.md +96 -96
  454. package/.agents/skills/team-ux-improve/roles/scanner/role.md +129 -129
  455. package/.agents/skills/team-ux-improve/roles/tester/role.md +78 -78
  456. package/.agents/skills/team-ux-improve/specs/anti-patterns.md +103 -103
  457. package/.agents/skills/team-ux-improve/specs/design-standards.md +54 -54
  458. package/.agents/skills/team-ux-improve/specs/heuristics.md +88 -88
  459. package/.agents/skills/team-ux-improve/specs/pipelines.md +54 -54
  460. package/.agents/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
  461. package/.agents/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
  462. package/.agents/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
  463. package/.agents/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
  464. package/.agents/skills/team-visual-a11y/SKILL.md +151 -151
  465. package/.agents/skills/team-visual-a11y/roles/color-auditor/role.md +172 -172
  466. package/.agents/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
  467. package/.agents/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
  468. package/.agents/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
  469. package/.agents/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
  470. package/.agents/skills/team-visual-a11y/roles/fix-implementer/role.md +240 -240
  471. package/.agents/skills/team-visual-a11y/roles/focus-auditor/role.md +216 -216
  472. package/.agents/skills/team-visual-a11y/roles/remediation-planner/role.md +200 -200
  473. package/.agents/skills/team-visual-a11y/roles/typo-auditor/role.md +179 -179
  474. package/.agents/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
  475. package/.agents/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
  476. package/.agents/skills/team-visual-a11y/specs/pipelines.md +98 -98
  477. package/.agents/skills/team-visual-a11y/specs/typography-scale.md +165 -165
  478. package/.agents/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
  479. package/.agy/agents/cli-explore-agent.md +1 -1
  480. package/.agy/agents/role-design-author.md +1 -1
  481. package/.agy/agents/team-supervisor.md +131 -131
  482. package/.agy/agents/ui-design-agent.md +1 -1
  483. package/.agy/agents/workflow-codebase-mapper.md +67 -67
  484. package/.agy/agents/workflow-collab-planner.md +1 -1
  485. package/.agy/agents/workflow-debugger.md +1 -1
  486. package/.agy/agents/workflow-executor.md +2 -2
  487. package/.agy/agents/workflow-external-researcher.md +78 -78
  488. package/.agy/agents/workflow-nyquist-auditor.md +1 -1
  489. package/.agy/agents/workflow-plan-checker.md +1 -1
  490. package/.agy/agents/workflow-planner.md +1 -1
  491. package/.agy/agents/workflow-project-researcher.md +63 -63
  492. package/.agy/agents/workflow-research-synthesizer.md +63 -63
  493. package/.agy/agents/workflow-reviewer.md +73 -73
  494. package/.agy/agents/workflow-verifier.md +1 -1
  495. package/.agy/skills/codify-to-knowhow/SKILL.md +1 -1
  496. package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
  497. package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
  498. package/.agy/skills/delegation-check/SKILL.md +297 -292
  499. package/.agy/skills/delegation-check/specs/separation-rules.md +248 -248
  500. package/.agy/skills/learn-follow/SKILL.md +114 -114
  501. package/.agy/skills/learn-investigate/SKILL.md +138 -138
  502. package/.agy/skills/learn-second-opinion/SKILL.md +105 -105
  503. package/.agy/skills/maestro/SKILL.md +233 -227
  504. package/.agy/skills/maestro-amend/SKILL.md +150 -150
  505. package/.agy/skills/maestro-analyze/SKILL.md +210 -210
  506. package/.agy/skills/maestro-blueprint/SKILL.md +175 -175
  507. package/.agy/skills/maestro-brainstorm/SKILL.md +205 -205
  508. package/.agy/skills/maestro-collab/SKILL.md +173 -173
  509. package/.agy/skills/maestro-companion/SKILL.md +517 -517
  510. package/.agy/skills/maestro-composer/SKILL.md +173 -173
  511. package/.agy/skills/maestro-execute/SKILL.md +169 -169
  512. package/.agy/skills/maestro-fork/SKILL.md +97 -97
  513. package/.agy/skills/maestro-grill/SKILL.md +161 -161
  514. package/.agy/skills/maestro-guard/SKILL.md +93 -93
  515. package/.agy/skills/maestro-help/index/catalog.json +1 -1
  516. package/.agy/skills/maestro-help/phases/03-workflow-guide.md +1 -1
  517. package/.agy/skills/maestro-impeccable/SKILL.md +296 -296
  518. package/.agy/skills/maestro-init/SKILL.md +117 -117
  519. package/.agy/skills/maestro-merge/SKILL.md +73 -73
  520. package/.agy/skills/maestro-milestone-audit/SKILL.md +126 -126
  521. package/.agy/skills/maestro-milestone-complete/SKILL.md +123 -123
  522. package/.agy/skills/maestro-milestone-release/SKILL.md +122 -122
  523. package/.agy/skills/maestro-next/SKILL.md +252 -252
  524. package/.agy/skills/maestro-overlay/SKILL.md +177 -177
  525. package/.agy/skills/maestro-plan/SKILL.md +222 -222
  526. package/.agy/skills/maestro-player/SKILL.md +167 -167
  527. package/.agy/skills/maestro-quick/SKILL.md +69 -69
  528. package/.agy/skills/maestro-ralph/SKILL.md +900 -832
  529. package/.agy/skills/maestro-ralph-execute/SKILL.md +287 -276
  530. package/.agy/skills/maestro-roadmap/SKILL.md +159 -159
  531. package/.agy/skills/maestro-swarm-workflow/SKILL.md +229 -229
  532. package/.agy/skills/maestro-tools-execute/SKILL.md +108 -108
  533. package/.agy/skills/maestro-tools-register/SKILL.md +142 -142
  534. package/.agy/skills/maestro-ui-codify/SKILL.md +101 -101
  535. package/.agy/skills/maestro-universal-workflow/SKILL.md +534 -534
  536. package/.agy/skills/maestro-update/SKILL.md +109 -109
  537. package/.agy/skills/manage-codebase-rebuild/SKILL.md +73 -73
  538. package/.agy/skills/manage-drift-realign/SKILL.md +153 -0
  539. package/.agy/skills/manage-harvest/SKILL.md +86 -86
  540. package/.agy/skills/manage-issue/SKILL.md +59 -59
  541. package/.agy/skills/manage-issue-discover/SKILL.md +70 -70
  542. package/.agy/skills/manage-kg-extractors/SKILL.md +2 -2
  543. package/.agy/skills/manage-knowhow/SKILL.md +70 -70
  544. package/.agy/skills/manage-knowhow-capture/SKILL.md +79 -79
  545. package/.agy/skills/manage-knowledge-audit/SKILL.md +120 -120
  546. package/.agy/skills/manage-status/SKILL.md +52 -52
  547. package/.agy/skills/manage-wiki/SKILL.md +69 -69
  548. package/.agy/skills/odyssey-debug/SKILL.md +465 -465
  549. package/.agy/skills/odyssey-improve/SKILL.md +496 -496
  550. package/.agy/skills/odyssey-planex/SKILL.md +594 -594
  551. package/.agy/skills/odyssey-review-test-fix/SKILL.md +422 -422
  552. package/.agy/skills/odyssey-ui/SKILL.md +450 -450
  553. package/.agy/skills/prompt-generator/SKILL.md +472 -465
  554. package/.agy/skills/prompt-generator/specs/agent-design-spec.md +299 -299
  555. package/.agy/skills/prompt-generator/specs/command-design-spec.md +367 -367
  556. package/.agy/skills/prompt-generator/specs/conversion-spec.md +207 -207
  557. package/.agy/skills/prompt-generator/templates/agent-md.md +145 -145
  558. package/.agy/skills/prompt-generator/templates/command-md.md +118 -118
  559. package/.agy/skills/quality-auto-test/SKILL.md +140 -140
  560. package/.agy/skills/quality-debug/SKILL.md +145 -145
  561. package/.agy/skills/quality-refactor/SKILL.md +91 -91
  562. package/.agy/skills/quality-retrospective/SKILL.md +109 -109
  563. package/.agy/skills/quality-review/SKILL.md +144 -144
  564. package/.agy/skills/quality-sync/SKILL.md +74 -74
  565. package/.agy/skills/quality-test/SKILL.md +157 -157
  566. package/.agy/skills/scholar-anti-ai-writing/SKILL.md +175 -168
  567. package/.agy/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
  568. package/.agy/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
  569. package/.agy/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
  570. package/.agy/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
  571. package/.agy/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
  572. package/.agy/skills/scholar-citation-verify/SKILL.md +170 -161
  573. package/.agy/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
  574. package/.agy/skills/scholar-citation-verify/phases/02-verify.md +310 -310
  575. package/.agy/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
  576. package/.agy/skills/scholar-citation-verify/references/api-usage.md +372 -372
  577. package/.agy/skills/scholar-citation-verify/references/common-errors.md +384 -384
  578. package/.agy/skills/scholar-citation-verify/references/verification-rules.md +399 -399
  579. package/.agy/skills/scholar-experiment/SKILL.md +323 -316
  580. package/.agy/skills/scholar-experiment/phases/01-data-loading.md +209 -209
  581. package/.agy/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
  582. package/.agy/skills/scholar-experiment/phases/03-visualization.md +319 -319
  583. package/.agy/skills/scholar-experiment/phases/04-results-writing.md +229 -229
  584. package/.agy/skills/scholar-experiment/phases/05-quality-check.md +261 -261
  585. package/.agy/skills/scholar-ideation/SKILL.md +292 -283
  586. package/.agy/skills/scholar-ideation/phases/01-literature-search.md +317 -317
  587. package/.agy/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
  588. package/.agy/skills/scholar-ideation/phases/03-research-question.md +200 -200
  589. package/.agy/skills/scholar-ideation/phases/04-method-selection.md +185 -185
  590. package/.agy/skills/scholar-ideation/phases/05-research-planning.md +385 -385
  591. package/.agy/skills/scholar-latex-organizer/SKILL.md +190 -181
  592. package/.agy/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
  593. package/.agy/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
  594. package/.agy/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
  595. package/.agy/skills/scholar-publish/SKILL.md +222 -215
  596. package/.agy/skills/scholar-publish/phases/01-presentation.md +243 -243
  597. package/.agy/skills/scholar-publish/phases/02-poster.md +239 -239
  598. package/.agy/skills/scholar-publish/phases/03-promotion.md +255 -255
  599. package/.agy/skills/scholar-rebuttal-pro/README.md +313 -313
  600. package/.agy/skills/scholar-rebuttal-pro/SKILL.md +518 -507
  601. package/.agy/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
  602. package/.agy/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
  603. package/.agy/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
  604. package/.agy/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
  605. package/.agy/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
  606. package/.agy/skills/scholar-review/SKILL.md +231 -222
  607. package/.agy/skills/scholar-review/phases/01-self-review.md +186 -186
  608. package/.agy/skills/scholar-review/phases/02-review-analysis.md +203 -203
  609. package/.agy/skills/scholar-review/phases/03-response-strategy.md +193 -193
  610. package/.agy/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
  611. package/.agy/skills/scholar-review/phases/05-revision.md +183 -183
  612. package/.agy/skills/scholar-review/specs/tone-guidelines.md +76 -76
  613. package/.agy/skills/scholar-thesis-docx/README.md +111 -111
  614. package/.agy/skills/scholar-thesis-docx/README_EN.md +108 -108
  615. package/.agy/skills/scholar-thesis-docx/SKILL.md +209 -208
  616. package/.agy/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
  617. package/.agy/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
  618. package/.agy/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
  619. package/.agy/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
  620. package/.agy/skills/scholar-thesis-docx/references/script-usage.md +157 -157
  621. package/.agy/skills/scholar-writing/SKILL.md +301 -291
  622. package/.agy/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
  623. package/.agy/skills/scholar-writing/phases/02-structure-planning.md +197 -197
  624. package/.agy/skills/scholar-writing/phases/03-section-drafting.md +215 -215
  625. package/.agy/skills/scholar-writing/phases/04-citation-management.md +310 -310
  626. package/.agy/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
  627. package/.agy/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
  628. package/.agy/skills/security-audit/SKILL.md +217 -217
  629. package/.agy/skills/skill-generator/SKILL.md +475 -465
  630. package/.agy/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
  631. package/.agy/skills/skill-generator/phases/02-structure-generation.md +261 -261
  632. package/.agy/skills/skill-generator/phases/03-phase-generation.md +976 -976
  633. package/.agy/skills/skill-generator/phases/04-specs-templates.md +398 -398
  634. package/.agy/skills/skill-generator/phases/05-validation.md +417 -417
  635. package/.agy/skills/skill-generator/specs/cli-integration.md +418 -418
  636. package/.agy/skills/skill-generator/specs/execution-modes.md +399 -399
  637. package/.agy/skills/skill-generator/specs/reference-docs-spec.md +271 -271
  638. package/.agy/skills/skill-generator/specs/scripting-integration.md +265 -265
  639. package/.agy/skills/skill-generator/specs/skill-requirements.md +466 -466
  640. package/.agy/skills/skill-generator/templates/autonomous-action.md +330 -330
  641. package/.agy/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
  642. package/.agy/skills/skill-generator/templates/code-analysis-action.md +514 -514
  643. package/.agy/skills/skill-generator/templates/llm-action.md +367 -367
  644. package/.agy/skills/skill-generator/templates/script-template.md +368 -368
  645. package/.agy/skills/skill-generator/templates/sequential-phase.md +470 -470
  646. package/.agy/skills/skill-generator/templates/skill-md.md +312 -312
  647. package/.agy/skills/skill-iter-tune/SKILL.md +389 -378
  648. package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -144
  649. package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -292
  650. package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
  651. package/.agy/skills/skill-iter-tune/phases/04-improve.md +186 -186
  652. package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -166
  653. package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
  654. package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
  655. package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
  656. package/.agy/skills/skill-simplify/SKILL.md +65 -58
  657. package/.agy/skills/skill-simplify/phases/01-analysis.md +224 -224
  658. package/.agy/skills/skill-simplify/phases/02-optimize.md +111 -111
  659. package/.agy/skills/skill-simplify/phases/03-check.md +224 -224
  660. package/.agy/skills/skill-tuning/SKILL.md +180 -170
  661. package/.agy/skills/skill-tuning/phases/actions/action-abort.md +164 -164
  662. package/.agy/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
  663. package/.agy/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
  664. package/.agy/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
  665. package/.agy/skills/skill-tuning/phases/actions/action-complete.md +195 -195
  666. package/.agy/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
  667. package/.agy/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
  668. package/.agy/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
  669. package/.agy/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
  670. package/.agy/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
  671. package/.agy/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
  672. package/.agy/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
  673. package/.agy/skills/skill-tuning/phases/actions/action-init.md +149 -149
  674. package/.agy/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
  675. package/.agy/skills/skill-tuning/phases/actions/action-verify.md +222 -222
  676. package/.agy/skills/skill-tuning/phases/orchestrator.md +190 -190
  677. package/.agy/skills/skill-tuning/phases/state-schema.md +378 -378
  678. package/.agy/skills/skill-tuning/specs/category-mappings.json +5 -5
  679. package/.agy/skills/skill-tuning/specs/dimension-mapping.md +212 -212
  680. package/.agy/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
  681. package/.agy/skills/skill-tuning/specs/quality-gates.md +263 -263
  682. package/.agy/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
  683. package/.agy/skills/skill-tuning/specs/tuning-strategies.md +392 -392
  684. package/.agy/skills/skill-tuning/templates/diagnosis-report.md +153 -153
  685. package/.agy/skills/skill-tuning/templates/fix-proposal.md +204 -204
  686. package/.agy/skills/spec-add/SKILL.md +66 -66
  687. package/.agy/skills/spec-load/SKILL.md +67 -67
  688. package/.agy/skills/spec-remove/SKILL.md +42 -42
  689. package/.agy/skills/spec-setup/SKILL.md +37 -37
  690. package/.agy/skills/team-arch-opt/SKILL.md +142 -130
  691. package/.agy/skills/team-arch-opt/roles/analyzer/role.md +81 -80
  692. package/.agy/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
  693. package/.agy/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
  694. package/.agy/skills/team-arch-opt/roles/coordinator/commands/monitor.md +193 -193
  695. package/.agy/skills/team-arch-opt/roles/coordinator/role.md +146 -146
  696. package/.agy/skills/team-arch-opt/roles/designer/role.md +110 -109
  697. package/.agy/skills/team-arch-opt/roles/refactorer/role.md +99 -98
  698. package/.agy/skills/team-arch-opt/roles/reviewer/role.md +106 -105
  699. package/.agy/skills/team-arch-opt/roles/validator/role.md +110 -109
  700. package/.agy/skills/team-arch-opt/specs/pipelines.md +102 -102
  701. package/.agy/skills/team-brainstorm/SKILL.md +132 -120
  702. package/.agy/skills/team-brainstorm/roles/challenger/role.md +56 -55
  703. package/.agy/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
  704. package/.agy/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
  705. package/.agy/skills/team-brainstorm/roles/coordinator/commands/monitor.md +171 -171
  706. package/.agy/skills/team-brainstorm/roles/coordinator/role.md +140 -140
  707. package/.agy/skills/team-brainstorm/roles/evaluator/role.md +51 -50
  708. package/.agy/skills/team-brainstorm/roles/ideator/role.md +64 -63
  709. package/.agy/skills/team-brainstorm/roles/synthesizer/role.md +52 -51
  710. package/.agy/skills/team-brainstorm/specs/pipelines.md +72 -72
  711. package/.agy/skills/team-coordinate/SKILL.md +250 -238
  712. package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
  713. package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
  714. package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +336 -336
  715. package/.agy/skills/team-coordinate/roles/coordinator/role.md +361 -360
  716. package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
  717. package/.agy/skills/team-coordinate/specs/pipelines.md +97 -97
  718. package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -112
  719. package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -198
  720. package/.agy/skills/team-designer/SKILL.md +167 -155
  721. package/.agy/skills/team-designer/phases/01-requirements-analysis.md +265 -265
  722. package/.agy/skills/team-designer/phases/02-scaffold-generation.md +236 -236
  723. package/.agy/skills/team-designer/phases/03-content-generation.md +330 -330
  724. package/.agy/skills/team-designer/phases/04-validation.md +329 -329
  725. package/.agy/skills/team-executor/SKILL.md +174 -162
  726. package/.agy/skills/team-executor/roles/executor/commands/monitor.md +223 -223
  727. package/.agy/skills/team-executor/roles/executor/role.md +171 -171
  728. package/.agy/skills/team-executor/specs/session-schema.md +264 -264
  729. package/.agy/skills/team-frontend/SKILL.md +122 -108
  730. package/.agy/skills/team-frontend/roles/analyst/role.md +92 -92
  731. package/.agy/skills/team-frontend/roles/architect/role.md +78 -78
  732. package/.agy/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
  733. package/.agy/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
  734. package/.agy/skills/team-frontend/roles/coordinator/commands/monitor.md +210 -210
  735. package/.agy/skills/team-frontend/roles/coordinator/role.md +158 -158
  736. package/.agy/skills/team-frontend/roles/developer/role.md +85 -85
  737. package/.agy/skills/team-frontend/roles/qa/role.md +71 -71
  738. package/.agy/skills/team-frontend/specs/pipelines.md +76 -76
  739. package/.agy/skills/team-frontend-debug/SKILL.md +183 -170
  740. package/.agy/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
  741. package/.agy/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
  742. package/.agy/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
  743. package/.agy/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
  744. package/.agy/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
  745. package/.agy/skills/team-frontend-debug/roles/fixer/role.md +138 -138
  746. package/.agy/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
  747. package/.agy/skills/team-frontend-debug/roles/tester/role.md +222 -222
  748. package/.agy/skills/team-frontend-debug/roles/verifier/role.md +164 -164
  749. package/.agy/skills/team-frontend-debug/specs/debug-tools.md +215 -215
  750. package/.agy/skills/team-frontend-debug/specs/pipelines.md +94 -94
  751. package/.agy/skills/team-interactive-craft/SKILL.md +128 -113
  752. package/.agy/skills/team-interactive-craft/roles/a11y-tester/role.md +154 -153
  753. package/.agy/skills/team-interactive-craft/roles/builder/role.md +211 -210
  754. package/.agy/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
  755. package/.agy/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
  756. package/.agy/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +192 -192
  757. package/.agy/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
  758. package/.agy/skills/team-interactive-craft/roles/interaction-designer/role.md +139 -138
  759. package/.agy/skills/team-interactive-craft/roles/researcher/role.md +126 -125
  760. package/.agy/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
  761. package/.agy/skills/team-interactive-craft/specs/pipelines.md +85 -85
  762. package/.agy/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
  763. package/.agy/skills/team-issue/SKILL.md +132 -120
  764. package/.agy/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
  765. package/.agy/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
  766. package/.agy/skills/team-issue/roles/coordinator/commands/monitor.md +183 -183
  767. package/.agy/skills/team-issue/roles/coordinator/role.md +173 -172
  768. package/.agy/skills/team-issue/roles/explorer/role.md +97 -96
  769. package/.agy/skills/team-issue/roles/implementer/role.md +82 -81
  770. package/.agy/skills/team-issue/roles/integrator/role.md +79 -78
  771. package/.agy/skills/team-issue/roles/planner/role.md +75 -74
  772. package/.agy/skills/team-issue/roles/reviewer/role.md +81 -80
  773. package/.agy/skills/team-issue/specs/pipelines.md +124 -124
  774. package/.agy/skills/team-lifecycle-v4/SKILL.md +170 -158
  775. package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
  776. package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
  777. package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
  778. package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
  779. package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
  780. package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
  781. package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
  782. package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
  783. package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
  784. package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
  785. package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
  786. package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
  787. package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
  788. package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  789. package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
  790. package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
  791. package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
  792. package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -254
  793. package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -196
  794. package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
  795. package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -224
  796. package/.agy/skills/team-motion-design/SKILL.md +134 -114
  797. package/.agy/skills/team-motion-design/roles/animator/role.md +189 -188
  798. package/.agy/skills/team-motion-design/roles/choreographer/role.md +159 -158
  799. package/.agy/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
  800. package/.agy/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
  801. package/.agy/skills/team-motion-design/roles/coordinator/commands/monitor.md +193 -193
  802. package/.agy/skills/team-motion-design/roles/coordinator/role.md +167 -167
  803. package/.agy/skills/team-motion-design/roles/motion-researcher/role.md +110 -109
  804. package/.agy/skills/team-motion-design/roles/motion-tester/role.md +170 -169
  805. package/.agy/skills/team-motion-design/specs/gpu-constraints.md +114 -114
  806. package/.agy/skills/team-motion-design/specs/motion-tokens.md +128 -128
  807. package/.agy/skills/team-motion-design/specs/pipelines.md +74 -74
  808. package/.agy/skills/team-motion-design/specs/reduced-motion.md +129 -129
  809. package/.agy/skills/team-perf-opt/SKILL.md +159 -147
  810. package/.agy/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
  811. package/.agy/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
  812. package/.agy/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
  813. package/.agy/skills/team-perf-opt/roles/coordinator/commands/monitor.md +339 -339
  814. package/.agy/skills/team-perf-opt/roles/coordinator/role.md +147 -147
  815. package/.agy/skills/team-perf-opt/roles/optimizer/role.md +89 -89
  816. package/.agy/skills/team-perf-opt/roles/profiler/role.md +73 -73
  817. package/.agy/skills/team-perf-opt/roles/reviewer/role.md +64 -64
  818. package/.agy/skills/team-perf-opt/roles/strategist/role.md +85 -85
  819. package/.agy/skills/team-perf-opt/specs/pipelines.md +65 -65
  820. package/.agy/skills/team-planex/SKILL.md +120 -108
  821. package/.agy/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
  822. package/.agy/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
  823. package/.agy/skills/team-planex/roles/coordinator/commands/monitor.md +174 -174
  824. package/.agy/skills/team-planex/roles/coordinator/role.md +140 -140
  825. package/.agy/skills/team-planex/roles/executor/role.md +83 -83
  826. package/.agy/skills/team-planex/roles/planner/role.md +111 -111
  827. package/.agy/skills/team-planex/specs/pipelines.md +93 -93
  828. package/.agy/skills/team-quality-assurance/SKILL.md +131 -119
  829. package/.agy/skills/team-quality-assurance/roles/analyst/role.md +79 -79
  830. package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
  831. package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
  832. package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +223 -223
  833. package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
  834. package/.agy/skills/team-quality-assurance/roles/executor/role.md +55 -55
  835. package/.agy/skills/team-quality-assurance/roles/generator/role.md +58 -58
  836. package/.agy/skills/team-quality-assurance/roles/scout/role.md +70 -70
  837. package/.agy/skills/team-quality-assurance/roles/strategist/role.md +63 -63
  838. package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -115
  839. package/.agy/skills/team-quality-assurance/specs/team-config.json +8 -8
  840. package/.agy/skills/team-review/SKILL.md +131 -119
  841. package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
  842. package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
  843. package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +197 -197
  844. package/.agy/skills/team-review/roles/coordinator/role.md +132 -132
  845. package/.agy/skills/team-review/roles/fixer/role.md +68 -68
  846. package/.agy/skills/team-review/specs/dimensions.md +82 -82
  847. package/.agy/skills/team-review/specs/pipelines.md +102 -102
  848. package/.agy/skills/team-roadmap-dev/SKILL.md +153 -141
  849. package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
  850. package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
  851. package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +448 -448
  852. package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
  853. package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
  854. package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
  855. package/.agy/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
  856. package/.agy/skills/team-roadmap-dev/roles/executor/role.md +62 -62
  857. package/.agy/skills/team-roadmap-dev/roles/planner/role.md +76 -76
  858. package/.agy/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
  859. package/.agy/skills/team-roadmap-dev/specs/pipelines.md +93 -93
  860. package/.agy/skills/team-roadmap-dev/specs/team-config.json +3 -3
  861. package/.agy/skills/team-swarm/SKILL.md +159 -147
  862. package/.agy/skills/team-tech-debt/SKILL.md +115 -100
  863. package/.agy/skills/team-tech-debt/roles/assessor/role.md +72 -71
  864. package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
  865. package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
  866. package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +186 -186
  867. package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -123
  868. package/.agy/skills/team-tech-debt/roles/executor/role.md +1 -1
  869. package/.agy/skills/team-tech-debt/roles/planner/role.md +64 -63
  870. package/.agy/skills/team-tech-debt/roles/scanner/role.md +85 -84
  871. package/.agy/skills/team-tech-debt/roles/validator/role.md +2 -2
  872. package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -47
  873. package/.agy/skills/team-tech-debt/specs/team-config.json +5 -5
  874. package/.agy/skills/team-testing/SKILL.md +127 -115
  875. package/.agy/skills/team-testing/roles/analyst/role.md +95 -95
  876. package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
  877. package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
  878. package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +230 -230
  879. package/.agy/skills/team-testing/roles/coordinator/role.md +134 -134
  880. package/.agy/skills/team-testing/roles/executor/role.md +2 -2
  881. package/.agy/skills/team-testing/roles/generator/role.md +1 -1
  882. package/.agy/skills/team-testing/roles/strategist/role.md +75 -75
  883. package/.agy/skills/team-testing/specs/pipelines.md +101 -101
  884. package/.agy/skills/team-ui-polish/SKILL.md +132 -113
  885. package/.agy/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
  886. package/.agy/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
  887. package/.agy/skills/team-ui-polish/roles/coordinator/commands/monitor.md +189 -189
  888. package/.agy/skills/team-ui-polish/roles/coordinator/role.md +170 -170
  889. package/.agy/skills/team-ui-polish/roles/diagnostician/role.md +155 -154
  890. package/.agy/skills/team-ui-polish/roles/optimizer/role.md +220 -219
  891. package/.agy/skills/team-ui-polish/roles/scanner/role.md +351 -350
  892. package/.agy/skills/team-ui-polish/roles/verifier/role.md +137 -136
  893. package/.agy/skills/team-ui-polish/specs/anti-patterns.md +141 -141
  894. package/.agy/skills/team-ui-polish/specs/design-standards.md +356 -356
  895. package/.agy/skills/team-ui-polish/specs/fix-strategies.md +235 -235
  896. package/.agy/skills/team-ui-polish/specs/pipelines.md +81 -81
  897. package/.agy/skills/team-ui-polish/specs/scoring-guide.md +162 -162
  898. package/.agy/skills/team-uidesign/SKILL.md +131 -116
  899. package/.agy/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
  900. package/.agy/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
  901. package/.agy/skills/team-uidesign/roles/coordinator/commands/monitor.md +193 -193
  902. package/.agy/skills/team-uidesign/roles/coordinator/role.md +168 -168
  903. package/.agy/skills/team-uidesign/roles/designer/role.md +88 -87
  904. package/.agy/skills/team-uidesign/roles/implementer/role.md +89 -88
  905. package/.agy/skills/team-uidesign/roles/researcher/role.md +96 -95
  906. package/.agy/skills/team-uidesign/roles/reviewer/role.md +64 -63
  907. package/.agy/skills/team-uidesign/specs/anti-patterns.md +211 -211
  908. package/.agy/skills/team-uidesign/specs/design-standards.md +329 -329
  909. package/.agy/skills/team-uidesign/specs/pipelines.md +76 -76
  910. package/.agy/skills/team-uidesign/specs/scoring-guide.md +114 -114
  911. package/.agy/skills/team-uidesign/specs/ux-writing.md +86 -86
  912. package/.agy/skills/team-ultra-analyze/SKILL.md +156 -144
  913. package/.agy/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
  914. package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
  915. package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
  916. package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +344 -344
  917. package/.agy/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
  918. package/.agy/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
  919. package/.agy/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
  920. package/.agy/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
  921. package/.agy/skills/team-ultra-analyze/specs/pipelines.md +64 -64
  922. package/.agy/skills/team-ultra-analyze/specs/team-config.json +6 -6
  923. package/.agy/skills/team-ux-improve/SKILL.md +138 -123
  924. package/.agy/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
  925. package/.agy/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
  926. package/.agy/skills/team-ux-improve/roles/coordinator/commands/monitor.md +163 -163
  927. package/.agy/skills/team-ux-improve/roles/coordinator/role.md +142 -142
  928. package/.agy/skills/team-ux-improve/roles/designer/role.md +147 -146
  929. package/.agy/skills/team-ux-improve/roles/diagnoser/role.md +103 -102
  930. package/.agy/skills/team-ux-improve/roles/explorer/role.md +72 -71
  931. package/.agy/skills/team-ux-improve/roles/implementer/role.md +97 -96
  932. package/.agy/skills/team-ux-improve/roles/scanner/role.md +130 -129
  933. package/.agy/skills/team-ux-improve/roles/tester/role.md +79 -78
  934. package/.agy/skills/team-ux-improve/specs/anti-patterns.md +103 -103
  935. package/.agy/skills/team-ux-improve/specs/design-standards.md +54 -54
  936. package/.agy/skills/team-ux-improve/specs/heuristics.md +88 -88
  937. package/.agy/skills/team-ux-improve/specs/pipelines.md +54 -54
  938. package/.agy/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
  939. package/.agy/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
  940. package/.agy/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
  941. package/.agy/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
  942. package/.agy/skills/team-visual-a11y/SKILL.md +149 -128
  943. package/.agy/skills/team-visual-a11y/roles/color-auditor/role.md +173 -172
  944. package/.agy/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
  945. package/.agy/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
  946. package/.agy/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +213 -213
  947. package/.agy/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
  948. package/.agy/skills/team-visual-a11y/roles/fix-implementer/role.md +241 -240
  949. package/.agy/skills/team-visual-a11y/roles/focus-auditor/role.md +217 -216
  950. package/.agy/skills/team-visual-a11y/roles/remediation-planner/role.md +201 -200
  951. package/.agy/skills/team-visual-a11y/roles/typo-auditor/role.md +180 -179
  952. package/.agy/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
  953. package/.agy/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
  954. package/.agy/skills/team-visual-a11y/specs/pipelines.md +98 -98
  955. package/.agy/skills/team-visual-a11y/specs/typography-scale.md +165 -165
  956. package/.agy/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
  957. package/.claude/agents/cli-explore-agent.md +1 -1
  958. package/.claude/agents/role-design-author.md +1 -1
  959. package/.claude/agents/team-supervisor.md +143 -143
  960. package/.claude/agents/ui-design-agent.md +1 -1
  961. package/.claude/agents/workflow-codebase-mapper.md +77 -77
  962. package/.claude/agents/workflow-collab-planner.md +1 -1
  963. package/.claude/agents/workflow-debugger.md +1 -1
  964. package/.claude/agents/workflow-executor.md +2 -2
  965. package/.claude/agents/workflow-external-researcher.md +86 -86
  966. package/.claude/agents/workflow-nyquist-auditor.md +1 -1
  967. package/.claude/agents/workflow-plan-checker.md +1 -1
  968. package/.claude/agents/workflow-planner.md +1 -1
  969. package/.claude/agents/workflow-project-researcher.md +74 -74
  970. package/.claude/agents/workflow-research-synthesizer.md +70 -70
  971. package/.claude/agents/workflow-reviewer.md +82 -82
  972. package/.claude/agents/workflow-verifier.md +1 -1
  973. package/.claude/commands/learn-follow.md +127 -127
  974. package/.claude/commands/learn-investigate.md +151 -151
  975. package/.claude/commands/learn-second-opinion.md +118 -118
  976. package/.claude/commands/maestro-amend.md +162 -162
  977. package/.claude/commands/maestro-analyze.md +224 -224
  978. package/.claude/commands/maestro-blueprint.md +189 -189
  979. package/.claude/commands/maestro-brainstorm.md +218 -218
  980. package/.claude/commands/maestro-collab.md +185 -185
  981. package/.claude/commands/maestro-companion.md +531 -531
  982. package/.claude/commands/maestro-composer.md +188 -188
  983. package/.claude/commands/maestro-execute.md +183 -183
  984. package/.claude/commands/maestro-fork.md +111 -111
  985. package/.claude/commands/maestro-grill.md +175 -175
  986. package/.claude/commands/maestro-guard.md +103 -103
  987. package/.claude/commands/maestro-impeccable.md +311 -311
  988. package/.claude/commands/maestro-init.md +130 -130
  989. package/.claude/commands/maestro-merge.md +87 -87
  990. package/.claude/commands/maestro-milestone-audit.md +139 -139
  991. package/.claude/commands/maestro-milestone-complete.md +136 -136
  992. package/.claude/commands/maestro-milestone-release.md +136 -136
  993. package/.claude/commands/maestro-next.md +264 -264
  994. package/.claude/commands/maestro-overlay.md +189 -189
  995. package/.claude/commands/maestro-plan.md +236 -236
  996. package/.claude/commands/maestro-player.md +182 -182
  997. package/.claude/commands/maestro-quick.md +83 -83
  998. package/.claude/commands/maestro-ralph-execute.md +300 -289
  999. package/.claude/commands/maestro-ralph.md +913 -845
  1000. package/.claude/commands/maestro-roadmap.md +173 -173
  1001. package/.claude/commands/maestro-swarm-workflow.md +243 -243
  1002. package/.claude/commands/maestro-tools-execute.md +122 -122
  1003. package/.claude/commands/maestro-tools-register.md +156 -156
  1004. package/.claude/commands/maestro-ui-codify.md +115 -115
  1005. package/.claude/commands/maestro-universal-workflow.md +548 -548
  1006. package/.claude/commands/maestro-update.md +122 -122
  1007. package/.claude/commands/maestro.md +248 -242
  1008. package/.claude/commands/manage-codebase-rebuild.md +87 -87
  1009. package/.claude/commands/manage-drift-realign.md +151 -0
  1010. package/.claude/commands/manage-harvest.md +100 -100
  1011. package/.claude/commands/manage-issue-discover.md +83 -83
  1012. package/.claude/commands/manage-issue.md +72 -72
  1013. package/.claude/commands/manage-kg-extractors.md +2 -2
  1014. package/.claude/commands/manage-knowhow-capture.md +92 -92
  1015. package/.claude/commands/manage-knowhow.md +83 -83
  1016. package/.claude/commands/manage-knowledge-audit.md +134 -134
  1017. package/.claude/commands/manage-status.md +62 -62
  1018. package/.claude/commands/manage-wiki.md +82 -82
  1019. package/.claude/commands/odyssey-debug.md +479 -479
  1020. package/.claude/commands/odyssey-improve.md +510 -510
  1021. package/.claude/commands/odyssey-planex.md +608 -608
  1022. package/.claude/commands/odyssey-review-test-fix.md +436 -436
  1023. package/.claude/commands/odyssey-ui.md +464 -464
  1024. package/.claude/commands/quality-auto-test.md +153 -153
  1025. package/.claude/commands/quality-debug.md +159 -159
  1026. package/.claude/commands/quality-refactor.md +105 -105
  1027. package/.claude/commands/quality-retrospective.md +123 -123
  1028. package/.claude/commands/quality-review.md +158 -158
  1029. package/.claude/commands/quality-sync.md +88 -88
  1030. package/.claude/commands/quality-test.md +171 -171
  1031. package/.claude/commands/security-audit.md +230 -230
  1032. package/.claude/commands/spec-add.md +77 -77
  1033. package/.claude/commands/spec-load.md +77 -77
  1034. package/.claude/commands/spec-remove.md +55 -55
  1035. package/.claude/commands/spec-setup.md +48 -48
  1036. package/.claude/skills/codify-to-knowhow/SKILL.md +1 -1
  1037. package/.claude/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
  1038. package/.claude/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
  1039. package/.claude/skills/delegation-check/SKILL.md +297 -297
  1040. package/.claude/skills/delegation-check/specs/separation-rules.md +269 -269
  1041. package/.claude/skills/maestro-help/index/catalog.json +1 -1
  1042. package/.claude/skills/maestro-help/phases/03-workflow-guide.md +1 -1
  1043. package/.claude/skills/prompt-generator/SKILL.md +470 -470
  1044. package/.claude/skills/prompt-generator/specs/agent-design-spec.md +299 -299
  1045. package/.claude/skills/prompt-generator/specs/command-design-spec.md +367 -367
  1046. package/.claude/skills/prompt-generator/specs/conversion-spec.md +207 -207
  1047. package/.claude/skills/prompt-generator/templates/agent-md.md +145 -145
  1048. package/.claude/skills/prompt-generator/templates/command-md.md +118 -118
  1049. package/.claude/skills/scholar-anti-ai-writing/SKILL.md +173 -173
  1050. package/.claude/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
  1051. package/.claude/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
  1052. package/.claude/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
  1053. package/.claude/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
  1054. package/.claude/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
  1055. package/.claude/skills/scholar-citation-verify/SKILL.md +166 -166
  1056. package/.claude/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
  1057. package/.claude/skills/scholar-citation-verify/phases/02-verify.md +310 -310
  1058. package/.claude/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
  1059. package/.claude/skills/scholar-citation-verify/references/api-usage.md +372 -372
  1060. package/.claude/skills/scholar-citation-verify/references/common-errors.md +384 -384
  1061. package/.claude/skills/scholar-citation-verify/references/verification-rules.md +399 -399
  1062. package/.claude/skills/scholar-experiment/SKILL.md +321 -321
  1063. package/.claude/skills/scholar-experiment/phases/01-data-loading.md +209 -209
  1064. package/.claude/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
  1065. package/.claude/skills/scholar-experiment/phases/03-visualization.md +319 -319
  1066. package/.claude/skills/scholar-experiment/phases/04-results-writing.md +229 -229
  1067. package/.claude/skills/scholar-experiment/phases/05-quality-check.md +261 -261
  1068. package/.claude/skills/scholar-ideation/SKILL.md +288 -288
  1069. package/.claude/skills/scholar-ideation/phases/01-literature-search.md +317 -317
  1070. package/.claude/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
  1071. package/.claude/skills/scholar-ideation/phases/03-research-question.md +200 -200
  1072. package/.claude/skills/scholar-ideation/phases/04-method-selection.md +185 -185
  1073. package/.claude/skills/scholar-ideation/phases/05-research-planning.md +385 -385
  1074. package/.claude/skills/scholar-latex-organizer/SKILL.md +186 -186
  1075. package/.claude/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
  1076. package/.claude/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
  1077. package/.claude/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
  1078. package/.claude/skills/scholar-publish/SKILL.md +220 -220
  1079. package/.claude/skills/scholar-publish/phases/01-presentation.md +243 -243
  1080. package/.claude/skills/scholar-publish/phases/02-poster.md +239 -239
  1081. package/.claude/skills/scholar-publish/phases/03-promotion.md +255 -255
  1082. package/.claude/skills/scholar-rebuttal-pro/README.md +313 -313
  1083. package/.claude/skills/scholar-rebuttal-pro/SKILL.md +511 -511
  1084. package/.claude/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
  1085. package/.claude/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
  1086. package/.claude/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
  1087. package/.claude/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
  1088. package/.claude/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
  1089. package/.claude/skills/scholar-review/SKILL.md +227 -227
  1090. package/.claude/skills/scholar-review/phases/01-self-review.md +186 -186
  1091. package/.claude/skills/scholar-review/phases/02-review-analysis.md +203 -203
  1092. package/.claude/skills/scholar-review/phases/03-response-strategy.md +193 -193
  1093. package/.claude/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
  1094. package/.claude/skills/scholar-review/phases/05-revision.md +183 -183
  1095. package/.claude/skills/scholar-review/specs/tone-guidelines.md +76 -76
  1096. package/.claude/skills/scholar-thesis-docx/README.md +111 -111
  1097. package/.claude/skills/scholar-thesis-docx/README_EN.md +108 -108
  1098. package/.claude/skills/scholar-thesis-docx/SKILL.md +212 -212
  1099. package/.claude/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
  1100. package/.claude/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
  1101. package/.claude/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
  1102. package/.claude/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
  1103. package/.claude/skills/scholar-thesis-docx/references/script-usage.md +157 -157
  1104. package/.claude/skills/scholar-writing/SKILL.md +296 -296
  1105. package/.claude/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
  1106. package/.claude/skills/scholar-writing/phases/02-structure-planning.md +197 -197
  1107. package/.claude/skills/scholar-writing/phases/03-section-drafting.md +215 -215
  1108. package/.claude/skills/scholar-writing/phases/04-citation-management.md +310 -310
  1109. package/.claude/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
  1110. package/.claude/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
  1111. package/.claude/skills/skill-generator/SKILL.md +471 -471
  1112. package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
  1113. package/.claude/skills/skill-generator/phases/02-structure-generation.md +261 -261
  1114. package/.claude/skills/skill-generator/phases/03-phase-generation.md +976 -976
  1115. package/.claude/skills/skill-generator/phases/04-specs-templates.md +398 -398
  1116. package/.claude/skills/skill-generator/phases/05-validation.md +417 -417
  1117. package/.claude/skills/skill-generator/specs/cli-integration.md +442 -442
  1118. package/.claude/skills/skill-generator/specs/execution-modes.md +399 -399
  1119. package/.claude/skills/skill-generator/specs/reference-docs-spec.md +271 -271
  1120. package/.claude/skills/skill-generator/specs/scripting-integration.md +265 -265
  1121. package/.claude/skills/skill-generator/specs/skill-requirements.md +466 -466
  1122. package/.claude/skills/skill-generator/templates/autonomous-action.md +330 -330
  1123. package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
  1124. package/.claude/skills/skill-generator/templates/code-analysis-action.md +514 -514
  1125. package/.claude/skills/skill-generator/templates/llm-action.md +367 -367
  1126. package/.claude/skills/skill-generator/templates/script-template.md +368 -368
  1127. package/.claude/skills/skill-generator/templates/sequential-phase.md +474 -474
  1128. package/.claude/skills/skill-generator/templates/skill-md.md +312 -312
  1129. package/.claude/skills/skill-iter-tune/SKILL.md +382 -382
  1130. package/.claude/skills/skill-iter-tune/phases/01-setup.md +144 -144
  1131. package/.claude/skills/skill-iter-tune/phases/02-execute.md +292 -292
  1132. package/.claude/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
  1133. package/.claude/skills/skill-iter-tune/phases/04-improve.md +186 -186
  1134. package/.claude/skills/skill-iter-tune/phases/05-report.md +166 -166
  1135. package/.claude/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
  1136. package/.claude/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
  1137. package/.claude/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
  1138. package/.claude/skills/skill-simplify/SKILL.md +63 -63
  1139. package/.claude/skills/skill-simplify/phases/01-analysis.md +224 -224
  1140. package/.claude/skills/skill-simplify/phases/02-optimize.md +111 -111
  1141. package/.claude/skills/skill-simplify/phases/03-check.md +224 -224
  1142. package/.claude/skills/skill-tuning/SKILL.md +174 -174
  1143. package/.claude/skills/skill-tuning/phases/actions/action-abort.md +164 -164
  1144. package/.claude/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
  1145. package/.claude/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
  1146. package/.claude/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
  1147. package/.claude/skills/skill-tuning/phases/actions/action-complete.md +195 -195
  1148. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
  1149. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
  1150. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
  1151. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
  1152. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
  1153. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
  1154. package/.claude/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
  1155. package/.claude/skills/skill-tuning/phases/actions/action-init.md +149 -149
  1156. package/.claude/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
  1157. package/.claude/skills/skill-tuning/phases/actions/action-verify.md +222 -222
  1158. package/.claude/skills/skill-tuning/phases/orchestrator.md +190 -190
  1159. package/.claude/skills/skill-tuning/phases/state-schema.md +378 -378
  1160. package/.claude/skills/skill-tuning/specs/category-mappings.json +5 -5
  1161. package/.claude/skills/skill-tuning/specs/dimension-mapping.md +212 -212
  1162. package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
  1163. package/.claude/skills/skill-tuning/specs/quality-gates.md +263 -263
  1164. package/.claude/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
  1165. package/.claude/skills/skill-tuning/specs/tuning-strategies.md +392 -392
  1166. package/.claude/skills/skill-tuning/templates/diagnosis-report.md +153 -153
  1167. package/.claude/skills/skill-tuning/templates/fix-proposal.md +204 -204
  1168. package/.claude/skills/team-arch-opt/SKILL.md +158 -158
  1169. package/.claude/skills/team-arch-opt/roles/analyzer/role.md +86 -86
  1170. package/.claude/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
  1171. package/.claude/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
  1172. package/.claude/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
  1173. package/.claude/skills/team-arch-opt/roles/coordinator/role.md +146 -146
  1174. package/.claude/skills/team-arch-opt/roles/designer/role.md +115 -115
  1175. package/.claude/skills/team-arch-opt/roles/refactorer/role.md +104 -104
  1176. package/.claude/skills/team-arch-opt/roles/reviewer/role.md +111 -111
  1177. package/.claude/skills/team-arch-opt/roles/validator/role.md +115 -115
  1178. package/.claude/skills/team-arch-opt/specs/pipelines.md +102 -102
  1179. package/.claude/skills/team-brainstorm/SKILL.md +171 -171
  1180. package/.claude/skills/team-brainstorm/roles/challenger/role.md +61 -61
  1181. package/.claude/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
  1182. package/.claude/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
  1183. package/.claude/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
  1184. package/.claude/skills/team-brainstorm/roles/coordinator/role.md +140 -140
  1185. package/.claude/skills/team-brainstorm/roles/evaluator/role.md +56 -56
  1186. package/.claude/skills/team-brainstorm/roles/ideator/role.md +69 -69
  1187. package/.claude/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
  1188. package/.claude/skills/team-brainstorm/specs/pipelines.md +72 -72
  1189. package/.claude/skills/team-coordinate/SKILL.md +266 -266
  1190. package/.claude/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
  1191. package/.claude/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
  1192. package/.claude/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
  1193. package/.claude/skills/team-coordinate/roles/coordinator/role.md +363 -363
  1194. package/.claude/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
  1195. package/.claude/skills/team-coordinate/specs/pipelines.md +97 -97
  1196. package/.claude/skills/team-coordinate/specs/quality-gates.md +112 -112
  1197. package/.claude/skills/team-coordinate/specs/role-spec-template.md +198 -198
  1198. package/.claude/skills/team-designer/SKILL.md +160 -160
  1199. package/.claude/skills/team-designer/phases/01-requirements-analysis.md +265 -265
  1200. package/.claude/skills/team-designer/phases/02-scaffold-generation.md +236 -236
  1201. package/.claude/skills/team-designer/phases/03-content-generation.md +330 -330
  1202. package/.claude/skills/team-designer/phases/04-validation.md +329 -329
  1203. package/.claude/skills/team-executor/SKILL.md +189 -189
  1204. package/.claude/skills/team-executor/roles/executor/commands/monitor.md +239 -239
  1205. package/.claude/skills/team-executor/roles/executor/role.md +171 -171
  1206. package/.claude/skills/team-executor/specs/session-schema.md +264 -264
  1207. package/.claude/skills/team-frontend/SKILL.md +136 -136
  1208. package/.claude/skills/team-frontend/roles/analyst/role.md +100 -100
  1209. package/.claude/skills/team-frontend/roles/architect/role.md +86 -86
  1210. package/.claude/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
  1211. package/.claude/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
  1212. package/.claude/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
  1213. package/.claude/skills/team-frontend/roles/coordinator/role.md +158 -158
  1214. package/.claude/skills/team-frontend/roles/developer/role.md +93 -93
  1215. package/.claude/skills/team-frontend/roles/qa/role.md +79 -79
  1216. package/.claude/skills/team-frontend/specs/pipelines.md +76 -76
  1217. package/.claude/skills/team-frontend-debug/SKILL.md +198 -198
  1218. package/.claude/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
  1219. package/.claude/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
  1220. package/.claude/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
  1221. package/.claude/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
  1222. package/.claude/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
  1223. package/.claude/skills/team-frontend-debug/roles/fixer/role.md +147 -147
  1224. package/.claude/skills/team-frontend-debug/roles/reproducer/role.md +155 -155
  1225. package/.claude/skills/team-frontend-debug/roles/tester/role.md +231 -231
  1226. package/.claude/skills/team-frontend-debug/roles/verifier/role.md +172 -172
  1227. package/.claude/skills/team-frontend-debug/specs/debug-tools.md +215 -215
  1228. package/.claude/skills/team-frontend-debug/specs/pipelines.md +94 -94
  1229. package/.claude/skills/team-interactive-craft/SKILL.md +141 -141
  1230. package/.claude/skills/team-interactive-craft/roles/a11y-tester/role.md +159 -159
  1231. package/.claude/skills/team-interactive-craft/roles/builder/role.md +216 -216
  1232. package/.claude/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
  1233. package/.claude/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
  1234. package/.claude/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
  1235. package/.claude/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
  1236. package/.claude/skills/team-interactive-craft/roles/interaction-designer/role.md +144 -144
  1237. package/.claude/skills/team-interactive-craft/roles/researcher/role.md +131 -131
  1238. package/.claude/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
  1239. package/.claude/skills/team-interactive-craft/specs/pipelines.md +85 -85
  1240. package/.claude/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
  1241. package/.claude/skills/team-issue/SKILL.md +171 -171
  1242. package/.claude/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
  1243. package/.claude/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
  1244. package/.claude/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
  1245. package/.claude/skills/team-issue/roles/coordinator/role.md +175 -175
  1246. package/.claude/skills/team-issue/roles/explorer/role.md +102 -102
  1247. package/.claude/skills/team-issue/roles/implementer/role.md +87 -87
  1248. package/.claude/skills/team-issue/roles/integrator/role.md +84 -84
  1249. package/.claude/skills/team-issue/roles/planner/role.md +81 -81
  1250. package/.claude/skills/team-issue/roles/reviewer/role.md +86 -86
  1251. package/.claude/skills/team-issue/specs/pipelines.md +124 -124
  1252. package/.claude/skills/team-lifecycle-v4/SKILL.md +209 -209
  1253. package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
  1254. package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
  1255. package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
  1256. package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
  1257. package/.claude/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
  1258. package/.claude/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
  1259. package/.claude/skills/team-lifecycle-v4/roles/executor/role.md +67 -67
  1260. package/.claude/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
  1261. package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
  1262. package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
  1263. package/.claude/skills/team-lifecycle-v4/roles/reviewer/role.md +69 -69
  1264. package/.claude/skills/team-lifecycle-v4/roles/supervisor/role.md +192 -192
  1265. package/.claude/skills/team-lifecycle-v4/roles/tester/role.md +87 -87
  1266. package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  1267. package/.claude/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
  1268. package/.claude/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
  1269. package/.claude/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
  1270. package/.claude/skills/team-lifecycle-v4/templates/architecture.md +254 -254
  1271. package/.claude/skills/team-lifecycle-v4/templates/epics.md +196 -196
  1272. package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
  1273. package/.claude/skills/team-lifecycle-v4/templates/requirements.md +224 -224
  1274. package/.claude/skills/team-motion-design/SKILL.md +142 -142
  1275. package/.claude/skills/team-motion-design/roles/animator/role.md +194 -194
  1276. package/.claude/skills/team-motion-design/roles/choreographer/role.md +164 -164
  1277. package/.claude/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
  1278. package/.claude/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
  1279. package/.claude/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
  1280. package/.claude/skills/team-motion-design/roles/coordinator/role.md +167 -167
  1281. package/.claude/skills/team-motion-design/roles/motion-researcher/role.md +115 -115
  1282. package/.claude/skills/team-motion-design/roles/motion-tester/role.md +175 -175
  1283. package/.claude/skills/team-motion-design/specs/gpu-constraints.md +114 -114
  1284. package/.claude/skills/team-motion-design/specs/motion-tokens.md +128 -128
  1285. package/.claude/skills/team-motion-design/specs/pipelines.md +74 -74
  1286. package/.claude/skills/team-motion-design/specs/reduced-motion.md +129 -129
  1287. package/.claude/skills/team-perf-opt/SKILL.md +175 -175
  1288. package/.claude/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
  1289. package/.claude/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
  1290. package/.claude/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
  1291. package/.claude/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
  1292. package/.claude/skills/team-perf-opt/roles/coordinator/role.md +147 -147
  1293. package/.claude/skills/team-perf-opt/roles/optimizer/role.md +99 -99
  1294. package/.claude/skills/team-perf-opt/roles/profiler/role.md +81 -81
  1295. package/.claude/skills/team-perf-opt/roles/reviewer/role.md +75 -75
  1296. package/.claude/skills/team-perf-opt/roles/strategist/role.md +94 -94
  1297. package/.claude/skills/team-perf-opt/specs/pipelines.md +65 -65
  1298. package/.claude/skills/team-planex/SKILL.md +137 -137
  1299. package/.claude/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
  1300. package/.claude/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
  1301. package/.claude/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
  1302. package/.claude/skills/team-planex/roles/coordinator/role.md +140 -140
  1303. package/.claude/skills/team-planex/roles/executor/role.md +91 -91
  1304. package/.claude/skills/team-planex/roles/planner/role.md +119 -119
  1305. package/.claude/skills/team-planex/specs/pipelines.md +93 -93
  1306. package/.claude/skills/team-quality-assurance/SKILL.md +147 -147
  1307. package/.claude/skills/team-quality-assurance/roles/analyst/role.md +88 -88
  1308. package/.claude/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
  1309. package/.claude/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
  1310. package/.claude/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
  1311. package/.claude/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
  1312. package/.claude/skills/team-quality-assurance/roles/executor/role.md +66 -66
  1313. package/.claude/skills/team-quality-assurance/roles/generator/role.md +68 -68
  1314. package/.claude/skills/team-quality-assurance/roles/scout/role.md +79 -79
  1315. package/.claude/skills/team-quality-assurance/roles/strategist/role.md +71 -71
  1316. package/.claude/skills/team-quality-assurance/specs/pipelines.md +115 -115
  1317. package/.claude/skills/team-quality-assurance/specs/team-config.json +8 -8
  1318. package/.claude/skills/team-review/SKILL.md +147 -147
  1319. package/.claude/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
  1320. package/.claude/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
  1321. package/.claude/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
  1322. package/.claude/skills/team-review/roles/coordinator/role.md +132 -132
  1323. package/.claude/skills/team-review/roles/fixer/role.md +76 -76
  1324. package/.claude/skills/team-review/specs/dimensions.md +82 -82
  1325. package/.claude/skills/team-review/specs/pipelines.md +102 -102
  1326. package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
  1327. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
  1328. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
  1329. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
  1330. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
  1331. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
  1332. package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
  1333. package/.claude/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
  1334. package/.claude/skills/team-roadmap-dev/roles/executor/role.md +72 -72
  1335. package/.claude/skills/team-roadmap-dev/roles/planner/role.md +86 -86
  1336. package/.claude/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
  1337. package/.claude/skills/team-roadmap-dev/specs/pipelines.md +93 -93
  1338. package/.claude/skills/team-roadmap-dev/specs/team-config.json +3 -3
  1339. package/.claude/skills/team-swarm/SKILL.md +178 -178
  1340. package/.claude/skills/team-tech-debt/SKILL.md +128 -128
  1341. package/.claude/skills/team-tech-debt/roles/assessor/role.md +77 -77
  1342. package/.claude/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
  1343. package/.claude/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
  1344. package/.claude/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
  1345. package/.claude/skills/team-tech-debt/roles/coordinator/role.md +123 -123
  1346. package/.claude/skills/team-tech-debt/roles/executor/role.md +1 -1
  1347. package/.claude/skills/team-tech-debt/roles/planner/role.md +69 -69
  1348. package/.claude/skills/team-tech-debt/roles/scanner/role.md +90 -90
  1349. package/.claude/skills/team-tech-debt/roles/validator/role.md +2 -2
  1350. package/.claude/skills/team-tech-debt/specs/pipelines.md +47 -47
  1351. package/.claude/skills/team-tech-debt/specs/team-config.json +5 -5
  1352. package/.claude/skills/team-testing/SKILL.md +143 -143
  1353. package/.claude/skills/team-testing/roles/analyst/role.md +103 -103
  1354. package/.claude/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
  1355. package/.claude/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
  1356. package/.claude/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
  1357. package/.claude/skills/team-testing/roles/coordinator/role.md +134 -134
  1358. package/.claude/skills/team-testing/roles/executor/role.md +2 -2
  1359. package/.claude/skills/team-testing/roles/generator/role.md +1 -1
  1360. package/.claude/skills/team-testing/roles/strategist/role.md +83 -83
  1361. package/.claude/skills/team-testing/specs/pipelines.md +101 -101
  1362. package/.claude/skills/team-ui-polish/SKILL.md +141 -141
  1363. package/.claude/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
  1364. package/.claude/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
  1365. package/.claude/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
  1366. package/.claude/skills/team-ui-polish/roles/coordinator/role.md +170 -170
  1367. package/.claude/skills/team-ui-polish/roles/diagnostician/role.md +160 -160
  1368. package/.claude/skills/team-ui-polish/roles/optimizer/role.md +225 -225
  1369. package/.claude/skills/team-ui-polish/roles/scanner/role.md +356 -356
  1370. package/.claude/skills/team-ui-polish/roles/verifier/role.md +142 -142
  1371. package/.claude/skills/team-ui-polish/specs/anti-patterns.md +141 -141
  1372. package/.claude/skills/team-ui-polish/specs/design-standards.md +356 -356
  1373. package/.claude/skills/team-ui-polish/specs/fix-strategies.md +235 -235
  1374. package/.claude/skills/team-ui-polish/specs/pipelines.md +81 -81
  1375. package/.claude/skills/team-ui-polish/specs/scoring-guide.md +162 -162
  1376. package/.claude/skills/team-uidesign/SKILL.md +144 -144
  1377. package/.claude/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
  1378. package/.claude/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
  1379. package/.claude/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
  1380. package/.claude/skills/team-uidesign/roles/coordinator/role.md +168 -168
  1381. package/.claude/skills/team-uidesign/roles/designer/role.md +93 -93
  1382. package/.claude/skills/team-uidesign/roles/implementer/role.md +94 -94
  1383. package/.claude/skills/team-uidesign/roles/researcher/role.md +101 -101
  1384. package/.claude/skills/team-uidesign/roles/reviewer/role.md +69 -69
  1385. package/.claude/skills/team-uidesign/specs/anti-patterns.md +211 -211
  1386. package/.claude/skills/team-uidesign/specs/design-standards.md +329 -329
  1387. package/.claude/skills/team-uidesign/specs/pipelines.md +76 -76
  1388. package/.claude/skills/team-uidesign/specs/scoring-guide.md +114 -114
  1389. package/.claude/skills/team-uidesign/specs/ux-writing.md +86 -86
  1390. package/.claude/skills/team-ultra-analyze/SKILL.md +173 -173
  1391. package/.claude/skills/team-ultra-analyze/roles/analyst/role.md +98 -98
  1392. package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
  1393. package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
  1394. package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
  1395. package/.claude/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
  1396. package/.claude/skills/team-ultra-analyze/roles/discussant/role.md +107 -107
  1397. package/.claude/skills/team-ultra-analyze/roles/explorer/role.md +82 -82
  1398. package/.claude/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
  1399. package/.claude/skills/team-ultra-analyze/specs/pipelines.md +64 -64
  1400. package/.claude/skills/team-ultra-analyze/specs/team-config.json +6 -6
  1401. package/.claude/skills/team-ux-improve/SKILL.md +151 -151
  1402. package/.claude/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
  1403. package/.claude/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
  1404. package/.claude/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
  1405. package/.claude/skills/team-ux-improve/roles/coordinator/role.md +142 -142
  1406. package/.claude/skills/team-ux-improve/roles/designer/role.md +152 -152
  1407. package/.claude/skills/team-ux-improve/roles/diagnoser/role.md +108 -108
  1408. package/.claude/skills/team-ux-improve/roles/explorer/role.md +77 -77
  1409. package/.claude/skills/team-ux-improve/roles/implementer/role.md +102 -102
  1410. package/.claude/skills/team-ux-improve/roles/scanner/role.md +135 -135
  1411. package/.claude/skills/team-ux-improve/roles/tester/role.md +84 -84
  1412. package/.claude/skills/team-ux-improve/specs/anti-patterns.md +103 -103
  1413. package/.claude/skills/team-ux-improve/specs/design-standards.md +54 -54
  1414. package/.claude/skills/team-ux-improve/specs/heuristics.md +88 -88
  1415. package/.claude/skills/team-ux-improve/specs/pipelines.md +54 -54
  1416. package/.claude/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
  1417. package/.claude/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
  1418. package/.claude/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
  1419. package/.claude/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
  1420. package/.claude/skills/team-visual-a11y/SKILL.md +156 -156
  1421. package/.claude/skills/team-visual-a11y/roles/color-auditor/role.md +178 -178
  1422. package/.claude/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
  1423. package/.claude/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
  1424. package/.claude/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
  1425. package/.claude/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
  1426. package/.claude/skills/team-visual-a11y/roles/fix-implementer/role.md +246 -246
  1427. package/.claude/skills/team-visual-a11y/roles/focus-auditor/role.md +222 -222
  1428. package/.claude/skills/team-visual-a11y/roles/remediation-planner/role.md +206 -206
  1429. package/.claude/skills/team-visual-a11y/roles/typo-auditor/role.md +185 -185
  1430. package/.claude/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
  1431. package/.claude/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
  1432. package/.claude/skills/team-visual-a11y/specs/pipelines.md +98 -98
  1433. package/.claude/skills/team-visual-a11y/specs/typography-scale.md +165 -165
  1434. package/.claude/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
  1435. package/.codex/skills/codify-to-knowhow/SKILL.md +3 -3
  1436. package/.codex/skills/learn-decompose/SKILL.md +1 -1
  1437. package/.codex/skills/learn-investigate/SKILL.md +1 -1
  1438. package/.codex/skills/maestro/SKILL.md +573 -565
  1439. package/.codex/skills/maestro-analyze/SKILL.md +3 -3
  1440. package/.codex/skills/maestro-blueprint/SKILL.md +2 -2
  1441. package/.codex/skills/maestro-brainstorm/SKILL.md +3 -3
  1442. package/.codex/skills/maestro-collab/SKILL.md +2 -2
  1443. package/.codex/skills/maestro-companion/SKILL.md +5 -5
  1444. package/.codex/skills/maestro-composer/SKILL.md +2 -2
  1445. package/.codex/skills/maestro-execute/SKILL.md +2 -2
  1446. package/.codex/skills/maestro-fork/SKILL.md +156 -156
  1447. package/.codex/skills/maestro-grill/SKILL.md +2 -2
  1448. package/.codex/skills/maestro-impeccable/SKILL.md +1 -1
  1449. package/.codex/skills/maestro-init/SKILL.md +161 -161
  1450. package/.codex/skills/maestro-milestone-audit/SKILL.md +202 -202
  1451. package/.codex/skills/maestro-milestone-complete/SKILL.md +1 -1
  1452. package/.codex/skills/maestro-overlay/SKILL.md +119 -119
  1453. package/.codex/skills/maestro-plan/SKILL.md +1 -1
  1454. package/.codex/skills/maestro-quick/SKILL.md +2 -2
  1455. package/.codex/skills/maestro-ralph/SKILL.md +138 -11
  1456. package/.codex/skills/maestro-ralph-execute/SKILL.md +17 -6
  1457. package/.codex/skills/maestro-roadmap/SKILL.md +2 -2
  1458. package/.codex/skills/maestro-tools-execute/SKILL.md +3 -3
  1459. package/.codex/skills/maestro-tools-register/SKILL.md +2 -2
  1460. package/.codex/skills/maestro-ui-codify/SKILL.md +2 -2
  1461. package/.codex/skills/manage-codebase-refresh/SKILL.md +72 -72
  1462. package/.codex/skills/manage-drift-realign/SKILL.md +471 -0
  1463. package/.codex/skills/manage-issue/SKILL.md +88 -88
  1464. package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
  1465. package/.codex/skills/manage-learn/SKILL.md +137 -137
  1466. package/.codex/skills/manage-status/SKILL.md +75 -75
  1467. package/.codex/skills/odyssey-debug/SKILL.md +2 -2
  1468. package/.codex/skills/odyssey-improve/SKILL.md +3 -3
  1469. package/.codex/skills/odyssey-planex/SKILL.md +3 -3
  1470. package/.codex/skills/odyssey-review-test-fix/SKILL.md +2 -2
  1471. package/.codex/skills/odyssey-ui/SKILL.md +3 -3
  1472. package/.codex/skills/quality-debug/SKILL.md +1 -1
  1473. package/.codex/skills/quality-refactor/SKILL.md +1 -1
  1474. package/.codex/skills/quality-review/SKILL.md +1 -1
  1475. package/.codex/skills/quality-test/SKILL.md +1 -1
  1476. package/.codex/skills/spec-load/SKILL.md +1 -1
  1477. package/.codex/skills/spec-setup/SKILL.md +73 -73
  1478. package/.codex/skills/team-coordinate/SKILL.md +1 -1
  1479. package/.codex/skills/team-lifecycle-v4/roles/executor/role.md +3 -3
  1480. package/.codex/skills/team-quality-assurance/roles/analyst/role.md +1 -1
  1481. package/.codex/skills/team-quality-assurance/roles/executor/role.md +1 -1
  1482. package/.codex/skills/team-quality-assurance/specs/team-config.json +8 -8
  1483. package/.codex/skills/team-review/roles/reviewer/role.md +1 -1
  1484. package/.codex/skills/team-tech-debt/roles/assessor/role.md +2 -2
  1485. package/.codex/skills/team-tech-debt/roles/planner/role.md +2 -2
  1486. package/.codex/skills/team-tech-debt/roles/scanner/role.md +2 -2
  1487. package/.codex/skills/team-tech-debt/roles/validator/role.md +1 -1
  1488. package/.codex/skills/team-tech-debt/specs/team-config.json +5 -5
  1489. package/.codex/skills/team-testing/roles/executor/role.md +2 -2
  1490. package/.codex/skills/team-testing/roles/generator/role.md +1 -1
  1491. package/README.md +25 -8
  1492. package/README.zh-CN.md +6 -6
  1493. package/chains/_intent-map.json +307 -313
  1494. package/chains/_router.json +149 -168
  1495. package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js +3 -0
  1496. package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js.map +1 -1
  1497. package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.d.ts +0 -10
  1498. package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js +0 -73
  1499. package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js.map +1 -1
  1500. package/dashboard/dist-server/dashboard/src/server/wiki/search.js +3 -23
  1501. package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
  1502. package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +61 -2
  1503. package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
  1504. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +47 -54
  1505. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
  1506. package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.d.ts +4 -0
  1507. package/dashboard/dist-server/shared/agent-types.d.ts +2 -0
  1508. package/dashboard/dist-server/src/commands/hooks.js +7 -3
  1509. package/dashboard/dist-server/src/commands/hooks.js.map +1 -1
  1510. package/dashboard/dist-server/src/commands/install-backend.d.ts +11 -1
  1511. package/dashboard/dist-server/src/commands/install-backend.js +70 -1
  1512. package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
  1513. package/dashboard/dist-server/src/coordinator/graph-types.d.ts +6 -0
  1514. package/dashboard/dist-server/src/coordinator/graph-walker.js +7 -2
  1515. package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
  1516. package/dashboard/dist-server/src/core/component-defs.d.ts +17 -0
  1517. package/dashboard/dist-server/src/core/component-defs.js +49 -2
  1518. package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
  1519. package/dashboard/dist-server/src/hooks/spec-injector.js +7 -8
  1520. package/dashboard/dist-server/src/hooks/spec-injector.js.map +1 -1
  1521. package/dashboard/dist-server/src/search/daemon-client.d.ts +33 -0
  1522. package/dashboard/dist-server/src/search/daemon-client.js +115 -0
  1523. package/dashboard/dist-server/src/search/daemon-client.js.map +1 -0
  1524. package/dashboard/dist-server/src/tools/spec-entry-parser.js +1 -1
  1525. package/dashboard/dist-server/src/tools/spec-entry-parser.js.map +1 -1
  1526. package/dashboard/dist-server/src/tools/spec-loader.js +2 -2
  1527. package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
  1528. package/dist/shared/agent-types.d.ts +2 -0
  1529. package/dist/shared/agent-types.d.ts.map +1 -1
  1530. package/dist/src/agents/api-explore/config.d.ts +5 -1
  1531. package/dist/src/agents/api-explore/config.d.ts.map +1 -1
  1532. package/dist/src/agents/api-explore/config.js +6 -3
  1533. package/dist/src/agents/api-explore/config.js.map +1 -1
  1534. package/dist/src/agents/api-explore/index.js +6 -1
  1535. package/dist/src/agents/api-explore/index.js.map +1 -1
  1536. package/dist/src/agents/api-explore/llm.d.ts +2 -0
  1537. package/dist/src/agents/api-explore/llm.d.ts.map +1 -1
  1538. package/dist/src/agents/api-explore/llm.js +138 -2
  1539. package/dist/src/agents/api-explore/llm.js.map +1 -1
  1540. package/dist/src/cli.js +2 -0
  1541. package/dist/src/cli.js.map +1 -1
  1542. package/dist/src/commands/coordinate.d.ts.map +1 -1
  1543. package/dist/src/commands/coordinate.js +2 -0
  1544. package/dist/src/commands/coordinate.js.map +1 -1
  1545. package/dist/src/commands/hooks.d.ts.map +1 -1
  1546. package/dist/src/commands/hooks.js +7 -3
  1547. package/dist/src/commands/hooks.js.map +1 -1
  1548. package/dist/src/commands/install-backend.d.ts +11 -1
  1549. package/dist/src/commands/install-backend.d.ts.map +1 -1
  1550. package/dist/src/commands/install-backend.js +70 -1
  1551. package/dist/src/commands/install-backend.js.map +1 -1
  1552. package/dist/src/commands/install.d.ts.map +1 -1
  1553. package/dist/src/commands/install.js +8 -2
  1554. package/dist/src/commands/install.js.map +1 -1
  1555. package/dist/src/commands/load.d.ts +12 -0
  1556. package/dist/src/commands/load.d.ts.map +1 -0
  1557. package/dist/src/commands/load.js +185 -0
  1558. package/dist/src/commands/load.js.map +1 -0
  1559. package/dist/src/commands/ralph.d.ts.map +1 -1
  1560. package/dist/src/commands/ralph.js +8 -0
  1561. package/dist/src/commands/ralph.js.map +1 -1
  1562. package/dist/src/commands/search.d.ts +15 -1
  1563. package/dist/src/commands/search.d.ts.map +1 -1
  1564. package/dist/src/commands/search.js +184 -52
  1565. package/dist/src/commands/search.js.map +1 -1
  1566. package/dist/src/commands/timeline.d.ts +14 -0
  1567. package/dist/src/commands/timeline.d.ts.map +1 -0
  1568. package/dist/src/commands/timeline.js +377 -0
  1569. package/dist/src/commands/timeline.js.map +1 -0
  1570. package/dist/src/commands/update.d.ts.map +1 -1
  1571. package/dist/src/commands/update.js +50 -47
  1572. package/dist/src/commands/update.js.map +1 -1
  1573. package/dist/src/commands/wiki.d.ts.map +1 -1
  1574. package/dist/src/commands/wiki.js +29 -28
  1575. package/dist/src/commands/wiki.js.map +1 -1
  1576. package/dist/src/coordinator/graph-types.d.ts +6 -0
  1577. package/dist/src/coordinator/graph-types.d.ts.map +1 -1
  1578. package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
  1579. package/dist/src/coordinator/graph-walker.js +7 -2
  1580. package/dist/src/coordinator/graph-walker.js.map +1 -1
  1581. package/dist/src/core/component-defs.d.ts +17 -0
  1582. package/dist/src/core/component-defs.d.ts.map +1 -1
  1583. package/dist/src/core/component-defs.js +49 -2
  1584. package/dist/src/core/component-defs.js.map +1 -1
  1585. package/dist/src/core/install-executor.d.ts.map +1 -1
  1586. package/dist/src/core/install-executor.js +11 -1
  1587. package/dist/src/core/install-executor.js.map +1 -1
  1588. package/dist/src/core/install-profile.d.ts +7 -0
  1589. package/dist/src/core/install-profile.d.ts.map +1 -1
  1590. package/dist/src/core/install-profile.js +108 -9
  1591. package/dist/src/core/install-profile.js.map +1 -1
  1592. package/dist/src/graph/kg/surface/cli.d.ts.map +1 -1
  1593. package/dist/src/graph/kg/surface/cli.js +2 -1
  1594. package/dist/src/graph/kg/surface/cli.js.map +1 -1
  1595. package/dist/src/hooks/plugins/explore-plugin.d.ts +16 -0
  1596. package/dist/src/hooks/plugins/explore-plugin.d.ts.map +1 -0
  1597. package/dist/src/hooks/plugins/explore-plugin.js +63 -0
  1598. package/dist/src/hooks/plugins/explore-plugin.js.map +1 -0
  1599. package/dist/src/hooks/plugins/index.d.ts +2 -0
  1600. package/dist/src/hooks/plugins/index.d.ts.map +1 -1
  1601. package/dist/src/hooks/plugins/index.js +1 -0
  1602. package/dist/src/hooks/plugins/index.js.map +1 -1
  1603. package/dist/src/hooks/spec-injector.d.ts.map +1 -1
  1604. package/dist/src/hooks/spec-injector.js +7 -8
  1605. package/dist/src/hooks/spec-injector.js.map +1 -1
  1606. package/dist/src/i18n/detect.d.ts +2 -1
  1607. package/dist/src/i18n/detect.d.ts.map +1 -1
  1608. package/dist/src/i18n/detect.js +32 -8
  1609. package/dist/src/i18n/detect.js.map +1 -1
  1610. package/dist/src/i18n/locales/en.d.ts.map +1 -1
  1611. package/dist/src/i18n/locales/en.js +4 -1
  1612. package/dist/src/i18n/locales/en.js.map +1 -1
  1613. package/dist/src/i18n/locales/zh.d.ts.map +1 -1
  1614. package/dist/src/i18n/locales/zh.js +4 -1
  1615. package/dist/src/i18n/locales/zh.js.map +1 -1
  1616. package/dist/src/i18n/types.d.ts +3 -0
  1617. package/dist/src/i18n/types.d.ts.map +1 -1
  1618. package/dist/src/ralph/cmd-complete.d.ts +4 -0
  1619. package/dist/src/ralph/cmd-complete.d.ts.map +1 -1
  1620. package/dist/src/ralph/cmd-complete.js +8 -0
  1621. package/dist/src/ralph/cmd-complete.js.map +1 -1
  1622. package/dist/src/ralph/cmd-next.d.ts.map +1 -1
  1623. package/dist/src/ralph/cmd-next.js +68 -9
  1624. package/dist/src/ralph/cmd-next.js.map +1 -1
  1625. package/dist/src/ralph/status-schema.d.ts +29 -2
  1626. package/dist/src/ralph/status-schema.d.ts.map +1 -1
  1627. package/dist/src/ralph/status-schema.js +1 -1
  1628. package/dist/src/search/daemon-client.d.ts +34 -0
  1629. package/dist/src/search/daemon-client.d.ts.map +1 -0
  1630. package/dist/src/search/daemon-client.js +115 -0
  1631. package/dist/src/search/daemon-client.js.map +1 -0
  1632. package/dist/src/search/daemon.d.ts.map +1 -1
  1633. package/dist/src/search/daemon.js +8 -6
  1634. package/dist/src/search/daemon.js.map +1 -1
  1635. package/dist/src/tools/spec-entry-parser.js +1 -1
  1636. package/dist/src/tools/spec-entry-parser.js.map +1 -1
  1637. package/dist/src/tools/spec-loader.js +2 -2
  1638. package/dist/src/tools/spec-loader.js.map +1 -1
  1639. package/dist/src/tools/store-knowhow.d.ts.map +1 -1
  1640. package/dist/src/tools/store-knowhow.js +4 -4
  1641. package/dist/src/tools/store-knowhow.js.map +1 -1
  1642. package/dist/src/tui/install-ui/BackupConfig.js +1 -1
  1643. package/dist/src/tui/install-ui/BackupConfig.js.map +1 -1
  1644. package/dist/src/tui/install-ui/ComponentGrid.d.ts.map +1 -1
  1645. package/dist/src/tui/install-ui/ComponentGrid.js +71 -38
  1646. package/dist/src/tui/install-ui/ComponentGrid.js.map +1 -1
  1647. package/dist/src/tui/install-ui/ComponentGrid.logic.d.ts +12 -3
  1648. package/dist/src/tui/install-ui/ComponentGrid.logic.d.ts.map +1 -1
  1649. package/dist/src/tui/install-ui/ComponentGrid.logic.js +21 -4
  1650. package/dist/src/tui/install-ui/ComponentGrid.logic.js.map +1 -1
  1651. package/dist/src/tui/install-ui/CyberItem.d.ts +3 -1
  1652. package/dist/src/tui/install-ui/CyberItem.d.ts.map +1 -1
  1653. package/dist/src/tui/install-ui/CyberItem.js +13 -15
  1654. package/dist/src/tui/install-ui/CyberItem.js.map +1 -1
  1655. package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -1
  1656. package/dist/src/tui/install-ui/ExtraMcpConfig.js +2 -4
  1657. package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -1
  1658. package/dist/src/tui/install-ui/GroupedHub.d.ts +9 -0
  1659. package/dist/src/tui/install-ui/GroupedHub.d.ts.map +1 -1
  1660. package/dist/src/tui/install-ui/GroupedHub.js +59 -52
  1661. package/dist/src/tui/install-ui/GroupedHub.js.map +1 -1
  1662. package/dist/src/tui/install-ui/HooksConfig.d.ts.map +1 -1
  1663. package/dist/src/tui/install-ui/HooksConfig.js +1 -1
  1664. package/dist/src/tui/install-ui/HooksConfig.js.map +1 -1
  1665. package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
  1666. package/dist/src/tui/install-ui/InstallConfirm.js +2 -2
  1667. package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
  1668. package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
  1669. package/dist/src/tui/install-ui/InstallExecution.js +3 -3
  1670. package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
  1671. package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
  1672. package/dist/src/tui/install-ui/InstallFlow.js +54 -5
  1673. package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
  1674. package/dist/src/tui/install-ui/InstallResult.js +3 -3
  1675. package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
  1676. package/dist/src/tui/install-ui/McpConfig.js +1 -1
  1677. package/dist/src/tui/install-ui/McpConfig.js.map +1 -1
  1678. package/dist/src/tui/install-ui/StatuslineConfig.js +2 -2
  1679. package/dist/src/tui/install-ui/StatuslineConfig.js.map +1 -1
  1680. package/dist/src/tui/install-ui/StepSelector.js +1 -1
  1681. package/dist/src/tui/install-ui/StepSelector.js.map +1 -1
  1682. package/dist/src/tui/install-ui/types.d.ts +1 -0
  1683. package/dist/src/tui/install-ui/types.d.ts.map +1 -1
  1684. package/dist/src/tui/install-ui/types.js.map +1 -1
  1685. package/dist/src/tui/install-ui/useInstallFlowState.d.ts +8 -2
  1686. package/dist/src/tui/install-ui/useInstallFlowState.d.ts.map +1 -1
  1687. package/dist/src/tui/install-ui/useInstallFlowState.js +145 -15
  1688. package/dist/src/tui/install-ui/useInstallFlowState.js.map +1 -1
  1689. package/dist/src/utils/cli-format.d.ts +3 -3
  1690. package/dist/src/utils/cli-format.d.ts.map +1 -1
  1691. package/dist/src/utils/cli-format.js +32 -21
  1692. package/dist/src/utils/cli-format.js.map +1 -1
  1693. package/dist/src/utils/update-notices.js +12 -0
  1694. package/dist/src/utils/update-notices.js.map +1 -1
  1695. package/package.json +1 -1
  1696. package/shared/agent-types.ts +2 -0
  1697. package/workflows/agy-instructions.md +127 -88
  1698. package/workflows/analyze.md +2 -2
  1699. package/workflows/auto-test.md +7 -1
  1700. package/workflows/blueprint.md +22 -19
  1701. package/workflows/brainstorm.md +11 -3
  1702. package/workflows/business-test.md +4 -0
  1703. package/workflows/claude-instructions.md +47 -29
  1704. package/workflows/codebase-rebuild.md +8 -1
  1705. package/workflows/codebase-refresh.md +7 -1
  1706. package/workflows/codex-instructions.md +47 -29
  1707. package/workflows/debug.md +5 -2
  1708. package/workflows/domain-add.md +6 -0
  1709. package/workflows/drift-realign.md +396 -0
  1710. package/workflows/execute.md +5 -4
  1711. package/workflows/explore-usage.md +8 -3
  1712. package/workflows/finish-work.md +6 -6
  1713. package/workflows/fork.md +2 -2
  1714. package/workflows/grill.md +6 -5
  1715. package/workflows/harvest.md +2 -2
  1716. package/workflows/impeccable.md +3 -2
  1717. package/workflows/init.md +7 -7
  1718. package/workflows/integration-test.md +1 -0
  1719. package/workflows/issue-discover.md +4 -4
  1720. package/workflows/issue-gaps-analyze.codex.md +3 -1
  1721. package/workflows/issue-gaps-analyze.md +6 -7
  1722. package/workflows/issue-plan.md +1 -1
  1723. package/workflows/knowhow.md +7 -1
  1724. package/workflows/knowledge-audit.md +1 -1
  1725. package/workflows/maestro-super.md +2 -2
  1726. package/workflows/maestro.md +3 -3
  1727. package/workflows/map.md +2 -2
  1728. package/workflows/milestone-audit.md +1 -1
  1729. package/workflows/milestone-complete.md +1 -1
  1730. package/workflows/plan.md +7 -6
  1731. package/workflows/quick.md +8 -6
  1732. package/workflows/ralph-amend-goal.md +177 -0
  1733. package/workflows/refactor.md +2 -0
  1734. package/workflows/retrospective.md +7 -3
  1735. package/workflows/review.md +6 -4
  1736. package/workflows/roadmap-common.md +3 -3
  1737. package/workflows/roadmap.md +8 -5
  1738. package/workflows/spec-generate.md +23 -18
  1739. package/workflows/specs-load.md +1 -1
  1740. package/workflows/specs-setup.md +2 -0
  1741. package/workflows/sync.md +4 -2
  1742. package/workflows/test-gen.md +1 -1
  1743. package/workflows/test.md +1 -1
  1744. package/workflows/ui-codify-extract.md +1 -0
  1745. package/workflows/ui-codify-knowhow.md +1 -1
  1746. package/workflows/ui-codify-package.md +1 -1
  1747. package/workflows/ui-codify.md +9 -7
  1748. package/workflows/ui-design.md +9 -7
  1749. package/workflows/ui-style.md +6 -4
  1750. package/workflows/verify.md +4 -4
  1751. package/workflows/wiki-connect.md +2 -0
  1752. package/workflows/wiki-digest.md +5 -3
  1753. package/workflows/wiki-manage.md +4 -0
  1754. package/chains/singles/spec-generate.json +0 -31
  1755. package/workflows/maestro.codex.md +0 -365
@@ -13,279 +13,290 @@ allowed-tools:
13
13
  ---
14
14
  <!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
15
15
 
16
- <purpose>
17
- Single-step executor for ralph (adaptive) and maestro (static) sessions.
18
- Each invocation: locate session → find next step → resolve args → execute → update → self-invoke next.
19
-
20
- Mutual invocation with `/maestro-ralph` forms a self-perpetuating work loop.
21
- Session: `.workflow/.maestro/*/status.json`
22
- </purpose>
23
-
24
- <context>
25
- $ARGUMENTS — optional `-y` flag + optional session ID.
26
-
27
- **Parse:**
28
- ```
29
- -y / --yes → auto = true
30
- Remaining → session_id (if matches maestro-* or ralph-*)
31
- ```
32
- Also read `session.auto_mode` from status.json — if true, treat as `-y`.
33
-
34
- **Step kinds:**
35
-
36
- | Kind | Identifier | Execution | Flow after |
37
- |------|-----------|-----------|------------|
38
- | decision step | `step.decision` 非空 | `invoke_skill("maestro-ralph")` | Execution ends here |
39
- | 执行 step | `step.decision == null` | `shell("maestro ralph next")` → 内联按其 stdout 执行 → `shell("maestro ralph complete N --status ...")` | Self-invoke next |
40
-
41
- HARD RULES:
42
- - 执行 step:**统一通过 `maestro ralph next` CLI 加载**。CLI 负责读 command_path、解析 `<required_reading>` + `<deferred_reading>`、拼接 prompt、写 `step.load.*` + `active_step_index` + `step.status="running"`。不要再在会话里手动 Read + 解析 required_reading
43
- - decision step:A_EXEC_DECISION 通过 `invoke_skill({ skill: "maestro-ralph" })` handoff 给 ralph 评估(不走 CLI)
44
- - `command_path` 由 ralph 在 A_BUILD_STEPS 写入 status.json(缺失 → ralph next 返回 E006/E007 并拒绝执行)
45
- - 每个 step 结束必须调用 `maestro ralph complete N --status <S>` 或 `maestro ralph retry N`。STATUS 仅 4 个合法值:`DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`(**`NEEDS_CONTEXT` 已废除**,context 容量由 harness 自动压缩处理)
46
- </context>
47
-
48
- <invariants>
49
- 1. **执行 = `ralph next` + inline + `ralph complete`** — 调 `maestro ralph next` 拿到 skill 内容,按 stdout 内联执行
50
- 2. **Required reading 由 CLI 负责** — `ralph next` 自动展开 + 加载 `<required_reading>` 引用的所有文件,缺失 → 退出码 1(E007),不写 active_step_index,不进入执行
51
- 3. **Deferred reading recorded only** — `<deferred_reading>` 路径由 CLI 记录到 `step.load.deferred_files`,执行阶段按需 Read
52
- 4. **一致性取代锁** — 同一 session 同时最多一个 step 持 `active_step_index`;CLI 校验失败直接退出码 3,不静默推进
53
- 5. **Completion 通过 CLI 调用** — 每个 step 末尾调 `maestro ralph complete N --status <S>` 或 `maestro ralph retry N`,由 CLI 写 `completion_*` + 清 `active_step_index`
54
- 6. **Self-invocation chain** — 持续直到全部 `completion_confirmed` 或 paused
55
- 7. **status.json 每步骤后由 CLI 原子写盘** — resume-safe
56
- 8. **STATUS 枚举受限** — 仅 `DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`;`NEEDS_CONTEXT` 已废除
57
- 9. **CLI 输出禁止截断** — `maestro ralph next` 的 stdout 包含完整 skill prompt,必须全量捕获。**严禁** `| head`、`| tail`、`2>&1 | head -N` 等任何截断管道。Bash timeout 可加长但不可截断输出
58
- 10. **禁止以上下文消耗为由中断自调用链** — harness 自动处理 context compression(消息摘要),模型无需判断上下文剩余空间。自调用链的唯一合法终止条件是:全部 `completion_confirmed`、session paused、或 decision handoff 到 ralph。以"上下文不足"、"已连续完成 N 个 step"、"避免 context overflow"等理由中断属于 invariant violation
59
- </invariants>
60
-
61
- <state_machine>
62
-
63
- <states>
64
- S_LOCATE — 定位 session + 找下一个 pending step PERSIST: —
65
- S_RESOLVE_ARGS — 解析占位符 + 丰富参数 PERSIST: step.args (enriched)
66
- S_EXECUTE — 执行当前 step PERSIST: step.status = "running", session.current_step
67
- S_POST_EXEC — 标记完成 + 传播上下文 PERSIST: step.completion_*, step.status, session.context
68
- S_HANDLE_FAIL — 处理失败 PERSIST: step.status, session.status
69
- S_COMPLETE — 所有 step 完成 PERSIST: session.status = "completed"
70
- S_FALLBACK — 无 session 可执行 PERSIST: —
71
- </states>
72
-
73
- <transitions>
74
-
75
- S_LOCATE:
76
- → S_RESOLVE_ARGS WHEN: pending step found DO: A_LOCATE_SESSION
77
- → S_COMPLETE WHEN: no pending steps
78
- → S_FALLBACK WHEN: no running session
79
-
80
- S_RESOLVE_ARGS:
81
- → S_EXECUTE DO: A_RESOLVE_ARGS
82
-
83
- S_EXECUTE:
84
- → END WHEN: step.decision != null DO: A_EXEC_DECISION
85
- → S_POST_EXEC WHEN: step.decision == null + ralph complete invoked with DONE|DONE_WITH_CONCERNS DO: A_EXEC_STEP
86
- → S_HANDLE_FAIL WHEN: step.decision == null + ralph next exit≠0 OR ralph complete with NEEDS_RETRY|BLOCKED DO: A_EXEC_STEP
87
-
88
- S_POST_EXEC:
89
- → S_LOCATE DO: shell("maestro ralph complete ...") + invoke_skill("maestro-ralph-execute")
90
- NOTE: CLI 已写完 completion_*, status, active_step_index;无需额外写盘
91
-
92
- S_HANDLE_FAIL:
93
- → S_LOCATE WHEN: auto + not retried DO: A_RETRY
94
- → END WHEN: auto + retried DO: A_PAUSE_SESSION
95
- → S_LOCATE WHEN: interactive + user selects retry DO: A_RETRY
96
- → S_LOCATE WHEN: interactive + user selects skip DO: A_SKIP_STEP
97
- → END WHEN: interactive + user selects abort DO: A_PAUSE_SESSION
98
-
99
- S_COMPLETE:
100
- → END DO: A_COMPLETE_SESSION
101
-
102
- S_FALLBACK:
103
- → END DO: display "无运行中的会话。使用 /maestro 或 /maestro-ralph 创建。"
104
-
105
- </transitions>
106
-
107
- <actions>
108
-
109
- ### A_LOCATE_SESSION
110
-
111
- 1. If session_id provided → load `.workflow/.maestro/{session_id}/status.json`
112
- 2. Else: scan `.workflow/.maestro/*/status.json`, filter `status == "running"`, sort DESC, take first
113
- 3. Extract: session_id, source, steps[], phase, milestone, intent, auto_mode, context, cli_tool, active_step_index
114
- 4. **不在此处选 pending step**——pending 选择由 `maestro ralph next` CLI 内部完成;A_LOCATE_SESSION 只确认 session 存在且 running,由 A_EXEC_STEP 调 CLI 推进
115
-
116
- ### A_RESOLVE_ARGS
117
-
118
- **Placeholder substitution:**
119
-
120
- | Placeholder | Source |
121
- |-------------|--------|
122
- | `{phase}` | session.phase |
123
- | `{milestone}` | session.milestone |
124
- | `{intent}` | session.intent |
125
- | `{description}` | session.intent (alias) |
126
- | `{scratch_dir}` | session.context.scratch_dir or latest artifact path |
127
- | `{plan_dir}` | session.context.plan_dir |
128
- | `{analysis_dir}` | session.context.analysis_dir |
129
- | `{issue_id}` | session.context.issue_id |
130
- | `{milestone_num}` | session.context.milestone_num |
131
-
132
- **Per-skill enrichment** (when args empty or minimal):
133
-
134
- | Skill | Required context | Source |
135
- |-------|-----------------|--------|
136
- | maestro-brainstorm | topic | `"{intent}"` |
137
- | maestro-roadmap | description | `"{intent}"` |
138
- | maestro-analyze | phase or topic | `{phase}` or `"{intent}"` |
139
- | maestro-plan | phase, --from, or --dir | see --from auto-injection below |
140
- | maestro-execute | phase or --dir | see --from auto-injection below |
141
- | quality-debug | gap context | Read previous step's error/gap |
142
- | quality-* | phase | `{phase}` |
143
-
144
- **--from auto-injection (phase-level artifact chaining):**
145
-
146
- Phase-level steps 在 build 阶段无法预知前序 artifact ID。A_RESOLVE_ARGS 运行时从 state.json 查找并注入显式引用,打通 analyze→plan→execute 数据管道:
147
-
148
- ```
149
- Read state.json.artifacts(含 milestone_history 内归档 artifacts)
150
- → filter by milestone={session.milestone} + phase={session.phase} + status=="completed"
151
-
152
- plan step(含 {phase} 占位符,args 无 --from 且无 --dir):
153
- 1. 查同 phase+milestone 最新 completed type=="analyze" artifact → id = ANL-xxx
154
- 2. 命中 → args 追加 --from analyze:{id}
155
- 3. 写 step.source_artifact_ref = "analyze:{id}"
156
-
157
- execute step(含 {phase} 占位符,args 无 --dir):
158
- 1. 查同 phase+milestone 最新 completed type=="plan" artifact → id = PLN-xxx, path = scratch/...
159
- 2. 命中 → args 追加 --dir .workflow/scratch/{path}
160
- 3. 写 step.source_artifact_ref = "plan:{id}"
161
- ```
162
-
163
- 兜底:查询无结果 → 不注入,由命令自身 discovery 逻辑处理。已有 `--from` 或 `--dir` 的 step 不覆盖。
164
-
165
- **Goal context injection:**
166
-
167
- 当 step.goal_ref 非空且 session.task_decomposition 存在时:
168
- ```
169
- goal = session.task_decomposition.find(g => g.id == step.goal_ref)
170
- if goal:
171
- goal_snippet = { id: goal.id, goal: goal.goal, done_when: goal.done_when,
172
- boundary: goal.boundary, evidence: goal.evidence }
173
- → 传递给 A_EXEC_STEP 用于 inline execution 前注入(见 step 2 goal context pre-injection)
174
- ```
175
-
176
- Write enriched args + source_artifact_ref back to status.json.
177
-
178
- ### A_EXEC_DECISION
179
-
180
- 1. Mark step running, write status.json
181
- 2. Display: `[{index}/{total}] ◆ {step.decision} Retry: {retry}/{max}`
182
- 3. `invoke_skill({ skill: "maestro-ralph" })` — ralph 评估 + handoff
183
- 4. 执行在此结束
184
-
185
- ### A_EXEC_STEP
186
-
187
- 1. **Load** — `shell("maestro ralph next --session <session_id>")` — **必须全量捕获 stdout,严禁 `| head`/`| tail` 等截断管道**(stdout 含完整 skill prompt,截断会导致执行内容不完整)
188
- - 退出码 0 → 按 stdout 内联执行
189
- - 退出码 2 → 交给 S_LOCATE
190
- - 退出码 3 → active_step_index 已被占用
191
- - 退出码 1 → pause session
192
- 2. **Goal context pre-injection** — 若 A_RESOLVE_ARGS 产出了 `goal_snippet`(step.goal_ref 非空),在 ralph next stdout prompt **顶部前置**以下 block,使执行命令感知当前子目标和执行约束:
193
- ```
194
- <goal_context>
195
- Sub-goal: {goal.id} — {goal.goal}
196
- Done when: {goal.done_when}
197
- Boundary: {goal.boundary}
198
- Evidence target: {goal.evidence}
199
- Execution criteria: {session.execution_criteria joined by '; '}
200
- </goal_context>
201
- ```
202
- 无 goal_snippet 时跳过此步。goal_context block 不替换 ralph next 的 stdout 内容,仅在其前方拼接。
203
- 3. **Inline execution** — 按 stdout(含 goal_context 前置)执行;deferred_reading 按需 Read
204
- 4. **Complete**:
205
- - `shell("maestro ralph complete N --status DONE [--evidence <path>]")`
206
- - `shell("maestro ralph complete N --status DONE_WITH_CONCERNS --concerns \"...\"")`
207
- - `shell("maestro ralph retry N")`
208
- - `shell("maestro ralph complete N --status BLOCKED --reason \"...\"")`
209
- 5. **Propagate context signals** — 关键信号 (`PHASE: N` / `scratch_dir: path` / `BLP-xxx`) 写入 `status.json.context`
210
-
211
- 完成后 S_LOCATE 触发 `invoke_skill({ skill: "maestro-ralph-execute" })` 自调用。
212
-
213
- ### A_RETRY
214
-
215
- 1. `shell("maestro ralph retry N")` CLI `step.retried = true`, `step.status = "pending"`, `step.completion_confirmed = false`, 清 `active_step_index`
216
- 2. Display: `[{index}/{total}] {step.skill} retry`
217
-
218
- ### A_SKIP_STEP
219
-
220
- 跳过执行 step — 手动编辑 `status.json`:将该 step `status` 设为 `"skipped"`,`completion_confirmed` 设为 `false`,并清 `active_step_index`(若指向此 step)。
221
- (不提供 CLI 子命令;跳过是非常规操作,避免自动化误用。)
222
-
223
- ### A_PAUSE_SESSION
224
-
225
- 通常由 `ralph complete N --status BLOCKED --reason "..."` 触发,CLI 已写 `session.status = "paused"`。手动 pause 场景下直接编辑 status.json。
226
- Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro-ralph continue 恢复。`
227
-
228
- ### A_COMPLETE_SESSION
229
-
230
- 1. 校验:所有 step `completion_confirmed == true`(除 skipped);task_decomposition 存在时校验 `task_decomposition_all_done == true`
231
- 2. 任一校验失败 → 不标 completed,回 S_LOCATE 或 pause
232
- 3. `session.status = "completed"`, write status.json
233
- 4. Display completion report:
234
- ```
235
- ============================================================
236
- SESSION COMPLETE
237
- ============================================================
238
- Session: {session_id} [{source}]
239
- Steps: {completed}/{total} confirmed: {confirmed}/{completed}
240
-
241
- [✓] 0. maestro-plan 1 [global]
242
- [✓] 1. maestro-execute 1 [project]
243
- [✓] 2. ◆ post-execute [decision]
244
- ...
245
- ============================================================
246
- ```
247
- Icons: `✓` confirmed, `—` skipped, `✗` failed, `◆` decision
248
-
249
- </actions>
250
-
251
- </state_machine>
252
-
253
- <appendix>
254
-
255
- ### Error Codes
256
-
257
- | Code | Severity | Description | Recovery |
258
- |------|----------|-------------|----------|
259
- | E001 | error | No running session found | Suggest /maestro or /maestro-ralph |
260
- | E006 | error | command_path missing/unreachable for 执行 step | `ralph next` 拒绝;编辑 status.json 或重 build |
261
- | E007 | error | required_reading 引用文件缺失 | `ralph next` 拒绝;CLI stderr 列出缺失路径 |
262
- | E008 | error | `ralph complete` idx ≠ active_step_index | 编辑 status.json 修正一致性 |
263
- | E009 | error | `ralph complete` step.status ≠ running | 重复 complete 或非法跳跃;编辑 status.json |
264
- | E010 | error | status.json schema 损坏 | `ralph check` 显示具体损坏字段 |
265
- | W001 | warning | Step completed with concerns | Log and continue |
266
- | W005 | warning | active_step_index 指向已 completed step | `ralph next` 自动清理后继续 |
267
- | W007 | warning | step.skill command .md frontmatter.name | 提示但不阻塞 |
268
-
269
- ### Success Criteria
270
-
271
- - [ ] Session discovery covers maestro-* and ralph-*
272
- - [ ] `-y` parsed from args session.auto_mode;auto=true 时透传 `-y` skill args
273
- - [ ] Placeholders resolved;per-skill enrichment 正确
274
- - [ ] Decision 节点(`step.decision != null`)走 invoke_skill("maestro-ralph") handoff(**不调 ralph next CLI**)
275
- - [ ] 执行 step 通过 `shell("maestro ralph next")` 加载;CLI 返回拼好的 prompt + completion 协议
276
- - [ ] required_reading 由 CLI 自动加载并拼入 prompt;缺失 → CLI 退出码 1,pause session
277
- - [ ] `<deferred_reading>` 由 CLI 记录到 `step.load.deferred_files`,执行阶段按需 Read
278
- - [ ] 每个 step 末尾必须调 `maestro ralph complete N --status <S>` 或 `maestro ralph retry N`
279
- - [ ] STATUS 枚举仅 `DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`;CLI 拒绝 `NEEDS_CONTEXT`
280
- - [ ] active_step_index 一致性由 CLI 维护;E008/E009 直接退出,不静默推进
281
- - [ ] step.completion_evidence 通过 `--evidence` 传入并记录
282
- - [ ] Context signals 由执行 step 显式写回 status.json.context(非 ralph-execute 内嵌扫描)
283
- - [ ] Auto mode: retry 一次后 pause;interactive 提供 retry/skip/abort
284
- - [ ] 自调用持续到全部 completion_confirmed paused
285
- - [ ] --from auto-injection:phase-level plan step 运行时从 state.json 查找同 phase+milestone 最新 completed analyze artifact → 注入 `--from analyze:{id}`,写 `source_artifact_ref`
286
- - [ ] --from auto-injection:phase-level execute step 运行时查找同 phase+milestone 最新 completed plan artifact 注入 `--dir`,写 `source_artifact_ref`
287
- - [ ] Goal context injection:step.goal_ref 非空时从 task_decomposition 提取 goal_snippet,A_EXEC_STEP ralph next stdout 顶部前置 `<goal_context>` block
288
- - [ ] Goal context 包含 sub-goal description、done_when、boundary、evidence、execution_criteria
289
- - [ ] 已有 `--from` `--dir` 的 step 不被 auto-injection 覆盖
290
-
291
- </appendix>
16
+ <purpose>
17
+ Single-step executor for ralph (adaptive) and maestro (static) sessions.
18
+ Each invocation: locate session → find next step → resolve args → execute → update → self-invoke next.
19
+
20
+ Mutual invocation with `/maestro-ralph` forms a self-perpetuating work loop.
21
+ Session: `.workflow/.maestro/*/status.json`
22
+ </purpose>
23
+
24
+ <context>
25
+ $ARGUMENTS — optional `-y` flag + optional session ID.
26
+
27
+ **Parse:**
28
+ ```
29
+ -y / --yes → auto = true
30
+ Remaining → session_id (if matches maestro-* or ralph-*)
31
+ ```
32
+ Also read `session.auto_mode` from status.json — if true, treat as `-y`.
33
+
34
+ **Step kinds:**
35
+
36
+ | Kind | Identifier | Execution | Flow after |
37
+ |------|-----------|-----------|------------|
38
+ | decision step | `step.decision` 非空 | `invoke_skill("maestro-ralph")` | Execution ends here |
39
+ | 执行 step | `step.decision == null` | `shell("maestro ralph next")` → 内联按其 stdout 执行 → `shell("maestro ralph complete N --status ...")` | Self-invoke next |
40
+
41
+ HARD RULES:
42
+ - 执行 step:**统一通过 `maestro ralph next` CLI 加载**。CLI 负责读 command_path、解析 `<required_reading>` + `<deferred_reading>`、拼接 prompt、写 `step.load.*` + `active_step_index` + `step.status="running"`。不要再在会话里手动 Read + 解析 required_reading
43
+ - decision step:A_EXEC_DECISION 通过 `invoke_skill({ skill: "maestro-ralph" })` handoff 给 ralph 评估(不走 CLI)
44
+ - `command_path` 由 ralph 在 A_BUILD_STEPS 写入 status.json(缺失 → ralph next 返回 E006/E007 并拒绝执行)
45
+ - 每个 step 结束必须调用 `maestro ralph complete N --status <S>` 或 `maestro ralph retry N`。STATUS 仅 4 个合法值:`DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`(**`NEEDS_CONTEXT` 已废除**,context 容量由 harness 自动压缩处理)
46
+ </context>
47
+
48
+ <invariants>
49
+ 1. **执行 = `ralph next` + inline + `ralph complete`** — 调 `maestro ralph next` 拿到 skill 内容,按 stdout 内联执行
50
+ 2. **Required reading 由 CLI 负责** — `ralph next` 自动展开 + 加载 `<required_reading>` 引用的所有文件,缺失 → 退出码 1(E007),不写 active_step_index,不进入执行
51
+ 3. **Deferred reading recorded only** — `<deferred_reading>` 路径由 CLI 记录到 `step.load.deferred_files`,执行阶段按需 Read
52
+ 4. **一致性取代锁** — 同一 session 同时最多一个 step 持 `active_step_index`;CLI 校验失败直接退出码 3,不静默推进
53
+ 5. **Completion 通过 CLI 调用** — 每个 step 末尾调 `maestro ralph complete N --status <S>` 或 `maestro ralph retry N`,由 CLI 写 `completion_*` + 清 `active_step_index`
54
+ 6. **Self-invocation chain** — 持续直到全部 `completion_confirmed` 或 paused
55
+ 7. **status.json 每步骤后由 CLI 原子写盘** — resume-safe
56
+ 8. **STATUS 枚举受限** — 仅 `DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`;`NEEDS_CONTEXT` 已废除
57
+ 9. **CLI 输出禁止截断** — `maestro ralph next` 的 stdout 包含完整 skill prompt,必须全量捕获。**严禁** `| head`、`| tail`、`2>&1 | head -N` 等任何截断管道。Bash timeout 可加长但不可截断输出
58
+ 10. **禁止以上下文消耗为由中断自调用链** — harness 自动处理 context compression(消息摘要),模型无需判断上下文剩余空间。自调用链的唯一合法终止条件是:全部 `completion_confirmed`、session paused、或 decision handoff 到 ralph。以"上下文不足"、"已连续完成 N 个 step"、"避免 context overflow"等理由中断属于 invariant violation
59
+ </invariants>
60
+
61
+ <state_machine>
62
+
63
+ <states>
64
+ S_LOCATE — 定位 session + 找下一个 pending step PERSIST: —
65
+ S_RESOLVE_ARGS — 解析占位符 + 丰富参数 PERSIST: step.args (enriched)
66
+ S_EXECUTE — 执行当前 step PERSIST: step.status = "running", session.current_step
67
+ S_POST_EXEC — 标记完成 + 传播上下文 PERSIST: step.completion_*, step.status, session.context
68
+ S_HANDLE_FAIL — 处理失败 PERSIST: step.status, session.status
69
+ S_COMPLETE — 所有 step 完成 PERSIST: session.status = "completed"
70
+ S_FALLBACK — 无 session 可执行 PERSIST: —
71
+ </states>
72
+
73
+ <transitions>
74
+
75
+ S_LOCATE:
76
+ → S_RESOLVE_ARGS WHEN: pending step found DO: A_LOCATE_SESSION
77
+ → S_COMPLETE WHEN: no pending steps
78
+ → S_FALLBACK WHEN: no running session
79
+
80
+ S_RESOLVE_ARGS:
81
+ → S_EXECUTE DO: A_RESOLVE_ARGS
82
+
83
+ S_EXECUTE:
84
+ → END WHEN: step.decision != null DO: A_EXEC_DECISION
85
+ → S_POST_EXEC WHEN: step.decision == null + ralph complete invoked with DONE|DONE_WITH_CONCERNS DO: A_EXEC_STEP
86
+ → S_HANDLE_FAIL WHEN: step.decision == null + ralph next exit≠0 OR ralph complete with NEEDS_RETRY|BLOCKED DO: A_EXEC_STEP
87
+
88
+ S_POST_EXEC:
89
+ → S_LOCATE DO: shell("maestro ralph complete ...") + invoke_skill("maestro-ralph-execute")
90
+ NOTE: CLI 已写完 completion_*, status, active_step_index;无需额外写盘
91
+
92
+ S_HANDLE_FAIL:
93
+ → S_LOCATE WHEN: auto + not retried DO: A_RETRY
94
+ → END WHEN: auto + retried DO: A_PAUSE_SESSION
95
+ → S_LOCATE WHEN: interactive + user selects retry DO: A_RETRY
96
+ → S_LOCATE WHEN: interactive + user selects skip DO: A_SKIP_STEP
97
+ → END WHEN: interactive + user selects abort DO: A_PAUSE_SESSION
98
+
99
+ S_COMPLETE:
100
+ → END DO: A_COMPLETE_SESSION
101
+
102
+ S_FALLBACK:
103
+ → END DO: display "无运行中的会话。使用 /maestro 或 /maestro-ralph 创建。"
104
+
105
+ </transitions>
106
+
107
+ <actions>
108
+
109
+ ### A_LOCATE_SESSION
110
+
111
+ 1. If session_id provided → load `.workflow/.maestro/{session_id}/status.json`
112
+ 2. Else: scan `.workflow/.maestro/*/status.json`, filter `status == "running"`, sort DESC, take first
113
+ 3. Extract: session_id, source, steps[], phase, milestone, intent, auto_mode, context, cli_tool, active_step_index
114
+ 4. **不在此处选 pending step**——pending 选择由 `maestro ralph next` CLI 内部完成;A_LOCATE_SESSION 只确认 session 存在且 running,由 A_EXEC_STEP 调 CLI 推进
115
+
116
+ ### A_RESOLVE_ARGS
117
+
118
+ **Placeholder substitution:**
119
+
120
+ | Placeholder | Source |
121
+ |-------------|--------|
122
+ | `{phase}` | session.phase |
123
+ | `{milestone}` | session.milestone |
124
+ | `{intent}` | session.intent |
125
+ | `{description}` | session.intent (alias) |
126
+ | `{scratch_dir}` | session.context.scratch_dir or latest artifact path |
127
+ | `{plan_dir}` | session.context.plan_dir |
128
+ | `{analysis_dir}` | session.context.analysis_dir |
129
+ | `{issue_id}` | session.context.issue_id |
130
+ | `{milestone_num}` | session.context.milestone_num |
131
+
132
+ **Per-skill enrichment** (when args empty or minimal):
133
+
134
+ | Skill | Required context | Source |
135
+ |-------|-----------------|--------|
136
+ | maestro-brainstorm | topic | `"{intent}"` |
137
+ | maestro-roadmap | description | `"{intent}"` |
138
+ | maestro-analyze | phase or topic | `{phase}` or `"{intent}"` |
139
+ | maestro-plan | phase, --from, or --dir | see --from auto-injection below |
140
+ | maestro-execute | phase or --dir | see --from auto-injection below |
141
+ | quality-debug | gap context | Read previous step's error/gap |
142
+ | quality-* | phase | `{phase}` |
143
+
144
+ **--from auto-injection (phase-level artifact chaining):**
145
+
146
+ Phase-level steps 在 build 阶段无法预知前序 artifact ID。A_RESOLVE_ARGS 运行时从 state.json 查找并注入显式引用,打通 analyze→plan→execute 数据管道:
147
+
148
+ ```
149
+ Read state.json.artifacts(含 milestone_history 内归档 artifacts)
150
+ → filter by milestone={session.milestone} + phase={session.phase} + status=="completed"
151
+
152
+ plan step(含 {phase} 占位符,args 无 --from 且无 --dir):
153
+ 1. 查同 phase+milestone 最新 completed type=="analyze" artifact → id = ANL-xxx
154
+ 2. 命中 → args 追加 --from analyze:{id}
155
+ 3. 写 step.source_artifact_ref = "analyze:{id}"
156
+
157
+ execute step(含 {phase} 占位符,args 无 --dir):
158
+ 1. 查同 phase+milestone 最新 completed type=="plan" artifact → id = PLN-xxx, path = scratch/...
159
+ 2. 命中 → args 追加 --dir .workflow/scratch/{path}
160
+ 3. 写 step.source_artifact_ref = "plan:{id}"
161
+ ```
162
+
163
+ 兜底:查询无结果 → 不注入,由命令自身 discovery 逻辑处理。已有 `--from` 或 `--dir` 的 step 不覆盖。
164
+
165
+ **Goal context injection:**
166
+
167
+ 当 step.goal_ref 非空且 session.task_decomposition 存在时:
168
+ ```
169
+ goal = session.task_decomposition.find(g => g.id == step.goal_ref)
170
+ if goal:
171
+ goal_snippet = { id: goal.id, goal: goal.goal, done_when: goal.done_when,
172
+ boundary: goal.boundary, evidence: goal.evidence }
173
+ → 传递给 A_EXEC_STEP 用于 inline execution 前注入(见 step 2 goal context pre-injection)
174
+ ```
175
+
176
+ Write enriched args + source_artifact_ref back to status.json.
177
+
178
+ ### A_EXEC_DECISION
179
+
180
+ 1. Mark step running, write status.json
181
+ 2. Display: `[{index}/{total}] ◆ {step.decision} Retry: {retry}/{max}`
182
+ 3. `invoke_skill({ skill: "maestro-ralph" })` — ralph 评估 + handoff
183
+ 4. 执行在此结束
184
+
185
+ ### A_EXEC_STEP
186
+
187
+ 1. **Load** — `shell("maestro ralph next --session <session_id>")` — **必须全量捕获 stdout,严禁 `| head`/`| tail` 等截断管道**(stdout 含完整 skill prompt,截断会导致执行内容不完整)
188
+ - 退出码 0 → 按 stdout 内联执行
189
+ - 退出码 2 → 交给 S_LOCATE
190
+ - 退出码 3 → active_step_index 已被占用
191
+ - 退出码 1 → pause session
192
+ 2. **Goal context pre-injection**:
193
+ - GUARD: `ralph_protocol_version >= "2"` → skip(session_anchor 已含 goal context)
194
+ - WHEN `ralph_protocol_version < "2"` 或缺失 AND `step.goal_ref` 非空 → 在 stdout 顶部前置:
195
+ ```
196
+ <goal_context>
197
+ Sub-goal: {goal.id} — {goal.goal}
198
+ Done when: {goal.done_when}
199
+ Boundary: {goal.boundary}
200
+ Evidence target: {goal.evidence}
201
+ Execution criteria: {session.execution_criteria joined by '; '}
202
+ </goal_context>
203
+ ```
204
+ 3. **Inline execution** — 按 stdout 执行;deferred_reading 按需 Read
205
+ 4. **Complete**:
206
+ - `shell("maestro ralph complete N --status DONE --summary \"...\" [--evidence <path>] [--decisions \"...\"] [--caveats \"...\"] [--deferred \"...\"]")`
207
+ - `shell("maestro ralph complete N --status DONE_WITH_CONCERNS --summary \"...\" --concerns \"...\"")`
208
+ - `shell("maestro ralph retry N")`
209
+ - `shell("maestro ralph complete N --status BLOCKED --reason \"...\"")`
210
+
211
+ | Param | 必填 | 格式 | 示例 |
212
+ |-------|------|------|------|
213
+ | `--summary` | MUST | 动词开头,≤100 字 | `"实现搜索 API 分页逻辑,新增 3 端点"` |
214
+ | `--decisions` | SHOULD(可多次) | 每条一个决策 | `"选择 ELK 布局而非 dagre"` |
215
+ | `--caveats` | SHOULD | 后续注意事项 | `"X 模块 e2e 暂未覆盖新端点"` |
216
+ | `--deferred` | SHOULD(可多次) | 推迟工作 | `"性能优化留到 review 后"` |
217
+ 5. **Propagate context signals** — 关键信号 (`PHASE: N` / `scratch_dir: path` / `BLP-xxx`) 写入 `status.json.context`
218
+
219
+ 完成后 S_LOCATE 触发 `invoke_skill({ skill: "maestro-ralph-execute" })` 自调用。
220
+
221
+ ### A_RETRY
222
+
223
+ 1. `shell("maestro ralph retry N")` — CLI 设 `step.retried = true`, `step.status = "pending"`, `step.completion_confirmed = false`, 清 `active_step_index`
224
+ 2. Display: `[{index}/{total}] ↻ {step.skill} retry`
225
+
226
+ ### A_SKIP_STEP
227
+
228
+ 跳过执行 step — 手动编辑 `status.json`:将该 step `status` 设为 `"skipped"`,`completion_confirmed` 设为 `false`,并清 `active_step_index`(若指向此 step)。
229
+ (不提供 CLI 子命令;跳过是非常规操作,避免自动化误用。)
230
+
231
+ ### A_PAUSE_SESSION
232
+
233
+ 通常由 `ralph complete N --status BLOCKED --reason "..."` 触发,CLI 已写 `session.status = "paused"`。手动 pause 场景下直接编辑 status.json。
234
+ Display: `[{index}/{total}] ✗ {step.skill} 失败,会话已暂停。/maestro-ralph continue 恢复。`
235
+
236
+ ### A_COMPLETE_SESSION
237
+
238
+ 1. 校验:所有 step `completion_confirmed == true`(除 skipped);task_decomposition 存在时校验 `task_decomposition_all_done == true`
239
+ 2. 任一校验失败 → 不标 completed,回 S_LOCATE 或 pause
240
+ 3. `session.status = "completed"`, write status.json
241
+ 4. Display completion report:
242
+ ```
243
+ ============================================================
244
+ SESSION COMPLETE
245
+ ============================================================
246
+ Session: {session_id} [{source}]
247
+ Steps: {completed}/{total} confirmed: {confirmed}/{completed}
248
+
249
+ [✓] 0. maestro-plan 1 [global]
250
+ [✓] 1. maestro-execute 1 [project]
251
+ [✓] 2. ◆ post-execute [decision]
252
+ ...
253
+ ============================================================
254
+ ```
255
+ Icons: `✓` confirmed, `—` skipped, `✗` failed, `◆` decision
256
+
257
+ </actions>
258
+
259
+ </state_machine>
260
+
261
+ <appendix>
262
+
263
+ ### Error Codes
264
+
265
+ | Code | Severity | Description | Recovery |
266
+ |------|----------|-------------|----------|
267
+ | E001 | error | No running session found | Suggest /maestro or /maestro-ralph |
268
+ | E006 | error | command_path missing/unreachable for 执行 step | `ralph next` 拒绝;编辑 status.json 或重 build |
269
+ | E007 | error | required_reading 引用文件缺失 | `ralph next` 拒绝;CLI stderr 列出缺失路径 |
270
+ | E008 | error | `ralph complete` idx ≠ active_step_index | 编辑 status.json 修正一致性 |
271
+ | E009 | error | `ralph complete` step.status ≠ running | 重复 complete 或非法跳跃;编辑 status.json |
272
+ | E010 | error | status.json schema 损坏 | `ralph check` 显示具体损坏字段 |
273
+ | W001 | warning | Step completed with concerns | Log and continue |
274
+ | W005 | warning | active_step_index 指向已 completed step | `ralph next` 自动清理后继续 |
275
+ | W007 | warning | step.skill command .md frontmatter.name | 提示但不阻塞 |
276
+
277
+ ### Success Criteria
278
+
279
+ - [ ] Session discovery covers maestro-* and ralph-*
280
+ - [ ] `-y` parsed from args 或 session.auto_mode;auto=true 时透传 `-y` 到 skill args
281
+ - [ ] Placeholders resolved;per-skill enrichment 正确
282
+ - [ ] Decision 节点(`step.decision != null`)走 invoke_skill("maestro-ralph") handoff(**不调 ralph next CLI**)
283
+ - [ ] 执行 step 通过 `shell("maestro ralph next")` 加载;CLI 返回拼好的 prompt + completion 协议
284
+ - [ ] required_reading CLI 自动加载并拼入 prompt;缺失 → CLI 退出码 1,pause session
285
+ - [ ] `<deferred_reading>` CLI 记录到 `step.load.deferred_files`,执行阶段按需 Read
286
+ - [ ] 每个 step 末尾必须调 `maestro ralph complete N --status <S>` `maestro ralph retry N`
287
+ - [ ] STATUS 枚举仅 `DONE | DONE_WITH_CONCERNS | NEEDS_RETRY | BLOCKED`;CLI 拒绝 `NEEDS_CONTEXT`
288
+ - [ ] active_step_index 一致性由 CLI 维护;E008/E009 直接退出,不静默推进
289
+ - [ ] step.completion_evidence 通过 `--evidence` 传入并记录
290
+ - [ ] Context signals 由执行 step 显式写回 status.json.context(非 ralph-execute 内嵌扫描)
291
+ - [ ] Auto mode: retry 一次后 pause;interactive 提供 retry/skip/abort
292
+ - [ ] 自调用持续到全部 completion_confirmed 或 paused
293
+ - [ ] --from auto-injection:phase-level plan step 运行时从 state.json 查找同 phase+milestone 最新 completed analyze artifact → 注入 `--from analyze:{id}`,写 `source_artifact_ref`
294
+ - [ ] --from auto-injection:phase-level execute step 运行时查找同 phase+milestone 最新 completed plan artifact → 注入 `--dir`,写 `source_artifact_ref`
295
+ - [ ] Goal context injection:`ralph_protocol_version < "2"` → 前置 `<goal_context>` block;`>= "2"` → skip(session_anchor 覆盖)
296
+ - [ ] Goal context 包含 sub-goal description、done_when、boundary、evidence、execution_criteria
297
+ - [ ] 已有 `--from` 或 `--dir` 的 step 不被 auto-injection 覆盖
298
+ - [ ] `--summary` 在 DONE/DONE_WITH_CONCERNS 时为 MUST(动词开头,≤100 字)
299
+ - [ ] `--decisions`/`--caveats`/`--deferred` 为 SHOULD;存在关键决策/注意事项/推迟工作时填写
300
+ - [ ] 结构化总结由 CLI 写入 status.json,session_anchor 自动聚合注入下游 step
301
+
302
+ </appendix>