maestro-flow 0.5.35 → 0.5.37
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 +72 -69
- 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-analyzer.md +1 -0
- package/.agents/agents/workflow-codebase-mapper.md +67 -67
- package/.agents/agents/workflow-collab-planner.md +1 -1
- package/.agents/agents/workflow-debugger.md +2 -1
- package/.agents/agents/workflow-executor.md +3 -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/domain-add/SKILL.md +71 -0
- 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 +227 -226
- package/.agents/skills/maestro-amend/SKILL.md +150 -152
- package/.agents/skills/maestro-analyze/SKILL.md +210 -201
- package/.agents/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agents/skills/maestro-brainstorm/SKILL.md +205 -196
- package/.agents/skills/maestro-collab/SKILL.md +173 -160
- 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 -241
- package/.agents/skills/maestro-overlay/SKILL.md +177 -176
- package/.agents/skills/maestro-plan/SKILL.md +222 -213
- 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 +831 -756
- package/.agents/skills/maestro-ralph-execute/SKILL.md +276 -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 -148
- package/.agents/skills/maestro-ui-codify/SKILL.md +101 -103
- 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-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 -4
- 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 -159
- 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 -68
- package/.agents/skills/spec-remove/SKILL.md +42 -42
- package/.agents/skills/spec-setup/SKILL.md +37 -38
- 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 +14 -8
- 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 -66
- 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 -67
- 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 +72 -69
- 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-analyzer.md +1 -0
- package/.agy/agents/workflow-codebase-mapper.md +67 -67
- package/.agy/agents/workflow-collab-planner.md +1 -1
- package/.agy/agents/workflow-debugger.md +2 -1
- package/.agy/agents/workflow-executor.md +3 -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/domain-add/SKILL.md +68 -0
- 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 +227 -226
- package/.agy/skills/maestro-amend/SKILL.md +150 -152
- package/.agy/skills/maestro-analyze/SKILL.md +210 -201
- package/.agy/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agy/skills/maestro-brainstorm/SKILL.md +205 -196
- package/.agy/skills/maestro-collab/SKILL.md +173 -160
- 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 -241
- package/.agy/skills/maestro-overlay/SKILL.md +177 -176
- package/.agy/skills/maestro-plan/SKILL.md +222 -213
- 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 +831 -756
- package/.agy/skills/maestro-ralph-execute/SKILL.md +276 -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 -148
- package/.agy/skills/maestro-ui-codify/SKILL.md +101 -103
- 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-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 -4
- 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 -159
- 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 -68
- package/.agy/skills/spec-remove/SKILL.md +42 -42
- package/.agy/skills/spec-setup/SKILL.md +37 -38
- 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 +14 -8
- 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 -66
- 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 -67
- 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 +72 -69
- 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-analyzer.md +1 -0
- package/.claude/agents/workflow-codebase-mapper.md +77 -77
- package/.claude/agents/workflow-collab-planner.md +1 -1
- package/.claude/agents/workflow-debugger.md +2 -1
- package/.claude/agents/workflow-executor.md +3 -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/domain-add.md +69 -0
- 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 -164
- package/.claude/commands/maestro-analyze.md +224 -215
- package/.claude/commands/maestro-blueprint.md +189 -189
- package/.claude/commands/maestro-brainstorm.md +218 -209
- package/.claude/commands/maestro-collab.md +185 -172
- 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 -253
- package/.claude/commands/maestro-overlay.md +189 -188
- package/.claude/commands/maestro-plan.md +236 -227
- package/.claude/commands/maestro-player.md +182 -182
- package/.claude/commands/maestro-quick.md +83 -83
- package/.claude/commands/maestro-ralph-execute.md +289 -289
- package/.claude/commands/maestro-ralph.md +845 -770
- 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 -162
- package/.claude/commands/maestro-ui-codify.md +115 -117
- package/.claude/commands/maestro-universal-workflow.md +548 -548
- package/.claude/commands/maestro-update.md +122 -122
- package/.claude/commands/maestro.md +242 -241
- package/.claude/commands/manage-codebase-rebuild.md +87 -87
- 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 -4
- 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 -173
- package/.claude/commands/security-audit.md +230 -230
- package/.claude/commands/spec-add.md +77 -77
- package/.claude/commands/spec-load.md +77 -78
- package/.claude/commands/spec-remove.md +55 -55
- package/.claude/commands/spec-setup.md +48 -49
- 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 +14 -8
- 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 -75
- 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 -75
- 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/domain-add/SKILL.md +79 -0
- package/.codex/skills/domain-discover/SKILL.md +43 -0
- package/.codex/skills/domain-list/SKILL.md +38 -0
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-follow/SKILL.md +0 -3
- package/.codex/skills/learn-investigate/SKILL.md +1 -4
- package/.codex/skills/learn-retro/SKILL.md +0 -2
- package/.codex/skills/maestro/SKILL.md +565 -559
- package/.codex/skills/maestro-amend/SKILL.md +0 -2
- package/.codex/skills/maestro-analyze/SKILL.md +19 -6
- package/.codex/skills/maestro-blueprint/SKILL.md +2 -6
- package/.codex/skills/maestro-brainstorm/SKILL.md +19 -5
- package/.codex/skills/maestro-collab/SKILL.md +16 -3
- package/.codex/skills/maestro-companion/SKILL.md +5 -7
- 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 -158
- package/.codex/skills/maestro-grill/SKILL.md +2 -3
- 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-next/SKILL.md +12 -5
- package/.codex/skills/maestro-overlay/SKILL.md +119 -119
- package/.codex/skills/maestro-plan/SKILL.md +18 -3
- package/.codex/skills/maestro-quick/SKILL.md +2 -2
- package/.codex/skills/maestro-ralph/SKILL.md +4 -3
- package/.codex/skills/maestro-roadmap/SKILL.md +2 -4
- 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-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/manage-wiki/SKILL.md +0 -2
- package/.codex/skills/odyssey-debug/SKILL.md +2 -4
- package/.codex/skills/odyssey-improve/SKILL.md +3 -9
- package/.codex/skills/odyssey-planex/SKILL.md +3 -3
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +2 -5
- package/.codex/skills/odyssey-ui/SKILL.md +3 -6
- 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 -75
- package/.codex/skills/team-coordinate/SKILL.md +1 -4
- package/.codex/skills/team-lifecycle-v4/instructions/agent-instruction.md +0 -2
- 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/chains/_intent-map.json +307 -277
- package/chains/_router.json +149 -168
- package/chains/blueprint-driven.json +49 -0
- package/chains/grill-driven.json +51 -0
- package/dashboard/dist-server/dashboard/src/server/agents/adapter-factory.js +4 -0
- package/dashboard/dist-server/dashboard/src/server/agents/adapter-factory.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.d.ts +6 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js +39 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/stream-json-adapter.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/stream-json-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.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js +16 -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.d.ts +11 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +551 -1
- 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.d.ts +6 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +114 -33
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/constants.js +2 -0
- package/dashboard/dist-server/dashboard/src/shared/constants.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 +3 -1
- package/dashboard/dist-server/src/commands/hooks.js +55 -3
- package/dashboard/dist-server/src/commands/hooks.js.map +1 -1
- package/dashboard/dist-server/src/commands/install-backend.d.ts +1 -1
- package/dashboard/dist-server/src/commands/install-backend.js +1 -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 +6 -0
- package/dashboard/dist-server/src/core/component-defs.js +15 -0
- package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge/domain-extractor.js +4 -2
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge/domain-extractor.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge-extractor-registry.js +6 -1
- package/dashboard/dist-server/src/graph/kg/extraction/knowledge-extractor-registry.js.map +1 -1
- package/dashboard/dist-server/src/hooks/session-context.js +37 -1
- package/dashboard/dist-server/src/hooks/session-context.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/search/daemon.d.ts +42 -0
- package/dashboard/dist-server/src/search/daemon.js +180 -0
- package/dashboard/dist-server/src/search/daemon.js.map +1 -0
- package/dashboard/dist-server/src/tools/domain-loader.d.ts +4 -1
- package/dashboard/dist-server/src/tools/domain-loader.js +56 -25
- package/dashboard/dist-server/src/tools/domain-loader.js.map +1 -1
- package/dashboard/dist-server/src/tools/domain-schema.d.ts +1 -1
- package/dashboard/dist-server/src/tools/domain-schema.js +1 -1
- 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 +3 -1
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/api-explore/agent-loop.d.ts +14 -0
- package/dist/src/agents/api-explore/agent-loop.d.ts.map +1 -0
- package/dist/src/agents/api-explore/agent-loop.js +86 -0
- package/dist/src/agents/api-explore/agent-loop.js.map +1 -0
- package/dist/src/agents/api-explore/config.d.ts +46 -0
- package/dist/src/agents/api-explore/config.d.ts.map +1 -0
- package/dist/src/agents/api-explore/config.js +102 -0
- package/dist/src/agents/api-explore/config.js.map +1 -0
- package/dist/src/agents/api-explore/index.d.ts +2 -0
- package/dist/src/agents/api-explore/index.d.ts.map +1 -0
- package/dist/src/agents/api-explore/index.js +107 -0
- package/dist/src/agents/api-explore/index.js.map +1 -0
- package/dist/src/agents/api-explore/llm.d.ts +30 -0
- package/dist/src/agents/api-explore/llm.d.ts.map +1 -0
- package/dist/src/agents/api-explore/llm.js +184 -0
- package/dist/src/agents/api-explore/llm.js.map +1 -0
- package/dist/src/agents/api-explore/prompt-parser.d.ts +23 -0
- package/dist/src/agents/api-explore/prompt-parser.d.ts.map +1 -0
- package/dist/src/agents/api-explore/prompt-parser.js +73 -0
- package/dist/src/agents/api-explore/prompt-parser.js.map +1 -0
- package/dist/src/agents/api-explore/runner.d.ts +65 -0
- package/dist/src/agents/api-explore/runner.d.ts.map +1 -0
- package/dist/src/agents/api-explore/runner.js +196 -0
- package/dist/src/agents/api-explore/runner.js.map +1 -0
- package/dist/src/agents/api-explore/session.d.ts +23 -0
- package/dist/src/agents/api-explore/session.d.ts.map +1 -0
- package/dist/src/agents/api-explore/session.js +57 -0
- package/dist/src/agents/api-explore/session.js.map +1 -0
- package/dist/src/agents/api-explore/stream-json-emitter.d.ts +10 -0
- package/dist/src/agents/api-explore/stream-json-emitter.d.ts.map +1 -0
- package/dist/src/agents/api-explore/stream-json-emitter.js +19 -0
- package/dist/src/agents/api-explore/stream-json-emitter.js.map +1 -0
- package/dist/src/agents/api-explore/system-prompt.d.ts +2 -0
- package/dist/src/agents/api-explore/system-prompt.d.ts.map +1 -0
- package/dist/src/agents/api-explore/system-prompt.js +31 -0
- package/dist/src/agents/api-explore/system-prompt.js.map +1 -0
- package/dist/src/agents/api-explore/tools.d.ts +11 -0
- package/dist/src/agents/api-explore/tools.d.ts.map +1 -0
- package/dist/src/agents/api-explore/tools.js +168 -0
- package/dist/src/agents/api-explore/tools.js.map +1 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +3 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/cli.js +6 -2
- 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/domain.d.ts.map +1 -1
- package/dist/src/commands/domain.js +5 -4
- package/dist/src/commands/domain.js.map +1 -1
- package/dist/src/commands/explore.d.ts +7 -0
- package/dist/src/commands/explore.d.ts.map +1 -0
- package/dist/src/commands/explore.js +201 -0
- package/dist/src/commands/explore.js.map +1 -0
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +55 -3
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +1 -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 +7 -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/search.d.ts +35 -4
- package/dist/src/commands/search.d.ts.map +1 -1
- package/dist/src/commands/search.js +425 -97
- package/dist/src/commands/search.js.map +1 -1
- 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/commands/workspace.d.ts.map +1 -1
- package/dist/src/commands/workspace.js +9 -3
- package/dist/src/commands/workspace.js.map +1 -1
- package/dist/src/config/cli-tools-defaults.json +2 -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 +6 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +15 -0
- package/dist/src/core/component-defs.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 +64 -0
- package/dist/src/core/install-profile.js.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.d.ts.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.js +4 -2
- package/dist/src/graph/kg/extraction/knowledge/domain-extractor.js.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge-extractor-registry.d.ts.map +1 -1
- package/dist/src/graph/kg/extraction/knowledge-extractor-registry.js +6 -1
- package/dist/src/graph/kg/extraction/knowledge-extractor-registry.js.map +1 -1
- package/dist/src/graph/kg/surface/cli.d.ts.map +1 -1
- package/dist/src/graph/kg/surface/cli.js +7 -3
- 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/session-context.d.ts.map +1 -1
- package/dist/src/hooks/session-context.js +37 -1
- package/dist/src/hooks/session-context.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/ralph/cmd-next.d.ts.map +1 -1
- package/dist/src/ralph/cmd-next.js +74 -2
- package/dist/src/ralph/cmd-next.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +1 -0
- package/dist/src/ralph/status-schema.d.ts.map +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 +43 -0
- package/dist/src/search/daemon.d.ts.map +1 -0
- package/dist/src/search/daemon.js +182 -0
- package/dist/src/search/daemon.js.map +1 -0
- package/dist/src/tools/__tests__/domain-search-debug.js +3 -1
- package/dist/src/tools/__tests__/domain-search-debug.js.map +1 -1
- package/dist/src/tools/domain-loader.d.ts +4 -1
- package/dist/src/tools/domain-loader.d.ts.map +1 -1
- package/dist/src/tools/domain-loader.js +56 -25
- package/dist/src/tools/domain-loader.js.map +1 -1
- package/dist/src/tools/domain-schema.d.ts +1 -1
- package/dist/src/tools/domain-schema.js +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/CyberItem.d.ts.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.js +7 -10
- 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.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.js +6 -6
- 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 +1 -1
- 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 +1 -1
- 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/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 +5 -3
- package/shared/agent-types.ts +3 -1
- package/templates/search-tools.md +22 -6
- package/workflows/agy-instructions.md +0 -4
- package/workflows/analyze.md +2 -2
- package/workflows/boundary-grill.md +50 -0
- package/workflows/brainstorm.md +6 -5
- package/workflows/claude-instructions.md +51 -21
- package/workflows/codebase-rebuild.md +0 -1
- package/workflows/codex-instructions.md +51 -21
- package/workflows/debug.md +0 -4
- package/workflows/domain-add.md +115 -0
- package/workflows/execute.md +7 -0
- package/workflows/explore-usage.md +133 -0
- package/workflows/finish-work.md +2 -6
- package/workflows/fork.md +0 -4
- package/workflows/grill.md +14 -1
- package/workflows/harvest.md +0 -3
- package/workflows/impeccable/audit.md +0 -2
- package/workflows/impeccable/codex.md +0 -4
- package/workflows/init.md +9 -0
- package/workflows/interview-mechanics.md +3 -2
- package/workflows/issue-analyze.md +0 -5
- package/workflows/issue-discover.md +4 -4
- package/workflows/issue-gaps-analyze.codex.md +1 -7
- package/workflows/issue-gaps-analyze.md +3 -4
- package/workflows/knowledge-audit.md +0 -4
- package/workflows/learn.md +0 -6
- package/workflows/maestro.codex.md +0 -4
- package/workflows/maestro.md +31 -18
- package/workflows/merge.md +0 -4
- package/workflows/milestone-complete.md +0 -4
- package/workflows/overlays.md +0 -10
- package/workflows/plan.md +0 -2
- package/workflows/roadmap-common.md +0 -4
- package/workflows/tdd.md +0 -2
- package/workflows/tools-spec.md +1 -7
- package/workflows/ui-codify-extract.md +0 -2
- package/workflows/ui-codify-package.md +0 -2
- package/chains/singles/spec-generate.json +0 -31
|
@@ -1,392 +1,392 @@
|
|
|
1
|
-
# Tuning Strategies
|
|
2
|
-
|
|
3
|
-
Fix strategies for each problem category. Implementation patterns + verification methods.
|
|
4
|
-
|
|
5
|
-
## Usage Context
|
|
6
|
-
|
|
7
|
-
| Phase | Usage |
|
|
8
|
-
|-------|-------|
|
|
9
|
-
| action-propose-fixes | Strategy selection + implementation guidance |
|
|
10
|
-
| action-apply-fix | Apply implementation pattern |
|
|
11
|
-
| action-verify | Run verification method |
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Selection Decision Tree
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
Context Explosion?
|
|
19
|
-
├── history grows unbounded? → sliding_window
|
|
20
|
-
├── full content in prompts? → path_reference
|
|
21
|
-
├── no summarization? → context_summarization
|
|
22
|
-
└── text-based context? → structured_state
|
|
23
|
-
|
|
24
|
-
Long-tail Forgetting?
|
|
25
|
-
├── constraints not in phases? → constraint_injection
|
|
26
|
-
├── no requirements in state? → state_constraints_field
|
|
27
|
-
├── no recovery points? → checkpoint_restore
|
|
28
|
-
└── goal drift risk? → goal_embedding
|
|
29
|
-
|
|
30
|
-
Data Flow?
|
|
31
|
-
├── multiple state files? → state_centralization
|
|
32
|
-
├── no validation? → schema_enforcement
|
|
33
|
-
└── inconsistent names? → field_normalization
|
|
34
|
-
|
|
35
|
-
Agent Coordination?
|
|
36
|
-
├── no error handling? → error_wrapping
|
|
37
|
-
├── no result validation? → result_validation
|
|
38
|
-
└── nested agent calls? → flatten_nesting
|
|
39
|
-
|
|
40
|
-
Authoring Violation?
|
|
41
|
-
├── intermediate files? → eliminate_intermediate_files
|
|
42
|
-
├── state bloat (>15 fields)? → minimize_state
|
|
43
|
-
├── write→read relay? → context_passing
|
|
44
|
-
└── duplicate storage? → deduplicate_storage
|
|
45
|
-
|
|
46
|
-
Token Consumption?
|
|
47
|
-
├── verbose prompts? → prompt_compression
|
|
48
|
-
├── full content passing? → lazy_loading
|
|
49
|
-
├── verbose output? → output_minimization
|
|
50
|
-
├── bloated state? → state_field_reduction
|
|
51
|
-
└── multiple output files? → in_memory_consolidation
|
|
52
|
-
|
|
53
|
-
Documentation?
|
|
54
|
-
├── repeated definitions? → consolidate_to_ssot
|
|
55
|
-
├── hardcoded configs? → centralize_mapping_config
|
|
56
|
-
└── conflicting values? → reconcile_conflicting_definitions
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Authoring Principles Strategies (P0)
|
|
62
|
-
|
|
63
|
-
> **Core Principle**: Simplicity → Remove intermediate files → Context passing
|
|
64
|
-
|
|
65
|
-
### eliminate_intermediate_files
|
|
66
|
-
|
|
67
|
-
```javascript
|
|
68
|
-
// Before: File relay between steps
|
|
69
|
-
const step1 = await analyze();
|
|
70
|
-
Write(`${workDir}/step1.json`, JSON.stringify(step1));
|
|
71
|
-
const step1Data = JSON.parse(Read(`${workDir}/step1.json`));
|
|
72
|
-
const step2 = await transform(step1Data);
|
|
73
|
-
|
|
74
|
-
// After: Direct context passing
|
|
75
|
-
const step1 = await analyze();
|
|
76
|
-
const step2 = await transform(step1); // No file
|
|
77
|
-
return finalize(step2); // Only final result persisted
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
**Verification**: `ls ${workDir}` — no temp/intermediate files
|
|
81
|
-
|
|
82
|
-
### minimize_state
|
|
83
|
-
|
|
84
|
-
**Rules**: ≤15 fields, delete `debug_*`, `*_cache`, `*_temp`, apply sliding window to `*_history`.
|
|
85
|
-
|
|
86
|
-
```typescript
|
|
87
|
-
// Before: Bloated
|
|
88
|
-
interface State { status; target; user_input; parsed_input; intermediate_result; debug_info; analysis_cache; full_history; step1_output; step2_output; final_result; ... }
|
|
89
|
-
|
|
90
|
-
// After: Minimal
|
|
91
|
-
interface State {
|
|
92
|
-
status: 'pending'|'running'|'completed'|'failed';
|
|
93
|
-
target: { name: string; path: string };
|
|
94
|
-
result_path: string;
|
|
95
|
-
error?: string;
|
|
96
|
-
}
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### context_passing
|
|
100
|
-
|
|
101
|
-
```javascript
|
|
102
|
-
async function executeWorkflow(initialContext) {
|
|
103
|
-
let ctx = initialContext;
|
|
104
|
-
ctx = await executePhase1(ctx); // Pass context directly
|
|
105
|
-
ctx = await executePhase2(ctx); // Continue passing
|
|
106
|
-
const result = await executePhase3(ctx);
|
|
107
|
-
Write(`${ctx.workDir}/result.json`, JSON.stringify(result)); // Only final
|
|
108
|
-
return result;
|
|
109
|
-
}
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### deduplicate_storage
|
|
113
|
-
|
|
114
|
-
```javascript
|
|
115
|
-
// Before: state.user_request = state.original_request = state.input_text = input
|
|
116
|
-
// After: state.input = input; // Single source
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
## Context Explosion Strategies
|
|
122
|
-
|
|
123
|
-
### sliding_window
|
|
124
|
-
|
|
125
|
-
```javascript
|
|
126
|
-
const MAX_HISTORY = 5;
|
|
127
|
-
function updateHistory(state, newItem) {
|
|
128
|
-
return { ...state, history: [...(state.history || []), newItem].slice(-MAX_HISTORY) };
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### path_reference
|
|
133
|
-
|
|
134
|
-
```javascript
|
|
135
|
-
// Before: const prompt = `Analyze: ${Read('data.json')}`;
|
|
136
|
-
// After: const prompt = `Analyze file at: ${dataPath}. Read it first.`;
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### context_summarization
|
|
140
|
-
|
|
141
|
-
```javascript
|
|
142
|
-
// Add summarization before passing to next phase
|
|
143
|
-
const summary = await Agent({
|
|
144
|
-
subagent_type: 'universal-executor',
|
|
145
|
-
description: 'Summarize content for context compression',
|
|
146
|
-
run_in_background: false,
|
|
147
|
-
prompt: `Summarize in <100 words: ${fullContent}\nReturn JSON: { summary, key_points[] }`
|
|
148
|
-
});
|
|
149
|
-
nextPhasePrompt = `Previous summary: ${summary.summary}`;
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## Long-tail Forgetting Strategies
|
|
155
|
-
|
|
156
|
-
### constraint_injection
|
|
157
|
-
|
|
158
|
-
```javascript
|
|
159
|
-
// Add to EVERY phase prompt
|
|
160
|
-
const phasePrompt = `
|
|
161
|
-
[CONSTRAINTS - FROM ORIGINAL REQUEST]
|
|
162
|
-
${state.original_requirements.map(r => `- ${r}`).join('\n')}
|
|
163
|
-
|
|
164
|
-
[CURRENT TASK]
|
|
165
|
-
${taskDescription}
|
|
166
|
-
|
|
167
|
-
[REMINDER] Output MUST satisfy all constraints above.
|
|
168
|
-
`;
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### state_constraints_field
|
|
172
|
-
|
|
173
|
-
Add to state-schema + action-init:
|
|
174
|
-
```javascript
|
|
175
|
-
state.original_requirements = extractRequirements(userInput);
|
|
176
|
-
state.goal_summary = summarizeGoal(userInput);
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### checkpoint_restore
|
|
180
|
-
|
|
181
|
-
```javascript
|
|
182
|
-
function createCheckpoint(state, workDir, name) {
|
|
183
|
-
Write(`${workDir}/checkpoints/${name}.json`, JSON.stringify({
|
|
184
|
-
state, timestamp: new Date().toISOString(), name
|
|
185
|
-
}));
|
|
186
|
-
}
|
|
187
|
-
// Use at key phase boundaries
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## Data Flow Strategies
|
|
193
|
-
|
|
194
|
-
### state_centralization
|
|
195
|
-
|
|
196
|
-
```javascript
|
|
197
|
-
// Single state manager — replace all direct writes
|
|
198
|
-
const StateManager = {
|
|
199
|
-
read: (dir) => JSON.parse(Read(`${dir}/state.json`)),
|
|
200
|
-
update: (dir, updates) => {
|
|
201
|
-
const next = { ...StateManager.read(dir), ...updates, updated_at: Date.now() };
|
|
202
|
-
Write(`${dir}/state.json`, JSON.stringify(next, null, 2));
|
|
203
|
-
return next;
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### schema_enforcement
|
|
209
|
-
|
|
210
|
-
```javascript
|
|
211
|
-
function validateState(state) {
|
|
212
|
-
const errors = [];
|
|
213
|
-
if (!['pending','running','completed','failed'].includes(state.status))
|
|
214
|
-
errors.push(`Invalid status: ${state.status}`);
|
|
215
|
-
if (typeof state.target_skill?.name !== 'string')
|
|
216
|
-
errors.push('target_skill.name must be string');
|
|
217
|
-
if (errors.length) throw new Error(`Validation failed:\n${errors.join('\n')}`);
|
|
218
|
-
}
|
|
219
|
-
// Call before every state write
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
### field_normalization
|
|
223
|
-
|
|
224
|
-
```javascript
|
|
225
|
-
const NORMALIZATIONS = { 'title': 'name', 'identifier': 'id', 'state': 'status' };
|
|
226
|
-
function normalizeData(data) {
|
|
227
|
-
if (typeof data !== 'object' || !data) return data;
|
|
228
|
-
return Object.fromEntries(
|
|
229
|
-
Object.entries(data).map(([k, v]) => [NORMALIZATIONS[k] || k, normalizeData(v)])
|
|
230
|
-
);
|
|
231
|
-
}
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
---
|
|
235
|
-
|
|
236
|
-
## Agent Coordination Strategies
|
|
237
|
-
|
|
238
|
-
### error_wrapping
|
|
239
|
-
|
|
240
|
-
```javascript
|
|
241
|
-
async function safeTask(config, state, updateState) {
|
|
242
|
-
for (let attempt = 1; attempt <= 3; attempt++) {
|
|
243
|
-
try {
|
|
244
|
-
const result = await Task(config);
|
|
245
|
-
if (!result) throw new Error('Empty result');
|
|
246
|
-
return result;
|
|
247
|
-
} catch (error) {
|
|
248
|
-
if (attempt === 3) {
|
|
249
|
-
updateState({ error_count: state.error_count + 1 });
|
|
250
|
-
throw error;
|
|
251
|
-
}
|
|
252
|
-
await new Promise(r => setTimeout(r, 1000 * attempt));
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
### result_validation
|
|
259
|
-
|
|
260
|
-
```javascript
|
|
261
|
-
function validateAgentResult(result, requiredFields) {
|
|
262
|
-
const parsed = typeof result === 'string' ? JSON.parse(result) : result;
|
|
263
|
-
for (const field of requiredFields) {
|
|
264
|
-
if (!(field in parsed)) throw new Error(`Missing: ${field}`);
|
|
265
|
-
}
|
|
266
|
-
return parsed;
|
|
267
|
-
}
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
### flatten_nesting
|
|
271
|
-
|
|
272
|
-
```javascript
|
|
273
|
-
// Before: Agent A's prompt tells it to call Agent({subagent_type: 'B'})
|
|
274
|
-
// After: Agent A returns signal, orchestrator handles
|
|
275
|
-
// Agent A: return { needs_agent_b: true, context: {...} }
|
|
276
|
-
// Orchestrator:
|
|
277
|
-
if (parsedA.needs_agent_b) {
|
|
278
|
-
resultB = await Agent({
|
|
279
|
-
subagent_type: 'B',
|
|
280
|
-
description: 'Handle delegated task from Agent A',
|
|
281
|
-
run_in_background: false,
|
|
282
|
-
prompt: `Context: ${parsedA.context}`
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
## Token Consumption Strategies
|
|
290
|
-
|
|
291
|
-
### prompt_compression
|
|
292
|
-
|
|
293
|
-
```javascript
|
|
294
|
-
// Before: Long inline prompt with role, detailed instructions, full code
|
|
295
|
-
// After: Key instructions only
|
|
296
|
-
const prompt = `Analyze ${codePath} for: patterns, security, performance.
|
|
297
|
-
Return JSON: { issues: [], severity: string }`;
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
### lazy_loading
|
|
301
|
-
|
|
302
|
-
```javascript
|
|
303
|
-
// Before: const prompt = `Analyze:\n${Read(filePath)}`;
|
|
304
|
-
// After: const prompt = `Analyze file at: ${filePath}\n(Read if needed)\nReturn: { summary, issues[] }`;
|
|
305
|
-
```
|
|
306
|
-
|
|
307
|
-
### output_minimization
|
|
308
|
-
|
|
309
|
-
```javascript
|
|
310
|
-
const prompt = `
|
|
311
|
-
Analyze the code. Return ONLY this JSON:
|
|
312
|
-
{ "status": "pass|review|fail", "issues": [{"id","severity","file","line"}], "summary": "one sentence" }
|
|
313
|
-
Do not include explanations.
|
|
314
|
-
`;
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
### state_field_reduction
|
|
318
|
-
|
|
319
|
-
Audit checklist:
|
|
320
|
-
```javascript
|
|
321
|
-
function auditStateFields(schema) {
|
|
322
|
-
const candidates = Object.keys(schema).filter(k =>
|
|
323
|
-
k.startsWith('debug_') || k.endsWith('_cache') ||
|
|
324
|
-
k.endsWith('_temp') || k.includes('intermediate')
|
|
325
|
-
);
|
|
326
|
-
return { total: Object.keys(schema).length, removable: candidates };
|
|
327
|
-
}
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
### in_memory_consolidation
|
|
331
|
-
|
|
332
|
-
```javascript
|
|
333
|
-
// Before: Multiple files — diagnosis-report.md, summary.json, tuning-report.md
|
|
334
|
-
// After: Single state.json with final_report rendered on demand
|
|
335
|
-
const consolidated = { ...state, final_report: { summary, generated_at: Date.now() } };
|
|
336
|
-
Write(`${workDir}/state.json`, JSON.stringify(consolidated, null, 2));
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
---
|
|
340
|
-
|
|
341
|
-
## Documentation Strategies
|
|
342
|
-
|
|
343
|
-
### consolidate_to_ssot
|
|
344
|
-
|
|
345
|
-
```javascript
|
|
346
|
-
// 1. Identify canonical source (priority: specs/ > phases/ > SKILL.md)
|
|
347
|
-
// 2. Ensure canonical has full definition
|
|
348
|
-
// 3. Replace other locations with reference links
|
|
349
|
-
// e.g., "See [state-schema.md](phases/state-schema.md)"
|
|
350
|
-
```
|
|
351
|
-
|
|
352
|
-
### centralize_mapping_config
|
|
353
|
-
|
|
354
|
-
```javascript
|
|
355
|
-
// 1. Extract hardcoded mappings → specs/category-mappings.json
|
|
356
|
-
// 2. Runtime loads config: const map = JSON.parse(Read('specs/category-mappings.json'));
|
|
357
|
-
// 3. Replace all inline definitions with config lookup
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
### reconcile_conflicting_definitions
|
|
361
|
-
|
|
362
|
-
```javascript
|
|
363
|
-
// 1. Present conflict to user via AskUserQuestion
|
|
364
|
-
// 2. Apply chosen version across all files
|
|
365
|
-
// 3. Verify no remaining conflicts
|
|
366
|
-
```
|
|
367
|
-
|
|
368
|
-
---
|
|
369
|
-
|
|
370
|
-
## General Optimization Areas (via
|
|
371
|
-
|
|
372
|
-
For issues in these categories, use
|
|
373
|
-
|
|
374
|
-
| Category | Issues |
|
|
375
|
-
|----------|--------|-----------------|
|
|
376
|
-
| Prompt Engineering | Vague instructions, format drift | prompt optimization, structured output |
|
|
377
|
-
| Architecture | Phase overlap, tight coupling | phase_decomposition, interface_contracts |
|
|
378
|
-
| Performance | Slow execution, high tokens | token_budgeting, parallel_execution |
|
|
379
|
-
| Error Handling | Silent failures, no degradation | graceful_degradation, error_propagation |
|
|
380
|
-
| Output Quality | Inconsistent results | quality_gates, output_validation |
|
|
381
|
-
| User Experience | No progress visibility | progress_tracking, interactive_checkpoints |
|
|
382
|
-
|
|
383
|
-
**
|
|
384
|
-
```bash
|
|
385
|
-
maestro delegate "
|
|
386
|
-
PURPOSE: [optimization goal for skill at ${skillPath}]
|
|
387
|
-
TASK: • [specific analysis steps]
|
|
388
|
-
MODE: analysis
|
|
389
|
-
CONTEXT: @${skillPath}/**/*
|
|
390
|
-
EXPECTED: [specific deliverable]
|
|
391
|
-
" --tool
|
|
392
|
-
```
|
|
1
|
+
# Tuning Strategies
|
|
2
|
+
|
|
3
|
+
Fix strategies for each problem category. Implementation patterns + verification methods.
|
|
4
|
+
|
|
5
|
+
## Usage Context
|
|
6
|
+
|
|
7
|
+
| Phase | Usage |
|
|
8
|
+
|-------|-------|
|
|
9
|
+
| action-propose-fixes | Strategy selection + implementation guidance |
|
|
10
|
+
| action-apply-fix | Apply implementation pattern |
|
|
11
|
+
| action-verify | Run verification method |
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Selection Decision Tree
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
Context Explosion?
|
|
19
|
+
├── history grows unbounded? → sliding_window
|
|
20
|
+
├── full content in prompts? → path_reference
|
|
21
|
+
├── no summarization? → context_summarization
|
|
22
|
+
└── text-based context? → structured_state
|
|
23
|
+
|
|
24
|
+
Long-tail Forgetting?
|
|
25
|
+
├── constraints not in phases? → constraint_injection
|
|
26
|
+
├── no requirements in state? → state_constraints_field
|
|
27
|
+
├── no recovery points? → checkpoint_restore
|
|
28
|
+
└── goal drift risk? → goal_embedding
|
|
29
|
+
|
|
30
|
+
Data Flow?
|
|
31
|
+
├── multiple state files? → state_centralization
|
|
32
|
+
├── no validation? → schema_enforcement
|
|
33
|
+
└── inconsistent names? → field_normalization
|
|
34
|
+
|
|
35
|
+
Agent Coordination?
|
|
36
|
+
├── no error handling? → error_wrapping
|
|
37
|
+
├── no result validation? → result_validation
|
|
38
|
+
└── nested agent calls? → flatten_nesting
|
|
39
|
+
|
|
40
|
+
Authoring Violation?
|
|
41
|
+
├── intermediate files? → eliminate_intermediate_files
|
|
42
|
+
├── state bloat (>15 fields)? → minimize_state
|
|
43
|
+
├── write→read relay? → context_passing
|
|
44
|
+
└── duplicate storage? → deduplicate_storage
|
|
45
|
+
|
|
46
|
+
Token Consumption?
|
|
47
|
+
├── verbose prompts? → prompt_compression
|
|
48
|
+
├── full content passing? → lazy_loading
|
|
49
|
+
├── verbose output? → output_minimization
|
|
50
|
+
├── bloated state? → state_field_reduction
|
|
51
|
+
└── multiple output files? → in_memory_consolidation
|
|
52
|
+
|
|
53
|
+
Documentation?
|
|
54
|
+
├── repeated definitions? → consolidate_to_ssot
|
|
55
|
+
├── hardcoded configs? → centralize_mapping_config
|
|
56
|
+
└── conflicting values? → reconcile_conflicting_definitions
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Authoring Principles Strategies (P0)
|
|
62
|
+
|
|
63
|
+
> **Core Principle**: Simplicity → Remove intermediate files → Context passing
|
|
64
|
+
|
|
65
|
+
### eliminate_intermediate_files
|
|
66
|
+
|
|
67
|
+
```javascript
|
|
68
|
+
// Before: File relay between steps
|
|
69
|
+
const step1 = await analyze();
|
|
70
|
+
Write(`${workDir}/step1.json`, JSON.stringify(step1));
|
|
71
|
+
const step1Data = JSON.parse(Read(`${workDir}/step1.json`));
|
|
72
|
+
const step2 = await transform(step1Data);
|
|
73
|
+
|
|
74
|
+
// After: Direct context passing
|
|
75
|
+
const step1 = await analyze();
|
|
76
|
+
const step2 = await transform(step1); // No file
|
|
77
|
+
return finalize(step2); // Only final result persisted
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Verification**: `ls ${workDir}` — no temp/intermediate files
|
|
81
|
+
|
|
82
|
+
### minimize_state
|
|
83
|
+
|
|
84
|
+
**Rules**: ≤15 fields, delete `debug_*`, `*_cache`, `*_temp`, apply sliding window to `*_history`.
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
// Before: Bloated
|
|
88
|
+
interface State { status; target; user_input; parsed_input; intermediate_result; debug_info; analysis_cache; full_history; step1_output; step2_output; final_result; ... }
|
|
89
|
+
|
|
90
|
+
// After: Minimal
|
|
91
|
+
interface State {
|
|
92
|
+
status: 'pending'|'running'|'completed'|'failed';
|
|
93
|
+
target: { name: string; path: string };
|
|
94
|
+
result_path: string;
|
|
95
|
+
error?: string;
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### context_passing
|
|
100
|
+
|
|
101
|
+
```javascript
|
|
102
|
+
async function executeWorkflow(initialContext) {
|
|
103
|
+
let ctx = initialContext;
|
|
104
|
+
ctx = await executePhase1(ctx); // Pass context directly
|
|
105
|
+
ctx = await executePhase2(ctx); // Continue passing
|
|
106
|
+
const result = await executePhase3(ctx);
|
|
107
|
+
Write(`${ctx.workDir}/result.json`, JSON.stringify(result)); // Only final
|
|
108
|
+
return result;
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### deduplicate_storage
|
|
113
|
+
|
|
114
|
+
```javascript
|
|
115
|
+
// Before: state.user_request = state.original_request = state.input_text = input
|
|
116
|
+
// After: state.input = input; // Single source
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Context Explosion Strategies
|
|
122
|
+
|
|
123
|
+
### sliding_window
|
|
124
|
+
|
|
125
|
+
```javascript
|
|
126
|
+
const MAX_HISTORY = 5;
|
|
127
|
+
function updateHistory(state, newItem) {
|
|
128
|
+
return { ...state, history: [...(state.history || []), newItem].slice(-MAX_HISTORY) };
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### path_reference
|
|
133
|
+
|
|
134
|
+
```javascript
|
|
135
|
+
// Before: const prompt = `Analyze: ${Read('data.json')}`;
|
|
136
|
+
// After: const prompt = `Analyze file at: ${dataPath}. Read it first.`;
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### context_summarization
|
|
140
|
+
|
|
141
|
+
```javascript
|
|
142
|
+
// Add summarization before passing to next phase
|
|
143
|
+
const summary = await Agent({
|
|
144
|
+
subagent_type: 'universal-executor',
|
|
145
|
+
description: 'Summarize content for context compression',
|
|
146
|
+
run_in_background: false,
|
|
147
|
+
prompt: `Summarize in <100 words: ${fullContent}\nReturn JSON: { summary, key_points[] }`
|
|
148
|
+
});
|
|
149
|
+
nextPhasePrompt = `Previous summary: ${summary.summary}`;
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Long-tail Forgetting Strategies
|
|
155
|
+
|
|
156
|
+
### constraint_injection
|
|
157
|
+
|
|
158
|
+
```javascript
|
|
159
|
+
// Add to EVERY phase prompt
|
|
160
|
+
const phasePrompt = `
|
|
161
|
+
[CONSTRAINTS - FROM ORIGINAL REQUEST]
|
|
162
|
+
${state.original_requirements.map(r => `- ${r}`).join('\n')}
|
|
163
|
+
|
|
164
|
+
[CURRENT TASK]
|
|
165
|
+
${taskDescription}
|
|
166
|
+
|
|
167
|
+
[REMINDER] Output MUST satisfy all constraints above.
|
|
168
|
+
`;
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### state_constraints_field
|
|
172
|
+
|
|
173
|
+
Add to state-schema + action-init:
|
|
174
|
+
```javascript
|
|
175
|
+
state.original_requirements = extractRequirements(userInput);
|
|
176
|
+
state.goal_summary = summarizeGoal(userInput);
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### checkpoint_restore
|
|
180
|
+
|
|
181
|
+
```javascript
|
|
182
|
+
function createCheckpoint(state, workDir, name) {
|
|
183
|
+
Write(`${workDir}/checkpoints/${name}.json`, JSON.stringify({
|
|
184
|
+
state, timestamp: new Date().toISOString(), name
|
|
185
|
+
}));
|
|
186
|
+
}
|
|
187
|
+
// Use at key phase boundaries
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Data Flow Strategies
|
|
193
|
+
|
|
194
|
+
### state_centralization
|
|
195
|
+
|
|
196
|
+
```javascript
|
|
197
|
+
// Single state manager — replace all direct writes
|
|
198
|
+
const StateManager = {
|
|
199
|
+
read: (dir) => JSON.parse(Read(`${dir}/state.json`)),
|
|
200
|
+
update: (dir, updates) => {
|
|
201
|
+
const next = { ...StateManager.read(dir), ...updates, updated_at: Date.now() };
|
|
202
|
+
Write(`${dir}/state.json`, JSON.stringify(next, null, 2));
|
|
203
|
+
return next;
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### schema_enforcement
|
|
209
|
+
|
|
210
|
+
```javascript
|
|
211
|
+
function validateState(state) {
|
|
212
|
+
const errors = [];
|
|
213
|
+
if (!['pending','running','completed','failed'].includes(state.status))
|
|
214
|
+
errors.push(`Invalid status: ${state.status}`);
|
|
215
|
+
if (typeof state.target_skill?.name !== 'string')
|
|
216
|
+
errors.push('target_skill.name must be string');
|
|
217
|
+
if (errors.length) throw new Error(`Validation failed:\n${errors.join('\n')}`);
|
|
218
|
+
}
|
|
219
|
+
// Call before every state write
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### field_normalization
|
|
223
|
+
|
|
224
|
+
```javascript
|
|
225
|
+
const NORMALIZATIONS = { 'title': 'name', 'identifier': 'id', 'state': 'status' };
|
|
226
|
+
function normalizeData(data) {
|
|
227
|
+
if (typeof data !== 'object' || !data) return data;
|
|
228
|
+
return Object.fromEntries(
|
|
229
|
+
Object.entries(data).map(([k, v]) => [NORMALIZATIONS[k] || k, normalizeData(v)])
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Agent Coordination Strategies
|
|
237
|
+
|
|
238
|
+
### error_wrapping
|
|
239
|
+
|
|
240
|
+
```javascript
|
|
241
|
+
async function safeTask(config, state, updateState) {
|
|
242
|
+
for (let attempt = 1; attempt <= 3; attempt++) {
|
|
243
|
+
try {
|
|
244
|
+
const result = await Task(config);
|
|
245
|
+
if (!result) throw new Error('Empty result');
|
|
246
|
+
return result;
|
|
247
|
+
} catch (error) {
|
|
248
|
+
if (attempt === 3) {
|
|
249
|
+
updateState({ error_count: state.error_count + 1 });
|
|
250
|
+
throw error;
|
|
251
|
+
}
|
|
252
|
+
await new Promise(r => setTimeout(r, 1000 * attempt));
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### result_validation
|
|
259
|
+
|
|
260
|
+
```javascript
|
|
261
|
+
function validateAgentResult(result, requiredFields) {
|
|
262
|
+
const parsed = typeof result === 'string' ? JSON.parse(result) : result;
|
|
263
|
+
for (const field of requiredFields) {
|
|
264
|
+
if (!(field in parsed)) throw new Error(`Missing: ${field}`);
|
|
265
|
+
}
|
|
266
|
+
return parsed;
|
|
267
|
+
}
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### flatten_nesting
|
|
271
|
+
|
|
272
|
+
```javascript
|
|
273
|
+
// Before: Agent A's prompt tells it to call Agent({subagent_type: 'B'})
|
|
274
|
+
// After: Agent A returns signal, orchestrator handles
|
|
275
|
+
// Agent A: return { needs_agent_b: true, context: {...} }
|
|
276
|
+
// Orchestrator:
|
|
277
|
+
if (parsedA.needs_agent_b) {
|
|
278
|
+
resultB = await Agent({
|
|
279
|
+
subagent_type: 'B',
|
|
280
|
+
description: 'Handle delegated task from Agent A',
|
|
281
|
+
run_in_background: false,
|
|
282
|
+
prompt: `Context: ${parsedA.context}`
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## Token Consumption Strategies
|
|
290
|
+
|
|
291
|
+
### prompt_compression
|
|
292
|
+
|
|
293
|
+
```javascript
|
|
294
|
+
// Before: Long inline prompt with role, detailed instructions, full code
|
|
295
|
+
// After: Key instructions only
|
|
296
|
+
const prompt = `Analyze ${codePath} for: patterns, security, performance.
|
|
297
|
+
Return JSON: { issues: [], severity: string }`;
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### lazy_loading
|
|
301
|
+
|
|
302
|
+
```javascript
|
|
303
|
+
// Before: const prompt = `Analyze:\n${Read(filePath)}`;
|
|
304
|
+
// After: const prompt = `Analyze file at: ${filePath}\n(Read if needed)\nReturn: { summary, issues[] }`;
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### output_minimization
|
|
308
|
+
|
|
309
|
+
```javascript
|
|
310
|
+
const prompt = `
|
|
311
|
+
Analyze the code. Return ONLY this JSON:
|
|
312
|
+
{ "status": "pass|review|fail", "issues": [{"id","severity","file","line"}], "summary": "one sentence" }
|
|
313
|
+
Do not include explanations.
|
|
314
|
+
`;
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### state_field_reduction
|
|
318
|
+
|
|
319
|
+
Audit checklist:
|
|
320
|
+
```javascript
|
|
321
|
+
function auditStateFields(schema) {
|
|
322
|
+
const candidates = Object.keys(schema).filter(k =>
|
|
323
|
+
k.startsWith('debug_') || k.endsWith('_cache') ||
|
|
324
|
+
k.endsWith('_temp') || k.includes('intermediate')
|
|
325
|
+
);
|
|
326
|
+
return { total: Object.keys(schema).length, removable: candidates };
|
|
327
|
+
}
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
### in_memory_consolidation
|
|
331
|
+
|
|
332
|
+
```javascript
|
|
333
|
+
// Before: Multiple files — diagnosis-report.md, summary.json, tuning-report.md
|
|
334
|
+
// After: Single state.json with final_report rendered on demand
|
|
335
|
+
const consolidated = { ...state, final_report: { summary, generated_at: Date.now() } };
|
|
336
|
+
Write(`${workDir}/state.json`, JSON.stringify(consolidated, null, 2));
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
---
|
|
340
|
+
|
|
341
|
+
## Documentation Strategies
|
|
342
|
+
|
|
343
|
+
### consolidate_to_ssot
|
|
344
|
+
|
|
345
|
+
```javascript
|
|
346
|
+
// 1. Identify canonical source (priority: specs/ > phases/ > SKILL.md)
|
|
347
|
+
// 2. Ensure canonical has full definition
|
|
348
|
+
// 3. Replace other locations with reference links
|
|
349
|
+
// e.g., "See [state-schema.md](phases/state-schema.md)"
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
### centralize_mapping_config
|
|
353
|
+
|
|
354
|
+
```javascript
|
|
355
|
+
// 1. Extract hardcoded mappings → specs/category-mappings.json
|
|
356
|
+
// 2. Runtime loads config: const map = JSON.parse(Read('specs/category-mappings.json'));
|
|
357
|
+
// 3. Replace all inline definitions with config lookup
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
### reconcile_conflicting_definitions
|
|
361
|
+
|
|
362
|
+
```javascript
|
|
363
|
+
// 1. Present conflict to user via AskUserQuestion
|
|
364
|
+
// 2. Apply chosen version across all files
|
|
365
|
+
// 3. Verify no remaining conflicts
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
## General Optimization Areas (via Agy CLI)
|
|
371
|
+
|
|
372
|
+
For issues in these categories, use Agy CLI for custom analysis:
|
|
373
|
+
|
|
374
|
+
| Category | Issues | Agy Analysis |
|
|
375
|
+
|----------|--------|-----------------|
|
|
376
|
+
| Prompt Engineering | Vague instructions, format drift | prompt optimization, structured output |
|
|
377
|
+
| Architecture | Phase overlap, tight coupling | phase_decomposition, interface_contracts |
|
|
378
|
+
| Performance | Slow execution, high tokens | token_budgeting, parallel_execution |
|
|
379
|
+
| Error Handling | Silent failures, no degradation | graceful_degradation, error_propagation |
|
|
380
|
+
| Output Quality | Inconsistent results | quality_gates, output_validation |
|
|
381
|
+
| User Experience | No progress visibility | progress_tracking, interactive_checkpoints |
|
|
382
|
+
|
|
383
|
+
**Agy CLI Template**:
|
|
384
|
+
```bash
|
|
385
|
+
maestro delegate "
|
|
386
|
+
PURPOSE: [optimization goal for skill at ${skillPath}]
|
|
387
|
+
TASK: • [specific analysis steps]
|
|
388
|
+
MODE: analysis
|
|
389
|
+
CONTEXT: @${skillPath}/**/*
|
|
390
|
+
EXPECTED: [specific deliverable]
|
|
391
|
+
" --tool agy --mode analysis
|
|
392
|
+
```
|