maestro-flow 0.3.45 → 0.3.47
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/.claude/agents/ui-design-agent.md +1 -0
- package/.claude/agents/workflow-executor.md +3 -0
- package/.claude/commands/learn-decompose.md +91 -146
- package/.claude/commands/learn-follow.md +102 -137
- package/.claude/commands/learn-investigate.md +102 -167
- package/.claude/commands/learn-retro.md +100 -243
- package/.claude/commands/learn-second-opinion.md +95 -135
- package/.claude/commands/maestro-amend.md +95 -232
- package/.claude/commands/maestro-analyze.md +1 -6
- package/.claude/commands/maestro-collab.md +104 -265
- package/.claude/commands/maestro-composer.md +113 -293
- package/.claude/commands/maestro-execute.md +11 -17
- package/.claude/commands/maestro-impeccable.md +89 -0
- package/.claude/commands/maestro-plan.md +1 -6
- package/.claude/commands/maestro-player.md +111 -340
- package/.claude/commands/maestro-quick.md +9 -0
- package/.claude/commands/maestro-ralph-execute.md +167 -210
- package/.claude/commands/maestro-ralph.md +245 -426
- package/.claude/commands/maestro-tools-register.md +28 -7
- package/.claude/commands/maestro-ui-codify.md +13 -0
- package/.claude/commands/maestro-ui-craft.md +364 -0
- package/.claude/commands/maestro-ui-design.md +12 -1
- package/.claude/commands/maestro-verify.md +12 -13
- package/.claude/commands/maestro.md +142 -72
- package/.claude/commands/manage-knowhow-capture.md +45 -161
- package/.claude/commands/quality-auto-test.md +9 -0
- package/.claude/commands/quality-debug.md +11 -24
- package/.claude/commands/quality-refactor.md +9 -0
- package/.claude/commands/quality-review.md +5 -13
- package/.claude/commands/quality-test.md +5 -0
- package/.claude/commands/spec-add.md +1 -1
- package/.claude/commands/spec-load.md +3 -2
- package/.claude/skills/maestro-help/SKILL.md +264 -0
- package/.claude/skills/maestro-help/index/catalog.json +182 -0
- package/.claude/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.claude/skills/maestro-help/phases/02-search-present.md +181 -0
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +186 -0
- package/.claude/skills/maestro-impeccable/SKILL.md +169 -0
- package/.codex/agents/team-supervisor.toml +40 -0
- package/.codex/agents/team-worker.toml +63 -0
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +2 -1
- package/.codex/skills/maestro/SKILL.md +278 -313
- package/.codex/skills/maestro-analyze/SKILL.md +126 -417
- package/.codex/skills/maestro-brainstorm/SKILL.md +129 -451
- package/.codex/skills/maestro-collab/SKILL.md +134 -547
- package/.codex/skills/maestro-execute/SKILL.md +4 -2
- package/.codex/skills/maestro-help/SKILL.md +213 -0
- package/.codex/skills/maestro-help/catalog.json +182 -0
- package/.codex/skills/maestro-impeccable/SKILL.md +112 -0
- package/.codex/skills/maestro-plan/SKILL.md +88 -437
- package/.codex/skills/maestro-player/SKILL.md +191 -333
- package/.codex/skills/maestro-quick/SKILL.md +2 -0
- package/.codex/skills/maestro-ralph/SKILL.md +307 -710
- package/.codex/skills/maestro-roadmap/SKILL.md +201 -518
- package/.codex/skills/maestro-tools-register/SKILL.md +29 -7
- package/.codex/skills/maestro-ui-codify/SKILL.md +1 -0
- package/.codex/skills/maestro-ui-craft/SKILL.md +341 -0
- package/.codex/skills/maestro-ui-design/SKILL.md +10 -0
- package/.codex/skills/maestro-verify/SKILL.md +116 -409
- package/.codex/skills/manage-knowhow-capture/SKILL.md +18 -3
- package/.codex/skills/quality-auto-test/SKILL.md +145 -443
- package/.codex/skills/quality-debug/SKILL.md +2 -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 +229 -507
- package/.codex/skills/spec-add/SKILL.md +1 -1
- package/README.md +4 -1
- package/README.zh-CN.md +3 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js +3 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/index.js +5 -3
- package/dashboard/dist-server/dashboard/src/server/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/board-state.integration.test.js +3 -3
- package/dashboard/dist-server/dashboard/src/server/routes/board-state.integration.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/index.js +14 -5
- package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/install.js +110 -1
- package/dashboard/dist-server/dashboard/src/server/routes/install.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/maestro-coordinate.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/routes/maestro-coordinate.js +181 -0
- package/dashboard/dist-server/dashboard/src/server/routes/maestro-coordinate.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js +56 -0
- package/dashboard/dist-server/dashboard/src/server/routes/settings.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js +2 -0
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/state/event-bus.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/state/event-bus.js +2 -0
- package/dashboard/dist-server/dashboard/src/server/state/event-bus.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/state/fs-watcher.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/state/fs-watcher.js +58 -0
- package/dashboard/dist-server/dashboard/src/server/state/fs-watcher.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js +2 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +2 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +3 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.d.ts +7 -2
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.js +7 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/constants.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/shared/constants.js +9 -9
- package/dashboard/dist-server/dashboard/src/shared/constants.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.d.ts +113 -0
- package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.js +6 -0
- package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/shared/types.d.ts +4 -3
- package/dashboard/dist-server/dashboard/src/shared/ws-protocol.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/shared/ws-protocol.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +1 -3
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/agents/cli-history-store.d.ts +5 -0
- package/dist/src/agents/cli-history-store.d.ts.map +1 -1
- package/dist/src/agents/cli-history-store.js +65 -13
- package/dist/src/agents/cli-history-store.js.map +1 -1
- package/dist/src/cli.js +13 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/command-help.d.ts +3 -0
- package/dist/src/commands/command-help.d.ts.map +1 -0
- package/dist/src/commands/command-help.js +60 -0
- package/dist/src/commands/command-help.js.map +1 -0
- package/dist/src/commands/config.d.ts.map +1 -1
- package/dist/src/commands/config.js +17 -0
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +12 -2
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/impeccable.d.ts +10 -0
- package/dist/src/commands/impeccable.d.ts.map +1 -0
- package/dist/src/commands/impeccable.js +181 -0
- package/dist/src/commands/impeccable.js.map +1 -0
- package/dist/src/commands/knowhow.d.ts.map +1 -1
- package/dist/src/commands/knowhow.js +7 -4
- package/dist/src/commands/knowhow.js.map +1 -1
- package/dist/src/commands/spec.js +1 -1
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +5 -1
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +10 -7
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/core/addon-registry.d.ts +31 -0
- package/dist/src/core/addon-registry.d.ts.map +1 -0
- package/dist/src/core/addon-registry.js +28 -0
- package/dist/src/core/addon-registry.js.map +1 -0
- package/dist/src/hooks/plugins/spec-injection-plugin.js +9 -4
- package/dist/src/hooks/plugins/spec-injection-plugin.js.map +1 -1
- package/dist/src/hooks/spec-injector.js +2 -2
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/tools/impeccable/critique-storage.d.ts +28 -0
- package/dist/src/tools/impeccable/critique-storage.d.ts.map +1 -0
- package/dist/src/tools/impeccable/critique-storage.js +120 -0
- package/dist/src/tools/impeccable/critique-storage.js.map +1 -0
- package/dist/src/tools/impeccable/design-parser.d.ts +90 -0
- package/dist/src/tools/impeccable/design-parser.d.ts.map +1 -0
- package/dist/src/tools/impeccable/design-parser.js +696 -0
- package/dist/src/tools/impeccable/design-parser.js.map +1 -0
- package/dist/src/tools/impeccable/detect-csp.d.ts +6 -0
- package/dist/src/tools/impeccable/detect-csp.d.ts.map +1 -0
- package/dist/src/tools/impeccable/detect-csp.js +130 -0
- package/dist/src/tools/impeccable/detect-csp.js.map +1 -0
- package/dist/src/tools/impeccable/is-generated.d.ts +4 -0
- package/dist/src/tools/impeccable/is-generated.d.ts.map +1 -0
- package/dist/src/tools/impeccable/is-generated.js +56 -0
- package/dist/src/tools/impeccable/is-generated.js.map +1 -0
- package/dist/src/tools/impeccable/live/accept.d.ts +50 -0
- package/dist/src/tools/impeccable/live/accept.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/accept.js +556 -0
- package/dist/src/tools/impeccable/live/accept.js.map +1 -0
- package/dist/src/tools/impeccable/live/bootstrap.d.ts +2 -0
- package/dist/src/tools/impeccable/live/bootstrap.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/bootstrap.js +244 -0
- package/dist/src/tools/impeccable/live/bootstrap.js.map +1 -0
- package/dist/src/tools/impeccable/live/complete.d.ts +7 -0
- package/dist/src/tools/impeccable/live/complete.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/complete.js +67 -0
- package/dist/src/tools/impeccable/live/complete.js.map +1 -0
- package/dist/src/tools/impeccable/live/completion.d.ts +24 -0
- package/dist/src/tools/impeccable/live/completion.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/completion.js +26 -0
- package/dist/src/tools/impeccable/live/completion.js.map +1 -0
- package/dist/src/tools/impeccable/live/inject.d.ts +41 -0
- package/dist/src/tools/impeccable/live/inject.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/inject.js +394 -0
- package/dist/src/tools/impeccable/live/inject.js.map +1 -0
- package/dist/src/tools/impeccable/live/poll.d.ts +24 -0
- package/dist/src/tools/impeccable/live/poll.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/poll.js +180 -0
- package/dist/src/tools/impeccable/live/poll.js.map +1 -0
- package/dist/src/tools/impeccable/live/resume.d.ts +5 -0
- package/dist/src/tools/impeccable/live/resume.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/resume.js +30 -0
- package/dist/src/tools/impeccable/live/resume.js.map +1 -0
- package/dist/src/tools/impeccable/live/server.d.ts +6 -0
- package/dist/src/tools/impeccable/live/server.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/server.js +867 -0
- package/dist/src/tools/impeccable/live/server.js.map +1 -0
- package/dist/src/tools/impeccable/live/session-store.d.ts +72 -0
- package/dist/src/tools/impeccable/live/session-store.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/session-store.js +281 -0
- package/dist/src/tools/impeccable/live/session-store.js.map +1 -0
- package/dist/src/tools/impeccable/live/static/live-browser-session.js +123 -0
- package/dist/src/tools/impeccable/live/static/live-browser.js +4860 -0
- package/dist/src/tools/impeccable/live/static/modern-screenshot.umd.js +14 -0
- package/dist/src/tools/impeccable/live/status.d.ts +2 -0
- package/dist/src/tools/impeccable/live/status.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/status.js +52 -0
- package/dist/src/tools/impeccable/live/status.js.map +1 -0
- package/dist/src/tools/impeccable/live/wrap.d.ts +33 -0
- package/dist/src/tools/impeccable/live/wrap.d.ts.map +1 -0
- package/dist/src/tools/impeccable/live/wrap.js +572 -0
- package/dist/src/tools/impeccable/live/wrap.js.map +1 -0
- package/dist/src/tools/impeccable/load-context.d.ts +13 -0
- package/dist/src/tools/impeccable/load-context.d.ts.map +1 -0
- package/dist/src/tools/impeccable/load-context.js +79 -0
- package/dist/src/tools/impeccable/load-context.js.map +1 -0
- package/dist/src/tools/impeccable/paths.d.ts +34 -0
- package/dist/src/tools/impeccable/paths.d.ts.map +1 -0
- package/dist/src/tools/impeccable/paths.js +102 -0
- package/dist/src/tools/impeccable/paths.js.map +1 -0
- package/dist/src/tools/spec-entry-parser.d.ts +1 -1
- package/dist/src/tools/spec-entry-parser.d.ts.map +1 -1
- package/dist/src/tools/spec-entry-parser.js +1 -1
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +26 -1
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +2 -0
- 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 +15 -6
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/package.json +5 -3
- package/workflows/claude-instructions.md +17 -5
- package/workflows/cli-tools-usage.md +10 -3
- package/workflows/delegate-usage.md +3 -2
- package/workflows/impeccable/adapt.md +190 -0
- package/workflows/impeccable/animate.md +175 -0
- package/workflows/impeccable/audit.md +133 -0
- package/workflows/impeccable/bolder.md +113 -0
- package/workflows/impeccable/brand.md +118 -0
- package/workflows/impeccable/clarify.md +174 -0
- package/workflows/impeccable/codex.md +105 -0
- package/workflows/impeccable/cognitive-load.md +106 -0
- package/workflows/impeccable/color-and-contrast.md +105 -0
- package/workflows/impeccable/colorize.md +154 -0
- package/workflows/impeccable/craft.md +123 -0
- package/workflows/impeccable/critique.md +261 -0
- package/workflows/impeccable/delight.md +302 -0
- package/workflows/impeccable/distill.md +111 -0
- package/workflows/impeccable/document.md +439 -0
- package/workflows/impeccable/extract.md +69 -0
- package/workflows/impeccable/harden.md +347 -0
- package/workflows/impeccable/heuristics-scoring.md +234 -0
- package/workflows/impeccable/interaction-design.md +195 -0
- package/workflows/impeccable/layout.md +141 -0
- package/workflows/impeccable/live.md +622 -0
- package/workflows/impeccable/motion-design.md +109 -0
- package/workflows/impeccable/onboard.md +234 -0
- package/workflows/impeccable/optimize.md +258 -0
- package/workflows/impeccable/overdrive.md +130 -0
- package/workflows/impeccable/personas.md +179 -0
- package/workflows/impeccable/polish.md +242 -0
- package/workflows/impeccable/product.md +62 -0
- package/workflows/impeccable/quieter.md +99 -0
- package/workflows/impeccable/responsive-design.md +114 -0
- package/workflows/impeccable/shape.md +165 -0
- package/workflows/impeccable/spatial-design.md +100 -0
- package/workflows/impeccable/teach.md +168 -0
- package/workflows/impeccable/typeset.md +124 -0
- package/workflows/impeccable/typography.md +159 -0
- package/workflows/impeccable/ux-writing.md +107 -0
- package/workflows/impeccable.md +164 -0
- package/workflows/maestro.md +7 -3
- package/workflows/skill-authoring.md +265 -0
- package/workflows/specs-add.md +3 -2
- package/workflows/specs-load.md +2 -1
- package/workflows/specs-setup.md +21 -1
- package/workflows/tools-spec.md +20 -13
- package/.claude/commands/maestro-link-coordinate.md +0 -71
- package/.codex/skills/maestro-link-coordinate/SKILL.md +0 -257
|
@@ -207,9 +207,11 @@ If exit code is 1, present warnings and ask whether to proceed.
|
|
|
207
207
|
|
|
208
208
|
4. **Build tasks.csv**: For each pending task per wave, read `.task/TASK-{NNN}.json` and extract: title, description, scope (from files), convergence.criteria, hints, execution_directives. Set `deps` from task dependency, `context_from` = deps, `wave` from plan.json.
|
|
209
209
|
|
|
210
|
-
5. **Load project specs**:
|
|
210
|
+
5. **Load project specs + tools**: Run `maestro spec load --category coding` to load coding conventions, architecture constraints, AND discoverable knowhow tools (passed to all agents)
|
|
211
211
|
|
|
212
|
-
6. **Load
|
|
212
|
+
6. **Load UI specs (conditional)**: If any task involves frontend/UI work (task scope/description contains component, page, style, layout, CSS, HTML, frontend; or focus_paths in `src/components/`, `src/pages/`, `src/styles/`, `src/ui/`), also run `maestro spec load --category ui` and include in agent context.
|
|
213
|
+
|
|
214
|
+
7. **Load codebase + wiki context** (optional, passed to all agents):
|
|
213
215
|
- If `.workflow/codebase/ARCHITECTURE.md` exists: read and include as `codebase_context` in agent instructions
|
|
214
216
|
- Run `maestro wiki search "<phase keywords>" --json 2>/dev/null`; if results: include top 5 entries as `wiki_context`
|
|
215
217
|
- Both are optional — proceed without if unavailable
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-help
|
|
3
|
+
description: Maestro Flow command help system — search, browse, recommend commands, skills, agents, CLI tools, and workflows
|
|
4
|
+
argument-hint: "[search <keyword>|workflow|skills|agents|cli|新手|下一步|<command-name>]"
|
|
5
|
+
allowed-tools: Read, Grep, Glob, AskUserQuestion
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Maestro Flow 帮助系统。根据用户查询提供命令搜索、技能浏览、工作流推荐、CLI 参考和新手引导。
|
|
10
|
+
|
|
11
|
+
支持 7 种操作模式:
|
|
12
|
+
1. **Command Search** — 搜索命令名、描述、分类
|
|
13
|
+
2. **Command Documentation** — 读取命令源文件,提供详细用法
|
|
14
|
+
3. **Smart Recommendations** — 根据项目状态推荐下一步命令
|
|
15
|
+
4. **Workflow Guide** — 根据任务类型推荐工作流和命令序列
|
|
16
|
+
5. **Beginner Onboarding** — 展示核心命令和入门路径
|
|
17
|
+
6. **Skill & Agent Browsing** — 浏览 Skill 和 Agent 目录
|
|
18
|
+
7. **CLI Reference** — 终端命令参考
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<context>
|
|
22
|
+
|
|
23
|
+
## Mode Routing
|
|
24
|
+
|
|
25
|
+
$ARGUMENTS 为空 → Mode 5 (Beginner Onboarding)
|
|
26
|
+
$ARGUMENTS 匹配关键词 → 路由到对应模式:
|
|
27
|
+
|
|
28
|
+
| 关键词 | Mode | 说明 |
|
|
29
|
+
|--------|------|------|
|
|
30
|
+
| "search", "搜索", "查找" | 1 | Command Search |
|
|
31
|
+
| 命令名 (如 "analyze", "plan") | 2 | Documentation |
|
|
32
|
+
| "下一步", "next", "推荐", "继续" | 3 | Smart Recommendations |
|
|
33
|
+
| "工作流", "workflow", "流程", "管线" | 4 | Workflow Guide |
|
|
34
|
+
| "新手", "入门", "getting started" | 5 | Beginner Onboarding |
|
|
35
|
+
| "skill", "agent", "技能" | 6 | Skill & Agent Browsing |
|
|
36
|
+
| "cli", "终端", "terminal" | 7 | CLI Reference |
|
|
37
|
+
| 其他自由文本 | 1 | Fuzzy Search |
|
|
38
|
+
|
|
39
|
+
## Data Source
|
|
40
|
+
|
|
41
|
+
读取同目录下的 `catalog.json` 作为唯一数据源:
|
|
42
|
+
|
|
43
|
+
| 字段 | 内容 |
|
|
44
|
+
|------|------|
|
|
45
|
+
| `commands[]` | 55 个 slash 命令(name, command, category, description, source) |
|
|
46
|
+
| `skills[]` | 10 个 Skill(name, category, description, source) |
|
|
47
|
+
| `agents[]` | 22 个 Agent(name, category, description) |
|
|
48
|
+
| `cli_commands[]` | 21 个终端命令(command, description, category) |
|
|
49
|
+
| `guide_files[]` | 17 个 Guide 文档索引 |
|
|
50
|
+
| `essential_commands[]` | 10 个核心命令 |
|
|
51
|
+
| `workflows` | 4 大工作流模板(main_pipeline, quick, issue_loop, init_paths) |
|
|
52
|
+
|
|
53
|
+
## Project State Detection
|
|
54
|
+
|
|
55
|
+
Mode 3 (Smart Recommendations) 需要检测项目状态:
|
|
56
|
+
1. 检查 `.workflow/state.json` 是否存在
|
|
57
|
+
2. 读取 currentMilestone, currentPhase, phaseStatus
|
|
58
|
+
3. 根据状态映射到推荐命令
|
|
59
|
+
|
|
60
|
+
</context>
|
|
61
|
+
|
|
62
|
+
<invariants>
|
|
63
|
+
1. **Catalog First** — 先查 catalog.json,再按需读 source 文件
|
|
64
|
+
2. **Guide 链接** — 深层问题引用 guide/ 文档,告知用户具体文件名
|
|
65
|
+
3. **不执行命令** — 本 skill 只提供信息和推荐,不执行 maestro 命令
|
|
66
|
+
4. **精确匹配** — 搜索支持命令名(不含前缀)、分类名、关键词模糊匹配
|
|
67
|
+
5. **上下文感知** — 检查 .workflow/ 状态调整推荐
|
|
68
|
+
</invariants>
|
|
69
|
+
|
|
70
|
+
<execution>
|
|
71
|
+
|
|
72
|
+
### Mode 1: Command Search
|
|
73
|
+
|
|
74
|
+
1. 读取 `catalog.json` 的 `commands[]` + `cli_commands[]`
|
|
75
|
+
2. 按 name、description、category 过滤,匹配 $ARGUMENTS 中的搜索词
|
|
76
|
+
3. 按 relevance 排序:exact match > starts with > contains
|
|
77
|
+
4. 展示 top 5 结果:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
找到 N 个匹配命令:
|
|
81
|
+
|
|
82
|
+
/maestro-analyze — 多维度分析
|
|
83
|
+
分类: pipeline | 查看详情 →
|
|
84
|
+
|
|
85
|
+
/maestro-plan — 任务规划
|
|
86
|
+
分类: pipeline | 查看详情 →
|
|
87
|
+
...
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Mode 2: Command Documentation
|
|
91
|
+
|
|
92
|
+
1. 在 `catalog.json` commands[] 中定位命令
|
|
93
|
+
2. 通过 `source` 路径读取命令源文件(如 `../../commands/maestro-analyze.md`)
|
|
94
|
+
3. 提取 `<purpose>`、`argument-hint`、`<context>` 中的用法示例
|
|
95
|
+
4. 如有对应 guide 文档,读取相关段落
|
|
96
|
+
|
|
97
|
+
Guide 映射:
|
|
98
|
+
- analyze/plan/execute/verify → `guide/command-usage-guide.md`
|
|
99
|
+
- init/roadmap → `guide/quick-start-guide.md`
|
|
100
|
+
- ralph → `guide/maestro-ralph-guide.md`
|
|
101
|
+
- maestro (协调器) → `guide/maestro-coordinator-guide.md`
|
|
102
|
+
- delegate → `guide/delegate-async-guide.md`
|
|
103
|
+
- overlay/amend → `guide/overlay-guide.md`
|
|
104
|
+
|
|
105
|
+
### Mode 3: Smart Recommendations
|
|
106
|
+
|
|
107
|
+
检测项目状态 → 推荐下一步命令:
|
|
108
|
+
|
|
109
|
+
| 当前状态 | 推荐命令 | 原因 |
|
|
110
|
+
|---------|---------|------|
|
|
111
|
+
| 无 .workflow/ | `/maestro-init` | 项目未初始化 |
|
|
112
|
+
| init 完成,无 roadmap | `/maestro-roadmap` | 需要路线图 |
|
|
113
|
+
| roadmap 完成 | `/maestro-analyze` | 开始分析 |
|
|
114
|
+
| analyze 完成 | `/maestro-plan` | 进入规划 |
|
|
115
|
+
| plan 完成 | `/maestro-execute` | 开始执行 |
|
|
116
|
+
| execute 完成 | `/maestro-verify` | 验证成果 |
|
|
117
|
+
| verify 有 gaps | `/maestro-analyze --gaps` | 重新分析 |
|
|
118
|
+
| verify 通过 | `/quality-review` | 进入质量管线 |
|
|
119
|
+
| quality 全通过 | `/maestro-milestone-audit` | 里程碑审计 |
|
|
120
|
+
| 所有 Phase 完成 | `/maestro-milestone-complete` | 关闭里程碑 |
|
|
121
|
+
|
|
122
|
+
### Mode 4: Workflow Guide
|
|
123
|
+
|
|
124
|
+
根据任务类型推荐工作流和命令序列:
|
|
125
|
+
|
|
126
|
+
**新项目**:
|
|
127
|
+
- 最简: `/maestro-init` → `/maestro-roadmap "目标" -y`
|
|
128
|
+
- 头脑风暴: `/maestro-brainstorm "描述"` → `/maestro-init --from-brainstorm ANL-xxx`
|
|
129
|
+
- 完整规范: `/maestro-init` → `/maestro-spec-generate`
|
|
130
|
+
|
|
131
|
+
**功能开发**:
|
|
132
|
+
- 标准: analyze → plan → execute → verify
|
|
133
|
+
- 快速: `/maestro-quick "功能描述"`
|
|
134
|
+
- 全自动: `/maestro -y "功能描述"`
|
|
135
|
+
|
|
136
|
+
**Bug 修复**:
|
|
137
|
+
- 快速: `/maestro-quick "Bug 描述"`
|
|
138
|
+
- Issue 闭环: discover → create → analyze --gaps → plan --gaps → execute → close
|
|
139
|
+
|
|
140
|
+
**代码审查**:
|
|
141
|
+
- `/quality-review` → `/quality-auto-test` → `/quality-test`
|
|
142
|
+
- 失败循环: `/quality-debug` → `/maestro-plan --gaps` → `/maestro-execute`
|
|
143
|
+
|
|
144
|
+
### Mode 5: Beginner Onboarding
|
|
145
|
+
|
|
146
|
+
从 `catalog.json essential_commands[]` 读取核心命令:
|
|
147
|
+
|
|
148
|
+
| 命令 | 用途 | 何时使用 |
|
|
149
|
+
|------|------|---------|
|
|
150
|
+
| `/maestro` | 智能协调器 | 不确定用哪个命令时 |
|
|
151
|
+
| `/maestro-init` | 初始化项目 | 首次使用 |
|
|
152
|
+
| `/maestro-roadmap` | 路线图 | 初始化后规划 |
|
|
153
|
+
| `/maestro-analyze` | 分析 | 开始 Phase 分析 |
|
|
154
|
+
| `/maestro-plan` | 规划 | 分析完成后 |
|
|
155
|
+
| `/maestro-execute` | 执行 | 计划完成后 |
|
|
156
|
+
| `/maestro-verify` | 验证 | 执行完成后 |
|
|
157
|
+
| `/maestro-quick` | 快速任务 | 简单任务跳过管线 |
|
|
158
|
+
| `/quality-review` | 代码审查 | 执行后质量检查 |
|
|
159
|
+
| `/manage-issue` | Issue 管理 | 追踪和解决 Bug |
|
|
160
|
+
|
|
161
|
+
快速上手路径:
|
|
162
|
+
1. `maestro install --force`
|
|
163
|
+
2. `/maestro-init`
|
|
164
|
+
3. `/maestro "任务描述"` — 自动选择最佳工作流
|
|
165
|
+
|
|
166
|
+
### Mode 6: Skill & Agent Browsing
|
|
167
|
+
|
|
168
|
+
**Skills** — 从 `catalog.json` skills[] 读取,按分类展示:
|
|
169
|
+
|
|
170
|
+
- **Meta (2)**: workflow-skill-designer, skill-iter-tune
|
|
171
|
+
- **Team (6)**: team-coordinate, team-executor, team-lifecycle-v4, team-quality-assurance, team-review, team-tech-debt, team-testing
|
|
172
|
+
- **Knowledge (1)**: codify-to-knowhow
|
|
173
|
+
|
|
174
|
+
**Agents** — 从 `catalog.json` agents[] 读取,按分类展示:
|
|
175
|
+
|
|
176
|
+
- **Workflow (15)**: analyzer, planner, executor, verifier, reviewer, debugger, research-agent, roadmapper, plan-checker, phase-researcher, project-researcher, research-synthesizer, codebase-mapper, nyquist-auditor, integration-checker, external-researcher, collab-planner
|
|
177
|
+
- **Team (2)**: supervisor, worker
|
|
178
|
+
- **Planning (1)**: conceptual-planning-agent
|
|
179
|
+
- **CLI (1)**: cli-explore-agent
|
|
180
|
+
- **UI (1)**: ui-design-agent
|
|
181
|
+
|
|
182
|
+
### Mode 7: CLI Reference
|
|
183
|
+
|
|
184
|
+
从 `catalog.json` cli_commands[] 读取,按分类展示:
|
|
185
|
+
|
|
186
|
+
| 分类 | 命令 |
|
|
187
|
+
|------|------|
|
|
188
|
+
| Setup | install, uninstall, update, launcher |
|
|
189
|
+
| Dashboard | view, stop |
|
|
190
|
+
| Execution | delegate, coordinate (coord), cli, run, serve |
|
|
191
|
+
| Knowledge | spec, wiki, knowhow (kh) |
|
|
192
|
+
| Config | hooks, overlay, ext, tool |
|
|
193
|
+
| Team | collab (team), agent-msg (msg) |
|
|
194
|
+
| Visualization | brainstorm-visualize (bv) |
|
|
195
|
+
|
|
196
|
+
</execution>
|
|
197
|
+
|
|
198
|
+
<error_codes>
|
|
199
|
+
| Code | Severity | Condition | Recovery |
|
|
200
|
+
|------|----------|-----------|----------|
|
|
201
|
+
| E001 | error | catalog.json 读取失败 | 回退到 Glob 扫描 .claude/commands/*.md |
|
|
202
|
+
| W001 | warning | 搜索无结果 | 模糊匹配最近命令,建议查看全部 |
|
|
203
|
+
| W002 | warning | Source 文件不存在 | 仅展示 catalog 描述 |
|
|
204
|
+
| W003 | warning | 项目未初始化 | 推荐先运行 /maestro-init |
|
|
205
|
+
</error_codes>
|
|
206
|
+
|
|
207
|
+
<success_criteria>
|
|
208
|
+
- [ ] 正确路由到对应操作模式
|
|
209
|
+
- [ ] 搜索结果包含命令名、描述、分类
|
|
210
|
+
- [ ] 文档模式展示了命令源文件的关键内容
|
|
211
|
+
- [ ] 推荐模式基于项目状态提供了合理的下一步建议
|
|
212
|
+
- [ ] 工作流推荐包含具体命令序列
|
|
213
|
+
</success_criteria>
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_metadata": {
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"generated": "2026-05-11",
|
|
5
|
+
"description": "Maestro Flow command/skill/agent catalog — single source of truth for maestro-help"
|
|
6
|
+
},
|
|
7
|
+
"commands": [
|
|
8
|
+
{"name": "maestro", "command": "/maestro", "category": "core", "description": "智能协调器 — 根据意图和项目状态自动选择最优命令链", "source": "../../commands/maestro.md"},
|
|
9
|
+
{"name": "maestro-init", "command": "/maestro-init", "category": "core", "description": "项目初始化 — 创建 .workflow/ 目录结构和状态文件", "source": "../../commands/maestro-init.md"},
|
|
10
|
+
{"name": "maestro-roadmap", "command": "/maestro-roadmap", "category": "core", "description": "路线图生成 — 基于目标创建里程碑和 Phase 分解", "source": "../../commands/maestro-roadmap.md"},
|
|
11
|
+
{"name": "maestro-brainstorm", "command": "/maestro-brainstorm", "category": "core", "description": "多角色头脑风暴 — 生成分析文档和功能规格", "source": "../../commands/maestro-brainstorm.md"},
|
|
12
|
+
{"name": "maestro-analyze", "command": "/maestro-analyze", "category": "pipeline", "description": "多维度分析 — Phase 分析、CLI 辅助探索、gap 分析", "source": "../../commands/maestro-analyze.md"},
|
|
13
|
+
{"name": "maestro-plan", "command": "/maestro-plan", "category": "pipeline", "description": "任务规划 — 生成执行计划、碰撞检测、gap 修复计划", "source": "../../commands/maestro-plan.md"},
|
|
14
|
+
{"name": "maestro-execute", "command": "/maestro-execute", "category": "pipeline", "description": "任务执行 — wave 并行执行、delegate 编排、自动提交", "source": "../../commands/maestro-execute.md"},
|
|
15
|
+
{"name": "maestro-verify", "command": "/maestro-verify", "category": "pipeline", "description": "验证确认 — 成果检查、gap 发现、下一阶段建议", "source": "../../commands/maestro-verify.md"},
|
|
16
|
+
{"name": "maestro-quick", "command": "/maestro-quick", "category": "core", "description": "快速任务 — 跳过 Phase 管线直接完成,支持 --full/--discuss 模式", "source": "../../commands/maestro-quick.md"},
|
|
17
|
+
{"name": "maestro-overlay", "command": "/maestro-overlay", "category": "core", "description": "Overlay 管理 — 创建、查看、删除命令补丁", "source": "../../commands/maestro-overlay.md"},
|
|
18
|
+
{"name": "maestro-amend", "command": "/maestro-amend", "category": "core", "description": "修正补丁 — 从工作流信号自动生成 overlay", "source": "../../commands/maestro-amend.md"},
|
|
19
|
+
{"name": "maestro-fork", "command": "/maestro-fork", "category": "worktree", "description": "Worktree 分叉 — 基于 milestone 创建隔离开发环境", "source": "../../commands/maestro-fork.md"},
|
|
20
|
+
{"name": "maestro-merge", "command": "/maestro-merge", "category": "worktree", "description": "Worktree 合并 — 同步变更回主线", "source": "../../commands/maestro-merge.md"},
|
|
21
|
+
{"name": "maestro-collab", "command": "/maestro-collab", "category": "team", "description": "人类团队协作 — .workflow/collab/ 目录管理", "source": "../../commands/maestro-collab.md"},
|
|
22
|
+
{"name": "maestro-milestone-audit", "command": "/maestro-milestone-audit", "category": "milestone", "description": "里程碑审计 — 检查 Phase 完成度和质量", "source": "../../commands/maestro-milestone-audit.md"},
|
|
23
|
+
{"name": "maestro-milestone-complete", "command": "/maestro-milestone-complete", "category": "milestone", "description": "里程碑完成 — 归档里程碑并推进下一个", "source": "../../commands/maestro-milestone-complete.md"},
|
|
24
|
+
{"name": "maestro-milestone-release", "command": "/maestro-milestone-release", "category": "milestone", "description": "里程碑发布 — 生成发布说明和变更日志", "source": "../../commands/maestro-milestone-release.md"},
|
|
25
|
+
{"name": "maestro-composer", "command": "/maestro-composer", "category": "core", "description": "编排器 — compose + play 工作流组合执行", "source": "../../commands/maestro-composer.md"},
|
|
26
|
+
{"name": "maestro-player", "command": "/maestro-player", "category": "core", "description": "播放器 — 执行已编排的工作流", "source": "../../commands/maestro-player.md"},
|
|
27
|
+
{"name": "maestro-ralph", "command": "/maestro-ralph", "category": "ralph", "description": "Ralph 引擎 — 自适应生命周期决策节点管理", "source": "../../commands/maestro-ralph.md"},
|
|
28
|
+
{"name": "maestro-ralph-execute", "command": "/maestro-ralph-execute", "category": "ralph", "description": "Ralph 执行 — 运行自适应决策链", "source": "../../commands/maestro-ralph-execute.md"},
|
|
29
|
+
{"name": "maestro-learn", "command": "/maestro-learn", "category": "core", "description": "学习 — 从执行中提取知识和模式", "source": "../../commands/maestro-learn.md"},
|
|
30
|
+
{"name": "maestro-ui-design", "command": "/maestro-ui-design", "category": "ui", "description": "UI 设计 — 设计系统原型和 Token 管理", "source": "../../commands/maestro-ui-design.md"},
|
|
31
|
+
{"name": "maestro-ui-codify", "command": "/maestro-ui-codify", "category": "ui", "description": "UI 固化 — 将设计产出转化为知识资产", "source": "../../commands/maestro-ui-codify.md"},
|
|
32
|
+
{"name": "maestro-update", "command": "/maestro-update", "category": "core", "description": "版本更新 — 检查并安装最新版本", "source": "../../commands/maestro-update.md"},
|
|
33
|
+
{"name": "maestro-tools-register", "command": "/maestro-tools-register", "category": "tools", "description": "MCP 工具注册 — 注册外部工具到 Maestro", "source": "../../commands/maestro-tools-register.md"},
|
|
34
|
+
{"name": "maestro-tools-execute", "command": "/maestro-tools-execute", "category": "tools", "description": "MCP 工具执行 — 调用已注册的外部工具", "source": "../../commands/maestro-tools-execute.md"},
|
|
35
|
+
{"name": "manage-issue", "command": "/manage-issue", "category": "manage", "description": "Issue 管理 — CRUD 操作、状态追踪", "source": "../../commands/manage-issue.md"},
|
|
36
|
+
{"name": "manage-issue-discover", "command": "/manage-issue-discover", "category": "manage", "description": "Issue 发现 — 按提示词或代码分析自动发现问题", "source": "../../commands/manage-issue-discover.md"},
|
|
37
|
+
{"name": "manage-knowhow", "command": "/manage-knowhow", "category": "manage", "description": "知识管理 — knowhow 条目查询和管理", "source": "../../commands/manage-knowhow.md"},
|
|
38
|
+
{"name": "manage-knowhow-capture", "command": "/manage-knowhow-capture", "category": "manage", "description": "知识捕获 — 从会话中捕获非显而易见的知识", "source": "../../commands/manage-knowhow-capture.md"},
|
|
39
|
+
{"name": "manage-learn", "command": "/manage-learn", "category": "manage", "description": "学习管理 — 查看、整理学习记录", "source": "../../commands/manage-learn.md"},
|
|
40
|
+
{"name": "manage-harvest", "command": "/manage-harvest", "category": "manage", "description": "收获 — 从已完成里程碑中提取可复用资产", "source": "../../commands/manage-harvest.md"},
|
|
41
|
+
{"name": "manage-status", "command": "/manage-status", "category": "manage", "description": "状态查看 — 项目和工作流状态总览", "source": "../../commands/manage-status.md"},
|
|
42
|
+
{"name": "manage-wiki", "command": "/manage-wiki", "category": "manage", "description": "Wiki 管理 — 知识图谱条目操作", "source": "../../commands/manage-wiki.md"},
|
|
43
|
+
{"name": "manage-codebase-refresh", "command": "/manage-codebase-refresh", "category": "manage", "description": "代码库刷新 — 增量更新代码库索引", "source": "../../commands/manage-codebase-refresh.md"},
|
|
44
|
+
{"name": "manage-codebase-rebuild", "command": "/manage-codebase-rebuild", "category": "manage", "description": "代码库重建 — 全量重建代码库索引", "source": "../../commands/manage-codebase-rebuild.md"},
|
|
45
|
+
{"name": "quality-review", "command": "/quality-review", "category": "quality", "description": "代码审查 — 多维度代码质量检查", "source": "../../commands/quality-review.md"},
|
|
46
|
+
{"name": "quality-auto-test", "command": "/quality-auto-test", "category": "quality", "description": "自动测试 — 智能路由 spec/gap/code 测试", "source": "../../commands/quality-auto-test.md"},
|
|
47
|
+
{"name": "quality-test", "command": "/quality-test", "category": "quality", "description": "业务测试 — 会话式 UAT 验证", "source": "../../commands/quality-test.md"},
|
|
48
|
+
{"name": "quality-debug", "command": "/quality-debug", "category": "quality", "description": "质量调试 — 诊断测试失败并提供修复方案", "source": "../../commands/quality-debug.md"},
|
|
49
|
+
{"name": "quality-refactor", "command": "/quality-refactor", "category": "quality", "description": "代码重构 — 结构优化和模式改进", "source": "../../commands/quality-refactor.md"},
|
|
50
|
+
{"name": "quality-sync", "command": "/quality-sync", "category": "quality", "description": "质量同步 — 跨 Phase 质量状态对齐", "source": "../../commands/quality-sync.md"},
|
|
51
|
+
{"name": "quality-retrospective", "command": "/quality-retrospective", "category": "quality", "description": "质量复盘 — 阶段性质量回顾和改进", "source": "../../commands/quality-retrospective.md"},
|
|
52
|
+
{"name": "spec-setup", "command": "/spec-setup", "category": "spec", "description": "Spec 初始化 — 创建项目规范文件", "source": "../../commands/spec-setup.md"},
|
|
53
|
+
{"name": "spec-load", "command": "/spec-load", "category": "spec", "description": "Spec 加载 — 按关键词加载规范条目", "source": "../../commands/spec-load.md"},
|
|
54
|
+
{"name": "spec-add", "command": "/spec-add", "category": "spec", "description": "Spec 录入 — 添加新的规范条目", "source": "../../commands/spec-add.md"},
|
|
55
|
+
{"name": "spec-remove", "command": "/spec-remove", "category": "spec", "description": "Spec 移除 — 删除已有规范条目", "source": "../../commands/spec-remove.md"},
|
|
56
|
+
{"name": "learn-retro", "command": "/learn-retro", "category": "learn", "description": "统一复盘 — git + 决策双轨复盘", "source": "../../commands/learn-retro.md"},
|
|
57
|
+
{"name": "learn-follow", "command": "/learn-follow", "category": "learn", "description": "跟读学习 — 从代码变更中学习模式", "source": "../../commands/learn-follow.md"},
|
|
58
|
+
{"name": "learn-decompose", "command": "/learn-decompose", "category": "learn", "description": "模式拆解 — 将复杂模式分解为可复用组件", "source": "../../commands/learn-decompose.md"},
|
|
59
|
+
{"name": "learn-investigate", "command": "/learn-investigate", "category": "learn", "description": "系统探究 — 深入调查技术选型和架构", "source": "../../commands/learn-investigate.md"},
|
|
60
|
+
{"name": "learn-second-opinion", "command": "/learn-second-opinion", "category": "learn", "description": "多视角分析 — 多 CLI 交叉验证观点", "source": "../../commands/learn-second-opinion.md"},
|
|
61
|
+
{"name": "wiki-connect", "command": "/wiki-connect", "category": "wiki", "description": "Wiki 连接 — 发现知识条目间关系", "source": "../../commands/wiki-connect.md"},
|
|
62
|
+
{"name": "wiki-digest", "command": "/wiki-digest", "category": "wiki", "description": "Wiki 摘要 — 生成知识图谱概要", "source": "../../commands/wiki-digest.md"}
|
|
63
|
+
],
|
|
64
|
+
"skills": [
|
|
65
|
+
{"name": "workflow-skill-designer", "category": "meta", "description": "Meta-skill: 设计 orchestrator+phases 结构的工作流 skill", "source": "../workflow-skill-designer/SKILL.md"},
|
|
66
|
+
{"name": "skill-iter-tune", "category": "meta", "description": "迭代 skill 调优: execute-evaluate-improve 反馈循环", "source": "../skill-iter-tune/SKILL.md"},
|
|
67
|
+
{"name": "team-coordinate", "category": "team", "description": "通用团队协调: 运行时动态生成 role-specs", "source": "../team-coordinate/SKILL.md"},
|
|
68
|
+
{"name": "team-executor", "category": "team", "description": "团队执行: 恢复会话执行任务", "source": "../team-executor/SKILL.md"},
|
|
69
|
+
{"name": "team-lifecycle-v4", "category": "team", "description": "完整生命周期: 8 角色 spec/impl/test/review 流水线", "source": "../team-lifecycle-v4/SKILL.md"},
|
|
70
|
+
{"name": "team-quality-assurance", "category": "team", "description": "QA 团队: 质量保障流水线", "source": "../team-quality-assurance/SKILL.md"},
|
|
71
|
+
{"name": "team-review", "category": "team", "description": "代码审查团队: 多维度扫描和漏洞审查", "source": "../team-review/SKILL.md"},
|
|
72
|
+
{"name": "team-tech-debt", "category": "team", "description": "技术债务团队: 债务识别和清理", "source": "../team-tech-debt/SKILL.md"},
|
|
73
|
+
{"name": "team-testing", "category": "team", "description": "测试团队: 测试规划和执行", "source": "../team-testing/SKILL.md"},
|
|
74
|
+
{"name": "codify-to-knowhow", "category": "knowledge", "description": "Manifest 驱动的知识资产生成器", "source": "../codify-to-knowhow/SKILL.md"}
|
|
75
|
+
],
|
|
76
|
+
"agents": [
|
|
77
|
+
{"name": "workflow-analyzer", "description": "多维度分析 — 证据评分和推荐", "category": "workflow"},
|
|
78
|
+
{"name": "workflow-planner", "description": "任务分解和执行计划生成", "category": "workflow"},
|
|
79
|
+
{"name": "workflow-executor", "description": "原子任务执行和验证", "category": "workflow"},
|
|
80
|
+
{"name": "workflow-verifier", "description": "目标回溯验证(存在性、实质、连接)", "category": "workflow"},
|
|
81
|
+
{"name": "workflow-reviewer", "description": "多维度代码审查", "category": "workflow"},
|
|
82
|
+
{"name": "workflow-debugger", "description": "假设驱动调试和结构化证据日志", "category": "workflow"},
|
|
83
|
+
{"name": "workflow-research-agent", "description": "外部研究 — API 模式、技术验证", "category": "workflow"},
|
|
84
|
+
{"name": "workflow-roadmapper", "description": "分阶段里程碑路线图", "category": "workflow"},
|
|
85
|
+
{"name": "workflow-plan-checker", "description": "计划质量验证(最多 3 轮修订)", "category": "workflow"},
|
|
86
|
+
{"name": "workflow-phase-researcher", "description": "特定路线图阶段的实现方法研究", "category": "workflow"},
|
|
87
|
+
{"name": "workflow-project-researcher", "description": "项目初始化的领域研究", "category": "workflow"},
|
|
88
|
+
{"name": "workflow-research-synthesizer", "description": "多研究结果合并为统一摘要", "category": "workflow"},
|
|
89
|
+
{"name": "workflow-codebase-mapper", "description": "从特定焦点分析现有代码库", "category": "workflow"},
|
|
90
|
+
{"name": "workflow-nyquist-auditor", "description": "测试覆盖审计和 gap 检测", "category": "workflow"},
|
|
91
|
+
{"name": "workflow-integration-checker", "description": "跨阶段集成验证(里程碑审计)", "category": "workflow"},
|
|
92
|
+
{"name": "workflow-external-researcher", "description": "外部研究(Exa MCP)", "category": "workflow"},
|
|
93
|
+
{"name": "workflow-collab-planner", "description": "预分配任务 ID 的协作规划", "category": "workflow"},
|
|
94
|
+
{"name": "team-supervisor", "description": "管道监督 — 跨 checkpoint 质量观察", "category": "team"},
|
|
95
|
+
{"name": "team-worker", "description": "统一工作器 — 加载 role-spec 执行任务", "category": "team"},
|
|
96
|
+
{"name": "conceptual-planning-agent", "description": "多模式分析 — 角色分析和功能规格", "category": "planning"},
|
|
97
|
+
{"name": "cli-explore-agent", "description": "CLI 辅助的代码探索", "category": "cli"},
|
|
98
|
+
{"name": "ui-design-agent", "description": "UI 设计 Token 管理和原型生成", "category": "ui"}
|
|
99
|
+
],
|
|
100
|
+
"cli_commands": [
|
|
101
|
+
{"command": "maestro install", "description": "安装 Maestro 资源(交互式)", "category": "setup"},
|
|
102
|
+
{"command": "maestro uninstall", "description": "卸载已安装资源", "category": "setup"},
|
|
103
|
+
{"command": "maestro update", "description": "检查/安装最新版本", "category": "setup"},
|
|
104
|
+
{"command": "maestro view", "description": "启动 Dashboard 看板", "category": "dashboard"},
|
|
105
|
+
{"command": "maestro stop", "description": "停止 Dashboard 服务", "category": "dashboard"},
|
|
106
|
+
{"command": "maestro delegate", "description": "委派任务给 AI 智能体", "category": "execution"},
|
|
107
|
+
{"command": "maestro coordinate", "description": "图工作流协调器(别名 coord)", "category": "execution"},
|
|
108
|
+
{"command": "maestro cli", "description": "运行 CLI 智能体工具", "category": "execution"},
|
|
109
|
+
{"command": "maestro run", "description": "执行指定工作流", "category": "execution"},
|
|
110
|
+
{"command": "maestro serve", "description": "启动工作流服务器", "category": "execution"},
|
|
111
|
+
{"command": "maestro launcher", "description": "Claude Code 启动器", "category": "setup"},
|
|
112
|
+
{"command": "maestro spec", "description": "项目 Spec 管理", "category": "knowledge"},
|
|
113
|
+
{"command": "maestro wiki", "description": "Wiki 知识图谱查询", "category": "knowledge"},
|
|
114
|
+
{"command": "maestro hooks", "description": "Hook 管理与运行", "category": "config"},
|
|
115
|
+
{"command": "maestro overlay", "description": "命令 Overlay 管理", "category": "config"},
|
|
116
|
+
{"command": "maestro collab", "description": "人类团队协作(别名 team)", "category": "team"},
|
|
117
|
+
{"command": "maestro agent-msg", "description": "智能体团队消息总线(别名 msg)", "category": "team"},
|
|
118
|
+
{"command": "maestro knowhow", "description": "知识复用管理(别名 kh)", "category": "knowledge"},
|
|
119
|
+
{"command": "maestro brainstorm-visualize", "description": "头脑风暴可视化服务器(别名 bv)", "category": "visualization"},
|
|
120
|
+
{"command": "maestro ext", "description": "扩展管理", "category": "config"},
|
|
121
|
+
{"command": "maestro tool", "description": "工具交互(list/exec)", "category": "config"}
|
|
122
|
+
],
|
|
123
|
+
"categories": {
|
|
124
|
+
"commands": ["core", "pipeline", "milestone", "manage", "quality", "spec", "learn", "wiki", "worktree", "team", "ralph", "ui", "tools"],
|
|
125
|
+
"skills": ["meta", "team", "knowledge"],
|
|
126
|
+
"agents": ["workflow", "team", "planning", "cli", "ui"]
|
|
127
|
+
},
|
|
128
|
+
"guide_files": [
|
|
129
|
+
{"file": "guide/quick-start-guide.md", "title": "快速入门", "description": "10 分钟了解核心功能"},
|
|
130
|
+
{"file": "guide/cli-commands-guide.md", "title": "CLI 命令参考", "description": "21 个终端命令详解"},
|
|
131
|
+
{"file": "guide/command-usage-guide.md", "title": "Slash 命令使用", "description": "49 个 slash 命令分类和衔接"},
|
|
132
|
+
{"file": "guide/mcp-tools-guide.md", "title": "MCP 工具参考", "description": "9 个 MCP 工具详解"},
|
|
133
|
+
{"file": "guide/delegate-async-guide.md", "title": "Delegate 异步指南", "description": "异步任务委派和生命周期"},
|
|
134
|
+
{"file": "guide/hooks-guide.md", "title": "Hook 系统", "description": "12 个 Hook、4 个安装级别"},
|
|
135
|
+
{"file": "guide/knowledge-management-guide.md", "title": "知识管理", "description": "Spec + Wiki 知识体系"},
|
|
136
|
+
{"file": "guide/knowledge-management-intro.md", "title": "知识管理导论", "description": "设计理念和产品结构"},
|
|
137
|
+
{"file": "guide/maestro-coordinator-guide.md", "title": "/maestro 协调器", "description": "静态链选择器和意图路由"},
|
|
138
|
+
{"file": "guide/maestro-ralph-guide.md", "title": "/maestro-ralph 引擎", "description": "自适应生命周期决策节点"},
|
|
139
|
+
{"file": "guide/overlay-guide.md", "title": "Overlay 系统", "description": "非侵入式命令补丁"},
|
|
140
|
+
{"file": "guide/role-routing-guide.md", "title": "角色路由", "description": "基于 --role 的工具选择"},
|
|
141
|
+
{"file": "guide/skill-config-guide.md", "title": "Skill 配置", "description": "参数默认值配置"},
|
|
142
|
+
{"file": "guide/spec-system-guide.md", "title": "Spec 系统", "description": "条目格式和自动注入"},
|
|
143
|
+
{"file": "guide/statusline-guide.md", "title": "Statusline", "description": "多行状态栏定制"},
|
|
144
|
+
{"file": "guide/team-lite-guide.md", "title": "Team Lite", "description": "2-8 人团队协作"},
|
|
145
|
+
{"file": "guide/worktree-guide.md", "title": "Worktree", "description": "Git worktree 里程碑并行"}
|
|
146
|
+
],
|
|
147
|
+
"essential_commands": [
|
|
148
|
+
"/maestro",
|
|
149
|
+
"/maestro-init",
|
|
150
|
+
"/maestro-roadmap",
|
|
151
|
+
"/maestro-analyze",
|
|
152
|
+
"/maestro-plan",
|
|
153
|
+
"/maestro-execute",
|
|
154
|
+
"/maestro-verify",
|
|
155
|
+
"/maestro-quick",
|
|
156
|
+
"/quality-review",
|
|
157
|
+
"/manage-issue"
|
|
158
|
+
],
|
|
159
|
+
"workflows": {
|
|
160
|
+
"main_pipeline": {
|
|
161
|
+
"name": "主干管线",
|
|
162
|
+
"phases": ["analyze", "plan", "execute", "verify"],
|
|
163
|
+
"quality": ["quality-auto-test", "quality-review", "quality-test"],
|
|
164
|
+
"close": ["maestro-milestone-audit", "maestro-milestone-complete"]
|
|
165
|
+
},
|
|
166
|
+
"quick": {
|
|
167
|
+
"name": "快速渠道",
|
|
168
|
+
"entry": "/maestro-quick",
|
|
169
|
+
"modes": ["default (analyze+execute)", "--full (analyze+plan+execute+verify)", "--discuss (multi-cli讨论)"]
|
|
170
|
+
},
|
|
171
|
+
"issue_loop": {
|
|
172
|
+
"name": "Issue 闭环",
|
|
173
|
+
"phases": ["manage-issue-discover", "manage-issue create", "maestro-analyze --gaps", "maestro-plan --gaps", "maestro-execute", "manage-issue close"]
|
|
174
|
+
},
|
|
175
|
+
"init_paths": {
|
|
176
|
+
"name": "初始化路径",
|
|
177
|
+
"minimal": "/maestro-init → /maestro-roadmap",
|
|
178
|
+
"from_brainstorm": "/maestro-brainstorm → /maestro-init --from-brainstorm → /maestro-roadmap",
|
|
179
|
+
"full_spec": "/maestro-init → /maestro-spec-generate"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-impeccable
|
|
3
|
+
description: Production-grade UI design with knowhow accumulation -- 23 commands for build, evaluate, refine, enhance, fix
|
|
4
|
+
argument-hint: "[craft|shape · audit|critique · animate|bolder|colorize|delight|layout|overdrive|quieter|typeset · adapt|clarify|distill · harden|onboard|optimize|polish · teach|document|extract|live] [target] [--skip-harvest] [-y]"
|
|
5
|
+
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
|
+
---
|
|
7
|
+
<purpose>
|
|
8
|
+
Designs and iterates production-grade frontend interfaces. Real working code, committed design choices, exceptional craft.
|
|
9
|
+
After each command, automatically harvests design knowledge to `.workflow/knowhow/` (category: ui) for cross-session accumulation.
|
|
10
|
+
|
|
11
|
+
Replaces the standalone impeccable skill. 23 commands covering the full design lifecycle.
|
|
12
|
+
</purpose>
|
|
13
|
+
|
|
14
|
+
<context>
|
|
15
|
+
$ARGUMENTS -- sub-command + target + optional flags.
|
|
16
|
+
|
|
17
|
+
**Sub-commands** (23):
|
|
18
|
+
|
|
19
|
+
| Category | Commands |
|
|
20
|
+
|----------|----------|
|
|
21
|
+
| Build | craft, shape, teach, document, extract |
|
|
22
|
+
| Evaluate | critique, audit |
|
|
23
|
+
| Refine | polish, bolder, quieter, distill, harden, onboard |
|
|
24
|
+
| Enhance | animate, colorize, typeset, layout, delight, overdrive |
|
|
25
|
+
| Fix | clarify, adapt, optimize |
|
|
26
|
+
| Iterate | live |
|
|
27
|
+
|
|
28
|
+
**Flags:**
|
|
29
|
+
- `--skip-harvest` -- Execute command without knowhow capture
|
|
30
|
+
- `-y` -- Auto-confirm where the skill allows
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<execution>
|
|
34
|
+
|
|
35
|
+
## Setup
|
|
36
|
+
|
|
37
|
+
Before any design work:
|
|
38
|
+
|
|
39
|
+
1. Load context (PRODUCT.md / DESIGN.md) via spec system:
|
|
40
|
+
```bash
|
|
41
|
+
maestro spec load --category ui
|
|
42
|
+
```
|
|
43
|
+
This surfaces all design context (product + visual) from `.workflow/specs/ui-conventions.md`.
|
|
44
|
+
|
|
45
|
+
If specs are not initialized, fall back to the legacy loader:
|
|
46
|
+
```bash
|
|
47
|
+
maestro impeccable load-context
|
|
48
|
+
```
|
|
49
|
+
The loader searches `.workflow/impeccable/` first, then the project root, then `.agents/context/` and `docs/`.
|
|
50
|
+
PRODUCT.md and DESIGN.md are stored at `.workflow/impeccable/`.
|
|
51
|
+
|
|
52
|
+
2. Identify register (brand vs product) and load matching reference from `~/.maestro/workflows/impeccable/brand.md` or `product.md`.
|
|
53
|
+
3. If sub-command invoked, load its reference file from `~/.maestro/workflows/impeccable/{command}.md`.
|
|
54
|
+
|
|
55
|
+
If PRODUCT.md missing → run `teach` first, then resume original task.
|
|
56
|
+
|
|
57
|
+
## Command Execution
|
|
58
|
+
|
|
59
|
+
Route by first argument:
|
|
60
|
+
1. **Matches command** → load `~/.maestro/workflows/impeccable/{command}.md`, follow instructions
|
|
61
|
+
2. **No argument** → show command menu grouped by category
|
|
62
|
+
3. **No match** → general design invocation with full argument as context
|
|
63
|
+
|
|
64
|
+
## Harvest (Post-Execution)
|
|
65
|
+
|
|
66
|
+
After command completes (except `live`), unless `--skip-harvest`:
|
|
67
|
+
|
|
68
|
+
| Command | Knowhow Type | Prefix |
|
|
69
|
+
|---------|-------------|--------|
|
|
70
|
+
| craft | decision + asset | DCS- + AST- |
|
|
71
|
+
| shape | decision | DCS- |
|
|
72
|
+
| teach | reference | REF- |
|
|
73
|
+
| document, extract | asset | AST- |
|
|
74
|
+
| critique, audit, polish, harden, onboard, clarify, adapt, optimize | tip | TIP- |
|
|
75
|
+
| colorize, typeset, layout, animate, bolder, quieter, distill, delight, overdrive | decision | DCS- |
|
|
76
|
+
|
|
77
|
+
Write knowhow with `category: ui`. For DCS-/AST- types, also create spec index:
|
|
78
|
+
```bash
|
|
79
|
+
maestro spec add ui "<title>" "<summary>" --keywords impeccable,<cmd>,... --ref knowhow/<file>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
</execution>
|
|
83
|
+
|
|
84
|
+
<shared_design_laws>
|
|
85
|
+
|
|
86
|
+
- **Color**: OKLCH only. Never #000/#fff. Pick color strategy first (Restrained → Committed → Full palette → Drenched).
|
|
87
|
+
- **Theme**: Write physical scene sentence before choosing dark/light.
|
|
88
|
+
- **Typography**: Body 65-75ch. Hierarchy via scale + weight (>=1.25 ratio).
|
|
89
|
+
- **Layout**: Vary spacing for rhythm. Cards only when truly best. No nested cards.
|
|
90
|
+
- **Motion**: No CSS layout animations. Ease-out exponential curves.
|
|
91
|
+
- **Bans**: Side-stripe borders, gradient text, glassmorphism default, hero-metric template, identical card grids, modal as first thought.
|
|
92
|
+
- **Copy**: Every word earns its place. No em dashes.
|
|
93
|
+
- **AI slop test**: Two-altitude category-reflex check.
|
|
94
|
+
|
|
95
|
+
</shared_design_laws>
|
|
96
|
+
|
|
97
|
+
<error_codes>
|
|
98
|
+
| Code | Severity | Description |
|
|
99
|
+
|------|----------|-------------|
|
|
100
|
+
| E001 | error | Invalid sub-command |
|
|
101
|
+
| E002 | error | No intent or target specified |
|
|
102
|
+
| W001 | warning | Harvest failed (command still succeeded) |
|
|
103
|
+
| W002 | warning | PRODUCT.md missing, auto-triggering teach |
|
|
104
|
+
</error_codes>
|
|
105
|
+
|
|
106
|
+
<success_criteria>
|
|
107
|
+
- [ ] Sub-command recognized and reference file loaded
|
|
108
|
+
- [ ] Context loaded from .workflow/impeccable/ (PRODUCT.md, register identified)
|
|
109
|
+
- [ ] Design changes applied to target files
|
|
110
|
+
- [ ] Knowhow entry created in .workflow/knowhow/ with category: ui (unless --skip-harvest or live)
|
|
111
|
+
- [ ] Spec index entry created for DCS-/AST- types
|
|
112
|
+
</success_criteria>
|