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.
- package/.agents/agents/cli-explore-agent.md +1 -1
- package/.agents/agents/role-design-author.md +1 -1
- package/.agents/agents/team-supervisor.md +131 -131
- package/.agents/agents/ui-design-agent.md +1 -1
- package/.agents/agents/workflow-codebase-mapper.md +67 -67
- package/.agents/agents/workflow-collab-planner.md +1 -1
- package/.agents/agents/workflow-debugger.md +1 -1
- package/.agents/agents/workflow-executor.md +2 -2
- package/.agents/agents/workflow-external-researcher.md +78 -78
- package/.agents/agents/workflow-nyquist-auditor.md +1 -1
- package/.agents/agents/workflow-plan-checker.md +1 -1
- package/.agents/agents/workflow-planner.md +1 -1
- package/.agents/agents/workflow-project-researcher.md +63 -63
- package/.agents/agents/workflow-research-synthesizer.md +63 -63
- package/.agents/agents/workflow-reviewer.md +73 -73
- package/.agents/agents/workflow-verifier.md +1 -1
- package/.agents/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.agents/skills/delegation-check/SKILL.md +292 -292
- package/.agents/skills/delegation-check/specs/separation-rules.md +269 -269
- package/.agents/skills/learn-follow/SKILL.md +114 -114
- package/.agents/skills/learn-investigate/SKILL.md +138 -138
- package/.agents/skills/learn-second-opinion/SKILL.md +105 -105
- package/.agents/skills/maestro/SKILL.md +233 -227
- package/.agents/skills/maestro-amend/SKILL.md +150 -150
- package/.agents/skills/maestro-analyze/SKILL.md +210 -210
- package/.agents/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agents/skills/maestro-brainstorm/SKILL.md +205 -205
- package/.agents/skills/maestro-collab/SKILL.md +173 -173
- package/.agents/skills/maestro-companion/SKILL.md +517 -517
- package/.agents/skills/maestro-composer/SKILL.md +173 -173
- package/.agents/skills/maestro-execute/SKILL.md +169 -169
- package/.agents/skills/maestro-fork/SKILL.md +97 -97
- package/.agents/skills/maestro-grill/SKILL.md +161 -161
- package/.agents/skills/maestro-guard/SKILL.md +93 -93
- package/.agents/skills/maestro-help/index/catalog.json +1 -1
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.agents/skills/maestro-impeccable/SKILL.md +296 -296
- package/.agents/skills/maestro-init/SKILL.md +117 -117
- package/.agents/skills/maestro-merge/SKILL.md +73 -73
- package/.agents/skills/maestro-milestone-audit/SKILL.md +126 -126
- package/.agents/skills/maestro-milestone-complete/SKILL.md +123 -123
- package/.agents/skills/maestro-milestone-release/SKILL.md +122 -122
- package/.agents/skills/maestro-next/SKILL.md +252 -252
- package/.agents/skills/maestro-overlay/SKILL.md +177 -177
- package/.agents/skills/maestro-plan/SKILL.md +222 -222
- package/.agents/skills/maestro-player/SKILL.md +167 -167
- package/.agents/skills/maestro-quick/SKILL.md +69 -69
- package/.agents/skills/maestro-ralph/SKILL.md +900 -832
- package/.agents/skills/maestro-ralph-execute/SKILL.md +287 -276
- package/.agents/skills/maestro-roadmap/SKILL.md +159 -159
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +229 -229
- package/.agents/skills/maestro-tools-execute/SKILL.md +108 -108
- package/.agents/skills/maestro-tools-register/SKILL.md +142 -142
- package/.agents/skills/maestro-ui-codify/SKILL.md +101 -101
- package/.agents/skills/maestro-universal-workflow/SKILL.md +534 -534
- package/.agents/skills/maestro-update/SKILL.md +109 -109
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +73 -73
- package/.agents/skills/manage-drift-realign/SKILL.md +153 -0
- package/.agents/skills/manage-harvest/SKILL.md +86 -86
- package/.agents/skills/manage-issue/SKILL.md +59 -59
- package/.agents/skills/manage-issue-discover/SKILL.md +70 -70
- package/.agents/skills/manage-kg-extractors/SKILL.md +2 -2
- package/.agents/skills/manage-knowhow/SKILL.md +70 -70
- package/.agents/skills/manage-knowhow-capture/SKILL.md +79 -79
- package/.agents/skills/manage-knowledge-audit/SKILL.md +120 -120
- package/.agents/skills/manage-status/SKILL.md +52 -52
- package/.agents/skills/manage-wiki/SKILL.md +69 -69
- package/.agents/skills/odyssey-debug/SKILL.md +465 -465
- package/.agents/skills/odyssey-improve/SKILL.md +496 -496
- package/.agents/skills/odyssey-planex/SKILL.md +594 -594
- package/.agents/skills/odyssey-review-test-fix/SKILL.md +422 -422
- package/.agents/skills/odyssey-ui/SKILL.md +450 -450
- package/.agents/skills/prompt-generator/SKILL.md +465 -465
- package/.agents/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.agents/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.agents/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.agents/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.agents/skills/prompt-generator/templates/command-md.md +118 -118
- package/.agents/skills/quality-auto-test/SKILL.md +140 -140
- package/.agents/skills/quality-debug/SKILL.md +145 -145
- package/.agents/skills/quality-refactor/SKILL.md +91 -91
- package/.agents/skills/quality-retrospective/SKILL.md +109 -109
- package/.agents/skills/quality-review/SKILL.md +144 -144
- package/.agents/skills/quality-sync/SKILL.md +74 -74
- package/.agents/skills/quality-test/SKILL.md +157 -157
- package/.agents/skills/scholar-anti-ai-writing/SKILL.md +168 -168
- package/.agents/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.agents/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.agents/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.agents/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.agents/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.agents/skills/scholar-citation-verify/SKILL.md +161 -161
- package/.agents/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.agents/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.agents/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.agents/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.agents/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.agents/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.agents/skills/scholar-experiment/SKILL.md +316 -316
- package/.agents/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.agents/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.agents/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.agents/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.agents/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.agents/skills/scholar-ideation/SKILL.md +283 -283
- package/.agents/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.agents/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.agents/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.agents/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.agents/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.agents/skills/scholar-latex-organizer/SKILL.md +181 -181
- package/.agents/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.agents/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.agents/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.agents/skills/scholar-publish/SKILL.md +215 -215
- package/.agents/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.agents/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.agents/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.agents/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.agents/skills/scholar-rebuttal-pro/SKILL.md +507 -507
- package/.agents/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.agents/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.agents/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.agents/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.agents/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.agents/skills/scholar-review/SKILL.md +222 -222
- package/.agents/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.agents/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.agents/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.agents/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.agents/skills/scholar-review/phases/05-revision.md +183 -183
- package/.agents/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.agents/skills/scholar-thesis-docx/README.md +111 -111
- package/.agents/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.agents/skills/scholar-thesis-docx/SKILL.md +208 -208
- package/.agents/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.agents/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.agents/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.agents/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.agents/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.agents/skills/scholar-writing/SKILL.md +291 -291
- package/.agents/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.agents/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.agents/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.agents/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.agents/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.agents/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.agents/skills/security-audit/SKILL.md +217 -217
- package/.agents/skills/skill-generator/SKILL.md +465 -465
- package/.agents/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.agents/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.agents/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.agents/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.agents/skills/skill-generator/phases/05-validation.md +417 -417
- package/.agents/skills/skill-generator/specs/cli-integration.md +442 -442
- package/.agents/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.agents/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.agents/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.agents/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.agents/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.agents/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.agents/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.agents/skills/skill-generator/templates/llm-action.md +367 -367
- package/.agents/skills/skill-generator/templates/script-template.md +368 -368
- package/.agents/skills/skill-generator/templates/sequential-phase.md +474 -474
- package/.agents/skills/skill-generator/templates/skill-md.md +312 -312
- package/.agents/skills/skill-iter-tune/SKILL.md +378 -378
- package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.agents/skills/skill-simplify/SKILL.md +58 -58
- package/.agents/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.agents/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.agents/skills/skill-simplify/phases/03-check.md +224 -224
- package/.agents/skills/skill-tuning/SKILL.md +170 -170
- package/.agents/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.agents/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.agents/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.agents/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.agents/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.agents/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.agents/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.agents/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.agents/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.agents/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.agents/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.agents/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.agents/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.agents/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.agents/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.agents/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.agents/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.agents/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.agents/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.agents/skills/spec-add/SKILL.md +66 -66
- package/.agents/skills/spec-load/SKILL.md +67 -67
- package/.agents/skills/spec-remove/SKILL.md +42 -42
- package/.agents/skills/spec-setup/SKILL.md +37 -37
- package/.agents/skills/team-arch-opt/SKILL.md +153 -153
- package/.agents/skills/team-arch-opt/roles/analyzer/role.md +80 -80
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.agents/skills/team-arch-opt/roles/designer/role.md +109 -109
- package/.agents/skills/team-arch-opt/roles/refactorer/role.md +98 -98
- package/.agents/skills/team-arch-opt/roles/reviewer/role.md +105 -105
- package/.agents/skills/team-arch-opt/roles/validator/role.md +109 -109
- package/.agents/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.agents/skills/team-brainstorm/SKILL.md +166 -166
- package/.agents/skills/team-brainstorm/roles/challenger/role.md +55 -55
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
- package/.agents/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.agents/skills/team-brainstorm/roles/evaluator/role.md +50 -50
- package/.agents/skills/team-brainstorm/roles/ideator/role.md +63 -63
- package/.agents/skills/team-brainstorm/roles/synthesizer/role.md +51 -51
- package/.agents/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.agents/skills/team-coordinate/SKILL.md +261 -261
- package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
- package/.agents/skills/team-coordinate/roles/coordinator/role.md +360 -360
- package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.agents/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.agents/skills/team-designer/SKILL.md +155 -155
- package/.agents/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.agents/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.agents/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.agents/skills/team-designer/phases/04-validation.md +329 -329
- package/.agents/skills/team-executor/SKILL.md +184 -184
- package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -239
- package/.agents/skills/team-executor/roles/executor/role.md +171 -171
- package/.agents/skills/team-executor/specs/session-schema.md +264 -264
- package/.agents/skills/team-frontend/SKILL.md +131 -131
- package/.agents/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.agents/skills/team-frontend/roles/architect/role.md +78 -78
- package/.agents/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.agents/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.agents/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
- package/.agents/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.agents/skills/team-frontend/roles/developer/role.md +85 -85
- package/.agents/skills/team-frontend/roles/qa/role.md +71 -71
- package/.agents/skills/team-frontend/specs/pipelines.md +76 -76
- package/.agents/skills/team-frontend-debug/SKILL.md +193 -193
- package/.agents/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.agents/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.agents/skills/team-frontend-debug/roles/fixer/role.md +138 -138
- package/.agents/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.agents/skills/team-frontend-debug/roles/tester/role.md +222 -222
- package/.agents/skills/team-frontend-debug/roles/verifier/role.md +164 -164
- package/.agents/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.agents/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.agents/skills/team-interactive-craft/SKILL.md +136 -136
- package/.agents/skills/team-interactive-craft/roles/a11y-tester/role.md +153 -153
- package/.agents/skills/team-interactive-craft/roles/builder/role.md +210 -210
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
- package/.agents/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.agents/skills/team-interactive-craft/roles/interaction-designer/role.md +138 -138
- package/.agents/skills/team-interactive-craft/roles/researcher/role.md +125 -125
- package/.agents/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.agents/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.agents/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.agents/skills/team-issue/SKILL.md +166 -166
- package/.agents/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.agents/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.agents/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
- package/.agents/skills/team-issue/roles/coordinator/role.md +172 -172
- package/.agents/skills/team-issue/roles/explorer/role.md +96 -96
- package/.agents/skills/team-issue/roles/implementer/role.md +81 -81
- package/.agents/skills/team-issue/roles/integrator/role.md +78 -78
- package/.agents/skills/team-issue/roles/planner/role.md +74 -74
- package/.agents/skills/team-issue/roles/reviewer/role.md +80 -80
- package/.agents/skills/team-issue/specs/pipelines.md +124 -124
- package/.agents/skills/team-lifecycle-v4/SKILL.md +204 -204
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
- package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
- package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
- package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.agents/skills/team-motion-design/SKILL.md +137 -137
- package/.agents/skills/team-motion-design/roles/animator/role.md +188 -188
- package/.agents/skills/team-motion-design/roles/choreographer/role.md +158 -158
- package/.agents/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.agents/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.agents/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.agents/skills/team-motion-design/roles/motion-researcher/role.md +109 -109
- package/.agents/skills/team-motion-design/roles/motion-tester/role.md +169 -169
- package/.agents/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.agents/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.agents/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.agents/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.agents/skills/team-perf-opt/SKILL.md +170 -170
- package/.agents/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
- package/.agents/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.agents/skills/team-perf-opt/roles/optimizer/role.md +89 -89
- package/.agents/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.agents/skills/team-perf-opt/roles/reviewer/role.md +64 -64
- package/.agents/skills/team-perf-opt/roles/strategist/role.md +85 -85
- package/.agents/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.agents/skills/team-planex/SKILL.md +132 -132
- package/.agents/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.agents/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.agents/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
- package/.agents/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.agents/skills/team-planex/roles/executor/role.md +83 -83
- package/.agents/skills/team-planex/roles/planner/role.md +111 -111
- package/.agents/skills/team-planex/specs/pipelines.md +93 -93
- package/.agents/skills/team-quality-assurance/SKILL.md +142 -142
- package/.agents/skills/team-quality-assurance/roles/analyst/role.md +79 -79
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
- package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.agents/skills/team-quality-assurance/roles/executor/role.md +55 -55
- package/.agents/skills/team-quality-assurance/roles/generator/role.md +58 -58
- package/.agents/skills/team-quality-assurance/roles/scout/role.md +70 -70
- package/.agents/skills/team-quality-assurance/roles/strategist/role.md +63 -63
- package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.agents/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.agents/skills/team-review/SKILL.md +142 -142
- package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
- package/.agents/skills/team-review/roles/coordinator/role.md +132 -132
- package/.agents/skills/team-review/roles/fixer/role.md +68 -68
- package/.agents/skills/team-review/specs/dimensions.md +82 -82
- package/.agents/skills/team-review/specs/pipelines.md +102 -102
- package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.agents/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.agents/skills/team-roadmap-dev/roles/executor/role.md +62 -62
- package/.agents/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.agents/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
- package/.agents/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.agents/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.agents/skills/team-swarm/SKILL.md +173 -173
- package/.agents/skills/team-tech-debt/SKILL.md +123 -123
- package/.agents/skills/team-tech-debt/roles/assessor/role.md +71 -71
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
- package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.agents/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.agents/skills/team-tech-debt/roles/planner/role.md +63 -63
- package/.agents/skills/team-tech-debt/roles/scanner/role.md +84 -84
- package/.agents/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.agents/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.agents/skills/team-testing/SKILL.md +138 -138
- package/.agents/skills/team-testing/roles/analyst/role.md +95 -95
- package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
- package/.agents/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.agents/skills/team-testing/roles/executor/role.md +2 -2
- package/.agents/skills/team-testing/roles/generator/role.md +1 -1
- package/.agents/skills/team-testing/roles/strategist/role.md +75 -75
- package/.agents/skills/team-testing/specs/pipelines.md +101 -101
- package/.agents/skills/team-ui-polish/SKILL.md +136 -136
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
- package/.agents/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.agents/skills/team-ui-polish/roles/diagnostician/role.md +154 -154
- package/.agents/skills/team-ui-polish/roles/optimizer/role.md +219 -219
- package/.agents/skills/team-ui-polish/roles/scanner/role.md +350 -350
- package/.agents/skills/team-ui-polish/roles/verifier/role.md +136 -136
- package/.agents/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.agents/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.agents/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.agents/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.agents/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.agents/skills/team-uidesign/SKILL.md +139 -139
- package/.agents/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.agents/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.agents/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.agents/skills/team-uidesign/roles/designer/role.md +87 -87
- package/.agents/skills/team-uidesign/roles/implementer/role.md +88 -88
- package/.agents/skills/team-uidesign/roles/researcher/role.md +95 -95
- package/.agents/skills/team-uidesign/roles/reviewer/role.md +63 -63
- package/.agents/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.agents/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.agents/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.agents/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.agents/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.agents/skills/team-ultra-analyze/SKILL.md +168 -168
- package/.agents/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
- package/.agents/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.agents/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
- package/.agents/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.agents/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
- package/.agents/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.agents/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.agents/skills/team-ux-improve/SKILL.md +146 -146
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
- package/.agents/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.agents/skills/team-ux-improve/roles/designer/role.md +146 -146
- package/.agents/skills/team-ux-improve/roles/diagnoser/role.md +102 -102
- package/.agents/skills/team-ux-improve/roles/explorer/role.md +71 -71
- package/.agents/skills/team-ux-improve/roles/implementer/role.md +96 -96
- package/.agents/skills/team-ux-improve/roles/scanner/role.md +129 -129
- package/.agents/skills/team-ux-improve/roles/tester/role.md +78 -78
- package/.agents/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.agents/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.agents/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.agents/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.agents/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.agents/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.agents/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.agents/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.agents/skills/team-visual-a11y/SKILL.md +151 -151
- package/.agents/skills/team-visual-a11y/roles/color-auditor/role.md +172 -172
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
- package/.agents/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.agents/skills/team-visual-a11y/roles/fix-implementer/role.md +240 -240
- package/.agents/skills/team-visual-a11y/roles/focus-auditor/role.md +216 -216
- package/.agents/skills/team-visual-a11y/roles/remediation-planner/role.md +200 -200
- package/.agents/skills/team-visual-a11y/roles/typo-auditor/role.md +179 -179
- package/.agents/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.agents/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.agents/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.agents/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.agents/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.agy/agents/cli-explore-agent.md +1 -1
- package/.agy/agents/role-design-author.md +1 -1
- package/.agy/agents/team-supervisor.md +131 -131
- package/.agy/agents/ui-design-agent.md +1 -1
- package/.agy/agents/workflow-codebase-mapper.md +67 -67
- package/.agy/agents/workflow-collab-planner.md +1 -1
- package/.agy/agents/workflow-debugger.md +1 -1
- package/.agy/agents/workflow-executor.md +2 -2
- package/.agy/agents/workflow-external-researcher.md +78 -78
- package/.agy/agents/workflow-nyquist-auditor.md +1 -1
- package/.agy/agents/workflow-plan-checker.md +1 -1
- package/.agy/agents/workflow-planner.md +1 -1
- package/.agy/agents/workflow-project-researcher.md +63 -63
- package/.agy/agents/workflow-research-synthesizer.md +63 -63
- package/.agy/agents/workflow-reviewer.md +73 -73
- package/.agy/agents/workflow-verifier.md +1 -1
- package/.agy/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.agy/skills/delegation-check/SKILL.md +297 -292
- package/.agy/skills/delegation-check/specs/separation-rules.md +248 -248
- package/.agy/skills/learn-follow/SKILL.md +114 -114
- package/.agy/skills/learn-investigate/SKILL.md +138 -138
- package/.agy/skills/learn-second-opinion/SKILL.md +105 -105
- package/.agy/skills/maestro/SKILL.md +233 -227
- package/.agy/skills/maestro-amend/SKILL.md +150 -150
- package/.agy/skills/maestro-analyze/SKILL.md +210 -210
- package/.agy/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agy/skills/maestro-brainstorm/SKILL.md +205 -205
- package/.agy/skills/maestro-collab/SKILL.md +173 -173
- package/.agy/skills/maestro-companion/SKILL.md +517 -517
- package/.agy/skills/maestro-composer/SKILL.md +173 -173
- package/.agy/skills/maestro-execute/SKILL.md +169 -169
- package/.agy/skills/maestro-fork/SKILL.md +97 -97
- package/.agy/skills/maestro-grill/SKILL.md +161 -161
- package/.agy/skills/maestro-guard/SKILL.md +93 -93
- package/.agy/skills/maestro-help/index/catalog.json +1 -1
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.agy/skills/maestro-impeccable/SKILL.md +296 -296
- package/.agy/skills/maestro-init/SKILL.md +117 -117
- package/.agy/skills/maestro-merge/SKILL.md +73 -73
- package/.agy/skills/maestro-milestone-audit/SKILL.md +126 -126
- package/.agy/skills/maestro-milestone-complete/SKILL.md +123 -123
- package/.agy/skills/maestro-milestone-release/SKILL.md +122 -122
- package/.agy/skills/maestro-next/SKILL.md +252 -252
- package/.agy/skills/maestro-overlay/SKILL.md +177 -177
- package/.agy/skills/maestro-plan/SKILL.md +222 -222
- package/.agy/skills/maestro-player/SKILL.md +167 -167
- package/.agy/skills/maestro-quick/SKILL.md +69 -69
- package/.agy/skills/maestro-ralph/SKILL.md +900 -832
- package/.agy/skills/maestro-ralph-execute/SKILL.md +287 -276
- package/.agy/skills/maestro-roadmap/SKILL.md +159 -159
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +229 -229
- package/.agy/skills/maestro-tools-execute/SKILL.md +108 -108
- package/.agy/skills/maestro-tools-register/SKILL.md +142 -142
- package/.agy/skills/maestro-ui-codify/SKILL.md +101 -101
- package/.agy/skills/maestro-universal-workflow/SKILL.md +534 -534
- package/.agy/skills/maestro-update/SKILL.md +109 -109
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +73 -73
- package/.agy/skills/manage-drift-realign/SKILL.md +153 -0
- package/.agy/skills/manage-harvest/SKILL.md +86 -86
- package/.agy/skills/manage-issue/SKILL.md +59 -59
- package/.agy/skills/manage-issue-discover/SKILL.md +70 -70
- package/.agy/skills/manage-kg-extractors/SKILL.md +2 -2
- package/.agy/skills/manage-knowhow/SKILL.md +70 -70
- package/.agy/skills/manage-knowhow-capture/SKILL.md +79 -79
- package/.agy/skills/manage-knowledge-audit/SKILL.md +120 -120
- package/.agy/skills/manage-status/SKILL.md +52 -52
- package/.agy/skills/manage-wiki/SKILL.md +69 -69
- package/.agy/skills/odyssey-debug/SKILL.md +465 -465
- package/.agy/skills/odyssey-improve/SKILL.md +496 -496
- package/.agy/skills/odyssey-planex/SKILL.md +594 -594
- package/.agy/skills/odyssey-review-test-fix/SKILL.md +422 -422
- package/.agy/skills/odyssey-ui/SKILL.md +450 -450
- package/.agy/skills/prompt-generator/SKILL.md +472 -465
- package/.agy/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.agy/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.agy/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.agy/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.agy/skills/prompt-generator/templates/command-md.md +118 -118
- package/.agy/skills/quality-auto-test/SKILL.md +140 -140
- package/.agy/skills/quality-debug/SKILL.md +145 -145
- package/.agy/skills/quality-refactor/SKILL.md +91 -91
- package/.agy/skills/quality-retrospective/SKILL.md +109 -109
- package/.agy/skills/quality-review/SKILL.md +144 -144
- package/.agy/skills/quality-sync/SKILL.md +74 -74
- package/.agy/skills/quality-test/SKILL.md +157 -157
- package/.agy/skills/scholar-anti-ai-writing/SKILL.md +175 -168
- package/.agy/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.agy/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.agy/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.agy/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.agy/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.agy/skills/scholar-citation-verify/SKILL.md +170 -161
- package/.agy/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.agy/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.agy/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.agy/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.agy/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.agy/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.agy/skills/scholar-experiment/SKILL.md +323 -316
- package/.agy/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.agy/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.agy/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.agy/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.agy/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.agy/skills/scholar-ideation/SKILL.md +292 -283
- package/.agy/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.agy/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.agy/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.agy/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.agy/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.agy/skills/scholar-latex-organizer/SKILL.md +190 -181
- package/.agy/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.agy/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.agy/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.agy/skills/scholar-publish/SKILL.md +222 -215
- package/.agy/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.agy/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.agy/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.agy/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.agy/skills/scholar-rebuttal-pro/SKILL.md +518 -507
- package/.agy/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.agy/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.agy/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.agy/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.agy/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.agy/skills/scholar-review/SKILL.md +231 -222
- package/.agy/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.agy/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.agy/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.agy/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.agy/skills/scholar-review/phases/05-revision.md +183 -183
- package/.agy/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.agy/skills/scholar-thesis-docx/README.md +111 -111
- package/.agy/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.agy/skills/scholar-thesis-docx/SKILL.md +209 -208
- package/.agy/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.agy/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.agy/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.agy/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.agy/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.agy/skills/scholar-writing/SKILL.md +301 -291
- package/.agy/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.agy/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.agy/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.agy/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.agy/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.agy/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.agy/skills/security-audit/SKILL.md +217 -217
- package/.agy/skills/skill-generator/SKILL.md +475 -465
- package/.agy/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.agy/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.agy/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.agy/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.agy/skills/skill-generator/phases/05-validation.md +417 -417
- package/.agy/skills/skill-generator/specs/cli-integration.md +418 -418
- package/.agy/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.agy/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.agy/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.agy/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.agy/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.agy/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.agy/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.agy/skills/skill-generator/templates/llm-action.md +367 -367
- package/.agy/skills/skill-generator/templates/script-template.md +368 -368
- package/.agy/skills/skill-generator/templates/sequential-phase.md +470 -470
- package/.agy/skills/skill-generator/templates/skill-md.md +312 -312
- package/.agy/skills/skill-iter-tune/SKILL.md +389 -378
- package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.agy/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.agy/skills/skill-simplify/SKILL.md +65 -58
- package/.agy/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.agy/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.agy/skills/skill-simplify/phases/03-check.md +224 -224
- package/.agy/skills/skill-tuning/SKILL.md +180 -170
- package/.agy/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.agy/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.agy/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.agy/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.agy/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.agy/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.agy/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.agy/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.agy/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.agy/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.agy/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.agy/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.agy/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.agy/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.agy/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.agy/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.agy/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.agy/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.agy/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.agy/skills/spec-add/SKILL.md +66 -66
- package/.agy/skills/spec-load/SKILL.md +67 -67
- package/.agy/skills/spec-remove/SKILL.md +42 -42
- package/.agy/skills/spec-setup/SKILL.md +37 -37
- package/.agy/skills/team-arch-opt/SKILL.md +142 -130
- package/.agy/skills/team-arch-opt/roles/analyzer/role.md +81 -80
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.agy/skills/team-arch-opt/roles/designer/role.md +110 -109
- package/.agy/skills/team-arch-opt/roles/refactorer/role.md +99 -98
- package/.agy/skills/team-arch-opt/roles/reviewer/role.md +106 -105
- package/.agy/skills/team-arch-opt/roles/validator/role.md +110 -109
- package/.agy/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.agy/skills/team-brainstorm/SKILL.md +132 -120
- package/.agy/skills/team-brainstorm/roles/challenger/role.md +56 -55
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/monitor.md +171 -171
- package/.agy/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.agy/skills/team-brainstorm/roles/evaluator/role.md +51 -50
- package/.agy/skills/team-brainstorm/roles/ideator/role.md +64 -63
- package/.agy/skills/team-brainstorm/roles/synthesizer/role.md +52 -51
- package/.agy/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.agy/skills/team-coordinate/SKILL.md +250 -238
- package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +336 -336
- package/.agy/skills/team-coordinate/roles/coordinator/role.md +361 -360
- package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.agy/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.agy/skills/team-designer/SKILL.md +167 -155
- package/.agy/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.agy/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.agy/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.agy/skills/team-designer/phases/04-validation.md +329 -329
- package/.agy/skills/team-executor/SKILL.md +174 -162
- package/.agy/skills/team-executor/roles/executor/commands/monitor.md +223 -223
- package/.agy/skills/team-executor/roles/executor/role.md +171 -171
- package/.agy/skills/team-executor/specs/session-schema.md +264 -264
- package/.agy/skills/team-frontend/SKILL.md +122 -108
- package/.agy/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.agy/skills/team-frontend/roles/architect/role.md +78 -78
- package/.agy/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.agy/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.agy/skills/team-frontend/roles/coordinator/commands/monitor.md +210 -210
- package/.agy/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.agy/skills/team-frontend/roles/developer/role.md +85 -85
- package/.agy/skills/team-frontend/roles/qa/role.md +71 -71
- package/.agy/skills/team-frontend/specs/pipelines.md +76 -76
- package/.agy/skills/team-frontend-debug/SKILL.md +183 -170
- package/.agy/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.agy/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.agy/skills/team-frontend-debug/roles/fixer/role.md +138 -138
- package/.agy/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.agy/skills/team-frontend-debug/roles/tester/role.md +222 -222
- package/.agy/skills/team-frontend-debug/roles/verifier/role.md +164 -164
- package/.agy/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.agy/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.agy/skills/team-interactive-craft/SKILL.md +128 -113
- package/.agy/skills/team-interactive-craft/roles/a11y-tester/role.md +154 -153
- package/.agy/skills/team-interactive-craft/roles/builder/role.md +211 -210
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +192 -192
- package/.agy/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.agy/skills/team-interactive-craft/roles/interaction-designer/role.md +139 -138
- package/.agy/skills/team-interactive-craft/roles/researcher/role.md +126 -125
- package/.agy/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.agy/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.agy/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.agy/skills/team-issue/SKILL.md +132 -120
- package/.agy/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.agy/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.agy/skills/team-issue/roles/coordinator/commands/monitor.md +183 -183
- package/.agy/skills/team-issue/roles/coordinator/role.md +173 -172
- package/.agy/skills/team-issue/roles/explorer/role.md +97 -96
- package/.agy/skills/team-issue/roles/implementer/role.md +82 -81
- package/.agy/skills/team-issue/roles/integrator/role.md +79 -78
- package/.agy/skills/team-issue/roles/planner/role.md +75 -74
- package/.agy/skills/team-issue/roles/reviewer/role.md +81 -80
- package/.agy/skills/team-issue/specs/pipelines.md +124 -124
- package/.agy/skills/team-lifecycle-v4/SKILL.md +170 -158
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
- package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
- package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
- package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.agy/skills/team-motion-design/SKILL.md +134 -114
- package/.agy/skills/team-motion-design/roles/animator/role.md +189 -188
- package/.agy/skills/team-motion-design/roles/choreographer/role.md +159 -158
- package/.agy/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.agy/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.agy/skills/team-motion-design/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.agy/skills/team-motion-design/roles/motion-researcher/role.md +110 -109
- package/.agy/skills/team-motion-design/roles/motion-tester/role.md +170 -169
- package/.agy/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.agy/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.agy/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.agy/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.agy/skills/team-perf-opt/SKILL.md +159 -147
- package/.agy/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/monitor.md +339 -339
- package/.agy/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.agy/skills/team-perf-opt/roles/optimizer/role.md +89 -89
- package/.agy/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.agy/skills/team-perf-opt/roles/reviewer/role.md +64 -64
- package/.agy/skills/team-perf-opt/roles/strategist/role.md +85 -85
- package/.agy/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.agy/skills/team-planex/SKILL.md +120 -108
- package/.agy/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.agy/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.agy/skills/team-planex/roles/coordinator/commands/monitor.md +174 -174
- package/.agy/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.agy/skills/team-planex/roles/executor/role.md +83 -83
- package/.agy/skills/team-planex/roles/planner/role.md +111 -111
- package/.agy/skills/team-planex/specs/pipelines.md +93 -93
- package/.agy/skills/team-quality-assurance/SKILL.md +131 -119
- package/.agy/skills/team-quality-assurance/roles/analyst/role.md +79 -79
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +223 -223
- package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.agy/skills/team-quality-assurance/roles/executor/role.md +55 -55
- package/.agy/skills/team-quality-assurance/roles/generator/role.md +58 -58
- package/.agy/skills/team-quality-assurance/roles/scout/role.md +70 -70
- package/.agy/skills/team-quality-assurance/roles/strategist/role.md +63 -63
- package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.agy/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.agy/skills/team-review/SKILL.md +131 -119
- package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +197 -197
- package/.agy/skills/team-review/roles/coordinator/role.md +132 -132
- package/.agy/skills/team-review/roles/fixer/role.md +68 -68
- package/.agy/skills/team-review/specs/dimensions.md +82 -82
- package/.agy/skills/team-review/specs/pipelines.md +102 -102
- package/.agy/skills/team-roadmap-dev/SKILL.md +153 -141
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +448 -448
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.agy/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.agy/skills/team-roadmap-dev/roles/executor/role.md +62 -62
- package/.agy/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.agy/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
- package/.agy/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.agy/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.agy/skills/team-swarm/SKILL.md +159 -147
- package/.agy/skills/team-tech-debt/SKILL.md +115 -100
- package/.agy/skills/team-tech-debt/roles/assessor/role.md +72 -71
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +186 -186
- package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.agy/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.agy/skills/team-tech-debt/roles/planner/role.md +64 -63
- package/.agy/skills/team-tech-debt/roles/scanner/role.md +85 -84
- package/.agy/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.agy/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.agy/skills/team-testing/SKILL.md +127 -115
- package/.agy/skills/team-testing/roles/analyst/role.md +95 -95
- package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +230 -230
- package/.agy/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.agy/skills/team-testing/roles/executor/role.md +2 -2
- package/.agy/skills/team-testing/roles/generator/role.md +1 -1
- package/.agy/skills/team-testing/roles/strategist/role.md +75 -75
- package/.agy/skills/team-testing/specs/pipelines.md +101 -101
- package/.agy/skills/team-ui-polish/SKILL.md +132 -113
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/monitor.md +189 -189
- package/.agy/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.agy/skills/team-ui-polish/roles/diagnostician/role.md +155 -154
- package/.agy/skills/team-ui-polish/roles/optimizer/role.md +220 -219
- package/.agy/skills/team-ui-polish/roles/scanner/role.md +351 -350
- package/.agy/skills/team-ui-polish/roles/verifier/role.md +137 -136
- package/.agy/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.agy/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.agy/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.agy/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.agy/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.agy/skills/team-uidesign/SKILL.md +131 -116
- package/.agy/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.agy/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.agy/skills/team-uidesign/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.agy/skills/team-uidesign/roles/designer/role.md +88 -87
- package/.agy/skills/team-uidesign/roles/implementer/role.md +89 -88
- package/.agy/skills/team-uidesign/roles/researcher/role.md +96 -95
- package/.agy/skills/team-uidesign/roles/reviewer/role.md +64 -63
- package/.agy/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.agy/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.agy/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.agy/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.agy/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.agy/skills/team-ultra-analyze/SKILL.md +156 -144
- package/.agy/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +344 -344
- package/.agy/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.agy/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
- package/.agy/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.agy/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
- package/.agy/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.agy/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.agy/skills/team-ux-improve/SKILL.md +138 -123
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/monitor.md +163 -163
- package/.agy/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.agy/skills/team-ux-improve/roles/designer/role.md +147 -146
- package/.agy/skills/team-ux-improve/roles/diagnoser/role.md +103 -102
- package/.agy/skills/team-ux-improve/roles/explorer/role.md +72 -71
- package/.agy/skills/team-ux-improve/roles/implementer/role.md +97 -96
- package/.agy/skills/team-ux-improve/roles/scanner/role.md +130 -129
- package/.agy/skills/team-ux-improve/roles/tester/role.md +79 -78
- package/.agy/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.agy/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.agy/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.agy/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.agy/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.agy/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.agy/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.agy/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.agy/skills/team-visual-a11y/SKILL.md +149 -128
- package/.agy/skills/team-visual-a11y/roles/color-auditor/role.md +173 -172
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +213 -213
- package/.agy/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.agy/skills/team-visual-a11y/roles/fix-implementer/role.md +241 -240
- package/.agy/skills/team-visual-a11y/roles/focus-auditor/role.md +217 -216
- package/.agy/skills/team-visual-a11y/roles/remediation-planner/role.md +201 -200
- package/.agy/skills/team-visual-a11y/roles/typo-auditor/role.md +180 -179
- package/.agy/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.agy/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.agy/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.agy/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.agy/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.claude/agents/cli-explore-agent.md +1 -1
- package/.claude/agents/role-design-author.md +1 -1
- package/.claude/agents/team-supervisor.md +143 -143
- package/.claude/agents/ui-design-agent.md +1 -1
- package/.claude/agents/workflow-codebase-mapper.md +77 -77
- package/.claude/agents/workflow-collab-planner.md +1 -1
- package/.claude/agents/workflow-debugger.md +1 -1
- package/.claude/agents/workflow-executor.md +2 -2
- package/.claude/agents/workflow-external-researcher.md +86 -86
- package/.claude/agents/workflow-nyquist-auditor.md +1 -1
- package/.claude/agents/workflow-plan-checker.md +1 -1
- package/.claude/agents/workflow-planner.md +1 -1
- package/.claude/agents/workflow-project-researcher.md +74 -74
- package/.claude/agents/workflow-research-synthesizer.md +70 -70
- package/.claude/agents/workflow-reviewer.md +82 -82
- package/.claude/agents/workflow-verifier.md +1 -1
- package/.claude/commands/learn-follow.md +127 -127
- package/.claude/commands/learn-investigate.md +151 -151
- package/.claude/commands/learn-second-opinion.md +118 -118
- package/.claude/commands/maestro-amend.md +162 -162
- package/.claude/commands/maestro-analyze.md +224 -224
- package/.claude/commands/maestro-blueprint.md +189 -189
- package/.claude/commands/maestro-brainstorm.md +218 -218
- package/.claude/commands/maestro-collab.md +185 -185
- package/.claude/commands/maestro-companion.md +531 -531
- package/.claude/commands/maestro-composer.md +188 -188
- package/.claude/commands/maestro-execute.md +183 -183
- package/.claude/commands/maestro-fork.md +111 -111
- package/.claude/commands/maestro-grill.md +175 -175
- package/.claude/commands/maestro-guard.md +103 -103
- package/.claude/commands/maestro-impeccable.md +311 -311
- package/.claude/commands/maestro-init.md +130 -130
- package/.claude/commands/maestro-merge.md +87 -87
- package/.claude/commands/maestro-milestone-audit.md +139 -139
- package/.claude/commands/maestro-milestone-complete.md +136 -136
- package/.claude/commands/maestro-milestone-release.md +136 -136
- package/.claude/commands/maestro-next.md +264 -264
- package/.claude/commands/maestro-overlay.md +189 -189
- package/.claude/commands/maestro-plan.md +236 -236
- package/.claude/commands/maestro-player.md +182 -182
- package/.claude/commands/maestro-quick.md +83 -83
- package/.claude/commands/maestro-ralph-execute.md +300 -289
- package/.claude/commands/maestro-ralph.md +913 -845
- package/.claude/commands/maestro-roadmap.md +173 -173
- package/.claude/commands/maestro-swarm-workflow.md +243 -243
- package/.claude/commands/maestro-tools-execute.md +122 -122
- package/.claude/commands/maestro-tools-register.md +156 -156
- package/.claude/commands/maestro-ui-codify.md +115 -115
- package/.claude/commands/maestro-universal-workflow.md +548 -548
- package/.claude/commands/maestro-update.md +122 -122
- package/.claude/commands/maestro.md +248 -242
- package/.claude/commands/manage-codebase-rebuild.md +87 -87
- package/.claude/commands/manage-drift-realign.md +151 -0
- package/.claude/commands/manage-harvest.md +100 -100
- package/.claude/commands/manage-issue-discover.md +83 -83
- package/.claude/commands/manage-issue.md +72 -72
- package/.claude/commands/manage-kg-extractors.md +2 -2
- package/.claude/commands/manage-knowhow-capture.md +92 -92
- package/.claude/commands/manage-knowhow.md +83 -83
- package/.claude/commands/manage-knowledge-audit.md +134 -134
- package/.claude/commands/manage-status.md +62 -62
- package/.claude/commands/manage-wiki.md +82 -82
- package/.claude/commands/odyssey-debug.md +479 -479
- package/.claude/commands/odyssey-improve.md +510 -510
- package/.claude/commands/odyssey-planex.md +608 -608
- package/.claude/commands/odyssey-review-test-fix.md +436 -436
- package/.claude/commands/odyssey-ui.md +464 -464
- package/.claude/commands/quality-auto-test.md +153 -153
- package/.claude/commands/quality-debug.md +159 -159
- package/.claude/commands/quality-refactor.md +105 -105
- package/.claude/commands/quality-retrospective.md +123 -123
- package/.claude/commands/quality-review.md +158 -158
- package/.claude/commands/quality-sync.md +88 -88
- package/.claude/commands/quality-test.md +171 -171
- package/.claude/commands/security-audit.md +230 -230
- package/.claude/commands/spec-add.md +77 -77
- package/.claude/commands/spec-load.md +77 -77
- package/.claude/commands/spec-remove.md +55 -55
- package/.claude/commands/spec-setup.md +48 -48
- package/.claude/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.claude/skills/delegation-check/SKILL.md +297 -297
- package/.claude/skills/delegation-check/specs/separation-rules.md +269 -269
- package/.claude/skills/maestro-help/index/catalog.json +1 -1
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.claude/skills/prompt-generator/SKILL.md +470 -470
- package/.claude/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.claude/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.claude/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.claude/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.claude/skills/prompt-generator/templates/command-md.md +118 -118
- package/.claude/skills/scholar-anti-ai-writing/SKILL.md +173 -173
- package/.claude/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.claude/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.claude/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.claude/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.claude/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.claude/skills/scholar-citation-verify/SKILL.md +166 -166
- package/.claude/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.claude/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.claude/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.claude/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.claude/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.claude/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.claude/skills/scholar-experiment/SKILL.md +321 -321
- package/.claude/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.claude/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.claude/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.claude/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.claude/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.claude/skills/scholar-ideation/SKILL.md +288 -288
- package/.claude/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.claude/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.claude/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.claude/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.claude/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.claude/skills/scholar-latex-organizer/SKILL.md +186 -186
- package/.claude/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.claude/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.claude/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.claude/skills/scholar-publish/SKILL.md +220 -220
- package/.claude/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.claude/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.claude/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.claude/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.claude/skills/scholar-rebuttal-pro/SKILL.md +511 -511
- package/.claude/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.claude/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.claude/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.claude/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.claude/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.claude/skills/scholar-review/SKILL.md +227 -227
- package/.claude/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.claude/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.claude/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.claude/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.claude/skills/scholar-review/phases/05-revision.md +183 -183
- package/.claude/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.claude/skills/scholar-thesis-docx/README.md +111 -111
- package/.claude/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.claude/skills/scholar-thesis-docx/SKILL.md +212 -212
- package/.claude/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.claude/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.claude/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.claude/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.claude/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.claude/skills/scholar-writing/SKILL.md +296 -296
- package/.claude/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.claude/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.claude/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.claude/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.claude/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.claude/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.claude/skills/skill-generator/SKILL.md +471 -471
- package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.claude/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.claude/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.claude/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.claude/skills/skill-generator/phases/05-validation.md +417 -417
- package/.claude/skills/skill-generator/specs/cli-integration.md +442 -442
- package/.claude/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.claude/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.claude/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.claude/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.claude/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.claude/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.claude/skills/skill-generator/templates/llm-action.md +367 -367
- package/.claude/skills/skill-generator/templates/script-template.md +368 -368
- package/.claude/skills/skill-generator/templates/sequential-phase.md +474 -474
- package/.claude/skills/skill-generator/templates/skill-md.md +312 -312
- package/.claude/skills/skill-iter-tune/SKILL.md +382 -382
- package/.claude/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.claude/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.claude/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.claude/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.claude/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.claude/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.claude/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.claude/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.claude/skills/skill-simplify/SKILL.md +63 -63
- package/.claude/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.claude/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.claude/skills/skill-simplify/phases/03-check.md +224 -224
- package/.claude/skills/skill-tuning/SKILL.md +174 -174
- package/.claude/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.claude/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.claude/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.claude/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.claude/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.claude/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.claude/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.claude/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.claude/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.claude/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.claude/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.claude/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.claude/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.claude/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.claude/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.claude/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.claude/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.claude/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.claude/skills/team-arch-opt/SKILL.md +158 -158
- package/.claude/skills/team-arch-opt/roles/analyzer/role.md +86 -86
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.claude/skills/team-arch-opt/roles/designer/role.md +115 -115
- package/.claude/skills/team-arch-opt/roles/refactorer/role.md +104 -104
- package/.claude/skills/team-arch-opt/roles/reviewer/role.md +111 -111
- package/.claude/skills/team-arch-opt/roles/validator/role.md +115 -115
- package/.claude/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.claude/skills/team-brainstorm/SKILL.md +171 -171
- package/.claude/skills/team-brainstorm/roles/challenger/role.md +61 -61
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
- package/.claude/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.claude/skills/team-brainstorm/roles/evaluator/role.md +56 -56
- package/.claude/skills/team-brainstorm/roles/ideator/role.md +69 -69
- package/.claude/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
- package/.claude/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.claude/skills/team-coordinate/SKILL.md +266 -266
- package/.claude/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.claude/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.claude/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
- package/.claude/skills/team-coordinate/roles/coordinator/role.md +363 -363
- package/.claude/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.claude/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.claude/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.claude/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.claude/skills/team-designer/SKILL.md +160 -160
- package/.claude/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.claude/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.claude/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.claude/skills/team-designer/phases/04-validation.md +329 -329
- package/.claude/skills/team-executor/SKILL.md +189 -189
- package/.claude/skills/team-executor/roles/executor/commands/monitor.md +239 -239
- package/.claude/skills/team-executor/roles/executor/role.md +171 -171
- package/.claude/skills/team-executor/specs/session-schema.md +264 -264
- package/.claude/skills/team-frontend/SKILL.md +136 -136
- package/.claude/skills/team-frontend/roles/analyst/role.md +100 -100
- package/.claude/skills/team-frontend/roles/architect/role.md +86 -86
- package/.claude/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.claude/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.claude/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
- package/.claude/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.claude/skills/team-frontend/roles/developer/role.md +93 -93
- package/.claude/skills/team-frontend/roles/qa/role.md +79 -79
- package/.claude/skills/team-frontend/specs/pipelines.md +76 -76
- package/.claude/skills/team-frontend-debug/SKILL.md +198 -198
- package/.claude/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.claude/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.claude/skills/team-frontend-debug/roles/fixer/role.md +147 -147
- package/.claude/skills/team-frontend-debug/roles/reproducer/role.md +155 -155
- package/.claude/skills/team-frontend-debug/roles/tester/role.md +231 -231
- package/.claude/skills/team-frontend-debug/roles/verifier/role.md +172 -172
- package/.claude/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.claude/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.claude/skills/team-interactive-craft/SKILL.md +141 -141
- package/.claude/skills/team-interactive-craft/roles/a11y-tester/role.md +159 -159
- package/.claude/skills/team-interactive-craft/roles/builder/role.md +216 -216
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
- package/.claude/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.claude/skills/team-interactive-craft/roles/interaction-designer/role.md +144 -144
- package/.claude/skills/team-interactive-craft/roles/researcher/role.md +131 -131
- package/.claude/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.claude/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.claude/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.claude/skills/team-issue/SKILL.md +171 -171
- package/.claude/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.claude/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.claude/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
- package/.claude/skills/team-issue/roles/coordinator/role.md +175 -175
- package/.claude/skills/team-issue/roles/explorer/role.md +102 -102
- package/.claude/skills/team-issue/roles/implementer/role.md +87 -87
- package/.claude/skills/team-issue/roles/integrator/role.md +84 -84
- package/.claude/skills/team-issue/roles/planner/role.md +81 -81
- package/.claude/skills/team-issue/roles/reviewer/role.md +86 -86
- package/.claude/skills/team-issue/specs/pipelines.md +124 -124
- package/.claude/skills/team-lifecycle-v4/SKILL.md +209 -209
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.claude/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.claude/skills/team-lifecycle-v4/roles/executor/role.md +67 -67
- package/.claude/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/role.md +69 -69
- package/.claude/skills/team-lifecycle-v4/roles/supervisor/role.md +192 -192
- package/.claude/skills/team-lifecycle-v4/roles/tester/role.md +87 -87
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.claude/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.claude/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.claude/skills/team-motion-design/SKILL.md +142 -142
- package/.claude/skills/team-motion-design/roles/animator/role.md +194 -194
- package/.claude/skills/team-motion-design/roles/choreographer/role.md +164 -164
- package/.claude/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.claude/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.claude/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.claude/skills/team-motion-design/roles/motion-researcher/role.md +115 -115
- package/.claude/skills/team-motion-design/roles/motion-tester/role.md +175 -175
- package/.claude/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.claude/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.claude/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.claude/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.claude/skills/team-perf-opt/SKILL.md +175 -175
- package/.claude/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
- package/.claude/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.claude/skills/team-perf-opt/roles/optimizer/role.md +99 -99
- package/.claude/skills/team-perf-opt/roles/profiler/role.md +81 -81
- package/.claude/skills/team-perf-opt/roles/reviewer/role.md +75 -75
- package/.claude/skills/team-perf-opt/roles/strategist/role.md +94 -94
- package/.claude/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.claude/skills/team-planex/SKILL.md +137 -137
- package/.claude/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.claude/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.claude/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
- package/.claude/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.claude/skills/team-planex/roles/executor/role.md +91 -91
- package/.claude/skills/team-planex/roles/planner/role.md +119 -119
- package/.claude/skills/team-planex/specs/pipelines.md +93 -93
- package/.claude/skills/team-quality-assurance/SKILL.md +147 -147
- package/.claude/skills/team-quality-assurance/roles/analyst/role.md +88 -88
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
- package/.claude/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.claude/skills/team-quality-assurance/roles/executor/role.md +66 -66
- package/.claude/skills/team-quality-assurance/roles/generator/role.md +68 -68
- package/.claude/skills/team-quality-assurance/roles/scout/role.md +79 -79
- package/.claude/skills/team-quality-assurance/roles/strategist/role.md +71 -71
- package/.claude/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.claude/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.claude/skills/team-review/SKILL.md +147 -147
- package/.claude/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.claude/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.claude/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
- package/.claude/skills/team-review/roles/coordinator/role.md +132 -132
- package/.claude/skills/team-review/roles/fixer/role.md +76 -76
- package/.claude/skills/team-review/specs/dimensions.md +82 -82
- package/.claude/skills/team-review/specs/pipelines.md +102 -102
- package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.claude/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.claude/skills/team-roadmap-dev/roles/executor/role.md +72 -72
- package/.claude/skills/team-roadmap-dev/roles/planner/role.md +86 -86
- package/.claude/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
- package/.claude/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.claude/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.claude/skills/team-swarm/SKILL.md +178 -178
- package/.claude/skills/team-tech-debt/SKILL.md +128 -128
- package/.claude/skills/team-tech-debt/roles/assessor/role.md +77 -77
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
- package/.claude/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.claude/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.claude/skills/team-tech-debt/roles/planner/role.md +69 -69
- package/.claude/skills/team-tech-debt/roles/scanner/role.md +90 -90
- package/.claude/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.claude/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.claude/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.claude/skills/team-testing/SKILL.md +143 -143
- package/.claude/skills/team-testing/roles/analyst/role.md +103 -103
- package/.claude/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.claude/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.claude/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
- package/.claude/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.claude/skills/team-testing/roles/executor/role.md +2 -2
- package/.claude/skills/team-testing/roles/generator/role.md +1 -1
- package/.claude/skills/team-testing/roles/strategist/role.md +83 -83
- package/.claude/skills/team-testing/specs/pipelines.md +101 -101
- package/.claude/skills/team-ui-polish/SKILL.md +141 -141
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
- package/.claude/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.claude/skills/team-ui-polish/roles/diagnostician/role.md +160 -160
- package/.claude/skills/team-ui-polish/roles/optimizer/role.md +225 -225
- package/.claude/skills/team-ui-polish/roles/scanner/role.md +356 -356
- package/.claude/skills/team-ui-polish/roles/verifier/role.md +142 -142
- package/.claude/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.claude/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.claude/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.claude/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.claude/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.claude/skills/team-uidesign/SKILL.md +144 -144
- package/.claude/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.claude/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.claude/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.claude/skills/team-uidesign/roles/designer/role.md +93 -93
- package/.claude/skills/team-uidesign/roles/implementer/role.md +94 -94
- package/.claude/skills/team-uidesign/roles/researcher/role.md +101 -101
- package/.claude/skills/team-uidesign/roles/reviewer/role.md +69 -69
- package/.claude/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.claude/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.claude/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.claude/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.claude/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.claude/skills/team-ultra-analyze/SKILL.md +173 -173
- package/.claude/skills/team-ultra-analyze/roles/analyst/role.md +98 -98
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
- package/.claude/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.claude/skills/team-ultra-analyze/roles/discussant/role.md +107 -107
- package/.claude/skills/team-ultra-analyze/roles/explorer/role.md +82 -82
- package/.claude/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
- package/.claude/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.claude/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.claude/skills/team-ux-improve/SKILL.md +151 -151
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
- package/.claude/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.claude/skills/team-ux-improve/roles/designer/role.md +152 -152
- package/.claude/skills/team-ux-improve/roles/diagnoser/role.md +108 -108
- package/.claude/skills/team-ux-improve/roles/explorer/role.md +77 -77
- package/.claude/skills/team-ux-improve/roles/implementer/role.md +102 -102
- package/.claude/skills/team-ux-improve/roles/scanner/role.md +135 -135
- package/.claude/skills/team-ux-improve/roles/tester/role.md +84 -84
- package/.claude/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.claude/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.claude/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.claude/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.claude/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.claude/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.claude/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.claude/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.claude/skills/team-visual-a11y/SKILL.md +156 -156
- package/.claude/skills/team-visual-a11y/roles/color-auditor/role.md +178 -178
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
- package/.claude/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.claude/skills/team-visual-a11y/roles/fix-implementer/role.md +246 -246
- package/.claude/skills/team-visual-a11y/roles/focus-auditor/role.md +222 -222
- package/.claude/skills/team-visual-a11y/roles/remediation-planner/role.md +206 -206
- package/.claude/skills/team-visual-a11y/roles/typo-auditor/role.md +185 -185
- package/.claude/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.claude/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.claude/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.claude/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.claude/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.codex/skills/codify-to-knowhow/SKILL.md +3 -3
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +1 -1
- package/.codex/skills/maestro/SKILL.md +573 -565
- package/.codex/skills/maestro-analyze/SKILL.md +3 -3
- package/.codex/skills/maestro-blueprint/SKILL.md +2 -2
- package/.codex/skills/maestro-brainstorm/SKILL.md +3 -3
- package/.codex/skills/maestro-collab/SKILL.md +2 -2
- package/.codex/skills/maestro-companion/SKILL.md +5 -5
- package/.codex/skills/maestro-composer/SKILL.md +2 -2
- package/.codex/skills/maestro-execute/SKILL.md +2 -2
- package/.codex/skills/maestro-fork/SKILL.md +156 -156
- package/.codex/skills/maestro-grill/SKILL.md +2 -2
- package/.codex/skills/maestro-impeccable/SKILL.md +1 -1
- package/.codex/skills/maestro-init/SKILL.md +161 -161
- package/.codex/skills/maestro-milestone-audit/SKILL.md +202 -202
- package/.codex/skills/maestro-milestone-complete/SKILL.md +1 -1
- package/.codex/skills/maestro-overlay/SKILL.md +119 -119
- package/.codex/skills/maestro-plan/SKILL.md +1 -1
- package/.codex/skills/maestro-quick/SKILL.md +2 -2
- package/.codex/skills/maestro-ralph/SKILL.md +138 -11
- package/.codex/skills/maestro-ralph-execute/SKILL.md +17 -6
- package/.codex/skills/maestro-roadmap/SKILL.md +2 -2
- package/.codex/skills/maestro-tools-execute/SKILL.md +3 -3
- package/.codex/skills/maestro-tools-register/SKILL.md +2 -2
- package/.codex/skills/maestro-ui-codify/SKILL.md +2 -2
- package/.codex/skills/manage-codebase-refresh/SKILL.md +72 -72
- package/.codex/skills/manage-drift-realign/SKILL.md +471 -0
- package/.codex/skills/manage-issue/SKILL.md +88 -88
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-learn/SKILL.md +137 -137
- package/.codex/skills/manage-status/SKILL.md +75 -75
- package/.codex/skills/odyssey-debug/SKILL.md +2 -2
- package/.codex/skills/odyssey-improve/SKILL.md +3 -3
- package/.codex/skills/odyssey-planex/SKILL.md +3 -3
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +2 -2
- package/.codex/skills/odyssey-ui/SKILL.md +3 -3
- package/.codex/skills/quality-debug/SKILL.md +1 -1
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-review/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +1 -1
- package/.codex/skills/spec-load/SKILL.md +1 -1
- package/.codex/skills/spec-setup/SKILL.md +73 -73
- package/.codex/skills/team-coordinate/SKILL.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/executor/role.md +3 -3
- package/.codex/skills/team-quality-assurance/roles/analyst/role.md +1 -1
- package/.codex/skills/team-quality-assurance/roles/executor/role.md +1 -1
- package/.codex/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.codex/skills/team-review/roles/reviewer/role.md +1 -1
- package/.codex/skills/team-tech-debt/roles/assessor/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/planner/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/validator/role.md +1 -1
- package/.codex/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.codex/skills/team-testing/roles/executor/role.md +2 -2
- package/.codex/skills/team-testing/roles/generator/role.md +1 -1
- package/README.md +25 -8
- package/README.zh-CN.md +6 -6
- package/chains/_intent-map.json +307 -313
- package/chains/_router.json +149 -168
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js +3 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.d.ts +0 -10
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js +0 -73
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js +3 -23
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +61 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +47 -54
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.d.ts +4 -0
- package/dashboard/dist-server/shared/agent-types.d.ts +2 -0
- package/dashboard/dist-server/src/commands/hooks.js +7 -3
- package/dashboard/dist-server/src/commands/hooks.js.map +1 -1
- package/dashboard/dist-server/src/commands/install-backend.d.ts +11 -1
- package/dashboard/dist-server/src/commands/install-backend.js +70 -1
- package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/graph-types.d.ts +6 -0
- package/dashboard/dist-server/src/coordinator/graph-walker.js +7 -2
- package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
- package/dashboard/dist-server/src/core/component-defs.d.ts +17 -0
- package/dashboard/dist-server/src/core/component-defs.js +49 -2
- package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
- package/dashboard/dist-server/src/hooks/spec-injector.js +7 -8
- package/dashboard/dist-server/src/hooks/spec-injector.js.map +1 -1
- package/dashboard/dist-server/src/search/daemon-client.d.ts +33 -0
- package/dashboard/dist-server/src/search/daemon-client.js +115 -0
- package/dashboard/dist-server/src/search/daemon-client.js.map +1 -0
- package/dashboard/dist-server/src/tools/spec-entry-parser.js +1 -1
- package/dashboard/dist-server/src/tools/spec-entry-parser.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-loader.js +2 -2
- package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
- package/dist/shared/agent-types.d.ts +2 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/api-explore/config.d.ts +5 -1
- package/dist/src/agents/api-explore/config.d.ts.map +1 -1
- package/dist/src/agents/api-explore/config.js +6 -3
- package/dist/src/agents/api-explore/config.js.map +1 -1
- package/dist/src/agents/api-explore/index.js +6 -1
- package/dist/src/agents/api-explore/index.js.map +1 -1
- package/dist/src/agents/api-explore/llm.d.ts +2 -0
- package/dist/src/agents/api-explore/llm.d.ts.map +1 -1
- package/dist/src/agents/api-explore/llm.js +138 -2
- package/dist/src/agents/api-explore/llm.js.map +1 -1
- package/dist/src/cli.js +2 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/coordinate.d.ts.map +1 -1
- package/dist/src/commands/coordinate.js +2 -0
- package/dist/src/commands/coordinate.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +7 -3
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +11 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +70 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +8 -2
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/load.d.ts +12 -0
- package/dist/src/commands/load.d.ts.map +1 -0
- package/dist/src/commands/load.js +185 -0
- package/dist/src/commands/load.js.map +1 -0
- package/dist/src/commands/ralph.d.ts.map +1 -1
- package/dist/src/commands/ralph.js +8 -0
- package/dist/src/commands/ralph.js.map +1 -1
- package/dist/src/commands/search.d.ts +15 -1
- package/dist/src/commands/search.d.ts.map +1 -1
- package/dist/src/commands/search.js +184 -52
- package/dist/src/commands/search.js.map +1 -1
- package/dist/src/commands/timeline.d.ts +14 -0
- package/dist/src/commands/timeline.d.ts.map +1 -0
- package/dist/src/commands/timeline.js +377 -0
- package/dist/src/commands/timeline.js.map +1 -0
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +50 -47
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +29 -28
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/coordinator/graph-types.d.ts +6 -0
- package/dist/src/coordinator/graph-types.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.js +7 -2
- package/dist/src/coordinator/graph-walker.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +17 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +49 -2
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/install-executor.d.ts.map +1 -1
- package/dist/src/core/install-executor.js +11 -1
- package/dist/src/core/install-executor.js.map +1 -1
- package/dist/src/core/install-profile.d.ts +7 -0
- package/dist/src/core/install-profile.d.ts.map +1 -1
- package/dist/src/core/install-profile.js +108 -9
- package/dist/src/core/install-profile.js.map +1 -1
- package/dist/src/graph/kg/surface/cli.d.ts.map +1 -1
- package/dist/src/graph/kg/surface/cli.js +2 -1
- package/dist/src/graph/kg/surface/cli.js.map +1 -1
- package/dist/src/hooks/plugins/explore-plugin.d.ts +16 -0
- package/dist/src/hooks/plugins/explore-plugin.d.ts.map +1 -0
- package/dist/src/hooks/plugins/explore-plugin.js +63 -0
- package/dist/src/hooks/plugins/explore-plugin.js.map +1 -0
- package/dist/src/hooks/plugins/index.d.ts +2 -0
- package/dist/src/hooks/plugins/index.d.ts.map +1 -1
- package/dist/src/hooks/plugins/index.js +1 -0
- package/dist/src/hooks/plugins/index.js.map +1 -1
- package/dist/src/hooks/spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/spec-injector.js +7 -8
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/i18n/detect.d.ts +2 -1
- package/dist/src/i18n/detect.d.ts.map +1 -1
- package/dist/src/i18n/detect.js +32 -8
- package/dist/src/i18n/detect.js.map +1 -1
- package/dist/src/i18n/locales/en.d.ts.map +1 -1
- package/dist/src/i18n/locales/en.js +4 -1
- package/dist/src/i18n/locales/en.js.map +1 -1
- package/dist/src/i18n/locales/zh.d.ts.map +1 -1
- package/dist/src/i18n/locales/zh.js +4 -1
- package/dist/src/i18n/locales/zh.js.map +1 -1
- package/dist/src/i18n/types.d.ts +3 -0
- package/dist/src/i18n/types.d.ts.map +1 -1
- package/dist/src/ralph/cmd-complete.d.ts +4 -0
- package/dist/src/ralph/cmd-complete.d.ts.map +1 -1
- package/dist/src/ralph/cmd-complete.js +8 -0
- package/dist/src/ralph/cmd-complete.js.map +1 -1
- package/dist/src/ralph/cmd-next.d.ts.map +1 -1
- package/dist/src/ralph/cmd-next.js +68 -9
- package/dist/src/ralph/cmd-next.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +29 -2
- package/dist/src/ralph/status-schema.d.ts.map +1 -1
- package/dist/src/ralph/status-schema.js +1 -1
- package/dist/src/search/daemon-client.d.ts +34 -0
- package/dist/src/search/daemon-client.d.ts.map +1 -0
- package/dist/src/search/daemon-client.js +115 -0
- package/dist/src/search/daemon-client.js.map +1 -0
- package/dist/src/search/daemon.d.ts.map +1 -1
- package/dist/src/search/daemon.js +8 -6
- package/dist/src/search/daemon.js.map +1 -1
- package/dist/src/tools/spec-entry-parser.js +1 -1
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-loader.js +2 -2
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts.map +1 -1
- package/dist/src/tools/store-knowhow.js +4 -4
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/dist/src/tui/install-ui/BackupConfig.js +1 -1
- package/dist/src/tui/install-ui/BackupConfig.js.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.js +71 -38
- package/dist/src/tui/install-ui/ComponentGrid.js.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.logic.d.ts +12 -3
- package/dist/src/tui/install-ui/ComponentGrid.logic.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.logic.js +21 -4
- package/dist/src/tui/install-ui/ComponentGrid.logic.js.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.d.ts +3 -1
- package/dist/src/tui/install-ui/CyberItem.d.ts.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.js +13 -15
- package/dist/src/tui/install-ui/CyberItem.js.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.js +2 -4
- package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.d.ts +9 -0
- package/dist/src/tui/install-ui/GroupedHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.js +59 -52
- package/dist/src/tui/install-ui/GroupedHub.js.map +1 -1
- package/dist/src/tui/install-ui/HooksConfig.d.ts.map +1 -1
- package/dist/src/tui/install-ui/HooksConfig.js +1 -1
- package/dist/src/tui/install-ui/HooksConfig.js.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +2 -2
- package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +3 -3
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +54 -5
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.js +3 -3
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/tui/install-ui/McpConfig.js +1 -1
- package/dist/src/tui/install-ui/McpConfig.js.map +1 -1
- package/dist/src/tui/install-ui/StatuslineConfig.js +2 -2
- package/dist/src/tui/install-ui/StatuslineConfig.js.map +1 -1
- package/dist/src/tui/install-ui/StepSelector.js +1 -1
- package/dist/src/tui/install-ui/StepSelector.js.map +1 -1
- package/dist/src/tui/install-ui/types.d.ts +1 -0
- package/dist/src/tui/install-ui/types.d.ts.map +1 -1
- package/dist/src/tui/install-ui/types.js.map +1 -1
- package/dist/src/tui/install-ui/useInstallFlowState.d.ts +8 -2
- package/dist/src/tui/install-ui/useInstallFlowState.d.ts.map +1 -1
- package/dist/src/tui/install-ui/useInstallFlowState.js +145 -15
- package/dist/src/tui/install-ui/useInstallFlowState.js.map +1 -1
- package/dist/src/utils/cli-format.d.ts +3 -3
- package/dist/src/utils/cli-format.d.ts.map +1 -1
- package/dist/src/utils/cli-format.js +32 -21
- package/dist/src/utils/cli-format.js.map +1 -1
- package/dist/src/utils/update-notices.js +12 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/shared/agent-types.ts +2 -0
- package/workflows/agy-instructions.md +127 -88
- package/workflows/analyze.md +2 -2
- package/workflows/auto-test.md +7 -1
- package/workflows/blueprint.md +22 -19
- package/workflows/brainstorm.md +11 -3
- package/workflows/business-test.md +4 -0
- package/workflows/claude-instructions.md +47 -29
- package/workflows/codebase-rebuild.md +8 -1
- package/workflows/codebase-refresh.md +7 -1
- package/workflows/codex-instructions.md +47 -29
- package/workflows/debug.md +5 -2
- package/workflows/domain-add.md +6 -0
- package/workflows/drift-realign.md +396 -0
- package/workflows/execute.md +5 -4
- package/workflows/explore-usage.md +8 -3
- package/workflows/finish-work.md +6 -6
- package/workflows/fork.md +2 -2
- package/workflows/grill.md +6 -5
- package/workflows/harvest.md +2 -2
- package/workflows/impeccable.md +3 -2
- package/workflows/init.md +7 -7
- package/workflows/integration-test.md +1 -0
- package/workflows/issue-discover.md +4 -4
- package/workflows/issue-gaps-analyze.codex.md +3 -1
- package/workflows/issue-gaps-analyze.md +6 -7
- package/workflows/issue-plan.md +1 -1
- package/workflows/knowhow.md +7 -1
- package/workflows/knowledge-audit.md +1 -1
- package/workflows/maestro-super.md +2 -2
- package/workflows/maestro.md +3 -3
- package/workflows/map.md +2 -2
- package/workflows/milestone-audit.md +1 -1
- package/workflows/milestone-complete.md +1 -1
- package/workflows/plan.md +7 -6
- package/workflows/quick.md +8 -6
- package/workflows/ralph-amend-goal.md +177 -0
- package/workflows/refactor.md +2 -0
- package/workflows/retrospective.md +7 -3
- package/workflows/review.md +6 -4
- package/workflows/roadmap-common.md +3 -3
- package/workflows/roadmap.md +8 -5
- package/workflows/spec-generate.md +23 -18
- package/workflows/specs-load.md +1 -1
- package/workflows/specs-setup.md +2 -0
- package/workflows/sync.md +4 -2
- package/workflows/test-gen.md +1 -1
- package/workflows/test.md +1 -1
- package/workflows/ui-codify-extract.md +1 -0
- package/workflows/ui-codify-knowhow.md +1 -1
- package/workflows/ui-codify-package.md +1 -1
- package/workflows/ui-codify.md +9 -7
- package/workflows/ui-design.md +9 -7
- package/workflows/ui-style.md +6 -4
- package/workflows/verify.md +4 -4
- package/workflows/wiki-connect.md +2 -0
- package/workflows/wiki-digest.md +5 -3
- package/workflows/wiki-manage.md +4 -0
- package/chains/singles/spec-generate.json +0 -31
- package/workflows/maestro.codex.md +0 -365
|
@@ -1,406 +1,406 @@
|
|
|
1
|
-
# Action: Analyze Requirements
|
|
2
|
-
|
|
3
|
-
将用户问题描述拆解为多个分析维度,匹配 Spec,评估覆盖度,检测歧义。
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
- 将单一用户描述拆解为多个独立关注维度
|
|
8
|
-
- 为每个维度匹配 problem-taxonomy(检测)+ tuning-strategies(修复)
|
|
9
|
-
- 以"有修复策略"为标准判断是否满足需求
|
|
10
|
-
- 检测歧义并在必要时请求用户澄清
|
|
11
|
-
|
|
12
|
-
## Preconditions
|
|
13
|
-
|
|
14
|
-
- [ ] `state.status === 'running'`
|
|
15
|
-
- [ ] `state.target_skill !== null`
|
|
16
|
-
- [ ] `state.completed_actions.includes('action-init')`
|
|
17
|
-
- [ ] `!state.completed_actions.includes('action-analyze-requirements')`
|
|
18
|
-
|
|
19
|
-
## Execution
|
|
20
|
-
|
|
21
|
-
### Phase 1: 维度拆解 (
|
|
22
|
-
|
|
23
|
-
调用
|
|
24
|
-
|
|
25
|
-
```javascript
|
|
26
|
-
async function analyzeDimensions(state, workDir) {
|
|
27
|
-
const prompt = `
|
|
28
|
-
PURPOSE: 分析用户问题描述,拆解为独立的关注维度
|
|
29
|
-
TASK:
|
|
30
|
-
• 识别用户描述中的多个关注点(每个关注点应该是独立的、可单独分析的)
|
|
31
|
-
• 为每个关注点提取关键词(中英文均可)
|
|
32
|
-
• 推断可能的问题类别:
|
|
33
|
-
- context_explosion: 上下文/Token 相关
|
|
34
|
-
- memory_loss: 遗忘/约束丢失相关
|
|
35
|
-
- dataflow_break: 状态/数据流相关
|
|
36
|
-
- agent_failure: Agent/子任务相关
|
|
37
|
-
- prompt_quality: 提示词/输出质量相关
|
|
38
|
-
- architecture: 架构/结构相关
|
|
39
|
-
- performance: 性能/效率相关
|
|
40
|
-
- error_handling: 错误/异常处理相关
|
|
41
|
-
- output_quality: 输出质量/验证相关
|
|
42
|
-
- user_experience: 交互/体验相关
|
|
43
|
-
• 评估推断置信度 (0-1)
|
|
44
|
-
|
|
45
|
-
INPUT:
|
|
46
|
-
User description: ${state.user_issue_description}
|
|
47
|
-
Target skill: ${state.target_skill.name}
|
|
48
|
-
Skill structure: ${JSON.stringify(state.target_skill.phases)}
|
|
49
|
-
|
|
50
|
-
MODE: analysis
|
|
51
|
-
CONTEXT: @specs/problem-taxonomy.md @specs/dimension-mapping.md
|
|
52
|
-
EXPECTED: JSON (不要包含 markdown 代码块标记)
|
|
53
|
-
{
|
|
54
|
-
"dimensions": [
|
|
55
|
-
{
|
|
56
|
-
"id": "DIM-001",
|
|
57
|
-
"description": "关注点的简短描述",
|
|
58
|
-
"keywords": ["关键词1", "关键词2"],
|
|
59
|
-
"inferred_category": "问题类别",
|
|
60
|
-
"confidence": 0.85,
|
|
61
|
-
"reasoning": "推断理由"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"analysis_notes": "整体分析说明"
|
|
65
|
-
}
|
|
66
|
-
RULES:
|
|
67
|
-
- 每个维度必须独立,不重叠
|
|
68
|
-
- 低于 0.5 置信度的推断应标注需要澄清
|
|
69
|
-
- 如果用户描述非常模糊,至少提取一个 "general" 维度
|
|
70
|
-
`;
|
|
71
|
-
|
|
72
|
-
const cliCommand = `maestro delegate "${escapeForShell(prompt)}" --to
|
|
73
|
-
|
|
74
|
-
console.log('Phase 1: 执行
|
|
75
|
-
|
|
76
|
-
const result = run_command({
|
|
77
|
-
command: cliCommand,
|
|
78
|
-
run_in_background: true,
|
|
79
|
-
timeout: 300000
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
return result;
|
|
83
|
-
}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Phase 2: Spec 匹配
|
|
87
|
-
|
|
88
|
-
基于 `specs/category-mappings.json` 配置为每个维度匹配检测模式和修复策略:
|
|
89
|
-
|
|
90
|
-
```javascript
|
|
91
|
-
// 加载集中式映射配置
|
|
92
|
-
const mappings = JSON.parse(view_file('specs/category-mappings.json'));
|
|
93
|
-
|
|
94
|
-
function matchSpecs(dimensions) {
|
|
95
|
-
return dimensions.map(dim => {
|
|
96
|
-
// 匹配 taxonomy pattern
|
|
97
|
-
const taxonomyMatch = findTaxonomyMatch(dim.inferred_category);
|
|
98
|
-
|
|
99
|
-
// 匹配 strategy
|
|
100
|
-
const strategyMatch = findStrategyMatch(dim.inferred_category);
|
|
101
|
-
|
|
102
|
-
// 判断是否满足(核心标准:有修复策略)
|
|
103
|
-
const hasFix = strategyMatch !== null && strategyMatch.strategies.length > 0;
|
|
104
|
-
|
|
105
|
-
return {
|
|
106
|
-
dimension_id: dim.id,
|
|
107
|
-
taxonomy_match: taxonomyMatch,
|
|
108
|
-
strategy_match: strategyMatch,
|
|
109
|
-
has_fix: hasFix,
|
|
110
|
-
|
|
111
|
-
};
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
function findTaxonomyMatch(category) {
|
|
116
|
-
const config = mappings.categories[category];
|
|
117
|
-
if (!config || config.pattern_ids.length === 0) return null;
|
|
118
|
-
|
|
119
|
-
return {
|
|
120
|
-
category: category,
|
|
121
|
-
pattern_ids: config.pattern_ids,
|
|
122
|
-
severity_hint: config.severity_hint
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
function findStrategyMatch(category) {
|
|
127
|
-
const config = mappings.categories[category];
|
|
128
|
-
if (!config) {
|
|
129
|
-
// Fallback to custom from config
|
|
130
|
-
return mappings.fallback;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
return {
|
|
134
|
-
strategies: config.strategies,
|
|
135
|
-
risk_levels: config.risk_levels
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Phase 3: 覆盖度评估
|
|
141
|
-
|
|
142
|
-
评估所有维度的 Spec 覆盖情况:
|
|
143
|
-
|
|
144
|
-
```javascript
|
|
145
|
-
function evaluateCoverage(specMatches) {
|
|
146
|
-
const total = specMatches.length;
|
|
147
|
-
const withDetection = specMatches.filter(m => m.taxonomy_match !== null).length;
|
|
148
|
-
const withFix = specMatches.filter(m => m.has_fix).length;
|
|
149
|
-
|
|
150
|
-
const rate = total > 0 ? Math.round((withFix / total) * 100) : 0;
|
|
151
|
-
|
|
152
|
-
let status;
|
|
153
|
-
if (rate >= 80) {
|
|
154
|
-
status = 'satisfied';
|
|
155
|
-
} else if (rate >= 50) {
|
|
156
|
-
status = 'partial';
|
|
157
|
-
} else {
|
|
158
|
-
status = 'unsatisfied';
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
return {
|
|
162
|
-
total_dimensions: total,
|
|
163
|
-
with_detection: withDetection,
|
|
164
|
-
with_fix_strategy: withFix,
|
|
165
|
-
coverage_rate: rate,
|
|
166
|
-
status: status
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### Phase 4: 歧义检测
|
|
172
|
-
|
|
173
|
-
识别需要用户澄清的歧义点:
|
|
174
|
-
|
|
175
|
-
```javascript
|
|
176
|
-
function detectAmbiguities(dimensions, specMatches) {
|
|
177
|
-
const ambiguities = [];
|
|
178
|
-
|
|
179
|
-
for (const dim of dimensions) {
|
|
180
|
-
const match = specMatches.find(m => m.dimension_id === dim.id);
|
|
181
|
-
|
|
182
|
-
// 检测1: 低置信度 (< 0.5)
|
|
183
|
-
if (dim.confidence < 0.5) {
|
|
184
|
-
ambiguities.push({
|
|
185
|
-
dimension_id: dim.id,
|
|
186
|
-
type: 'vague_description',
|
|
187
|
-
description: `维度 "${dim.description}" 描述模糊,推断置信度低 (${dim.confidence})`,
|
|
188
|
-
possible_interpretations: suggestInterpretations(dim),
|
|
189
|
-
needs_clarification: true
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
// 检测2: 无匹配类别
|
|
194
|
-
if (!match || (!match.taxonomy_match && !match.strategy_match)) {
|
|
195
|
-
ambiguities.push({
|
|
196
|
-
dimension_id: dim.id,
|
|
197
|
-
type: 'no_category_match',
|
|
198
|
-
description: `维度 "${dim.description}" 无法匹配到已知问题类别`,
|
|
199
|
-
possible_interpretations: ['custom'],
|
|
200
|
-
needs_clarification: true
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// 检测3: 关键词冲突(可能属于多个类别)
|
|
205
|
-
if (dim.keywords.length > 3 && hasConflictingKeywords(dim.keywords)) {
|
|
206
|
-
ambiguities.push({
|
|
207
|
-
dimension_id: dim.id,
|
|
208
|
-
type: 'conflicting_keywords',
|
|
209
|
-
description: `维度 "${dim.description}" 的关键词可能指向多个不同问题`,
|
|
210
|
-
possible_interpretations: inferMultipleCategories(dim.keywords),
|
|
211
|
-
needs_clarification: true
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
return ambiguities;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
function suggestInterpretations(dim) {
|
|
220
|
-
// 基于 mappings 配置推荐可能的解释
|
|
221
|
-
const categories = Object.keys(mappings.categories).filter(
|
|
222
|
-
cat => cat !== 'authoring_principles_violation' // 排除内部检测类别
|
|
223
|
-
);
|
|
224
|
-
return categories.slice(0, 4); // 返回最常见的 4 个作为选项
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
function hasConflictingKeywords(keywords) {
|
|
228
|
-
// 检查关键词是否指向不同方向
|
|
229
|
-
const categoryHints = keywords.map(k => getKeywordCategoryHint(k));
|
|
230
|
-
const uniqueCategories = [...new Set(categoryHints.filter(c => c))];
|
|
231
|
-
return uniqueCategories.length > 1;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
function getKeywordCategoryHint(keyword) {
|
|
235
|
-
// 从 mappings.keywords 构建查找表(合并中英文关键词)
|
|
236
|
-
const keywordMap = {
|
|
237
|
-
...mappings.keywords.chinese,
|
|
238
|
-
...mappings.keywords.english
|
|
239
|
-
};
|
|
240
|
-
return keywordMap[keyword.toLowerCase()];
|
|
241
|
-
}
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
## User Interaction
|
|
245
|
-
|
|
246
|
-
如果检测到需要澄清的歧义,暂停并询问用户:
|
|
247
|
-
|
|
248
|
-
```javascript
|
|
249
|
-
async function handleAmbiguities(ambiguities, dimensions) {
|
|
250
|
-
const needsClarification = ambiguities.filter(a => a.needs_clarification);
|
|
251
|
-
|
|
252
|
-
if (needsClarification.length === 0) {
|
|
253
|
-
return null; // 无需澄清
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
const questions = needsClarification.slice(0, 4).map(a => {
|
|
257
|
-
const dim = dimensions.find(d => d.id === a.dimension_id);
|
|
258
|
-
|
|
259
|
-
return {
|
|
260
|
-
question: `关于 "${dim.description}",您具体指的是?`,
|
|
261
|
-
header: a.dimension_id,
|
|
262
|
-
options: a.possible_interpretations.map(interp => ({
|
|
263
|
-
label: getCategoryLabel(interp),
|
|
264
|
-
description: getCategoryDescription(interp)
|
|
265
|
-
})),
|
|
266
|
-
multiSelect: false
|
|
267
|
-
};
|
|
268
|
-
});
|
|
269
|
-
|
|
270
|
-
return await ask_question({ questions });
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
function getCategoryLabel(category) {
|
|
274
|
-
// 从 mappings 配置加载标签
|
|
275
|
-
return mappings.category_labels_chinese[category] || category;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
function getCategoryDescription(category) {
|
|
279
|
-
// 从 mappings 配置加载描述
|
|
280
|
-
return mappings.category_descriptions[category] || 'Requires further analysis';
|
|
281
|
-
}
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
## Output
|
|
285
|
-
|
|
286
|
-
### State Updates
|
|
287
|
-
|
|
288
|
-
```javascript
|
|
289
|
-
return {
|
|
290
|
-
stateUpdates: {
|
|
291
|
-
requirement_analysis: {
|
|
292
|
-
status: ambiguities.some(a => a.needs_clarification) ? 'needs_clarification' : 'completed',
|
|
293
|
-
analyzed_at: new Date().toISOString(),
|
|
294
|
-
dimensions: dimensions,
|
|
295
|
-
spec_matches: specMatches,
|
|
296
|
-
coverage: coverageResult,
|
|
297
|
-
ambiguities: ambiguities
|
|
298
|
-
},
|
|
299
|
-
// 根据分析结果自动优化 focus_areas
|
|
300
|
-
focus_areas: deriveOptimalFocusAreas(specMatches)
|
|
301
|
-
},
|
|
302
|
-
outputFiles: [
|
|
303
|
-
`${workDir}/requirement-analysis.json`,
|
|
304
|
-
`${workDir}/requirement-analysis.md`
|
|
305
|
-
],
|
|
306
|
-
summary: generateSummary(dimensions, coverageResult, ambiguities)
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
function deriveOptimalFocusAreas(specMatches) {
|
|
310
|
-
const coreCategories = ['context', 'memory', 'dataflow', 'agent'];
|
|
311
|
-
const matched = specMatches
|
|
312
|
-
.filter(m => m.taxonomy_match !== null)
|
|
313
|
-
.map(m => {
|
|
314
|
-
// 映射到诊断 focus_area
|
|
315
|
-
const category = m.taxonomy_match.category;
|
|
316
|
-
if (category === 'context_explosion' || category === 'performance') return 'context';
|
|
317
|
-
if (category === 'memory_loss') return 'memory';
|
|
318
|
-
if (category === 'dataflow_break') return 'dataflow';
|
|
319
|
-
if (category === 'agent_failure' || category === 'error_handling') return 'agent';
|
|
320
|
-
return null;
|
|
321
|
-
})
|
|
322
|
-
.filter(f => f && coreCategories.includes(f));
|
|
323
|
-
|
|
324
|
-
// 去重
|
|
325
|
-
return [...new Set(matched)];
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
function generateSummary(dimensions, coverage, ambiguities) {
|
|
329
|
-
const dimCount = dimensions.length;
|
|
330
|
-
const coverageStatus = coverage.status;
|
|
331
|
-
const ambiguityCount = ambiguities.filter(a => a.needs_clarification).length;
|
|
332
|
-
|
|
333
|
-
let summary = `分析完成:${dimCount} 个维度`;
|
|
334
|
-
summary += `,覆盖度 ${coverage.coverage_rate}% (${coverageStatus})`;
|
|
335
|
-
|
|
336
|
-
if (ambiguityCount > 0) {
|
|
337
|
-
summary += `,${ambiguityCount} 个歧义点待澄清`;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
return summary;
|
|
341
|
-
}
|
|
342
|
-
```
|
|
343
|
-
|
|
344
|
-
### Output Files
|
|
345
|
-
|
|
346
|
-
#### requirement-analysis.json
|
|
347
|
-
|
|
348
|
-
```json
|
|
349
|
-
{
|
|
350
|
-
"timestamp": "2024-01-01T00:00:00Z",
|
|
351
|
-
"target_skill": "skill-name",
|
|
352
|
-
"user_description": "原始用户描述",
|
|
353
|
-
"dimensions": [...],
|
|
354
|
-
"spec_matches": [...],
|
|
355
|
-
"coverage": {...},
|
|
356
|
-
"ambiguities": [...],
|
|
357
|
-
"derived_focus_areas": [...]
|
|
358
|
-
}
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
#### requirement-analysis.md
|
|
362
|
-
|
|
363
|
-
```markdown
|
|
364
|
-
# 需求分析报告
|
|
365
|
-
|
|
366
|
-
## 用户描述
|
|
367
|
-
> ${user_issue_description}
|
|
368
|
-
|
|
369
|
-
## 维度拆解
|
|
370
|
-
|
|
371
|
-
| ID | 描述 | 类别 | 置信度 |
|
|
372
|
-
|----|------|------|--------|
|
|
373
|
-
| DIM-001 | ... | ... | 0.85 |
|
|
374
|
-
|
|
375
|
-
## Spec 匹配
|
|
376
|
-
|
|
377
|
-
| 维度 | 检测模式 | 修复策略 | 是否满足 |
|
|
378
|
-
|------|----------|----------|----------|
|
|
379
|
-
| DIM-001 | CTX-001,002 | sliding_window | ✓ |
|
|
380
|
-
|
|
381
|
-
## 覆盖度评估
|
|
382
|
-
|
|
383
|
-
- 总维度数: N
|
|
384
|
-
- 有检测手段: M
|
|
385
|
-
- 有修复策略: K (满足标准)
|
|
386
|
-
- 覆盖率: X%
|
|
387
|
-
- 状态: satisfied/partial/unsatisfied
|
|
388
|
-
|
|
389
|
-
## 歧义点
|
|
390
|
-
|
|
391
|
-
(如有)
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
## Error Handling
|
|
395
|
-
|
|
396
|
-
| Error | Recovery |
|
|
397
|
-
|-------|----------|
|
|
398
|
-
|
|
|
399
|
-
| JSON 解析失败 | 尝试修复 JSON 或使用默认维度 |
|
|
400
|
-
| 无法匹配任何类别 | 全部归类为 custom,触发
|
|
401
|
-
|
|
402
|
-
## Next Actions
|
|
403
|
-
|
|
404
|
-
- 如果 `requirement_analysis.status === 'completed'`: 继续到 `action-diagnose-*`
|
|
405
|
-
- 如果 `requirement_analysis.status === 'needs_clarification'`: 等待用户澄清后重新执行
|
|
406
|
-
- 如果 `coverage.status === 'unsatisfied'`: 自动触发 `action-
|
|
1
|
+
# Action: Analyze Requirements
|
|
2
|
+
|
|
3
|
+
将用户问题描述拆解为多个分析维度,匹配 Spec,评估覆盖度,检测歧义。
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
- 将单一用户描述拆解为多个独立关注维度
|
|
8
|
+
- 为每个维度匹配 problem-taxonomy(检测)+ tuning-strategies(修复)
|
|
9
|
+
- 以"有修复策略"为标准判断是否满足需求
|
|
10
|
+
- 检测歧义并在必要时请求用户澄清
|
|
11
|
+
|
|
12
|
+
## Preconditions
|
|
13
|
+
|
|
14
|
+
- [ ] `state.status === 'running'`
|
|
15
|
+
- [ ] `state.target_skill !== null`
|
|
16
|
+
- [ ] `state.completed_actions.includes('action-init')`
|
|
17
|
+
- [ ] `!state.completed_actions.includes('action-analyze-requirements')`
|
|
18
|
+
|
|
19
|
+
## Execution
|
|
20
|
+
|
|
21
|
+
### Phase 1: 维度拆解 (Agy CLI)
|
|
22
|
+
|
|
23
|
+
调用 Agy 对用户描述进行语义分析,拆解为独立维度:
|
|
24
|
+
|
|
25
|
+
```javascript
|
|
26
|
+
async function analyzeDimensions(state, workDir) {
|
|
27
|
+
const prompt = `
|
|
28
|
+
PURPOSE: 分析用户问题描述,拆解为独立的关注维度
|
|
29
|
+
TASK:
|
|
30
|
+
• 识别用户描述中的多个关注点(每个关注点应该是独立的、可单独分析的)
|
|
31
|
+
• 为每个关注点提取关键词(中英文均可)
|
|
32
|
+
• 推断可能的问题类别:
|
|
33
|
+
- context_explosion: 上下文/Token 相关
|
|
34
|
+
- memory_loss: 遗忘/约束丢失相关
|
|
35
|
+
- dataflow_break: 状态/数据流相关
|
|
36
|
+
- agent_failure: Agent/子任务相关
|
|
37
|
+
- prompt_quality: 提示词/输出质量相关
|
|
38
|
+
- architecture: 架构/结构相关
|
|
39
|
+
- performance: 性能/效率相关
|
|
40
|
+
- error_handling: 错误/异常处理相关
|
|
41
|
+
- output_quality: 输出质量/验证相关
|
|
42
|
+
- user_experience: 交互/体验相关
|
|
43
|
+
• 评估推断置信度 (0-1)
|
|
44
|
+
|
|
45
|
+
INPUT:
|
|
46
|
+
User description: ${state.user_issue_description}
|
|
47
|
+
Target skill: ${state.target_skill.name}
|
|
48
|
+
Skill structure: ${JSON.stringify(state.target_skill.phases)}
|
|
49
|
+
|
|
50
|
+
MODE: analysis
|
|
51
|
+
CONTEXT: @specs/problem-taxonomy.md @specs/dimension-mapping.md
|
|
52
|
+
EXPECTED: JSON (不要包含 markdown 代码块标记)
|
|
53
|
+
{
|
|
54
|
+
"dimensions": [
|
|
55
|
+
{
|
|
56
|
+
"id": "DIM-001",
|
|
57
|
+
"description": "关注点的简短描述",
|
|
58
|
+
"keywords": ["关键词1", "关键词2"],
|
|
59
|
+
"inferred_category": "问题类别",
|
|
60
|
+
"confidence": 0.85,
|
|
61
|
+
"reasoning": "推断理由"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"analysis_notes": "整体分析说明"
|
|
65
|
+
}
|
|
66
|
+
RULES:
|
|
67
|
+
- 每个维度必须独立,不重叠
|
|
68
|
+
- 低于 0.5 置信度的推断应标注需要澄清
|
|
69
|
+
- 如果用户描述非常模糊,至少提取一个 "general" 维度
|
|
70
|
+
`;
|
|
71
|
+
|
|
72
|
+
const cliCommand = `maestro delegate "${escapeForShell(prompt)}" --to agy --mode analysis --cd "${state.target_skill.path}"`;
|
|
73
|
+
|
|
74
|
+
console.log('Phase 1: 执行 Agy 维度拆解分析...');
|
|
75
|
+
|
|
76
|
+
const result = run_command({
|
|
77
|
+
command: cliCommand,
|
|
78
|
+
run_in_background: true,
|
|
79
|
+
timeout: 300000
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
return result;
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Phase 2: Spec 匹配
|
|
87
|
+
|
|
88
|
+
基于 `specs/category-mappings.json` 配置为每个维度匹配检测模式和修复策略:
|
|
89
|
+
|
|
90
|
+
```javascript
|
|
91
|
+
// 加载集中式映射配置
|
|
92
|
+
const mappings = JSON.parse(view_file('specs/category-mappings.json'));
|
|
93
|
+
|
|
94
|
+
function matchSpecs(dimensions) {
|
|
95
|
+
return dimensions.map(dim => {
|
|
96
|
+
// 匹配 taxonomy pattern
|
|
97
|
+
const taxonomyMatch = findTaxonomyMatch(dim.inferred_category);
|
|
98
|
+
|
|
99
|
+
// 匹配 strategy
|
|
100
|
+
const strategyMatch = findStrategyMatch(dim.inferred_category);
|
|
101
|
+
|
|
102
|
+
// 判断是否满足(核心标准:有修复策略)
|
|
103
|
+
const hasFix = strategyMatch !== null && strategyMatch.strategies.length > 0;
|
|
104
|
+
|
|
105
|
+
return {
|
|
106
|
+
dimension_id: dim.id,
|
|
107
|
+
taxonomy_match: taxonomyMatch,
|
|
108
|
+
strategy_match: strategyMatch,
|
|
109
|
+
has_fix: hasFix,
|
|
110
|
+
needs_agy_analysis: taxonomyMatch === null || mappings.categories[dim.inferred_category]?.needs_agy_analysis
|
|
111
|
+
};
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function findTaxonomyMatch(category) {
|
|
116
|
+
const config = mappings.categories[category];
|
|
117
|
+
if (!config || config.pattern_ids.length === 0) return null;
|
|
118
|
+
|
|
119
|
+
return {
|
|
120
|
+
category: category,
|
|
121
|
+
pattern_ids: config.pattern_ids,
|
|
122
|
+
severity_hint: config.severity_hint
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function findStrategyMatch(category) {
|
|
127
|
+
const config = mappings.categories[category];
|
|
128
|
+
if (!config) {
|
|
129
|
+
// Fallback to custom from config
|
|
130
|
+
return mappings.fallback;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
strategies: config.strategies,
|
|
135
|
+
risk_levels: config.risk_levels
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Phase 3: 覆盖度评估
|
|
141
|
+
|
|
142
|
+
评估所有维度的 Spec 覆盖情况:
|
|
143
|
+
|
|
144
|
+
```javascript
|
|
145
|
+
function evaluateCoverage(specMatches) {
|
|
146
|
+
const total = specMatches.length;
|
|
147
|
+
const withDetection = specMatches.filter(m => m.taxonomy_match !== null).length;
|
|
148
|
+
const withFix = specMatches.filter(m => m.has_fix).length;
|
|
149
|
+
|
|
150
|
+
const rate = total > 0 ? Math.round((withFix / total) * 100) : 0;
|
|
151
|
+
|
|
152
|
+
let status;
|
|
153
|
+
if (rate >= 80) {
|
|
154
|
+
status = 'satisfied';
|
|
155
|
+
} else if (rate >= 50) {
|
|
156
|
+
status = 'partial';
|
|
157
|
+
} else {
|
|
158
|
+
status = 'unsatisfied';
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
return {
|
|
162
|
+
total_dimensions: total,
|
|
163
|
+
with_detection: withDetection,
|
|
164
|
+
with_fix_strategy: withFix,
|
|
165
|
+
coverage_rate: rate,
|
|
166
|
+
status: status
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Phase 4: 歧义检测
|
|
172
|
+
|
|
173
|
+
识别需要用户澄清的歧义点:
|
|
174
|
+
|
|
175
|
+
```javascript
|
|
176
|
+
function detectAmbiguities(dimensions, specMatches) {
|
|
177
|
+
const ambiguities = [];
|
|
178
|
+
|
|
179
|
+
for (const dim of dimensions) {
|
|
180
|
+
const match = specMatches.find(m => m.dimension_id === dim.id);
|
|
181
|
+
|
|
182
|
+
// 检测1: 低置信度 (< 0.5)
|
|
183
|
+
if (dim.confidence < 0.5) {
|
|
184
|
+
ambiguities.push({
|
|
185
|
+
dimension_id: dim.id,
|
|
186
|
+
type: 'vague_description',
|
|
187
|
+
description: `维度 "${dim.description}" 描述模糊,推断置信度低 (${dim.confidence})`,
|
|
188
|
+
possible_interpretations: suggestInterpretations(dim),
|
|
189
|
+
needs_clarification: true
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// 检测2: 无匹配类别
|
|
194
|
+
if (!match || (!match.taxonomy_match && !match.strategy_match)) {
|
|
195
|
+
ambiguities.push({
|
|
196
|
+
dimension_id: dim.id,
|
|
197
|
+
type: 'no_category_match',
|
|
198
|
+
description: `维度 "${dim.description}" 无法匹配到已知问题类别`,
|
|
199
|
+
possible_interpretations: ['custom'],
|
|
200
|
+
needs_clarification: true
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// 检测3: 关键词冲突(可能属于多个类别)
|
|
205
|
+
if (dim.keywords.length > 3 && hasConflictingKeywords(dim.keywords)) {
|
|
206
|
+
ambiguities.push({
|
|
207
|
+
dimension_id: dim.id,
|
|
208
|
+
type: 'conflicting_keywords',
|
|
209
|
+
description: `维度 "${dim.description}" 的关键词可能指向多个不同问题`,
|
|
210
|
+
possible_interpretations: inferMultipleCategories(dim.keywords),
|
|
211
|
+
needs_clarification: true
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
return ambiguities;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
function suggestInterpretations(dim) {
|
|
220
|
+
// 基于 mappings 配置推荐可能的解释
|
|
221
|
+
const categories = Object.keys(mappings.categories).filter(
|
|
222
|
+
cat => cat !== 'authoring_principles_violation' // 排除内部检测类别
|
|
223
|
+
);
|
|
224
|
+
return categories.slice(0, 4); // 返回最常见的 4 个作为选项
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
function hasConflictingKeywords(keywords) {
|
|
228
|
+
// 检查关键词是否指向不同方向
|
|
229
|
+
const categoryHints = keywords.map(k => getKeywordCategoryHint(k));
|
|
230
|
+
const uniqueCategories = [...new Set(categoryHints.filter(c => c))];
|
|
231
|
+
return uniqueCategories.length > 1;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function getKeywordCategoryHint(keyword) {
|
|
235
|
+
// 从 mappings.keywords 构建查找表(合并中英文关键词)
|
|
236
|
+
const keywordMap = {
|
|
237
|
+
...mappings.keywords.chinese,
|
|
238
|
+
...mappings.keywords.english
|
|
239
|
+
};
|
|
240
|
+
return keywordMap[keyword.toLowerCase()];
|
|
241
|
+
}
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
## User Interaction
|
|
245
|
+
|
|
246
|
+
如果检测到需要澄清的歧义,暂停并询问用户:
|
|
247
|
+
|
|
248
|
+
```javascript
|
|
249
|
+
async function handleAmbiguities(ambiguities, dimensions) {
|
|
250
|
+
const needsClarification = ambiguities.filter(a => a.needs_clarification);
|
|
251
|
+
|
|
252
|
+
if (needsClarification.length === 0) {
|
|
253
|
+
return null; // 无需澄清
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const questions = needsClarification.slice(0, 4).map(a => {
|
|
257
|
+
const dim = dimensions.find(d => d.id === a.dimension_id);
|
|
258
|
+
|
|
259
|
+
return {
|
|
260
|
+
question: `关于 "${dim.description}",您具体指的是?`,
|
|
261
|
+
header: a.dimension_id,
|
|
262
|
+
options: a.possible_interpretations.map(interp => ({
|
|
263
|
+
label: getCategoryLabel(interp),
|
|
264
|
+
description: getCategoryDescription(interp)
|
|
265
|
+
})),
|
|
266
|
+
multiSelect: false
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
|
|
270
|
+
return await ask_question({ questions });
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
function getCategoryLabel(category) {
|
|
274
|
+
// 从 mappings 配置加载标签
|
|
275
|
+
return mappings.category_labels_chinese[category] || category;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
function getCategoryDescription(category) {
|
|
279
|
+
// 从 mappings 配置加载描述
|
|
280
|
+
return mappings.category_descriptions[category] || 'Requires further analysis';
|
|
281
|
+
}
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
## Output
|
|
285
|
+
|
|
286
|
+
### State Updates
|
|
287
|
+
|
|
288
|
+
```javascript
|
|
289
|
+
return {
|
|
290
|
+
stateUpdates: {
|
|
291
|
+
requirement_analysis: {
|
|
292
|
+
status: ambiguities.some(a => a.needs_clarification) ? 'needs_clarification' : 'completed',
|
|
293
|
+
analyzed_at: new Date().toISOString(),
|
|
294
|
+
dimensions: dimensions,
|
|
295
|
+
spec_matches: specMatches,
|
|
296
|
+
coverage: coverageResult,
|
|
297
|
+
ambiguities: ambiguities
|
|
298
|
+
},
|
|
299
|
+
// 根据分析结果自动优化 focus_areas
|
|
300
|
+
focus_areas: deriveOptimalFocusAreas(specMatches)
|
|
301
|
+
},
|
|
302
|
+
outputFiles: [
|
|
303
|
+
`${workDir}/requirement-analysis.json`,
|
|
304
|
+
`${workDir}/requirement-analysis.md`
|
|
305
|
+
],
|
|
306
|
+
summary: generateSummary(dimensions, coverageResult, ambiguities)
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
function deriveOptimalFocusAreas(specMatches) {
|
|
310
|
+
const coreCategories = ['context', 'memory', 'dataflow', 'agent'];
|
|
311
|
+
const matched = specMatches
|
|
312
|
+
.filter(m => m.taxonomy_match !== null)
|
|
313
|
+
.map(m => {
|
|
314
|
+
// 映射到诊断 focus_area
|
|
315
|
+
const category = m.taxonomy_match.category;
|
|
316
|
+
if (category === 'context_explosion' || category === 'performance') return 'context';
|
|
317
|
+
if (category === 'memory_loss') return 'memory';
|
|
318
|
+
if (category === 'dataflow_break') return 'dataflow';
|
|
319
|
+
if (category === 'agent_failure' || category === 'error_handling') return 'agent';
|
|
320
|
+
return null;
|
|
321
|
+
})
|
|
322
|
+
.filter(f => f && coreCategories.includes(f));
|
|
323
|
+
|
|
324
|
+
// 去重
|
|
325
|
+
return [...new Set(matched)];
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
function generateSummary(dimensions, coverage, ambiguities) {
|
|
329
|
+
const dimCount = dimensions.length;
|
|
330
|
+
const coverageStatus = coverage.status;
|
|
331
|
+
const ambiguityCount = ambiguities.filter(a => a.needs_clarification).length;
|
|
332
|
+
|
|
333
|
+
let summary = `分析完成:${dimCount} 个维度`;
|
|
334
|
+
summary += `,覆盖度 ${coverage.coverage_rate}% (${coverageStatus})`;
|
|
335
|
+
|
|
336
|
+
if (ambiguityCount > 0) {
|
|
337
|
+
summary += `,${ambiguityCount} 个歧义点待澄清`;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
return summary;
|
|
341
|
+
}
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
### Output Files
|
|
345
|
+
|
|
346
|
+
#### requirement-analysis.json
|
|
347
|
+
|
|
348
|
+
```json
|
|
349
|
+
{
|
|
350
|
+
"timestamp": "2024-01-01T00:00:00Z",
|
|
351
|
+
"target_skill": "skill-name",
|
|
352
|
+
"user_description": "原始用户描述",
|
|
353
|
+
"dimensions": [...],
|
|
354
|
+
"spec_matches": [...],
|
|
355
|
+
"coverage": {...},
|
|
356
|
+
"ambiguities": [...],
|
|
357
|
+
"derived_focus_areas": [...]
|
|
358
|
+
}
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
#### requirement-analysis.md
|
|
362
|
+
|
|
363
|
+
```markdown
|
|
364
|
+
# 需求分析报告
|
|
365
|
+
|
|
366
|
+
## 用户描述
|
|
367
|
+
> ${user_issue_description}
|
|
368
|
+
|
|
369
|
+
## 维度拆解
|
|
370
|
+
|
|
371
|
+
| ID | 描述 | 类别 | 置信度 |
|
|
372
|
+
|----|------|------|--------|
|
|
373
|
+
| DIM-001 | ... | ... | 0.85 |
|
|
374
|
+
|
|
375
|
+
## Spec 匹配
|
|
376
|
+
|
|
377
|
+
| 维度 | 检测模式 | 修复策略 | 是否满足 |
|
|
378
|
+
|------|----------|----------|----------|
|
|
379
|
+
| DIM-001 | CTX-001,002 | sliding_window | ✓ |
|
|
380
|
+
|
|
381
|
+
## 覆盖度评估
|
|
382
|
+
|
|
383
|
+
- 总维度数: N
|
|
384
|
+
- 有检测手段: M
|
|
385
|
+
- 有修复策略: K (满足标准)
|
|
386
|
+
- 覆盖率: X%
|
|
387
|
+
- 状态: satisfied/partial/unsatisfied
|
|
388
|
+
|
|
389
|
+
## 歧义点
|
|
390
|
+
|
|
391
|
+
(如有)
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Error Handling
|
|
395
|
+
|
|
396
|
+
| Error | Recovery |
|
|
397
|
+
|-------|----------|
|
|
398
|
+
| Agy CLI 超时 | 重试一次,仍失败则使用简化分析 |
|
|
399
|
+
| JSON 解析失败 | 尝试修复 JSON 或使用默认维度 |
|
|
400
|
+
| 无法匹配任何类别 | 全部归类为 custom,触发 Agy 深度分析 |
|
|
401
|
+
|
|
402
|
+
## Next Actions
|
|
403
|
+
|
|
404
|
+
- 如果 `requirement_analysis.status === 'completed'`: 继续到 `action-diagnose-*`
|
|
405
|
+
- 如果 `requirement_analysis.status === 'needs_clarification'`: 等待用户澄清后重新执行
|
|
406
|
+
- 如果 `coverage.status === 'unsatisfied'`: 自动触发 `action-agy-analysis` 进行深度分析
|