pi-maestro-flow 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/README.md +44 -72
  2. package/agents/cross-role-reviewer.md +1 -1
  3. package/agents/impeccable-agent.md +1 -1
  4. package/agents/ralph-executor.md +1 -1
  5. package/agents/team-worker.md +1 -1
  6. package/agents/workflow-analyzer.md +1 -1
  7. package/agents/workflow-codebase-mapper.md +1 -1
  8. package/agents/workflow-collab-planner.md +1 -1
  9. package/agents/workflow-debugger.md +1 -1
  10. package/agents/workflow-executor.md +1 -1
  11. package/agents/workflow-integration-checker.md +1 -1
  12. package/agents/workflow-nyquist-auditor.md +1 -1
  13. package/agents/workflow-phase-researcher.md +1 -1
  14. package/agents/workflow-planner.md +1 -1
  15. package/agents/workflow-project-researcher.md +1 -1
  16. package/agents/workflow-reviewer.md +1 -1
  17. package/agents/workflow-verifier.md +1 -1
  18. package/package.json +13 -4
  19. package/skills/codify-to-knowhow/SKILL.md +1 -1
  20. package/skills/delegation-check/SKILL.md +1 -1
  21. package/skills/domain-add/SKILL.md +5 -7
  22. package/skills/insight-challenge/SKILL.md +1 -1
  23. package/skills/learn-decompose/SKILL.md +4 -4
  24. package/skills/learn-follow/SKILL.md +5 -5
  25. package/skills/learn-investigate/SKILL.md +5 -5
  26. package/skills/learn-second-opinion/SKILL.md +5 -5
  27. package/skills/maestro/SKILL.md +9 -10
  28. package/skills/maestro-amend/SKILL.md +3 -3
  29. package/skills/maestro-analyze/SKILL.md +10 -13
  30. package/skills/maestro-blueprint/SKILL.md +8 -11
  31. package/skills/maestro-brainstorm/SKILL.md +11 -14
  32. package/skills/maestro-collab/SKILL.md +4 -4
  33. package/skills/maestro-companion/SKILL.md +3 -3
  34. package/skills/maestro-composer/SKILL.md +11 -12
  35. package/skills/maestro-execute/SKILL.md +9 -12
  36. package/skills/maestro-fork/SKILL.md +8 -11
  37. package/skills/maestro-grill/SKILL.md +13 -16
  38. package/skills/maestro-guard/SKILL.md +5 -5
  39. package/skills/maestro-help/SKILL.md +3 -3
  40. package/skills/maestro-impeccable/SKILL.md +7 -7
  41. package/skills/maestro-init/SKILL.md +9 -12
  42. package/skills/maestro-merge/SKILL.md +6 -8
  43. package/skills/maestro-milestone-audit/SKILL.md +3 -5
  44. package/skills/maestro-milestone-complete/SKILL.md +9 -12
  45. package/skills/maestro-milestone-release/SKILL.md +9 -11
  46. package/skills/maestro-next/SKILL.md +5 -5
  47. package/skills/maestro-overlay/SKILL.md +16 -16
  48. package/skills/maestro-plan/SKILL.md +9 -12
  49. package/skills/maestro-player/SKILL.md +5 -5
  50. package/skills/maestro-quick/SKILL.md +5 -7
  51. package/skills/maestro-ralph/SKILL.md +16 -17
  52. package/skills/maestro-ralph-cli/SKILL.md +6 -6
  53. package/skills/maestro-ralph-cli-execute/SKILL.md +2 -2
  54. package/skills/maestro-ralph-execute/SKILL.md +4 -4
  55. package/skills/maestro-ralph-v2/SKILL.md +18 -19
  56. package/skills/maestro-roadmap/SKILL.md +8 -9
  57. package/skills/maestro-swarm-workflow/SKILL.md +9 -9
  58. package/skills/maestro-tools-execute/SKILL.md +5 -7
  59. package/skills/maestro-tools-register/SKILL.md +7 -9
  60. package/skills/maestro-ui-codify/SKILL.md +9 -10
  61. package/skills/maestro-universal-workflow/SKILL.md +15 -15
  62. package/skills/maestro-update/SKILL.md +10 -10
  63. package/skills/manage-codebase-rebuild/SKILL.md +4 -6
  64. package/skills/manage-drift-realign/SKILL.md +8 -11
  65. package/skills/manage-harvest/SKILL.md +6 -9
  66. package/skills/manage-issue/SKILL.md +5 -8
  67. package/skills/manage-issue-discover/SKILL.md +8 -11
  68. package/skills/manage-kg-extractors/SKILL.md +3 -3
  69. package/skills/manage-knowhow/SKILL.md +3 -5
  70. package/skills/manage-knowhow-capture/SKILL.md +4 -6
  71. package/skills/manage-knowledge-audit/SKILL.md +6 -9
  72. package/skills/manage-status/SKILL.md +3 -5
  73. package/skills/manage-wiki/SKILL.md +5 -7
  74. package/skills/odyssey-debug/SKILL.md +13 -13
  75. package/skills/odyssey-improve/SKILL.md +15 -15
  76. package/skills/odyssey-planex/SKILL.md +16 -16
  77. package/skills/odyssey-review-test-fix/SKILL.md +11 -11
  78. package/skills/odyssey-ui/SKILL.md +10 -10
  79. package/skills/prompt-generator/SKILL.md +5 -5
  80. package/skills/quality-auto-test/SKILL.md +3 -5
  81. package/skills/quality-debug/SKILL.md +3 -5
  82. package/skills/quality-refactor/SKILL.md +3 -5
  83. package/skills/quality-retrospective/SKILL.md +10 -13
  84. package/skills/quality-review/SKILL.md +5 -8
  85. package/skills/quality-sync/SKILL.md +3 -5
  86. package/skills/quality-test/SKILL.md +4 -6
  87. package/skills/scholar-anti-ai-writing/SKILL.md +1 -1
  88. package/skills/scholar-citation-verify/SKILL.md +1 -1
  89. package/skills/scholar-experiment/SKILL.md +2 -2
  90. package/skills/scholar-ideation/SKILL.md +7 -7
  91. package/skills/scholar-latex-organizer/SKILL.md +1 -1
  92. package/skills/scholar-publish/SKILL.md +3 -3
  93. package/skills/scholar-rebuttal-pro/SKILL.md +3 -3
  94. package/skills/scholar-review/SKILL.md +1 -1
  95. package/skills/scholar-writing/SKILL.md +1 -1
  96. package/skills/security-audit/SKILL.md +2 -4
  97. package/skills/skill-generator/SKILL.md +3 -3
  98. package/skills/skill-iter-tune/SKILL.md +3 -3
  99. package/skills/skill-simplify/SKILL.md +1 -1
  100. package/skills/skill-tuning/SKILL.md +1 -1
  101. package/skills/spec-add/SKILL.md +5 -7
  102. package/skills/spec-load/SKILL.md +3 -5
  103. package/skills/spec-remove/SKILL.md +4 -6
  104. package/skills/spec-setup/SKILL.md +6 -8
  105. package/skills/team-adversarial-swarm/SKILL.md +5 -5
  106. package/skills/team-arch-opt/SKILL.md +2 -2
  107. package/skills/team-brainstorm/SKILL.md +3 -3
  108. package/skills/team-coordinate/SKILL.md +4 -4
  109. package/skills/team-designer/SKILL.md +1 -1
  110. package/skills/team-executor/SKILL.md +3 -3
  111. package/skills/team-frontend/SKILL.md +2 -2
  112. package/skills/team-frontend-debug/SKILL.md +3 -3
  113. package/skills/team-interactive-craft/SKILL.md +2 -2
  114. package/skills/team-issue/SKILL.md +3 -3
  115. package/skills/team-lifecycle-v4/SKILL.md +4 -4
  116. package/skills/team-motion-design/SKILL.md +2 -2
  117. package/skills/team-perf-opt/SKILL.md +3 -3
  118. package/skills/team-planex/SKILL.md +2 -2
  119. package/skills/team-quality-assurance/SKILL.md +3 -3
  120. package/skills/team-review/SKILL.md +3 -3
  121. package/skills/team-roadmap-dev/SKILL.md +3 -3
  122. package/skills/team-swarm/SKILL.md +4 -4
  123. package/skills/team-tech-debt/SKILL.md +2 -2
  124. package/skills/team-testing/SKILL.md +3 -3
  125. package/skills/team-ui-polish/SKILL.md +2 -2
  126. package/skills/team-uidesign/SKILL.md +2 -2
  127. package/skills/team-ultra-analyze/SKILL.md +4 -4
  128. package/skills/team-ux-improve/SKILL.md +3 -3
  129. package/skills/team-visual-a11y/SKILL.md +2 -2
  130. package/skills/workflow-skill-designer/SKILL.md +8 -8
  131. package/templates/business-test-report.json +68 -0
  132. package/templates/config.json +48 -0
  133. package/templates/context.md +16 -0
  134. package/templates/doc-index.json +11 -0
  135. package/templates/index.json +68 -0
  136. package/templates/issue.json +36 -0
  137. package/templates/plan.json +38 -0
  138. package/templates/project.md +60 -0
  139. package/templates/reflection-log.md +20 -0
  140. package/templates/roadmap.md +45 -0
  141. package/templates/scratch-index.json +19 -0
  142. package/templates/search-tool.json +1 -0
  143. package/templates/search-tools.md +47 -0
  144. package/templates/state.json +18 -0
  145. package/templates/task-summary.md +21 -0
  146. package/templates/task.json +89 -0
  147. package/templates/terminology-template.json +22 -0
  148. package/templates/uat.md +21 -0
  149. package/templates/validation.json +31 -0
  150. package/templates/verification.json +37 -0
  151. package/templates/workflow.md +14 -0
  152. package/templates/worktree-scope.json +9 -0
  153. package/templates/worktrees.json +26 -0
  154. package/workflows/agy-instructions.md +156 -0
  155. package/workflows/analyze.md +768 -0
  156. package/workflows/auto-test.md +705 -0
  157. package/workflows/blueprint.md +406 -0
  158. package/workflows/boundary-grill.md +50 -0
  159. package/workflows/brainstorm.md +508 -0
  160. package/workflows/business-test.md +574 -0
  161. package/workflows/chinese-response.md +25 -0
  162. package/workflows/claude-instructions.md +167 -0
  163. package/workflows/codebase-rebuild.md +267 -0
  164. package/workflows/codebase-refresh.md +168 -0
  165. package/workflows/codex-instructions.md +156 -0
  166. package/workflows/coding-philosophy.md +70 -0
  167. package/workflows/command-authoring.md +823 -0
  168. package/workflows/debug.md +409 -0
  169. package/workflows/delegate-usage.md +99 -0
  170. package/workflows/domain-add.md +121 -0
  171. package/workflows/drift-realign.md +396 -0
  172. package/workflows/execute.md +631 -0
  173. package/workflows/explore-usage.md +93 -0
  174. package/workflows/finish-work.md +124 -0
  175. package/workflows/fork.md +162 -0
  176. package/workflows/grill.md +494 -0
  177. package/workflows/harvest.md +478 -0
  178. package/workflows/impeccable.md +168 -0
  179. package/workflows/init.md +157 -0
  180. package/workflows/instruction-authoring-guide.md +97 -0
  181. package/workflows/integration-test.md +186 -0
  182. package/workflows/interview-mechanics.md +8 -0
  183. package/workflows/issue-analyze.md +20 -0
  184. package/workflows/issue-discover.md +238 -0
  185. package/workflows/issue-execute.md +110 -0
  186. package/workflows/issue-gaps-analyze.codex.md +256 -0
  187. package/workflows/issue-gaps-analyze.md +215 -0
  188. package/workflows/issue-plan.md +110 -0
  189. package/workflows/issue.md +338 -0
  190. package/workflows/knowhow.md +429 -0
  191. package/workflows/knowledge-audit.md +355 -0
  192. package/workflows/learn.md +271 -0
  193. package/workflows/maestro-chain-execute.md +20 -0
  194. package/workflows/maestro-link-coordinate.md +114 -0
  195. package/workflows/maestro-super.md +120 -0
  196. package/workflows/maestro.md +501 -0
  197. package/workflows/map.md +74 -0
  198. package/workflows/merge.md +122 -0
  199. package/workflows/milestone-audit.md +155 -0
  200. package/workflows/milestone-complete.md +167 -0
  201. package/workflows/milestone-release.md +82 -0
  202. package/workflows/odyssey-base-codex.md +305 -0
  203. package/workflows/odyssey-base.md +256 -0
  204. package/workflows/overlays.md +109 -0
  205. package/workflows/plan.md +520 -0
  206. package/workflows/quick.md +350 -0
  207. package/workflows/ralph-amend-goal.md +177 -0
  208. package/workflows/refactor.md +87 -0
  209. package/workflows/retrospective.md +471 -0
  210. package/workflows/review.md +448 -0
  211. package/workflows/roadmap-common.md +193 -0
  212. package/workflows/roadmap.md +106 -0
  213. package/workflows/shell-exec-protocol.md +30 -0
  214. package/workflows/skill-authoring.md +265 -0
  215. package/workflows/spec-generate.md +475 -0
  216. package/workflows/specs-add.md +123 -0
  217. package/workflows/specs-load.md +76 -0
  218. package/workflows/specs-remove.md +104 -0
  219. package/workflows/specs-setup.md +316 -0
  220. package/workflows/status.md +149 -0
  221. package/workflows/sync.md +116 -0
  222. package/workflows/tdd.md +255 -0
  223. package/workflows/test-gen.md +226 -0
  224. package/workflows/test.md +385 -0
  225. package/workflows/tools-spec.md +70 -0
  226. package/workflows/ui-codify-extract.md +372 -0
  227. package/workflows/ui-codify-knowhow.md +258 -0
  228. package/workflows/ui-codify-package.md +159 -0
  229. package/workflows/ui-codify.md +227 -0
  230. package/workflows/ui-design.md +393 -0
  231. package/workflows/ui-style.md +201 -0
  232. package/workflows/verify.md +557 -0
  233. package/workflows/wiki-connect.md +153 -0
  234. package/workflows/wiki-digest.md +180 -0
  235. package/workflows/wiki-manage.md +113 -0
@@ -1,20 +1,17 @@
1
1
  ---
2
2
  name: quality-review
3
3
  description: "Use after execution to evaluate code quality across correctness, security, performance, and architecture Arguments: <phase> [--level quick|standard|deep] [--dimensions security,architecture,...] [--skip-specs]"
4
- allowed-tools: Read Write Edit Bash Glob Grep Agent AskUserQuestion
4
+ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
5
5
  ---
6
6
 
7
7
  <purpose>
8
8
  Multi-dimensional code review on a phase's changed files. Three levels (quick/standard/deep), auto-detected from file count. Level and dimension details in workflow review.md.
9
9
  </purpose>
10
10
 
11
- <required_reading>
12
- @~/.maestro/workflows/review.md
13
- </required_reading>
11
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/review.md` before proceeding.
14
12
 
15
- <deferred_reading>
16
- - [index.json](~/.maestro/templates/index.json) — read when updating phase index after review
17
- </deferred_reading>
13
+ > **Reference files** (read when needed):
14
+ > - [index.json](~/.pi/agent/packages/pi-maestro-flow/templates/index.json) — read when updating phase index after review
18
15
 
19
16
  <context>
20
17
  Phase: $ARGUMENTS (required — phase number or slug)
@@ -60,7 +57,7 @@ Each artifact's type determines its outputs at `.workflow/{a.path}/`:
60
57
  </invariants>
61
58
 
62
59
  <execution>
63
- Follow '~/.maestro/workflows/review.md' completely.
60
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/review.md' completely.
64
61
 
65
62
  ### Phase Gates (MANDATORY, BLOCKING)
66
63
 
@@ -1,16 +1,14 @@
1
1
  ---
2
2
  name: quality-sync
3
3
  description: "Sync codebase docs by tracing git diff impact Arguments: [--full] [--since <commit|HEAD~N>] [--dry-run]"
4
- allowed-tools: Read Write Edit Bash Glob Grep Agent AskUserQuestion
4
+ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
5
5
  ---
6
6
 
7
7
  <purpose>
8
8
  Sync codebase docs after code changes: git diff → trace impact via doc-index.json → refresh `.workflow/codebase/` docs.
9
9
  </purpose>
10
10
 
11
- <required_reading>
12
- @~/.maestro/workflows/sync.md
13
- </required_reading>
11
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/sync.md` before proceeding.
14
12
 
15
13
  <context>
16
14
  $ARGUMENTS -- optional flags:
@@ -30,7 +28,7 @@ $ARGUMENTS -- optional flags:
30
28
  </invariants>
31
29
 
32
30
  <execution>
33
- Follow '~/.maestro/workflows/sync.md' completely.
31
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/sync.md' completely.
34
32
 
35
33
  ### Phase Gates (MANDATORY, BLOCKING)
36
34
 
@@ -1,16 +1,14 @@
1
1
  ---
2
2
  name: quality-test
3
3
  description: "Use when implementation needs user acceptance testing with interactive verification and gap closure Arguments: [phase] [--smoke] [--auto-fix] [--frontend-verify]"
4
- allowed-tools: Read Write Edit Bash Glob Grep Agent AskUserQuestion
4
+ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
5
5
  ---
6
6
 
7
7
  <purpose>
8
8
  UAT-style conversational testing for a completed phase. Interactive scenario walk-through with severity inference. Issues trigger parallel debug agents and optional gap-fix loop (--auto-fix).
9
9
  </purpose>
10
10
 
11
- <required_reading>
12
- @~/.maestro/workflows/test.md
13
- </required_reading>
11
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/test.md` before proceeding.
14
12
 
15
13
  <context>
16
14
  Phase or task: $ARGUMENTS (optional)
@@ -31,7 +29,7 @@ Flags, artifact context resolution, and output directory format defined in workf
31
29
  </invariants>
32
30
 
33
31
  <execution>
34
- **Mode select:** `--frontend-verify` → 走下方 **Frontend Verify Mode**(确定性浏览器 smoke,**不是**对话式 UAT);否则 Follow '~/.maestro/workflows/test.md' completely.
32
+ **Mode select:** `--frontend-verify` → 走下方 **Frontend Verify Mode**(确定性浏览器 smoke,**不是**对话式 UAT);否则 Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/test.md' completely.
35
33
 
36
34
  ### Frontend Verify Mode (`--frontend-verify`)
37
35
 
@@ -54,7 +52,7 @@ Ralph-invoked 完成:`maestro ralph complete <idx> --status {STATUS} --evidenc
54
52
 
55
53
  ---
56
54
 
57
- Follow '~/.maestro/workflows/test.md' completely.
55
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/test.md' completely.
58
56
 
59
57
  ### Phase Gates (MANDATORY, BLOCKING)
60
58
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-anti-ai-writing
3
3
  description: "Remove AI writing patterns from academic prose. Detects and fixes inflated symbolism, promotional language, superficial analyses, vague attributions, AI vocabulary, and formulaic structures. Supports English and Chinese. Triggers on \"remove AI patterns\", \"humanize text\", \"anti-AI polish\", \"去除AI写作痕迹\", \"人性化处理\"."
4
- allowed-tools: Read Write Edit Bash Glob Grep AskUserQuestion TodoWrite
4
+ allowed-tools: Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Scholar Anti-AI Writing
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-citation-verify
3
3
  description: "Four-layer citation verification for academic papers. Scans LaTeX/BibTeX files, verifies every citation via WebSearch and Google Scholar, generates verification report with fix suggestions. Triggers on \"verify citations\", \"check references\", \"citation verification\", \"prevent fake citations\", \"引用验证\"."
4
- allowed-tools: Read Write Edit Bash Glob Grep WebSearch WebFetch AskUserQuestion TodoWrite
4
+ allowed-tools: Read Write Edit Bash Glob Grep WebSearch WebFetch maestro
5
5
  ---
6
6
 
7
7
  # Scholar Citation Verify
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-experiment
3
3
  description: "Systematic experimental results analysis workflow for ML/AI research papers. Connects experimental data to publication-ready Results sections with statistical validation, visualizations, and quality checks. Triggers on \"analyze experimental results\", \"generate results section\", \"statistical analysis of experiments\", \"compare model performance\", \"create results visualization\"."
4
- allowed-tools: Read Write Edit Bash Glob Grep AskUserQuestion TodoWrite
4
+ allowed-tools: Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Scholar Experiment: Results Analysis Workflow
@@ -111,7 +111,7 @@ library(multcomp) # Multiple comparisons
111
111
  Before dispatching to phases, collect analysis preferences:
112
112
 
113
113
  ```javascript
114
- const prefResponse = AskUserQuestion({
114
+ const prefResponse = ask user ({
115
115
  question: "How would you like to configure the analysis?",
116
116
  options: [
117
117
  {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-ideation
3
3
  description: "Research ideation workflow from literature search to research planning. Triggers on \"brainstorm research ideas\", \"identify research gaps\", \"conduct gap analysis\", \"start research project\", \"conduct literature review\", \"define research question\", \"select research method\", \"plan research\", \"research ideation\"."
4
- allowed-tools: WebSearch WebFetch Read Write Edit Bash Glob Grep TodoWrite AskUserQuestion
4
+ allowed-tools: WebSearch WebFetch Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Scholar Ideation
@@ -50,11 +50,11 @@ User Input (research topic/interest)
50
50
  Before dispatching to phases, collect research context and workflow preferences:
51
51
 
52
52
  ```
53
- AskUserQuestion:
53
+ user prompt:
54
54
  question: "Please describe your research topic or interest area."
55
55
  → Store as: researchTopic
56
56
 
57
- AskUserQuestion:
57
+ user prompt:
58
58
  question: "What is the scope and context of your research?"
59
59
  options:
60
60
  - "Broad exploration (survey a field)"
@@ -62,7 +62,7 @@ AskUserQuestion:
62
62
  - "Applied research (practical application)"
63
63
  → Store as: researchScope
64
64
 
65
- AskUserQuestion:
65
+ user prompt:
66
66
  question: "What is your target research timeline?"
67
67
  options:
68
68
  - "Short-term (3-6 months)"
@@ -70,14 +70,14 @@ AskUserQuestion:
70
70
  - "Long-term (1-2 years)"
71
71
  → Store as: researchTimeline
72
72
 
73
- AskUserQuestion:
73
+ user prompt:
74
74
  question: "Do you have access to Zotero for literature management?"
75
75
  options:
76
76
  - "Yes (auto-import papers to Zotero)"
77
77
  - "No (skip Zotero integration)"
78
78
  → Store as: useZotero
79
79
 
80
- AskUserQuestion:
80
+ user prompt:
81
81
  question: "Workflow mode?"
82
82
  options:
83
83
  - "Interactive (confirm at each phase)"
@@ -188,7 +188,7 @@ TIMELINE: [short | medium | long]
188
188
  CONTEXT: [additional constraints, domain, background]
189
189
  ```
190
190
 
191
- If user provides a simple topic string, derive scope and timeline from the topic description or ask via AskUserQuestion.
191
+ If user provides a simple topic string, derive scope and timeline from the topic description or ask via user prompt.
192
192
 
193
193
  ## Data Flow
194
194
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-latex-organizer
3
3
  description: "Organize messy conference LaTeX template .zip files into clean Overleaf-ready structure. Extracts, analyzes, cleans up, and generates README with submission requirements. Triggers on \"organize LaTeX template\", \"clean up template\", \"prepare Overleaf template\", \"整理LaTeX模板\"."
4
- allowed-tools: Read Write Edit Bash Glob Grep WebSearch WebFetch AskUserQuestion TodoWrite
4
+ allowed-tools: Read Write Edit Bash Glob Grep WebSearch WebFetch maestro
5
5
  ---
6
6
 
7
7
  # Scholar LaTeX Organizer
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-publish
3
3
  description: "Post-acceptance conference preparation workflow covering presentation slides, academic posters, and promotion content. Triggers on \"scholar publish\", \"conference preparation\", \"prepare presentation\", \"create poster\", \"write promotion\", \"post-acceptance\"."
4
- allowed-tools: AskUserQuestion TodoWrite Read Write Edit Bash Glob Grep
4
+ allowed-tools: Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Scholar Publish
@@ -53,7 +53,7 @@ Each phase runs independently based on user selection.
53
53
 
54
54
  ## Interactive Preference Collection
55
55
 
56
- Collect workflow preferences via AskUserQuestion before dispatching to phases:
56
+ Collect workflow preferences via user prompt before dispatching to phases:
57
57
 
58
58
  ```
59
59
  Step 1: Identify paper context
@@ -64,7 +64,7 @@ Step 1: Identify paper context
64
64
  - Co-authors (for tagging in promotion)"
65
65
 
66
66
  Step 2: Select outputs to generate
67
- AskUserQuestion:
67
+ user prompt:
68
68
  question: "Which outputs would you like to generate?"
69
69
  options:
70
70
  - "Presentation slides outline" → enablePresentation = true
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-rebuttal-pro
3
3
  description: "Enhanced academic paper review response workflow with Agy/CLI collaborative analysis and multi-perspective discussion. Produces structured rebuttal documents with evidence-based strategies. Triggers on \"rebuttal\", \"respond to reviewers\", \"review response\", \"审稿回复\"."
4
- allowed-tools: Task AskUserQuestion TodoWrite Read Write Edit Bash Glob Grep Skill mcp__ace-tool__search_context mcp__ccw-tools__read_file mcp__ccw-tools__edit_file
4
+ allowed-tools: Task Read Write Edit Bash Glob Grep mcp__ace-tool__search_context mcp__ccw-tools__read_file mcp__ccw-tools__edit_file maestro
5
5
  ---
6
6
 
7
7
  # Scholar Rebuttal Pro
@@ -43,10 +43,10 @@ Enhanced academic paper review response workflow combining Agy/CLI collaborative
43
43
 
44
44
  ## Interactive Preference Collection
45
45
 
46
- Collect workflow preferences via AskUserQuestion before dispatching to phases:
46
+ Collect workflow preferences via user prompt before dispatching to phases:
47
47
 
48
48
  ```javascript
49
- const prefResponse = AskUserQuestion({
49
+ const prefResponse = ask user ({
50
50
  questions: [
51
51
  {
52
52
  question: "是否跳过所有确认步骤(自动模式)?",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-review
3
3
  description: "Systematic academic paper review workflow covering self-review before submission and rebuttal writing after receiving reviewer feedback. Triggers on \"review paper\", \"self-review\", \"write rebuttal\", \"respond to reviewers\", \"analyze review comments\", \"paper review\"."
4
- allowed-tools: Read Write Edit Bash Glob Grep WebFetch WebSearch AskUserQuestion TodoWrite
4
+ allowed-tools: Read Write Edit Bash Glob Grep WebFetch WebSearch maestro
5
5
  ---
6
6
 
7
7
  # Scholar Review
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scholar-writing
3
3
  description: "End-to-end academic paper writing workflow. Takes a research repository and produces a publication-ready LaTeX manuscript for top ML/AI conferences (NeurIPS, ICML, ICLR, ACL, AAAI, COLM). Covers repo understanding, structure planning, section drafting, citation management, anti-AI polishing, and conference formatting. Triggers on \"write paper\", \"draft paper\", \"scholar writing\", \"paper writing workflow\"."
4
- allowed-tools: Read Write Edit Bash Glob Grep WebSearch WebFetch TodoWrite AskUserQuestion Task
4
+ allowed-tools: Read Write Edit Bash Glob Grep WebSearch WebFetch Task maestro
5
5
  ---
6
6
 
7
7
  # Scholar Writing
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: security-audit
3
3
  description: "OWASP Top 10 and STRIDE security auditing with supply chain analysis Arguments: [quick|standard|deep] [--scope <path>]"
4
- allowed-tools: Read Write Bash Glob Grep Agent AskUserQuestion
4
+ allowed-tools: Read Write Bash Glob Grep teammate maestro
5
5
  ---
6
6
 
7
7
  <purpose>
@@ -9,9 +9,7 @@ Systematic security audit covering OWASP Top 10, dependency supply chain, secret
9
9
  CI/CD pipeline review, and optional STRIDE threat modeling. Three tiers control depth vs speed.
10
10
  </purpose>
11
11
 
12
- <required_reading>
13
- @~/.maestro/workflows/review.md
14
- </required_reading>
12
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/review.md` before proceeding.
15
13
 
16
14
  <context>
17
15
  $ARGUMENTS — Parse tier and scope:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: skill-generator
3
3
  description: "Meta-skill for creating new Claude Code skills with configurable execution modes. Supports sequential (fixed order) and autonomous (stateless) phase patterns. Use for skill scaffolding, skill creation, or building new workflows. Triggers on \"create skill\", \"new skill\", \"skill generator\"."
4
- allowed-tools: Agent AskUserQuestion Read Bash Glob Grep Write
4
+ allowed-tools: teammate Read Bash Glob Grep Write maestro
5
5
  ---
6
6
 
7
7
  # Skill Generator
@@ -150,7 +150,7 @@ Phase 0: Specification Study (MANDATORY - Must complete before proceeding)
150
150
 
151
151
  Phase 1: Requirements Discovery
152
152
  - Gather skill requirements via user interaction
153
- - Tool: AskUserQuestion
153
+ - Tool: user prompt
154
154
  - Collect: Skill name, purpose, execution mode
155
155
  - Collect: Phase/Action definition
156
156
  - Collect: Tool dependencies, output format
@@ -217,7 +217,7 @@ Read('.claude/skills/_shared/SKILL-DESIGN-SPEC.md');
217
217
  Read('.claude/skills/skill-generator/templates/*.md'); // All templates
218
218
 
219
219
  // Phase 1: Gather requirements
220
- const answers = AskUserQuestion({
220
+ const answers = ask user ({
221
221
  questions: [
222
222
  { question: "Skill name?", header: "Name", options: [...] },
223
223
  { question: "Execution mode?", header: "Mode", options: ["Sequential", "Autonomous"] }
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: skill-iter-tune
3
3
  description: "Iterative skill tuning via execute-evaluate-improve feedback loop. Uses maestro delegate Claude to execute skill, Agy to evaluate quality, and Agent to apply improvements. Iterates until quality threshold or max iterations. Triggers on \"skill iter tune\", \"iterative skill tuning\", \"tune skill\"."
4
- allowed-tools: Skill Agent AskUserQuestion TaskCreate TaskUpdate TaskList Read Write Edit Bash Glob Grep
4
+ allowed-tools: teammate Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Skill Iter Tune
@@ -70,7 +70,7 @@ if (autoYes) {
70
70
  executionMode: 'single'
71
71
  }
72
72
  } else {
73
- const prefResponse = AskUserQuestion({
73
+ const prefResponse = ask user ({
74
74
  questions: [
75
75
  {
76
76
  question: "选择迭代调优配置:",
@@ -96,7 +96,7 @@ if (autoYes) {
96
96
  workflowPreferences = { autoYes: false, ...configMap[selected] }
97
97
 
98
98
  // ★ Mode selection: chain vs single
99
- const modeResponse = AskUserQuestion({
99
+ const modeResponse = ask user ({
100
100
  questions: [{
101
101
  question: "选择调优模式:",
102
102
  header: "Tune Mode",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: skill-simplify
3
3
  description: "SKILL.md simplification with functional integrity verification. Analyze redundancy, optimize content, check no functionality lost. Triggers on \"simplify skill\", \"optimize skill\", \"skill-simplify\"."
4
- allowed-tools: AskUserQuestion Read Write Edit Bash Glob Grep
4
+ allowed-tools: Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Skill Simplify
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: skill-tuning
3
3
  description: "Universal skill diagnosis and optimization tool. Detect and fix skill execution issues including context explosion, long-tail forgetting, data flow disruption, and agent coordination failures. Supports Agy CLI for deep analysis. Triggers on \"skill tuning\", \"tune skill\", \"skill diagnosis\", \"optimize skill\", \"skill debug\"."
4
- allowed-tools: Agent AskUserQuestion Read Write Bash Glob Grep
4
+ allowed-tools: teammate Read Write Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Skill Tuning
@@ -1,16 +1,14 @@
1
1
  ---
2
2
  name: spec-add
3
3
  description: "Add spec entry by category with role tagging Arguments: [--scope project|global|team|personal] [-y] <category> <content>"
4
- allowed-tools: Read Write Bash Glob Grep AskUserQuestion
4
+ allowed-tools: Read Write Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  <purpose>
8
8
  Add `<spec-entry>` to specs by category. 4 scopes: project (default), global, team, personal.
9
9
  </purpose>
10
10
 
11
- <required_reading>
12
- @~/.maestro/workflows/specs-add.md
13
- </required_reading>
11
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/specs-add.md` before proceeding.
14
12
 
15
13
  <context>
16
14
  $ARGUMENTS -- expects `[--scope <scope>] [--uid <uid>] <category> <content>`
@@ -43,13 +41,13 @@ Scope-to-directory mapping, category-to-file mapping, and entry format defined i
43
41
  1. **Idempotent append** — duplicate entry ID MUST be rejected (E003-level check on title + category match before write)
44
42
  2. **Category validation** — category MUST be one of: coding, arch, quality, debug, test, review, learning, ui. Invalid category → E003
45
43
  3. **Scope isolation** — writes target ONLY the scope-resolved directory; project scope NEVER writes to global (~/.maestro/specs/), global scope NEVER writes to project (.workflow/specs/)
46
- 4. **Confirmation gate** — MUST AskUserQuestion before appending entry (unless -y flag); NEVER write without user confirmation in interactive mode
44
+ 4. **Confirmation gate** — MUST user prompt before appending entry (unless -y flag); NEVER write without user confirmation in interactive mode
47
45
  5. **Entry format invariance** — all entries MUST use `<spec-entry>` closed-tag format with id, keywords, and category attributes
48
46
  6. **Output boundary** — ALL file writes MUST target the scope-resolved specs directory (.workflow/specs/, ~/.maestro/specs/, .workflow/collab/specs/, or .workflow/collab/{uid}/specs/) and optionally .workflow/knowhow/ for --ref mode. NEVER modify source code or files outside these paths
49
47
  </invariants>
50
48
 
51
49
  <execution>
52
- Follow '~/.maestro/workflows/specs-add.md' completely.
50
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/specs-add.md' completely.
53
51
 
54
52
  ### Phase Gates (MANDATORY, BLOCKING)
55
53
 
@@ -69,7 +67,7 @@ Follow '~/.maestro/workflows/specs-add.md' completely.
69
67
  - REQUIRED: User confirmation via AskUserQuestion (unless -y flag).
70
68
  - BLOCKED if: user declines confirmation — abort without writing.
71
69
 
72
- **Confirmation gate**: Unless -y flag is passed, after formatting the `<spec-entry>` block but before appending to the target file, AskUserQuestion showing the formatted entry, target file path, and scope. Proceed only on user confirm.
70
+ **Confirmation gate**: Unless -y flag is passed, after formatting the `<spec-entry>` block but before appending to the target file, user prompt showing the formatted entry, target file path, and scope. Proceed only on user confirm.
73
71
  </execution>
74
72
 
75
73
  <error_codes>
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: spec-load
3
3
  description: "Load specs and lessons for current context Arguments: [--scope <scope>] [--category <category>] [--keyword <word>]"
4
- allowed-tools: Read Bash Glob Grep
4
+ allowed-tools: Read Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  <purpose>
@@ -10,9 +10,7 @@ Category-based loading: loads the category's primary doc in full + matching entr
10
10
  By default, loads from both global (~/.maestro/specs/) and project (.workflow/specs/) layers.
11
11
  </purpose>
12
12
 
13
- <required_reading>
14
- @~/.maestro/workflows/specs-load.md
15
- </required_reading>
13
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/specs-load.md` before proceeding.
16
14
 
17
15
  <context>
18
16
  $ARGUMENTS -- optional flags and keyword
@@ -63,7 +61,7 @@ Use the load command to read the full referenced document.
63
61
  </invariants>
64
62
 
65
63
  <execution>
66
- Follow '~/.maestro/workflows/specs-load.md' completely.
64
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/specs-load.md' completely.
67
65
 
68
66
  ### Phase Gates (MANDATORY, BLOCKING)
69
67
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: spec-remove
3
3
  description: "Remove spec entry by ID Arguments: <entry-id> [--cascade] [-y]"
4
- allowed-tools: Read Write Edit Bash Glob Grep AskUserQuestion
4
+ allowed-tools: Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  <purpose>
@@ -9,9 +9,7 @@ Remove a `<spec-entry>` from a specs file. Symmetric with `/spec-add`.
9
9
  Uses `maestro wiki remove-entry` for atomic removal with index auto-update.
10
10
  </purpose>
11
11
 
12
- <required_reading>
13
- @~/.maestro/workflows/specs-remove.md
14
- </required_reading>
12
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/specs-remove.md` before proceeding.
15
13
 
16
14
  <context>
17
15
  $ARGUMENTS -- expects `<entry-id>` (e.g., `spec-learnings-003`, `spec-coding-conventions-001`)
@@ -25,7 +23,7 @@ $ARGUMENTS -- expects `<entry-id>` (e.g., `spec-learnings-003`, `spec-coding-con
25
23
  </context>
26
24
 
27
25
  <invariants>
28
- 1. **Confirmation required** — MUST AskUserQuestion before deletion (unless -y flag); NEVER remove entries silently
26
+ 1. **Confirmation required** — MUST user prompt before deletion (unless -y flag); NEVER remove entries silently
29
27
  2. **Referential integrity** — before removing, check if other spec entries reference the target entry; warn user if references exist
30
28
  3. **Cascade explicit** — ref-type entries MUST NOT cascade-delete the linked knowhow file unless --cascade is explicitly passed; default leaves orphan knowhow intact
31
29
  4. **Atomic removal** — use `maestro wiki remove-entry` for atomic operation; NEVER manually edit spec files to remove entries
@@ -34,7 +32,7 @@ $ARGUMENTS -- expects `<entry-id>` (e.g., `spec-learnings-003`, `spec-coding-con
34
32
  </invariants>
35
33
 
36
34
  <execution>
37
- Follow '~/.maestro/workflows/specs-remove.md' completely.
35
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/specs-remove.md' completely.
38
36
 
39
37
  ### Phase Gates (MANDATORY, BLOCKING)
40
38
 
@@ -1,16 +1,14 @@
1
1
  ---
2
2
  name: spec-setup
3
3
  description: "Initialize specs from project structure Arguments: "
4
- allowed-tools: Read Write Bash Glob Grep AskUserQuestion
4
+ allowed-tools: Read Write Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  <purpose>
8
8
  Initialize `.workflow/specs/` by scanning codebase for conventions. Core files always created; optional files created when signals detected. Also generates recipe knowhow for detected workflows.
9
9
  </purpose>
10
10
 
11
- <required_reading>
12
- @~/.maestro/workflows/specs-setup.md
13
- </required_reading>
11
+ > **Required**: Read `~/.pi/agent/packages/pi-maestro-flow/workflows/specs-setup.md` before proceeding.
14
12
 
15
13
  <context>
16
14
  $ARGUMENTS (no arguments expected)
@@ -23,14 +21,14 @@ $ARGUMENTS (no arguments expected)
23
21
  <invariants>
24
22
  1. **Non-destructive** — NEVER overwrite existing spec files; if a file already exists, skip it and report as already-initialized
25
23
  2. **Idempotent** — safe to re-run on an initialized project; re-running MUST NOT duplicate entries or corrupt existing content
26
- 3. **Confirmation gate** — MUST AskUserQuestion showing all files to be created before writing; NEVER write without user confirmation
24
+ 3. **Confirmation gate** — MUST user prompt showing all files to be created before writing; NEVER write without user confirmation
27
25
  4. **Output boundary** — ALL file writes MUST target .workflow/specs/ (spec files) and .workflow/knowhow/ (recipe knowhow) only. NEVER modify source code, .workflow/state.json, or files outside these paths
28
26
  5. **Core files mandatory** — coding-conventions.md, architecture-constraints.md, and learnings.md MUST always be created (unless they already exist)
29
27
  6. **Signal-driven optionals** — optional spec files (quality-rules.md, test-conventions.md, ui-conventions.md) MUST only be created when corresponding framework/tool signals are detected in the codebase; NEVER create optional files without evidence
30
28
  </invariants>
31
29
 
32
30
  <execution>
33
- Follow '~/.maestro/workflows/specs-setup.md' completely.
31
+ Follow '~/.pi/agent/packages/pi-maestro-flow/workflows/specs-setup.md' completely.
34
32
 
35
33
  ### Phase Gates (MANDATORY, BLOCKING)
36
34
 
@@ -53,7 +51,7 @@ Follow '~/.maestro/workflows/specs-setup.md' completely.
53
51
  - REQUIRED: Existing files skipped (not overwritten).
54
52
  - REQUIRED: .proposed.md files created when slug collision detected (W003).
55
53
 
56
- **Confirmation gate**: After scanning codebase and determining which files/directories will be created (core specs, optional specs, recipe knowhow), AskUserQuestion showing the full list of files to create with their categories and detected signals. Proceed only on user confirm.
54
+ **Confirmation gate**: After scanning codebase and determining which files/directories will be created (core specs, optional specs, recipe knowhow), user prompt showing the full list of files to create with their categories and detected signals. Proceed only on user confirm.
57
55
  </execution>
58
56
 
59
57
  <error_codes>
@@ -70,6 +68,6 @@ Follow '~/.maestro/workflows/specs-setup.md' completely.
70
68
  - [ ] `.workflow/specs/` directory created
71
69
  - [ ] Core spec files always created: `coding-conventions.md`, `architecture-constraints.md`, `learnings.md`
72
70
  - [ ] Optional spec files created when detected: `quality-rules.md` (linter/CI), `test-conventions.md` (test framework), `ui-conventions.md` (frontend framework). `debug-notes.md` / `review-standards.md` deferred (on demand via `/spec-add`).
73
- - [ ] Workflow recipe knowhow created in `.workflow/knowhow/` for each detected operational workflow (test / debug / build / dev / lint). Each recipe matches the `recipe` schema in `~/.maestro/workflows/knowhow.md` Part B and contains at least one runnable command.
71
+ - [ ] Workflow recipe knowhow created in `.workflow/knowhow/` for each detected operational workflow (test / debug / build / dev / lint). Each recipe matches the `recipe` schema in `~/.pi/agent/packages/pi-maestro-flow/workflows/knowhow.md` Part B and contains at least one runnable command.
74
72
  - [ ] Report displayed grouped by destination (specs / recipes / skipped / deferred), with `.proposed.md` files surfaced when an existing recipe slug was preserved.
75
73
  </success_criteria>
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: team-adversarial-swarm
3
3
  description: "ACO swarm intelligence with modular Workflow composition and adversarial decision gates. Coordinator drives iteration loop; 4 composable Workflow scripts handle exploration, scoring, convergence, and synthesis — each with built-in adversarial patterns."
4
- allowed-tools: Read Write Edit Bash Glob Grep Workflow AskUserQuestion Agent
4
+ allowed-tools: Read Write Edit Bash Glob Grep Workflow teammate maestro
5
5
  ---
6
6
 
7
7
  # Team Adversarial Swarm
@@ -105,7 +105,7 @@ SKILL.md (Coordinator — this file)
105
105
 
106
106
  解析用户 intent,生成 `swarm-config.json`。
107
107
 
108
- 若 intent 不够明确,用 AskUserQuestion 澄清:
108
+ 若 intent 不够明确,用 user prompt 澄清:
109
109
  - 搜索空间是什么?(文件 glob / 节点列表 / 抽象决策集)
110
110
  - 目标是什么?(最优方案 / 发现问题 / 优化路径)
111
111
  - 如何评分?(测试通过率 / lint / 自定义规则 / LLM 对抗评分)
@@ -180,7 +180,7 @@ Coordinator 负责 Workflow 间的数据桥接和 Python 脚本调用。
180
180
  })
181
181
  ```
182
182
  3. 将 synthesis 结果写入 `<session>/artifacts/best-solution.md`
183
- 4. 展示完成摘要 + AskUserQuestion(归档 / 保留 / 导出 / 再跑一轮)
183
+ 4. 展示完成摘要 + user prompt(归档 / 保留 / 导出 / 再跑一轮)
184
184
 
185
185
  ---
186
186
 
@@ -220,9 +220,9 @@ synthesize(best, top_k) → best-solution.md
220
220
  | aco.py 未找到 | Glob team-swarm skill 路径;提示安装 |
221
221
  | Python < 3.10 | 尝试 python3;报告依赖 |
222
222
  | Workflow 执行失败 | 记录错误,提供 --resume 恢复点 |
223
- | 所有蚁全部失败 | 暂停,AskUserQuestion(重试/终止/调整config) |
223
+ | 所有蚁全部失败 | 暂停,user prompt(重试/终止/调整config) |
224
224
  | 收敛从不触发 | max_iterations 安全网总会触发 |
225
- | 幻觉集群 (>50% 蚁被降分) | 暂停,AskUserQuestion(继续/调整评分规则) |
225
+ | 幻觉集群 (>50% 蚁被降分) | 暂停,user prompt(继续/调整评分规则) |
226
226
 
227
227
  ## Completion
228
228
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: team-arch-opt
3
3
  description: "Unified team skill for architecture optimization. Uses team-worker agent architecture with role directories for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents. Triggers on \"team arch-opt\"."
4
- allowed-tools: Agent TaskCreate TaskList TaskGet TaskUpdate TeamCreate TeamDelete SendMessage AskUserQuestion Read Write Edit Bash Glob Grep mcp__maestro__team_msg
4
+ allowed-tools: teammate Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Team Architecture Optimization
@@ -66,7 +66,7 @@ Parse `$ARGUMENTS`:
66
66
  Coordinator spawns workers using this template:
67
67
 
68
68
  ```
69
- Agent({
69
+ teammate({
70
70
  subagent_type: "team-worker",
71
71
  description: "Spawn <role> worker",
72
72
  team_name: "arch-opt",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: team-brainstorm
3
3
  description: "Unified team skill for brainstorming team. Uses team-worker agent architecture with role directories for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents. Triggers on \"team brainstorm\"."
4
- allowed-tools: TeamCreate TeamDelete SendMessage TaskCreate TaskUpdate TaskList TaskGet Agent AskUserQuestion Read Write Edit Bash Glob Grep mcp__maestro__team_msg
4
+ allowed-tools: teammate Read Write Edit Bash Glob Grep maestro
5
5
  ---
6
6
 
7
7
  # Team Brainstorm
@@ -64,7 +64,7 @@ Parse `$ARGUMENTS`:
64
64
  Coordinator spawns workers using this template:
65
65
 
66
66
  ```
67
- Agent({
67
+ teammate({
68
68
  subagent_type: "team-worker",
69
69
  description: "Spawn <role> worker",
70
70
  team_name: "brainstorm",
@@ -95,7 +95,7 @@ Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5
95
95
  When Full pipeline has N parallel IDEA tasks, spawn N distinct team-worker agents named `ideator-1`, `ideator-2`, etc.
96
96
 
97
97
  ```
98
- Agent({
98
+ teammate({
99
99
  subagent_type: "team-worker",
100
100
  name: "ideator-<N>",
101
101
  team_name: "brainstorm",