maestro-flow 0.4.8 → 0.4.10
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/.agy/agents/cli-explore-agent.md +186 -0
- package/.agy/agents/conceptual-planning-agent.md +244 -0
- package/.agy/agents/impeccable-agent.md +97 -0
- package/.agy/agents/team-supervisor.md +142 -0
- package/.agy/agents/team-worker.md +236 -0
- package/.agy/agents/ui-design-agent.md +286 -0
- package/.agy/agents/workflow-analyzer.md +114 -0
- package/.agy/agents/workflow-codebase-mapper.md +76 -0
- package/.agy/agents/workflow-collab-planner.md +142 -0
- package/.agy/agents/workflow-debugger.md +102 -0
- package/.agy/agents/workflow-executor.md +131 -0
- package/.agy/agents/workflow-external-researcher.md +86 -0
- package/.agy/agents/workflow-integration-checker.md +82 -0
- package/.agy/agents/workflow-nyquist-auditor.md +84 -0
- package/.agy/agents/workflow-phase-researcher.md +84 -0
- package/.agy/agents/workflow-plan-checker.md +89 -0
- package/.agy/agents/workflow-planner.md +194 -0
- package/.agy/agents/workflow-project-researcher.md +73 -0
- package/.agy/agents/workflow-research-synthesizer.md +70 -0
- package/.agy/agents/workflow-reviewer.md +81 -0
- package/.agy/agents/workflow-roadmapper.md +81 -0
- package/.agy/agents/workflow-verifier.md +119 -0
- package/.agy/skills/codify-to-knowhow/SKILL.md +172 -0
- package/.agy/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
- package/.agy/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
- package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
- package/.agy/skills/learn-decompose/SKILL.md +118 -0
- package/.agy/skills/learn-follow/SKILL.md +129 -0
- package/.agy/skills/learn-investigate/SKILL.md +154 -0
- package/.agy/skills/learn-retro/SKILL.md +159 -0
- package/.agy/skills/learn-second-opinion/SKILL.md +124 -0
- package/.agy/skills/maestro/SKILL.md +221 -0
- package/.agy/skills/maestro-amend/SKILL.md +162 -0
- package/.agy/skills/maestro-analyze/SKILL.md +135 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +118 -0
- package/.agy/skills/maestro-collab/SKILL.md +174 -0
- package/.agy/skills/maestro-composer/SKILL.md +180 -0
- package/.agy/skills/maestro-execute/SKILL.md +133 -0
- package/.agy/skills/maestro-fork/SKILL.md +88 -0
- package/.agy/skills/maestro-guard/SKILL.md +101 -0
- package/.agy/skills/maestro-help/SKILL.md +267 -0
- package/.agy/skills/maestro-help/index/catalog.json +184 -0
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.agy/skills/maestro-help/phases/02-search-present.md +181 -0
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +186 -0
- package/.agy/skills/maestro-impeccable/SKILL.md +250 -0
- package/.agy/skills/maestro-init/SKILL.md +80 -0
- package/.agy/skills/maestro-learn/SKILL.md +142 -0
- package/.agy/skills/maestro-merge/SKILL.md +66 -0
- package/.agy/skills/maestro-milestone-audit/SKILL.md +70 -0
- package/.agy/skills/maestro-milestone-complete/SKILL.md +77 -0
- package/.agy/skills/maestro-milestone-release/SKILL.md +98 -0
- package/.agy/skills/maestro-overlay/SKILL.md +177 -0
- package/.agy/skills/maestro-plan/SKILL.md +172 -0
- package/.agy/skills/maestro-player/SKILL.md +176 -0
- package/.agy/skills/maestro-quick/SKILL.md +67 -0
- package/.agy/skills/maestro-ralph/SKILL.md +546 -0
- package/.agy/skills/maestro-ralph-execute/SKILL.md +255 -0
- package/.agy/skills/maestro-roadmap/SKILL.md +170 -0
- package/.agy/skills/maestro-tools-execute/SKILL.md +119 -0
- package/.agy/skills/maestro-tools-register/SKILL.md +159 -0
- package/.agy/skills/maestro-ui-codify/SKILL.md +81 -0
- package/.agy/skills/maestro-update/SKILL.md +175 -0
- package/.agy/skills/maestro-verify/SKILL.md +111 -0
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +77 -0
- package/.agy/skills/manage-codebase-refresh/SKILL.md +59 -0
- package/.agy/skills/manage-harvest/SKILL.md +96 -0
- package/.agy/skills/manage-issue/SKILL.md +72 -0
- package/.agy/skills/manage-issue-discover/SKILL.md +83 -0
- package/.agy/skills/manage-knowhow/SKILL.md +76 -0
- package/.agy/skills/manage-knowhow-capture/SKILL.md +78 -0
- package/.agy/skills/manage-learn/SKILL.md +64 -0
- package/.agy/skills/manage-status/SKILL.md +51 -0
- package/.agy/skills/manage-wiki/SKILL.md +61 -0
- package/.agy/skills/quality-auto-test/SKILL.md +135 -0
- package/.agy/skills/quality-debug/SKILL.md +122 -0
- package/.agy/skills/quality-refactor/SKILL.md +69 -0
- package/.agy/skills/quality-retrospective/SKILL.md +79 -0
- package/.agy/skills/quality-review/SKILL.md +130 -0
- package/.agy/skills/quality-sync/SKILL.md +53 -0
- package/.agy/skills/quality-test/SKILL.md +119 -0
- package/.agy/skills/security-audit/SKILL.md +157 -0
- package/.agy/skills/skill-iter-tune/SKILL.md +381 -0
- package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.agy/skills/skill-iter-tune/phases/04-improve.md +198 -0
- package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.agy/skills/spec-add/SKILL.md +67 -0
- package/.agy/skills/spec-load/SKILL.md +70 -0
- package/.agy/skills/spec-remove/SKILL.md +50 -0
- package/.agy/skills/spec-setup/SKILL.md +47 -0
- package/.agy/skills/team-coordinate/SKILL.md +267 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +348 -0
- package/.agy/skills/team-coordinate/roles/coordinator/role.md +362 -0
- package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
- package/.agy/skills/team-coordinate/specs/pipelines.md +97 -0
- package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -0
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -0
- package/.agy/skills/team-executor/SKILL.md +180 -0
- package/.agy/skills/team-executor/roles/executor/commands/monitor.md +235 -0
- package/.agy/skills/team-executor/roles/executor/role.md +171 -0
- package/.agy/skills/team-executor/specs/session-schema.md +264 -0
- package/.agy/skills/team-lifecycle-v4/SKILL.md +189 -0
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +92 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +64 -0
- package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +82 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +65 -0
- package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +188 -0
- package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +84 -0
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +92 -0
- package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
- package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
- package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -0
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -0
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -0
- package/.agy/skills/team-quality-assurance/SKILL.md +148 -0
- package/.agy/skills/team-quality-assurance/roles/analyst/role.md +85 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +235 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
- package/.agy/skills/team-quality-assurance/roles/executor/role.md +62 -0
- package/.agy/skills/team-quality-assurance/roles/generator/role.md +65 -0
- package/.agy/skills/team-quality-assurance/roles/scout/role.md +72 -0
- package/.agy/skills/team-quality-assurance/roles/strategist/role.md +69 -0
- package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -0
- package/.agy/skills/team-quality-assurance/specs/team-config.json +131 -0
- package/.agy/skills/team-review/SKILL.md +149 -0
- package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
- package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
- package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +209 -0
- package/.agy/skills/team-review/roles/coordinator/role.md +132 -0
- package/.agy/skills/team-review/roles/fixer/role.md +74 -0
- package/.agy/skills/team-review/roles/reviewer/role.md +66 -0
- package/.agy/skills/team-review/roles/scanner/role.md +77 -0
- package/.agy/skills/team-review/specs/dimensions.md +82 -0
- package/.agy/skills/team-review/specs/finding-schema.json +82 -0
- package/.agy/skills/team-review/specs/pipelines.md +102 -0
- package/.agy/skills/team-review/specs/team-config.json +27 -0
- package/.agy/skills/team-tech-debt/SKILL.md +133 -0
- package/.agy/skills/team-tech-debt/roles/assessor/role.md +76 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +198 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -0
- package/.agy/skills/team-tech-debt/roles/executor/role.md +76 -0
- package/.agy/skills/team-tech-debt/roles/planner/role.md +68 -0
- package/.agy/skills/team-tech-debt/roles/scanner/role.md +90 -0
- package/.agy/skills/team-tech-debt/roles/validator/role.md +78 -0
- package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -0
- package/.agy/skills/team-tech-debt/specs/team-config.json +129 -0
- package/.agy/skills/team-testing/SKILL.md +144 -0
- package/.agy/skills/team-testing/roles/analyst/role.md +101 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +242 -0
- package/.agy/skills/team-testing/roles/coordinator/role.md +134 -0
- package/.agy/skills/team-testing/roles/executor/role.md +95 -0
- package/.agy/skills/team-testing/roles/generator/role.md +95 -0
- package/.agy/skills/team-testing/roles/strategist/role.md +81 -0
- package/.agy/skills/team-testing/specs/pipelines.md +101 -0
- package/.agy/skills/team-testing/specs/team-config.json +93 -0
- package/.agy/skills/wiki-connect/SKILL.md +64 -0
- package/.agy/skills/wiki-digest/SKILL.md +70 -0
- package/.agy/skills/workflow-skill-designer/SKILL.md +506 -0
- package/.agy/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.agy/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.agy/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.agy/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- package/dashboard/dist/assets/{ArtifactsPage-CVh0Z2I2.js → ArtifactsPage-BLvAqQlQ.js} +1 -1
- package/dashboard/dist/assets/{ChatInput-CBI3qHQQ.js → ChatInput-DU9YGZKX.js} +1 -1
- package/dashboard/dist/assets/{ChatPage-BjJ9CYox.js → ChatPage-DYHfheXC.js} +1 -1
- package/dashboard/dist/assets/{CollabPage-CprGGO9y.js → CollabPage-CSlmvEa-.js} +1 -1
- package/dashboard/dist/assets/{ExecutionPanel-CClxD7cH.js → ExecutionPanel-RYWf0dYC.js} +1 -1
- package/dashboard/dist/assets/{KanbanPage-copqjdPg.js → KanbanPage-N55Iv0-X.js} +1 -1
- package/dashboard/dist/assets/{MaestroCoordinatePage-CioZjQ9N.js → MaestroCoordinatePage-BxwZ6yy5.js} +1 -1
- package/dashboard/dist/assets/{MarkdownRenderer-CtUhoxCT.js → MarkdownRenderer-ZGtOY7Ti.js} +1 -1
- package/dashboard/dist/assets/{McpPage-BcPPcJpr.js → McpPage-Im6s4pGR.js} +1 -1
- package/dashboard/dist/assets/{MeetingRoomPage-BgmAKxU-.js → MeetingRoomPage-CxHRn1xx.js} +1 -1
- package/dashboard/dist/assets/{OutputPanel-DgT3gMyp.js → OutputPanel-DaL8c1i5.js} +1 -1
- package/dashboard/dist/assets/{ProblemsPanel-BmG7rxoG.js → ProblemsPanel-BQTd5812.js} +1 -1
- package/dashboard/dist/assets/{RequirementBoardPage-k8YoeQ0r.js → RequirementBoardPage-22y9u1qh.js} +1 -1
- package/dashboard/dist/assets/{RequirementPage-Da2354px.js → RequirementPage-_mO743Xm.js} +1 -1
- package/dashboard/dist/assets/{RoomsPage-BtqDiYaU.js → RoomsPage-CExTbOGr.js} +1 -1
- package/dashboard/dist/assets/{SpecsPage-ByPVH_M3.js → SpecsPage-gr4KX51-.js} +1 -1
- package/dashboard/dist/assets/{TeamsPage-sFDLN30L.js → TeamsPage-BxEXLb5g.js} +1 -1
- package/dashboard/dist/assets/{TreeBrowser-oEx8YJXV.js → TreeBrowser-CVtPF5C9.js} +1 -1
- package/dashboard/dist/assets/{WorkflowPage-JrX7CVHh.js → WorkflowPage-BoN18Lhs.js} +1 -1
- package/dashboard/dist/assets/{arrow-left-DYvgSdIH.js → arrow-left-C5ROg97G.js} +1 -1
- package/dashboard/dist/assets/{check-jcgYBWVR.js → check-Bs8PM0tQ.js} +1 -1
- package/dashboard/dist/assets/{chevron-right-DvZ5sMOg.js → chevron-right-SmErd_1F.js} +1 -1
- package/dashboard/dist/assets/{circle-DYT-zoRZ.js → circle-CjpslL_D.js} +1 -1
- package/dashboard/dist/assets/{circle-alert-Bfbv3gt4.js → circle-alert-CuzAg2fd.js} +1 -1
- package/dashboard/dist/assets/{circle-check-D82WnpbI.js → circle-check-BIkDU5D5.js} +1 -1
- package/dashboard/dist/assets/{circle-check-big-CPVD1GKF.js → circle-check-big-CYctV8bK.js} +1 -1
- package/dashboard/dist/assets/{code-B3bKFGI4.js → code-DoB7rfxt.js} +1 -1
- package/dashboard/dist/assets/{columns-3-BeMAQCix.js → columns-3-Ch5KIyRa.js} +1 -1
- package/dashboard/dist/assets/{download-BCtpoWYB.js → download-DadtG2Nr.js} +1 -1
- package/dashboard/dist/assets/{folder-CTj6SNNu.js → folder-B8ODoZfb.js} +1 -1
- package/dashboard/dist/assets/{index-BxR_3IbJ.js → index-BL4h1OKY.js} +1 -1
- package/dashboard/dist/assets/{index-DpcPd-UG.js → index-DQIlX2w_.js} +4 -4
- package/dashboard/dist/assets/{index-CWBJLu42.js → index-DaFwSmVJ.js} +10 -10
- package/dashboard/dist/assets/{list-BMv8pIQn.js → list-CI-XIPZh.js} +1 -1
- package/dashboard/dist/assets/{loader-DdM4VOgF.js → loader-DpdMoQvh.js} +1 -1
- package/dashboard/dist/assets/{minus-D15s2E__.js → minus-BVbfXGrC.js} +1 -1
- package/dashboard/dist/assets/{pen-line-DO6o4xWz.js → pen-line-CR8GaHt-.js} +1 -1
- package/dashboard/dist/assets/{pencil-qGxg9jOe.js → pencil-I7GE0y29.js} +1 -1
- package/dashboard/dist/assets/{proxy-DOffTzwA.js → proxy-CcYyZZWI.js} +1 -1
- package/dashboard/dist/assets/{refresh-cw-C9UNdLCy.js → refresh-cw-BG9V_T4R.js} +1 -1
- package/dashboard/dist/assets/{rows-2-CifAA5SL.js → rows-2-DP6NjQFk.js} +1 -1
- package/dashboard/dist/assets/{search-pe7pU1YN.js → search-b78eLlw2.js} +1 -1
- package/dashboard/dist/assets/{shallow-r7YynQYA.js → shallow-CJEesgtu.js} +1 -1
- package/dashboard/dist/assets/{table-Bh772iIw.js → table-B_lk-a1d.js} +1 -1
- package/dashboard/dist/assets/{team-types-C_HqX2p2.js → team-types-Se7f9LfJ.js} +1 -1
- package/dashboard/dist/assets/{terminal-EpmtGBlw.js → terminal-DXx4tvzq.js} +1 -1
- package/dashboard/dist/assets/{trash-2-Xen46iNQ.js → trash-2-CVh9mnRj.js} +1 -1
- package/dashboard/dist/assets/{users-BLueDPxF.js → users-Da9zGME5.js} +1 -1
- package/dashboard/dist/assets/{zap-DsQCPF61.js → zap-C0zaC7gJ.js} +1 -1
- package/dashboard/dist/index.html +1 -1
- 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/agy-adapter.d.ts +39 -0
- package/dashboard/dist-server/dashboard/src/server/agents/agy-adapter.js +423 -0
- package/dashboard/dist-server/dashboard/src/server/agents/agy-adapter.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.d.ts +6 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js +109 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.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/shared/agent-types.d.ts +1 -1
- package/dist/shared/agent-types.d.ts +1 -1
- package/dist/shared/agent-types.d.ts.map +1 -1
- 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/commands/hooks.d.ts +64 -0
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +107 -0
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +17 -3
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +53 -0
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts +19 -5
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +77 -32
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/config/cli-tools-defaults.json +2 -1
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +53 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +5 -3
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/utils/update-notices.d.ts +62 -0
- package/dist/src/utils/update-notices.d.ts.map +1 -0
- package/dist/src/utils/update-notices.js +178 -0
- package/dist/src/utils/update-notices.js.map +1 -0
- package/package.json +84 -82
- package/shared/agent-types.ts +1 -1
- package/workflows/agy-instructions.md +124 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-fork
|
|
3
|
+
description: Create or sync milestone worktree for parallel dev
|
|
4
|
+
argument-hint: -m <milestone-number> [--base <branch>] [--sync]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- define_subagent
|
|
8
|
+
- grep_search
|
|
9
|
+
- invoke_subagent
|
|
10
|
+
- manage_subagents
|
|
11
|
+
- replace_file_content
|
|
12
|
+
- run_command
|
|
13
|
+
- send_message
|
|
14
|
+
- view_file
|
|
15
|
+
- write_to_file
|
|
16
|
+
---
|
|
17
|
+
<purpose>
|
|
18
|
+
Create a git worktree for an entire milestone, enabling inter-milestone parallel development. The worktree scope is milestone-level — all scratch artifacts for that milestone are owned by the worktree.
|
|
19
|
+
|
|
20
|
+
Since `.workflow/` is gitignored, this command explicitly copies project context and existing milestone scratch artifacts into the worktree. Per-phase parallelism within a milestone is NOT supported.
|
|
21
|
+
|
|
22
|
+
Also supports `--sync` mode to pull latest main branch changes and shared artifacts into an active worktree (prevents source and artifact drift for long-lived worktrees).
|
|
23
|
+
|
|
24
|
+
Produces `.workflow/worktrees.json` registry in the main worktree and `.workflow/worktree-scope.json` marker in the worktree.
|
|
25
|
+
</purpose>
|
|
26
|
+
|
|
27
|
+
<required_reading>
|
|
28
|
+
@~/.maestro/workflows/fork.md
|
|
29
|
+
</required_reading>
|
|
30
|
+
|
|
31
|
+
<deferred_reading>
|
|
32
|
+
- [worktrees.json](~/.maestro/templates/worktrees.json) — read when updating registry
|
|
33
|
+
- [worktree-scope.json](~/.maestro/templates/worktree-scope.json) — read when writing scope marker
|
|
34
|
+
</deferred_reading>
|
|
35
|
+
|
|
36
|
+
<context>
|
|
37
|
+
$ARGUMENTS -- milestone number and optional flags.
|
|
38
|
+
|
|
39
|
+
Modes (`Fork` / `Sync`), flags (`-m`, `--base`, `--sync`), milestone resolution, worktree layout, and artifact scoping are defined in workflow `fork.md`.
|
|
40
|
+
</context>
|
|
41
|
+
|
|
42
|
+
<execution>
|
|
43
|
+
Follow '~/.maestro/workflows/fork.md' completely.
|
|
44
|
+
|
|
45
|
+
Fork and sync algorithm steps are defined in workflow `fork.md`.
|
|
46
|
+
|
|
47
|
+
**Next-step routing on completion:**
|
|
48
|
+
|
|
49
|
+
Fork mode:
|
|
50
|
+
- Enter worktree → `cd {wt.path} && /maestro-analyze`
|
|
51
|
+
- Automated → `maestro delegate "run full lifecycle for milestone" --cd {wt.path} --mode write`
|
|
52
|
+
- Status → view_file(AbsolutePath="<agy-skills-dir>/manage-status/SKILL.md") + execute inline
|
|
53
|
+
|
|
54
|
+
Sync mode:
|
|
55
|
+
- Sync complete → resume work in worktree
|
|
56
|
+
- Conflicts found → resolve manually, then retry
|
|
57
|
+
</execution>
|
|
58
|
+
|
|
59
|
+
<error_codes>
|
|
60
|
+
| Code | Severity | Condition | Recovery |
|
|
61
|
+
|------|----------|-----------|----------|
|
|
62
|
+
| E001 | error | Project not initialized | Run maestro-init first |
|
|
63
|
+
| E002 | error | No roadmap found | Run maestro-roadmap first |
|
|
64
|
+
| E003 | error | Running inside a worktree | Run from main worktree |
|
|
65
|
+
| E004 | error | No milestone number provided | Provide `-m <N>` |
|
|
66
|
+
| E005 | error | No milestones defined in state.json | Run maestro-roadmap first |
|
|
67
|
+
| E006 | error | Milestone number out of range | Check available milestones |
|
|
68
|
+
| E007 | error | No active worktree for milestone (--sync) | Check worktrees.json |
|
|
69
|
+
| E008 | error | Milestone already has active worktree | Merge or cleanup first |
|
|
70
|
+
</error_codes>
|
|
71
|
+
|
|
72
|
+
<success_criteria>
|
|
73
|
+
Fork mode:
|
|
74
|
+
- [ ] Milestone resolved from state.json.milestones[]
|
|
75
|
+
- [ ] Git worktree created with branch (`milestone/{slug}`)
|
|
76
|
+
- [ ] Shared `.workflow/` files copied (project.md, roadmap.md, config.json, specs/)
|
|
77
|
+
- [ ] Milestone scratch artifacts copied (filtered from artifact registry)
|
|
78
|
+
- [ ] `worktree-scope.json` written with milestone scope
|
|
79
|
+
- [ ] Scoped `state.json` written (only this milestone's artifacts)
|
|
80
|
+
- [ ] `worktrees.json` registry updated in main worktree
|
|
81
|
+
- [ ] Milestone marked as `"forked"` in main `state.json.milestones[]`
|
|
82
|
+
- [ ] Summary displayed with next-step commands
|
|
83
|
+
|
|
84
|
+
Sync mode:
|
|
85
|
+
- [ ] Git merge main into worktree branch
|
|
86
|
+
- [ ] Shared artifacts re-copied (project.md, roadmap.md, config.json, specs/)
|
|
87
|
+
- [ ] Conflicts reported if any
|
|
88
|
+
</success_criteria>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-guard
|
|
3
|
+
description: Manage editing boundary restrictions
|
|
4
|
+
argument-hint: <on|off|status|allow <path>|deny <path>>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- grep_search
|
|
7
|
+
- run_command
|
|
8
|
+
- view_file
|
|
9
|
+
- write_to_file
|
|
10
|
+
---
|
|
11
|
+
<purpose>
|
|
12
|
+
Configure directory-level write boundaries enforced by the workflow-guard PreToolUse hook.
|
|
13
|
+
When enabled, Write and Edit tool calls targeting files outside allowed paths are blocked.
|
|
14
|
+
|
|
15
|
+
Subcommands:
|
|
16
|
+
- **on** — Enable path guard (defaults to `src/` if no paths configured)
|
|
17
|
+
- **off** — Disable path guard (preserves path list)
|
|
18
|
+
- **status** — Show current guard configuration
|
|
19
|
+
- **allow `<path>`** — Add a directory to the allowed paths list
|
|
20
|
+
- **deny `<path>`** — Switch to deny mode and add path to deny list
|
|
21
|
+
</purpose>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
$ARGUMENTS — Parse subcommand and optional path argument.
|
|
25
|
+
|
|
26
|
+
**Config location:** `.workflow/config.json` → `guard` section
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"guard": {
|
|
31
|
+
"enabled": false,
|
|
32
|
+
"mode": "allow",
|
|
33
|
+
"paths": []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Enforcement:** The `workflow-guard` hook (PreToolUse on Write/Edit) reads this config
|
|
39
|
+
and blocks operations targeting files outside boundaries. Requires hooks level >= `full`.
|
|
40
|
+
</context>
|
|
41
|
+
|
|
42
|
+
<execution>
|
|
43
|
+
|
|
44
|
+
**Step 1: Parse subcommand**
|
|
45
|
+
|
|
46
|
+
Extract from $ARGUMENTS:
|
|
47
|
+
- `on` / `off` / `status` / `allow <path>` / `deny <path>`
|
|
48
|
+
- If no subcommand, default to `status`
|
|
49
|
+
|
|
50
|
+
**Step 2: Read config**
|
|
51
|
+
|
|
52
|
+
Read `.workflow/config.json`. If file missing, initialize with empty guard section.
|
|
53
|
+
|
|
54
|
+
**Step 3: Execute subcommand**
|
|
55
|
+
|
|
56
|
+
**`status`:**
|
|
57
|
+
- Display: enabled/disabled, mode (allow/deny), paths list
|
|
58
|
+
- Check if workflow-guard hook is active (read `.claude/settings.json` for hook presence)
|
|
59
|
+
- If guard enabled but hook not active, warn: "⚠ PathGuard enabled but workflow-guard hook not installed. Run `maestro hooks level full` to activate."
|
|
60
|
+
|
|
61
|
+
**`on`:**
|
|
62
|
+
- Set `guard.enabled = true`
|
|
63
|
+
- If `guard.paths` is empty, set default: `["src/", "tests/", ".workflow/"]`
|
|
64
|
+
- Check hook level, warn if < full
|
|
65
|
+
- Write config
|
|
66
|
+
|
|
67
|
+
**`off`:**
|
|
68
|
+
- Set `guard.enabled = false`
|
|
69
|
+
- Preserve existing paths and mode
|
|
70
|
+
- Write config
|
|
71
|
+
|
|
72
|
+
**`allow <path>`:**
|
|
73
|
+
- Normalize path to forward slashes, ensure trailing slash for directories
|
|
74
|
+
- If `guard.mode` is `deny`, switch to `allow` and clear paths with warning
|
|
75
|
+
- Add path to `guard.paths` (deduplicate)
|
|
76
|
+
- Set `guard.enabled = true` if not already
|
|
77
|
+
- Write config
|
|
78
|
+
|
|
79
|
+
**`deny <path>`:**
|
|
80
|
+
- Normalize path to forward slashes
|
|
81
|
+
- Set `guard.mode = "deny"`
|
|
82
|
+
- Add path to `guard.paths` (deduplicate)
|
|
83
|
+
- Set `guard.enabled = true` if not already
|
|
84
|
+
- Write config
|
|
85
|
+
|
|
86
|
+
**Step 4: Confirm**
|
|
87
|
+
|
|
88
|
+
Display updated guard configuration.
|
|
89
|
+
|
|
90
|
+
</execution>
|
|
91
|
+
|
|
92
|
+
<error_codes>
|
|
93
|
+
- E001: `.workflow/config.json` not found and cannot be created (not a maestro project)
|
|
94
|
+
- W001: PathGuard enabled but workflow-guard hook not installed
|
|
95
|
+
</error_codes>
|
|
96
|
+
|
|
97
|
+
<success_criteria>
|
|
98
|
+
- [ ] Config read/written correctly
|
|
99
|
+
- [ ] Hook level warning displayed when applicable
|
|
100
|
+
- [ ] Updated configuration shown after changes
|
|
101
|
+
</success_criteria>
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: maestro-help
|
|
3
|
+
description: Maestro Flow 命令帮助系统。搜索命令、浏览技能、工作流推荐、新手引导。Triggers on "maestro-help", "帮助", "命令", "怎么用", "skill", "workflow", "maestro 怎么用".
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- ask_question
|
|
6
|
+
- grep_search
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Maestro Help
|
|
11
|
+
|
|
12
|
+
Maestro Flow 命令帮助系统,提供命令搜索、技能浏览、工作流推荐、新手引导功能。
|
|
13
|
+
|
|
14
|
+
## Trigger Conditions
|
|
15
|
+
|
|
16
|
+
- 关键词: "maestro-help", "帮助", "命令", "怎么用", "maestro 怎么用", "工作流", "skill", "workflow", "有哪些命令", "用什么命令"
|
|
17
|
+
- 场景: 询问命令用法、搜索命令、请求下一步建议、选择工作流、浏览 Skill/Agent 目录
|
|
18
|
+
- 斜杠: `/maestro-help`, `/maestro-help search <keyword>`, `/maestro-help skills`, `/maestro-help guide`
|
|
19
|
+
|
|
20
|
+
## Architecture Overview
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
┌──────────────────────────────────────────────────────────────────┐
|
|
24
|
+
│ Maestro Help (SKILL.md) — Orchestrator │
|
|
25
|
+
│ → Parse intent → Route to mode → Execute phase → Present │
|
|
26
|
+
└────────────────────────┬─────────────────────────────────────────┘
|
|
27
|
+
│
|
|
28
|
+
┌────────────────────┼────────────────────────┐
|
|
29
|
+
↓ ↓ ↓
|
|
30
|
+
┌──────────┐ ┌──────────────┐ ┌──────────┐
|
|
31
|
+
│ Phase 1 │ │ Phase 2 │ │ Phase 3 │
|
|
32
|
+
│ Parse │─────→│ Search & │────────→│ Workflow │
|
|
33
|
+
│ Intent │ │ Present │ │ Guide │
|
|
34
|
+
└──────────┘ └──────────────┘ └──────────┘
|
|
35
|
+
↑ ↗ │
|
|
36
|
+
└──────┘ ↓
|
|
37
|
+
(refine search) present guide
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Key Design Principles
|
|
41
|
+
|
|
42
|
+
1. **Catalog 驱动**: 所有查询基于 `index/catalog.json`,不做硬编码
|
|
43
|
+
2. **Guide 深度链接**: 命令详情链接到 `guide/` 目录中的参考文档
|
|
44
|
+
3. **上下文感知**: 根据项目状态(.workflow/ 是否存在、当前 Phase)调整推荐
|
|
45
|
+
4. **中英双语**: 命令名英文,说明和示例中文
|
|
46
|
+
|
|
47
|
+
## Data Source
|
|
48
|
+
|
|
49
|
+
Single source of truth: **[index/catalog.json](index/catalog.json)**
|
|
50
|
+
|
|
51
|
+
| Field | Purpose |
|
|
52
|
+
|-------|---------|
|
|
53
|
+
| `commands[]` | 55 个 slash 命令,含分类和描述 |
|
|
54
|
+
| `skills[]` | 10 个 Skill,含分类和描述 |
|
|
55
|
+
| `agents[]` | 22 个 Agent,含分类和描述 |
|
|
56
|
+
| `cli_commands[]` | 21 个终端命令 |
|
|
57
|
+
| `guide_files[]` | 17 个 Guide 文档索引 |
|
|
58
|
+
| `essential_commands[]` | 10 个核心命令(新手用) |
|
|
59
|
+
| `workflows` | 主干管线、快速渠道、Issue 闭环、初始化路径 |
|
|
60
|
+
|
|
61
|
+
## Operation Modes
|
|
62
|
+
|
|
63
|
+
### Mode 1: Command Search
|
|
64
|
+
|
|
65
|
+
**Triggers**: "搜索命令", "find command", "search", 命令名关键词
|
|
66
|
+
|
|
67
|
+
**Process**:
|
|
68
|
+
1. Read `Ref: phases/01-parse-intent.md` — 解析搜索意图
|
|
69
|
+
2. Query `catalog.json` commands[] + cli_commands[]
|
|
70
|
+
3. Filter by name, description, category
|
|
71
|
+
4. Present top 5 相关结果,含命令名、描述、分类
|
|
72
|
+
|
|
73
|
+
### Mode 2: Command Documentation
|
|
74
|
+
|
|
75
|
+
**Triggers**: "怎么用", "how to use", "详情", 具体命令名
|
|
76
|
+
|
|
77
|
+
**Process**:
|
|
78
|
+
1. Locate command in `catalog.json`
|
|
79
|
+
2. Read source file via `source` path(从 catalog 相对路径)
|
|
80
|
+
3. 若有对应 guide 文档,读取并提取相关段落
|
|
81
|
+
4. 提供上下文相关的用法示例
|
|
82
|
+
|
|
83
|
+
### Mode 3: Smart Recommendations
|
|
84
|
+
|
|
85
|
+
**Triggers**: "下一步", "what's next", "推荐", "继续"
|
|
86
|
+
|
|
87
|
+
**Process**:
|
|
88
|
+
1. 检测当前项目状态(.workflow/state.json)
|
|
89
|
+
2. 根据 workflows 配置推荐后续命令
|
|
90
|
+
3. Explain WHY 每个推荐适合当前状态
|
|
91
|
+
|
|
92
|
+
### Mode 4: Workflow Guide
|
|
93
|
+
|
|
94
|
+
**Triggers**: "工作流", "workflow", "怎么开始", "用什么流程"
|
|
95
|
+
|
|
96
|
+
**Process**:
|
|
97
|
+
1. Read `Ref: phases/03-workflow-guide.md`
|
|
98
|
+
2. 分析用户任务类型和复杂度
|
|
99
|
+
3. 推荐匹配的工作流(主干管线/快速渠道/Issue 闭环)
|
|
100
|
+
4. 给出具体命令序列
|
|
101
|
+
|
|
102
|
+
### Mode 5: Beginner Onboarding
|
|
103
|
+
|
|
104
|
+
**Triggers**: "新手", "getting started", "常用命令", "入门"
|
|
105
|
+
|
|
106
|
+
**Process**:
|
|
107
|
+
1. Query `catalog.json` essential_commands[]
|
|
108
|
+
2. 逐个展示核心命令的简要说明
|
|
109
|
+
3. 引导用户完成首次项目初始化
|
|
110
|
+
|
|
111
|
+
### Mode 6: Skill & Agent Browsing
|
|
112
|
+
|
|
113
|
+
**Triggers**: "skill", "agent", "技能", "有哪些 skill", "团队"
|
|
114
|
+
|
|
115
|
+
**Process**:
|
|
116
|
+
1. Read `Ref: phases/02-search-present.md`
|
|
117
|
+
2. Query `catalog.json` skills[] 或 agents[]
|
|
118
|
+
3. Filter by category
|
|
119
|
+
4. 呈现分类列表,含描述
|
|
120
|
+
|
|
121
|
+
### Mode 7: CLI Command Reference
|
|
122
|
+
|
|
123
|
+
**Triggers**: "终端命令", "CLI", "maestro 命令", "terminal"
|
|
124
|
+
|
|
125
|
+
**Process**:
|
|
126
|
+
1. Query `catalog.json` cli_commands[]
|
|
127
|
+
2. 按分类分组呈现
|
|
128
|
+
3. 含别名和常用选项
|
|
129
|
+
|
|
130
|
+
## Execution Flow
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
Input: $ARGUMENTS (free text)
|
|
134
|
+
|
|
135
|
+
Phase 1: Parse Intent
|
|
136
|
+
└─ Ref: phases/01-parse-intent.md
|
|
137
|
+
├─ 分析关键词确定 operation mode
|
|
138
|
+
├─ 提取搜索词 / 命令名 / 分类过滤
|
|
139
|
+
└─ Output: { mode, query, category?, context? }
|
|
140
|
+
|
|
141
|
+
Phase 2: Search & Present (Mode 1/2/3/6/7)
|
|
142
|
+
└─ Ref: phases/02-search-present.md
|
|
143
|
+
├─ 查询 catalog.json
|
|
144
|
+
├─ 按模式过滤和排序
|
|
145
|
+
├─ 读取 source 文件(Mode 2)
|
|
146
|
+
└─ Output: 格式化结果
|
|
147
|
+
|
|
148
|
+
Phase 3: Workflow Guide (Mode 4/5)
|
|
149
|
+
└─ Ref: phases/03-workflow-guide.md
|
|
150
|
+
├─ 检测项目状态
|
|
151
|
+
├─ 匹配工作流模板
|
|
152
|
+
├─ 生成推荐命令序列
|
|
153
|
+
└─ Output: 引导信息
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**Phase Reference Documents** (read on-demand):
|
|
157
|
+
|
|
158
|
+
| Phase | Document | Purpose |
|
|
159
|
+
|-------|----------|---------|
|
|
160
|
+
| 1 | [phases/01-parse-intent.md](phases/01-parse-intent.md) | 意图解析和模式路由 |
|
|
161
|
+
| 2 | [phases/02-search-present.md](phases/02-search-present.md) | 搜索和呈现 |
|
|
162
|
+
| 3 | [phases/03-workflow-guide.md](phases/03-workflow-guide.md) | 工作流推荐和引导 |
|
|
163
|
+
|
|
164
|
+
## Input Processing
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
$ARGUMENTS → Parse:
|
|
168
|
+
├─ "search <keyword>" → Mode 1: Command Search
|
|
169
|
+
├─ 命令名 (如 "analyze") → Mode 2: Documentation
|
|
170
|
+
├─ "下一步" / "next" → Mode 3: Smart Recommendations
|
|
171
|
+
├─ "工作流" / "workflow" → Mode 4: Workflow Guide
|
|
172
|
+
├─ "新手" / "入门" → Mode 5: Beginner Onboarding
|
|
173
|
+
├─ "skill" / "agent" → Mode 6: Skill & Agent Browsing
|
|
174
|
+
├─ "CLI" / "终端" → Mode 7: CLI Reference
|
|
175
|
+
├─ 空参数 → Mode 5: Beginner Onboarding
|
|
176
|
+
└─ 其他自由文本 → Mode 1: Command Search (fuzzy)
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Command Catalog Quick Reference
|
|
180
|
+
|
|
181
|
+
### 核心工作流 (core)
|
|
182
|
+
|
|
183
|
+
| 命令 | 用途 |
|
|
184
|
+
|------|------|
|
|
185
|
+
| `/maestro` | 智能协调器,自动路由 |
|
|
186
|
+
| `/maestro-init` | 项目初始化 |
|
|
187
|
+
| `/maestro-roadmap` | 路线图生成 |
|
|
188
|
+
| `/maestro-quick` | 快速任务 |
|
|
189
|
+
| `/maestro-brainstorm` | 头脑风暴 |
|
|
190
|
+
| `/maestro-overlay` | Overlay 管理 |
|
|
191
|
+
| `/maestro-amend` | 修正补丁 |
|
|
192
|
+
|
|
193
|
+
### Phase 管线 (pipeline)
|
|
194
|
+
|
|
195
|
+
| 命令 | 用途 |
|
|
196
|
+
|------|------|
|
|
197
|
+
| `/maestro-analyze` | 多维分析 |
|
|
198
|
+
| `/maestro-plan` | 任务规划 |
|
|
199
|
+
| `/maestro-execute` | 任务执行 |
|
|
200
|
+
| `/maestro-verify` | 验证确认 |
|
|
201
|
+
|
|
202
|
+
### 质量管线 (quality)
|
|
203
|
+
|
|
204
|
+
| 命令 | 用途 |
|
|
205
|
+
|------|------|
|
|
206
|
+
| `/quality-review` | 代码审查 |
|
|
207
|
+
| `/quality-auto-test` | 自动测试 |
|
|
208
|
+
| `/quality-test` | 业务测试 |
|
|
209
|
+
| `/quality-debug` | 质量调试 |
|
|
210
|
+
| `/quality-refactor` | 重构 |
|
|
211
|
+
| `/quality-retrospective` | 复盘 |
|
|
212
|
+
|
|
213
|
+
### 管理命令 (manage)
|
|
214
|
+
|
|
215
|
+
| 命令 | 用途 |
|
|
216
|
+
|------|------|
|
|
217
|
+
| `/manage-issue` | Issue 管理 |
|
|
218
|
+
| `/manage-issue-discover` | Issue 发现 |
|
|
219
|
+
| `/manage-knowhow` | 知识管理 |
|
|
220
|
+
| `/manage-status` | 状态查看 |
|
|
221
|
+
| `/manage-wiki` | Wiki 管理 |
|
|
222
|
+
| `/manage-harvest` | 收获 |
|
|
223
|
+
|
|
224
|
+
## Workflow Mapping
|
|
225
|
+
|
|
226
|
+
| 任务类型 | 推荐工作流 | 命令序列 |
|
|
227
|
+
|---------|-----------|---------|
|
|
228
|
+
| 新项目 | 初始化路径 | `/maestro-init` → `/maestro-roadmap` |
|
|
229
|
+
| 正常开发 | 主干管线 | `/maestro-analyze` → `/maestro-plan` → `/maestro-execute` → `/maestro-verify` |
|
|
230
|
+
| 快速修复 | 快速渠道 | `/maestro-quick "修复描述"` |
|
|
231
|
+
| Bug 追踪 | Issue 闭环 | `/manage-issue-discover` → `/manage-issue create` → analyze/plan/execute → close |
|
|
232
|
+
| 全自动 | /maestro 入口 | `/maestro -y "任务描述"` |
|
|
233
|
+
| 代码审查 | 质量管线 | `/quality-review` → `/quality-auto-test` → `/quality-test` |
|
|
234
|
+
| 团队开发 | Team Lite | `/maestro-collab` |
|
|
235
|
+
|
|
236
|
+
## Core Rules
|
|
237
|
+
|
|
238
|
+
1. **Catalog First**: 先查 catalog.json,再按需读 source 文件
|
|
239
|
+
2. **Guide 链接**: 对深层问题引用 guide/ 文档,告知用户具体文件名
|
|
240
|
+
3. **上下文感知**: 检查 .workflow/ 存在性和 state.json 当前状态
|
|
241
|
+
4. **精确匹配**: 搜索时支持命令名(不含前缀)、分类名、关键词
|
|
242
|
+
5. **不执行命令**: 本 skill 只提供信息和推荐,不执行任何 maestro 命令
|
|
243
|
+
|
|
244
|
+
## Error Handling
|
|
245
|
+
|
|
246
|
+
| 场景 | 处理 |
|
|
247
|
+
|------|------|
|
|
248
|
+
| 命令未找到 | 模糊搜索最近匹配,提示正确命令名 |
|
|
249
|
+
| 项目未初始化 | 推荐先运行 `/maestro-init` |
|
|
250
|
+
| Guide 文件不存在 | 跳过,仅提供 catalog 中的描述 |
|
|
251
|
+
| 参数为空 | 默认进入 Beginner Onboarding 模式 |
|
|
252
|
+
|
|
253
|
+
## Related Resources
|
|
254
|
+
|
|
255
|
+
- **Guide 目录**: `guide/` — 17 个专题指南文档
|
|
256
|
+
- **Delegate 参考**: `~/.maestro/workflows/delegate-usage.md`
|
|
257
|
+
- **Coding 哲学**: `~/.maestro/workflows/coding-philosophy.md`
|
|
258
|
+
- **CLI 工具配置**: `~/.maestro/cli-tools.json`
|
|
259
|
+
|
|
260
|
+
## Statistics
|
|
261
|
+
|
|
262
|
+
- **Slash 命令**: 55 个(7 个分类)
|
|
263
|
+
- **CLI 命令**: 21 个
|
|
264
|
+
- **Skills**: 10 个(3 个分类)
|
|
265
|
+
- **Agents**: 22 个(5 个分类)
|
|
266
|
+
- **Guide 文档**: 17 个
|
|
267
|
+
- **工作流**: 4 个主要模板
|