@mmerterden/multi-agent-pipeline 12.5.0 → 12.7.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 (290) hide show
  1. package/CHANGELOG.md +213 -0
  2. package/README.md +19 -19
  3. package/docs/FIGMA_PIPELINE.md +34 -34
  4. package/docs/adr/0001-three-model-triage.md +12 -12
  5. package/docs/adr/0002-instruction-driven-flag.md +5 -5
  6. package/docs/adr/0003-unified-shared-skills.md +5 -5
  7. package/docs/adr/0004-zero-dependency-philosophy.md +5 -5
  8. package/docs/adr/0005-lazy-phase-docs.md +2 -2
  9. package/docs/adr/0006-skills-core-external-split.md +6 -6
  10. package/docs/adr/0007-multi-tool-adapter-framework.md +19 -19
  11. package/docs/adr/0008-installer-modularization-and-secret-leak-defense.md +19 -19
  12. package/docs/adr/README.md +1 -1
  13. package/docs/best-practices.md +3 -3
  14. package/docs/features.md +48 -28
  15. package/docs/performance.md +16 -16
  16. package/docs/recovery-guide.md +39 -39
  17. package/index.js +11 -5
  18. package/install/_common.mjs +5 -11
  19. package/install/_copilot-instructions.mjs +2 -2
  20. package/install/_dev-only-files.mjs +2 -1
  21. package/install/_platform-filter.mjs +1 -1
  22. package/install/_telemetry.mjs +1 -1
  23. package/install/claude.mjs +10 -9
  24. package/install/copilot.mjs +10 -19
  25. package/install/index.mjs +7 -15
  26. package/install/templates/copilot-instructions.md +54 -54
  27. package/install.js +1 -1
  28. package/package.json +15 -11
  29. package/pipeline/agents/security-auditor.md +1 -1
  30. package/pipeline/commands/archive-guard.md +5 -5
  31. package/pipeline/commands/multi-agent/SKILL.md +3 -1
  32. package/pipeline/commands/multi-agent/analysis/SKILL.md +1 -1
  33. package/pipeline/commands/multi-agent/analysis-resolve/SKILL.md +1 -1
  34. package/pipeline/commands/multi-agent/autopilot/SKILL.md +1 -1
  35. package/pipeline/commands/multi-agent/build-optimize/SKILL.md +1 -1
  36. package/pipeline/commands/multi-agent/create-jira/SKILL.md +1 -1
  37. package/pipeline/commands/multi-agent/design-check/SKILL.md +287 -0
  38. package/pipeline/commands/multi-agent/dev/SKILL.md +1 -1
  39. package/pipeline/commands/multi-agent/dev-autopilot/SKILL.md +1 -1
  40. package/pipeline/commands/multi-agent/dev-local/SKILL.md +1 -1
  41. package/pipeline/commands/multi-agent/dev-local-autopilot/SKILL.md +1 -1
  42. package/pipeline/commands/multi-agent/diff-explain/SKILL.md +1 -1
  43. package/pipeline/commands/multi-agent/finish/SKILL.md +6 -6
  44. package/pipeline/commands/multi-agent/forget/SKILL.md +1 -1
  45. package/pipeline/commands/multi-agent/garbage-collect/SKILL.md +1 -1
  46. package/pipeline/commands/multi-agent/help/SKILL.md +46 -6
  47. package/pipeline/commands/multi-agent/issue/SKILL.md +1 -1
  48. package/pipeline/commands/multi-agent/jira/SKILL.md +1 -1
  49. package/pipeline/commands/multi-agent/kill/SKILL.md +1 -1
  50. package/pipeline/commands/multi-agent/language/SKILL.md +1 -1
  51. package/pipeline/commands/multi-agent/local/SKILL.md +1 -1
  52. package/pipeline/commands/multi-agent/local-autopilot/SKILL.md +1 -1
  53. package/pipeline/commands/multi-agent/log/SKILL.md +1 -1
  54. package/pipeline/commands/multi-agent/manual-test/SKILL.md +1 -1
  55. package/pipeline/commands/multi-agent/prune-logs/SKILL.md +1 -1
  56. package/pipeline/commands/multi-agent/purge/SKILL.md +1 -1
  57. package/pipeline/commands/multi-agent/refactor/SKILL.md +107 -19
  58. package/pipeline/commands/multi-agent/resume/SKILL.md +2 -2
  59. package/pipeline/commands/multi-agent/review/SKILL.md +2 -2
  60. package/pipeline/commands/multi-agent/review-issue/SKILL.md +1 -1
  61. package/pipeline/commands/multi-agent/review-jira/SKILL.md +1 -1
  62. package/pipeline/commands/multi-agent/routines/SKILL.md +1 -1
  63. package/pipeline/commands/multi-agent/save/SKILL.md +1 -1
  64. package/pipeline/commands/multi-agent/scan/SKILL.md +1 -1
  65. package/pipeline/commands/multi-agent/search/SKILL.md +1 -1
  66. package/pipeline/commands/multi-agent/setup/SKILL.md +2 -2
  67. package/pipeline/commands/multi-agent/stack/SKILL.md +3 -3
  68. package/pipeline/commands/multi-agent/status/SKILL.md +1 -1
  69. package/pipeline/commands/multi-agent/sync/SKILL.md +123 -16
  70. package/pipeline/commands/multi-agent/test/SKILL.md +2 -2
  71. package/pipeline/commands/multi-agent/uninstall/SKILL.md +1 -1
  72. package/pipeline/commands/multi-agent/update/SKILL.md +3 -3
  73. package/pipeline/commands/sim-test.md +5 -5
  74. package/pipeline/eval/run-metrics-fixture.json +60 -13
  75. package/pipeline/lib/account-resolver.sh +1 -1
  76. package/pipeline/lib/channels-multi-repo.sh +1 -1
  77. package/pipeline/lib/context-link-extractor.sh +1 -1
  78. package/pipeline/lib/credential-store.sh +33 -1
  79. package/pipeline/lib/fetch-confluence.sh +1 -1
  80. package/pipeline/lib/fetch-crashlytics.sh +1 -1
  81. package/pipeline/lib/fetch-fortify.sh +1 -1
  82. package/pipeline/lib/fetch-graylog.sh +1 -1
  83. package/pipeline/lib/fetch-swagger.sh +1 -1
  84. package/pipeline/lib/issue-fetcher.sh +1 -1
  85. package/pipeline/lib/multi-repo-pipeline.sh +1 -1
  86. package/pipeline/lib/repo-cache.sh +1 -1
  87. package/pipeline/lib/submodule-detector.sh +1 -1
  88. package/pipeline/multi-agent-refs/component-dispatch.md +1 -1
  89. package/pipeline/multi-agent-refs/component-generation.md +121 -0
  90. package/pipeline/multi-agent-refs/cross-cli-contract.md +4 -4
  91. package/pipeline/multi-agent-refs/features/model-fallback.md +2 -2
  92. package/pipeline/multi-agent-refs/phases/phase-3-dev.md +2 -2
  93. package/pipeline/multi-agent-refs/phases/phase-4-review.md +1 -1
  94. package/pipeline/multi-agent-refs/phases/phase-5-test.md +4 -4
  95. package/pipeline/preferences-template.json +23 -12
  96. package/pipeline/schemas/agent-state.schema.json +125 -5
  97. package/pipeline/schemas/analysis-output.schema.json +18 -4
  98. package/pipeline/schemas/analysis-spec.schema.json +120 -32
  99. package/pipeline/schemas/clarify-output.schema.json +15 -5
  100. package/pipeline/schemas/design-check-config.schema.json +183 -0
  101. package/pipeline/schemas/dev-critic-output.schema.json +20 -5
  102. package/pipeline/schemas/figma-project-config.schema.json +42 -10
  103. package/pipeline/schemas/learnings-ledger.schema.json +10 -2
  104. package/pipeline/schemas/migrations/figma-config-1.0.0-to-2.0.0.mjs +1 -4
  105. package/pipeline/schemas/migrations/prefs-2.0.0-to-2.1.0.mjs +24 -7
  106. package/pipeline/schemas/migrations/state-2.0.0-to-2.1.0.mjs +30 -12
  107. package/pipeline/schemas/plan-todos.schema.json +6 -3
  108. package/pipeline/schemas/planning-output.schema.json +5 -1
  109. package/pipeline/schemas/prefs.schema.json +215 -197
  110. package/pipeline/schemas/test-gap.schema.json +5 -5
  111. package/pipeline/schemas/token-budget.json +8 -8
  112. package/pipeline/schemas/triage-corpus.schema.json +1 -1
  113. package/pipeline/scripts/README.md +7 -5
  114. package/pipeline/scripts/aggregate-metrics.mjs +18 -6
  115. package/pipeline/scripts/build-skills-index.mjs +6 -2
  116. package/pipeline/scripts/build-stack-plugins.mjs +142 -39
  117. package/pipeline/scripts/check-derived-drift.mjs +196 -0
  118. package/pipeline/scripts/check-md-links.mjs +6 -2
  119. package/pipeline/scripts/classify-plan-safety.mjs +26 -8
  120. package/pipeline/scripts/cost-budget-check.mjs +11 -6
  121. package/pipeline/scripts/cost-table.json +1 -1
  122. package/pipeline/scripts/diff-explain.mjs +7 -3
  123. package/pipeline/scripts/diff-risk-score.mjs +13 -3
  124. package/pipeline/scripts/eval-golden-tasks-live.mjs +8 -3
  125. package/pipeline/scripts/eval-golden-tasks.mjs +21 -9
  126. package/pipeline/scripts/eval-intent.mjs +8 -4
  127. package/pipeline/scripts/eval-mine-corpus.mjs +14 -4
  128. package/pipeline/scripts/evidence-gate.mjs +7 -2
  129. package/pipeline/scripts/fixtures/install-layout.tsv +7 -7
  130. package/pipeline/scripts/gen-mode-dispatch.mjs +38 -21
  131. package/pipeline/scripts/gen-skills-index.mjs +18 -3
  132. package/pipeline/scripts/learning-curve.mjs +13 -3
  133. package/pipeline/scripts/learnings-ledger.mjs +119 -34
  134. package/pipeline/scripts/lint-mcp-refs.mjs +218 -0
  135. package/pipeline/scripts/lint-skills.mjs +20 -9
  136. package/pipeline/scripts/localize-commands.mjs +6 -1
  137. package/pipeline/scripts/match-skills.mjs +15 -4
  138. package/pipeline/scripts/memory-load.sh +5 -1
  139. package/pipeline/scripts/migrate-prefs.mjs +33 -16
  140. package/pipeline/scripts/phase-tracker.sh +3 -1
  141. package/pipeline/scripts/render-work-summary.sh +4 -1
  142. package/pipeline/scripts/repo-map.mjs +110 -64
  143. package/pipeline/scripts/review-scope.mjs +7 -1
  144. package/pipeline/scripts/routine-registry.mjs +4 -9
  145. package/pipeline/scripts/run-aggregator.mjs +11 -5
  146. package/pipeline/scripts/run-metrics.mjs +13 -8
  147. package/pipeline/scripts/run-smokes.mjs +57 -3
  148. package/pipeline/scripts/scorecard.mjs +258 -0
  149. package/pipeline/scripts/smoke-command-inventory.sh +81 -0
  150. package/pipeline/scripts/smoke-commands-skills-parity.sh +1 -1
  151. package/pipeline/scripts/smoke-compliance-skills.sh +4 -4
  152. package/pipeline/scripts/smoke-context-budget.sh +72 -0
  153. package/pipeline/scripts/smoke-cross-cli-behavior.sh +12 -2
  154. package/pipeline/scripts/smoke-generate-issue.sh +6 -5
  155. package/pipeline/scripts/smoke-model-fallback.sh +1 -1
  156. package/pipeline/scripts/smoke-no-mcp-in-dev-phases.sh +86 -7
  157. package/pipeline/scripts/smoke-own-punctuation.sh +103 -0
  158. package/pipeline/scripts/smoke-per-repo-memory.sh +2 -2
  159. package/pipeline/scripts/smoke-review-readiness.sh +3 -2
  160. package/pipeline/scripts/smoke-schema-validation.sh +19 -5
  161. package/pipeline/scripts/smoke-shadow-git.sh +4 -2
  162. package/pipeline/scripts/smoke-workflow-audit.sh +43 -11
  163. package/pipeline/scripts/smoke-write-state.sh +49 -5
  164. package/pipeline/scripts/test-gap-rules/android.json +11 -11
  165. package/pipeline/scripts/test-gap-rules/ios.json +16 -11
  166. package/pipeline/scripts/test-gap-rules/node.json +19 -7
  167. package/pipeline/scripts/test-gap-rules/python.json +10 -4
  168. package/pipeline/scripts/test-gap-scan.mjs +44 -12
  169. package/pipeline/scripts/test-integrity-gate.mjs +5 -1
  170. package/pipeline/scripts/token-budget-report.mjs +44 -21
  171. package/pipeline/scripts/triage-memory.mjs +142 -32
  172. package/pipeline/scripts/uninstall.mjs +75 -31
  173. package/pipeline/scripts/validate-analysis-doc.mjs +15 -5
  174. package/pipeline/scripts/validate-diff-risk.mjs +32 -18
  175. package/pipeline/scripts/validate-test-gap.mjs +17 -7
  176. package/pipeline/scripts/validate-triage.mjs +17 -5
  177. package/pipeline/scripts/write-state.mjs +32 -9
  178. package/pipeline/skills/.skill-manifest.json +24 -8
  179. package/pipeline/skills/.skills-index.json +125 -89
  180. package/pipeline/skills/shared/README.md +65 -61
  181. package/pipeline/skills/shared/core/apple-archive-compliance/SKILL.md +10 -8
  182. package/pipeline/skills/shared/core/google-play-compliance/SKILL.md +1 -1
  183. package/pipeline/skills/shared/core/multi-agent/SKILL.md +26 -279
  184. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +1 -1
  185. package/pipeline/skills/shared/core/multi-agent-analysis-resolve/SKILL.md +1 -1
  186. package/pipeline/skills/shared/core/multi-agent-autopilot/SKILL.md +1 -1
  187. package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +1 -1
  188. package/pipeline/skills/shared/core/multi-agent-create-jira/SKILL.md +1 -1
  189. package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +248 -0
  190. package/pipeline/skills/shared/core/multi-agent-dev/SKILL.md +1 -1
  191. package/pipeline/skills/shared/core/multi-agent-dev-autopilot/SKILL.md +1 -1
  192. package/pipeline/skills/shared/core/multi-agent-dev-local/SKILL.md +1 -1
  193. package/pipeline/skills/shared/core/multi-agent-dev-local-autopilot/SKILL.md +1 -1
  194. package/pipeline/skills/shared/core/multi-agent-diff-explain/SKILL.md +1 -1
  195. package/pipeline/skills/shared/core/multi-agent-finish/SKILL.md +1 -1
  196. package/pipeline/skills/shared/core/multi-agent-forget/SKILL.md +1 -1
  197. package/pipeline/skills/shared/core/multi-agent-garbage-collect/SKILL.md +1 -1
  198. package/pipeline/skills/shared/core/multi-agent-help/SKILL.md +23 -1
  199. package/pipeline/skills/shared/core/multi-agent-issue/SKILL.md +1 -1
  200. package/pipeline/skills/shared/core/multi-agent-jira/SKILL.md +1 -1
  201. package/pipeline/skills/shared/core/multi-agent-kill/SKILL.md +1 -1
  202. package/pipeline/skills/shared/core/multi-agent-language/SKILL.md +1 -1
  203. package/pipeline/skills/shared/core/multi-agent-local/SKILL.md +1 -1
  204. package/pipeline/skills/shared/core/multi-agent-local-autopilot/SKILL.md +1 -1
  205. package/pipeline/skills/shared/core/multi-agent-log/SKILL.md +1 -1
  206. package/pipeline/skills/shared/core/multi-agent-manual-test/SKILL.md +1 -1
  207. package/pipeline/skills/shared/core/multi-agent-prune-logs/SKILL.md +1 -1
  208. package/pipeline/skills/shared/core/multi-agent-purge/SKILL.md +1 -1
  209. package/pipeline/skills/shared/core/multi-agent-refactor/SKILL.md +82 -18
  210. package/pipeline/skills/shared/core/multi-agent-resume/SKILL.md +1 -1
  211. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +2 -2
  212. package/pipeline/skills/shared/core/multi-agent-review-issue/SKILL.md +1 -1
  213. package/pipeline/skills/shared/core/multi-agent-review-jira/SKILL.md +1 -1
  214. package/pipeline/skills/shared/core/multi-agent-routines/SKILL.md +1 -1
  215. package/pipeline/skills/shared/core/multi-agent-save/SKILL.md +1 -1
  216. package/pipeline/skills/shared/core/multi-agent-scan/SKILL.md +1 -1
  217. package/pipeline/skills/shared/core/multi-agent-search/SKILL.md +1 -1
  218. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +1 -1
  219. package/pipeline/skills/shared/core/multi-agent-stack/SKILL.md +3 -3
  220. package/pipeline/skills/shared/core/multi-agent-status/SKILL.md +1 -1
  221. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +51 -9
  222. package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +2 -2
  223. package/pipeline/skills/shared/core/multi-agent-uninstall/SKILL.md +1 -1
  224. package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +1 -1
  225. package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/SKILL.md +1 -1
  226. package/pipeline/skills/shared/external/agent-introspection-debugging/SKILL.md +4 -4
  227. package/pipeline/skills/shared/external/agentflow/SKILL.md +1 -1
  228. package/pipeline/skills/shared/external/android-jetpack-compose-expert/SKILL.md +1 -1
  229. package/pipeline/skills/shared/external/android_ui_verification/SKILL.md +1 -1
  230. package/pipeline/skills/shared/external/api-patterns/SKILL.md +1 -1
  231. package/pipeline/skills/shared/external/api-security-best-practices/SKILL.md +1 -1
  232. package/pipeline/skills/shared/external/app-store-changelog/SKILL.md +1 -1
  233. package/pipeline/skills/shared/external/backlog/BACKLOG.md +1 -1
  234. package/pipeline/skills/shared/external/backlog/SKILL.md +12 -12
  235. package/pipeline/skills/shared/external/ci-cd-pipelines/SKILL.md +1 -1
  236. package/pipeline/skills/shared/external/context-compression/SKILL.md +1 -1
  237. package/pipeline/skills/shared/external/council/SKILL.md +3 -3
  238. package/pipeline/skills/shared/external/css-modern/SKILL.md +1 -1
  239. package/pipeline/skills/shared/external/database-patterns/SKILL.md +1 -1
  240. package/pipeline/skills/shared/external/debugging-strategies/SKILL.md +1 -1
  241. package/pipeline/skills/shared/external/docker-expert/SKILL.md +1 -1
  242. package/pipeline/skills/shared/external/fastapi-pro/SKILL.md +1 -1
  243. package/pipeline/skills/shared/external/firebase/SKILL.md +1 -1
  244. package/pipeline/skills/shared/external/github-actions-templates/SKILL.md +1 -1
  245. package/pipeline/skills/shared/external/help-skills/SKILL.md +1 -1
  246. package/pipeline/skills/shared/external/hig-components-content/SKILL.md +1 -1
  247. package/pipeline/skills/shared/external/hig-components-layout/SKILL.md +1 -1
  248. package/pipeline/skills/shared/external/hig-components-status/SKILL.md +1 -1
  249. package/pipeline/skills/shared/external/hig-components-system/SKILL.md +1 -1
  250. package/pipeline/skills/shared/external/hig-foundations/SKILL.md +1 -1
  251. package/pipeline/skills/shared/external/hig-inputs/SKILL.md +1 -1
  252. package/pipeline/skills/shared/external/hig-patterns/SKILL.md +1 -1
  253. package/pipeline/skills/shared/external/hig-platforms/SKILL.md +1 -1
  254. package/pipeline/skills/shared/external/hig-technologies/SKILL.md +1 -1
  255. package/pipeline/skills/shared/external/html-semantic/SKILL.md +1 -1
  256. package/pipeline/skills/shared/external/humanizer/SKILL.md +1 -1
  257. package/pipeline/skills/shared/external/ios-debugger-agent/SKILL.md +1 -1
  258. package/pipeline/skills/shared/external/ios-developer/SKILL.md +1 -1
  259. package/pipeline/skills/shared/external/kotlin-coroutines-expert/SKILL.md +1 -1
  260. package/pipeline/skills/shared/external/macos-menubar-tuist-app/SKILL.md +1 -1
  261. package/pipeline/skills/shared/external/macos-spm-app-packaging/SKILL.md +1 -1
  262. package/pipeline/skills/shared/external/monorepo-architect/SKILL.md +1 -1
  263. package/pipeline/skills/shared/external/nextjs-app-router/SKILL.md +1 -1
  264. package/pipeline/skills/shared/external/nodejs-backend-patterns/SKILL.md +1 -1
  265. package/pipeline/skills/shared/external/observability-engineer/SKILL.md +1 -1
  266. package/pipeline/skills/shared/external/python-patterns/SKILL.md +1 -1
  267. package/pipeline/skills/shared/external/react-best-practices/SKILL.md +1 -1
  268. package/pipeline/skills/shared/external/rest-api-design/SKILL.md +1 -1
  269. package/pipeline/skills/shared/external/search-first/SKILL.md +2 -2
  270. package/pipeline/skills/shared/external/skill-creator/SKILL.md +12 -12
  271. package/pipeline/skills/shared/external/skill-creator/audit.md +21 -21
  272. package/pipeline/skills/shared/external/skill-creator/checklist.md +3 -3
  273. package/pipeline/skills/shared/external/skill-creator/examples.md +10 -10
  274. package/pipeline/skills/shared/external/skill-creator/label-check.md +17 -17
  275. package/pipeline/skills/shared/external/skill-creator/scripts/audit-panel.js +86 -50
  276. package/pipeline/skills/shared/external/skill-creator/template.md +9 -9
  277. package/pipeline/skills/shared/external/swift-concurrency-expert/SKILL.md +1 -1
  278. package/pipeline/skills/shared/external/swiftui-performance-audit/SKILL.md +1 -1
  279. package/pipeline/skills/shared/external/swiftui-ui-patterns/SKILL.md +1 -1
  280. package/pipeline/skills/shared/external/swiftui-view-refactor/SKILL.md +1 -1
  281. package/pipeline/skills/shared/external/tailwind-css/SKILL.md +1 -1
  282. package/pipeline/skills/shared/external/testing-backend/SKILL.md +1 -1
  283. package/pipeline/skills/shared/external/typescript-patterns/SKILL.md +1 -1
  284. package/pipeline/skills/shared/external/vue-composition/SKILL.md +1 -1
  285. package/pipeline/skills/shared/external/web-accessibility/SKILL.md +1 -1
  286. package/pipeline/skills/shared/external/web-performance/SKILL.md +1 -1
  287. package/pipeline/skills/shared/external/web-testing/SKILL.md +1 -1
  288. package/pipeline/skills/shared/external/xcode-build-benchmark/schemas/build-benchmark.schema.json +9 -49
  289. package/pipeline/skills/skills-index.md +63 -59
  290. package/pipeline/scripts/smoke-plugin-validate.sh +0 -64
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-dev-autopilot
3
3
  language: en
4
- description: "Fastest mode: Dev (Opus) plus Autopilot. Init → Dev → Commit → Report with zero confirmations."
4
+ description: "Fastest mode: Dev (Opus) plus Autopilot. Init → Dev → Commit → Report with zero confirmations. Use when a change is well understood and should go from start to commit with no questions asked."
5
5
  user-invocable: true
6
6
  argument-hint: '"task" - issue URL, Jira ID, or free-text'
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-dev-local
3
3
  language: en
4
- description: "Fast mode + local - Init → Dev(Opus) → Commit → Report, no worktree."
4
+ description: "Fast mode + local - Init → Dev(Opus) → Commit → Report, no worktree. Use when a change should be developed on the current branch without creating a worktree."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-dev-local-autopilot
3
3
  language: en
4
- description: "Fastest + local - Dev(Opus) + autopilot, no worktree, zero interaction."
4
+ description: "Fastest + local - Dev(Opus) + autopilot, no worktree, zero interaction. Use when a change should be developed on the current branch with no worktree and no prompts."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-diff-explain
3
3
  language: en
4
- description: "Map Phase 4 triage findings to branch diff lines. Read-only post-hoc command, used after review to answer 'which finding lines up with which code change'."
4
+ description: "Map Phase 4 triage findings to branch diff lines. Read-only post-hoc command, used after review to answer 'which finding lines up with which code change'. Use when a review finding has to be traced to the exact lines that caused it."
5
5
  user-invocable: true
6
6
  argument-hint: "[#task-id | --triage <path> | --state <path>] [--branch <name>] [--base <name>]"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-finish
3
3
  language: en
4
- description: "Continue already-done LOCAL work through the pipeline tail: Review → Build+Test → Commit/PR → Report (technical analysis + Jira test-scenario comment). No dev phase."
4
+ description: "Continue already-done LOCAL work through the pipeline tail: Review → Build+Test → Commit/PR → Report (technical analysis + Jira test-scenario comment). No dev phase. Use when local work is already done and only review, build, commit and reporting remain."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-forget
3
3
  language: en
4
- description: "Remove a saved /multi-agent routine (created by /multi-agent:save): deletes its local-only command and its registry entry. Asks which one and confirms."
4
+ description: "Remove a saved /multi-agent routine (created by /multi-agent:save): deletes its local-only command and its registry entry. Asks which one and confirms. Use when a saved routine is no longer wanted and should be removed."
5
5
  user-invocable: true
6
6
  argument-hint: "[name]"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-garbage-collect
3
3
  language: en
4
- description: "Sweep leftover /tmp scratch (picker state, review diffs, channel payloads, analysis drafts) from past runs. Dry-run first; confirms before deleting."
4
+ description: "Sweep leftover /tmp scratch (picker state, review diffs, channel payloads, analysis drafts) from past runs. Dry-run first; confirms before deleting. Use when scratch files from earlier runs need clearing out."
5
5
  user-invocable: true
6
6
  argument-hint: "[--older-than=<minutes>] [--yes] - dry-run unless confirmed"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-help
3
3
  language: en
4
- description: "Multi-agent pipeline usage guide - renders in EN or TR per prefs.global.outputLanguage (falls back to promptLanguage for backward compatibility)."
4
+ description: "Multi-agent pipeline usage guide - renders in EN or TR per prefs.global.outputLanguage (falls back to promptLanguage for backward compatibility). Use when asked what the pipeline can do, which mode to pick, or what a command means."
5
5
  user-invocable: true
6
6
  argument-hint: "[topic] - optional; calling with no argument prints the full guide in the user's language"
7
7
  ---
@@ -128,6 +128,17 @@ Manual Test (Phase 5 standalone - Xcode hint flow):
128
128
  /multi-agent:manual-test [#N] Checkout task branch, print Xcode/SourceTree hints.
129
129
  (Renamed from :test in v5.7.4.)
130
130
 
131
+ Design Check (mock-mode vs Figma, local-only - dev-toolkit-mcp design_* tools):
132
+
133
+ /multi-agent:design-check Whole-module design audit: enumerate every state driver into a target set,
134
+ /multi-agent:design-check <scope> drive each one in mock mode via idb, compare vs Figma (padding/width/spacing/
135
+ /multi-agent:design-check --resume font/color/component/localization), export HTML+PDF to ~/DesignChecks.
136
+ Scope: empty=module / screen / screen@variant / target-id / Figma URL(s).
137
+ COVERAGE GATE: a target is audited or skipped WITH a reason, else the run
138
+ is reported INCOMPLETE. --resume covers the remainder of the last run.
139
+ Unresolved frame → shows you the screenshot and asks for the node-id.
140
+ Drives dev-toolkit design_* : design_mock_detect / _scenario_inventory / _mock_launch / _ui_geometry / _visual_compare / _report.
141
+
131
142
  ------------------------------------------------------------
132
143
 
133
144
  Setup:
@@ -266,6 +277,17 @@ Manuel Test (Phase 5 standalone - Xcode hint akışı):
266
277
  /multi-agent:manual-test [#N] Task branch'ine checkout, Xcode/SourceTree hint basar.
267
278
  (v5.7.4'te :test'ten :manual-test'e rename.)
268
279
 
280
+ Design Check (mock-mod vs Figma, yalnızca lokal - dev-toolkit-mcp design_* tool'ları):
281
+
282
+ /multi-agent:design-check Tüm modül tasarım denetimi: her state sürücüsünü hedef kümesine çıkar,
283
+ /multi-agent:design-check <scope> her birini mock modda idb ile sür, Figma ile karşılaştır (padding/genişlik/
284
+ /multi-agent:design-check --resume spacing/font/renk/component/localization), HTML+PDF rapor ~/DesignChecks.
285
+ Kapsam: boş=modül / ekran / ekran@varyant / target-id / Figma URL(leri).
286
+ KAPSAM GEÇİDİ: hedef ya denetlenir ya da GEREKÇEYLE atlanır; aksi hâlde
287
+ koşu EKSİK raporlanır. --resume son koşunun kalanını kapatır.
288
+ Figma karşılığı bulunamazsa SANA screenshot'ı gösterip node-id sorar.
289
+ Sürdüğü dev-toolkit design_* : design_mock_detect / _scenario_inventory / _mock_launch / _ui_geometry / _visual_compare / _report.
290
+
269
291
  ------------------------------------------------------------
270
292
 
271
293
  Setup:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-issue
3
3
  language: en
4
- description: "List unassigned GitHub issues, pick one, auto-assign, and launch the multi-agent pipeline."
4
+ description: "List unassigned GitHub issues, pick one, auto-assign, and launch the multi-agent pipeline. Use when a GitHub issue should be picked up and started without knowing its number in advance."
5
5
  user-invocable: true
6
6
  argument-hint: "[autopilot] - optional: run the pipeline without confirmations"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-jira
3
3
  language: en
4
- description: "List open Jira issues, pick one, and launch the multi-agent pipeline."
4
+ description: "List open Jira issues, pick one, and launch the multi-agent pipeline. Use when a Jira issue should be picked up and started without knowing its key in advance."
5
5
  user-invocable: true
6
6
  argument-hint: "[autopilot] - optional: run the pipeline without confirmations"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-kill
3
3
  language: en
4
- description: "Stop the given task, then remove its worktree and branch. Asks for confirmation."
4
+ description: "Stop the given task, then remove its worktree and branch. Asks for confirmation. Use when a running or stuck task should be stopped and its worktree removed."
5
5
  user-invocable: true
6
6
  argument-hint: "#id - task ID to delete (e.g. #2)"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-language
3
3
  language: en
4
- description: "Toggle outputLanguage (assistant explanations). promptLanguage is fixed to English. External payloads stay English."
4
+ description: "Toggle outputLanguage (assistant explanations). promptLanguage is fixed to English. External payloads stay English. Use when the assistant should explain itself in a different language."
5
5
  user-invocable: true
6
6
  argument-hint: "[en|tr] - sets outputLanguage; omit for interactive picker; use 'output en|tr' for explicit form"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-local
3
3
  language: en
4
- description: "Full pipeline in local mode - no worktree, runs directly on the current branch."
4
+ description: "Full pipeline in local mode - no worktree, runs directly on the current branch. Use when the full pipeline should run on the current branch without creating a worktree."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-local-autopilot
3
3
  language: en
4
- description: "Full pipeline + local + autopilot - no worktree, no confirmations, all 8 phases run end-to-end on the current branch."
4
+ description: "Full pipeline + local + autopilot - no worktree, no confirmations, all 8 phases run end-to-end on the current branch. Use when the full pipeline should run on the current branch with no worktree and no prompts."
5
5
  user-invocable: true
6
6
  argument-hint: '"task" - issue URL, Jira ID, free-text, or #id (for resume)'
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-log
3
3
  language: en
4
- description: "Show the agent-log.md for the given task. With no ID, shows the most recent task."
4
+ description: "Show the agent-log.md for the given task. With no ID, shows the most recent task. Use when asked what a task did, or to read its log."
5
5
  user-invocable: true
6
6
  argument-hint: "[#id] - optional: task ID (e.g. #3). If omitted, the most recent task is used."
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-manual-test
3
3
  language: en
4
- description: "Switch to the active task's branch and prepare it for manual testing in Xcode. Phase 5 standalone (the UI Bug Hunter lives at multi-agent-test)."
4
+ description: "Switch to the active task's branch and prepare it for manual testing in Xcode. Phase 5 standalone (the UI Bug Hunter lives at multi-agent-test). Use when a finished change needs trying by hand on a device or simulator."
5
5
  user-invocable: true
6
6
  argument-hint: "[#id] - optional: task ID. Defaults to the latest task if omitted"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-prune-logs
3
3
  language: en
4
- description: "Delete per-task project logs under ~/.claude/logs/multi-agent (filter by age/project/task). Audit trail + metrics are preserved. Dry-run first; confirms before deleting."
4
+ description: "Delete per-task project logs under ~/.claude/logs/multi-agent (filter by age/project/task). Audit trail + metrics are preserved. Dry-run first; confirms before deleting. Use when task logs have built up and need trimming by age, project or task."
5
5
  user-invocable: true
6
6
  argument-hint: "[--older-than=<days>] [--project=<name>] [--task=<id>] [--yes]"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-purge
3
3
  language: en
4
- description: "⚠️ Wipes every worktree, branch, log, and state file. Irreversible; asks for double confirmation."
4
+ description: "⚠️ Wipes every worktree, branch, log, and state file. Irreversible; asks for double confirmation. Use when every worktree, branch, log and state file should be wiped and the pipeline reset."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,39 +1,41 @@
1
1
  ---
2
2
  name: multi-agent-refactor
3
3
  language: en
4
- description: "Analyse the project: extract adapted best-practices, hunt real bugs + improvement areas, check upstream drift of derived skills, draft one plan, take approval, develop, then ask whether to sync."
4
+ description: "Analyse the project: extract adapted best-practices, hunt real bugs + improvement areas, check upstream drift of derived skills, research the companion dev-toolkit MCP server against current MCP practice, draft one plan, take approval, develop, then ask whether to sync. Use when asked to review a project for bugs, gaps or improvements, or to check whether derived skills have drifted from upstream."
5
5
  user-invocable: true
6
- argument-hint: 'bugs | best-practices | drift | security | tests | performance | docs | ci | deps'
6
+ argument-hint: 'bugs | best-practices | drift | dev-toolkit | security | tests | performance | docs | ci | deps'
7
7
  ---
8
8
 
9
9
  # Multi-Agent Refactor
10
10
 
11
- **One command. Best-practices + Bug hunt + Upstream drift -> Score -> Plan -> Approval -> Develop -> Sync.**
11
+ **One command. Best-practices + Bug hunt + Upstream drift + Dev-toolkit -> Score -> Plan -> Approval -> Develop -> Sync.**
12
12
 
13
- Deep-analyses the current project, extracts the global best-practices worth adopting (adapted to our stack), hunts real bugs and improvement areas, checks whether any skills we derived from an upstream source have drifted, scores everything, drafts a single prioritized plan, takes approval, applies the approved items, and asks about sync when done.
13
+ Deep-analyses the current project, extracts the global best-practices worth adopting (adapted to our stack), hunts real bugs and improvement areas, checks whether any skills we derived from an upstream source have drifted, researches the companion dev-toolkit MCP server against current MCP practice, scores everything, drafts a single prioritized plan, takes approval, applies the approved items, and asks about sync when done.
14
14
 
15
- **Input**: $ARGUMENTS (optional - area to focus on: "security", "performance", "tests", "bugs", "best-practices", "drift", etc.)
15
+ **Input**: $ARGUMENTS (optional - area to focus on: "security", "performance", "tests", "bugs", "best-practices", "drift", "dev-toolkit", etc.)
16
16
 
17
17
  ## Flow
18
18
 
19
19
  ```
20
20
  Step 0: BEST-PRACTICES Research the field, extract the best approaches, ADAPT them to our stack -> plan band A
21
21
  Step 0b: DRIFT Check upstream-derived skills for updates we have not pulled -> plan band D
22
+ Step 0c: DEV-TOOLKIT Research current MCP practice + audit the companion dev-toolkit repo -> plan band E
22
23
  Step 1: SCAN Scan the project structure (files, LOC, dependencies, CI, tests)
23
24
  Step 2: ANALYZE 10 categories + an explicit BUG HUNT (real defects, not just scores) -> plan bands B, C
24
25
  Step 3: SCORE Each category out of 10, total /100
25
- Step 4: PLAN Merge bands A (best-practice) + B (bugs) + C (improvements) + D (drift), priority-ordered
26
+ Step 4: PLAN Merge bands A (best-practice) + B (bugs) + C (improvements) + D (drift) + E (dev-toolkit)
26
27
  Step 5: ASK "Shall I start developing?" - take approval
27
28
  Step 6: IMPLEMENT Apply approved items in order (lint, test, commit)
28
29
  Step 7: VERIFY Confirm all tests + lint pass
29
30
  Step 8: ASK SYNC "Shall I run multi-agent-sync?" - take approval
30
31
  ```
31
32
 
32
- Plan bands (all four feed the single Step 4 table):
33
+ Plan bands (all five feed the single Step 4 table):
33
34
  - **A - Best-practice**: the best field approaches, adapted so they actually fit this repo.
34
35
  - **B - Bug**: real defects found in the code (correctness, security, data-loss, crashes).
35
36
  - **C - Improvement**: quality/perf/DX gaps surfaced by the 10-category analysis.
36
37
  - **D - Drift**: upstream updates to skills we derived from an external source.
38
+ - **E - Dev-toolkit**: current-practice gaps in the companion dev-toolkit MCP server (the pipeline's device and browser hands), applied in that repo.
37
39
 
38
40
  ## Step 0: BEST-PRACTICES - research the field, adapt to us
39
41
 
@@ -71,19 +73,27 @@ The upstream mapping is **configuration, never hardcoded** (it can reference pri
71
73
  "upstreamPlugin": "<plugin name>",
72
74
  "upstreamSkills": ["<skill-a>", "<skill-b>"], // the upstream skills we took
73
75
  "derivedFromVersion": "<x.y.z>", // the version we last synced from
74
- "upstreamRepoUrl": "<optional https url>" // used only if the marketplace is not installed locally
76
+ "upstreamVersionSource": "marketplace.json", // which manifest is authoritative; default marketplace.json
77
+ "upstreamLocalClone": "<optional path>", // working copy of the upstream repo, preferred over the cache
78
+ "upstreamRepoUrl": "<optional https url>" // used when neither a clone nor the marketplace is available
75
79
  }
76
80
  ```
77
81
 
82
+ **The plugin cache is a mirror, not the authority.** `~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/` holds only what the last `claude marketplace update` fetched. Treating it as the current upstream version is how this step reported "up to date" while the derivation was four releases behind: the cache sat at 0.2.1 and upstream was at 0.4.1. Resolve in the order below, and never let the cache alone produce an "up to date" verdict.
83
+
84
+ **Which manifest carries the version** is `upstreamVersionSource`, default `marketplace.json` - that is what a marketplace consumer resolves. Some upstreams keep per-plugin `plugin.json` versions deliberately unused, so reading those records a version nobody ships. One entry here was recorded at 0.7.0 from `plugin.json` while the upstream marketplace said 0.6.0 and its CHANGELOG said plainly that `plugin.json` is not used.
85
+
78
86
  Procedure:
79
87
  1. If `global.derivedSkillSources` is missing or empty -> **skip** this step and report "no derived-skill sources configured". Never invent a source.
80
- 2. For each entry, resolve the current upstream version:
81
- - **Preferred**: read the newest installed version under `~/.claude/plugins/cache/<upstreamMarketplace>/<upstreamPlugin>/*/` (its `.claude-plugin/plugin.json` `version`), plus that version's `CHANGELOG.md`.
82
- - **Fallback**: if the marketplace is not installed locally and `upstreamRepoUrl` is set, `WebFetch` the upstream `plugin.json` + `CHANGELOG.md`.
83
- - If neither is reachable, record "upstream unreachable" and move on (do not fail the run).
88
+ 2. For each entry, resolve the current upstream version, stopping at the first source that answers:
89
+ - **`upstreamLocalClone`** if set: read `<clone>/.claude-plugin/<upstreamVersionSource>`, and report when the clone is itself behind its remote so a stale working copy is not silently trusted.
90
+ - **`upstreamRepoUrl`**: read the same manifest over the API (`gh api` / `WebFetch`). A private upstream can 404 for the active account even though it exists; that is unreachable, not "no drift".
91
+ - **Plugin cache**: last resort. When it is the only source that answered, report **`unverified (cache only)`**, never "up to date", and add a plan item to configure `upstreamLocalClone`.
92
+ - If nothing is reachable, record "upstream unreachable" and move on (do not fail the run).
84
93
  3. Compare the resolved upstream version to `derivedFromVersion`:
85
- - equal -> "up to date" (no drift)
86
- - newer -> **drift**: read the CHANGELOG entries between the two versions, and diff each `upstreamSkills` SKILL.md (+ templates) against our `localPath` copy. Summarize what changed.
94
+ - equal, from an authoritative source -> "up to date" (no drift)
95
+ - equal, from the cache only -> "unverified (cache only)"
96
+ - newer -> **drift**: read the CHANGELOG entries between the two versions, and diff each `upstreamSkills` SKILL.md (+ templates) against our `localPath` copy. Summarize what changed, ignoring entries that touch only skills outside `upstreamSkills`.
87
97
  4. Emit the drift table (plan band D):
88
98
 
89
99
  ```
@@ -94,6 +104,54 @@ Procedure:
94
104
 
95
105
  5. For each drifted entry, add a band-D plan item: "port upstream <plugin> <version> changes into <localPath>". Do not auto-apply - it goes through Step 5 approval; after porting, bump the entry's `derivedFromVersion`.
96
106
 
107
+ ## Step 0c: DEV-TOOLKIT - current MCP practice for the companion toolkit
108
+
109
+ The pipeline's device and browser hands are MCP tools served by a companion repo (`dev-toolkit-mcp`), and several pipeline skills declare a minimum toolkit version. This step researches current MCP practice and audits that repo against it.
110
+
111
+ **Resolution** - configuration first, never a hardcoded path:
112
+
113
+ 1. `prefs.global.devToolkit`: `{ enabled, label, localPath, mcpServerName, packageName, registry, repoUrl }`.
114
+ 2. If unset, auto-detect from the MCP registration: `mcpServers` in `~/.claude.json` (plus `projects[*].mcpServers`) and `~/.claude/settings.json`; for a stdio `node` entry take `dirname(args[0])`, and accept it only if that directory is a git repo whose `package.json` depends on `@modelcontextprotocol/sdk`.
115
+ 3. Neither resolves (or `enabled: false`) -> skip and report "no dev-toolkit configured". Never guess a path, never clone.
116
+
117
+ **Research axes** - a finding without a source link is not a finding:
118
+
119
+ | # | Axis | Where to look | What to extract |
120
+ |---|------|---------------|-----------------|
121
+ | 1 | MCP protocol | spec revisions + `@modelcontextprotocol/sdk` releases | features released since the pinned SDK that the server does not use: tool annotations, `outputSchema` + structured content, resource links, progress + cancellation, `tools/list_changed`, pagination |
122
+ | 2 | Host clients | Claude Code / Copilot CLI / Cursor / Antigravity docs | description budget, tool-count ceilings, naming, output size limits, permission ergonomics |
123
+ | 3 | Peer servers | GitHub search on the same domain + `stars:>50` | surfaces we lack, conventions peers converged on, what to discard |
124
+ | 4 | Wrapped tooling | `simctl`, `idb`, `adb`, `xcodebuild`, Playwright notes, Apple ITMS + review guidelines | deprecated flags in use, new capabilities worth a tool, audit rules that changed |
125
+ | 5 | Field practice | X / Twitter, Reddit, MCP community | what server authors changed recently (transport, output-token diets, error shape) |
126
+
127
+ **Audit the toolkit** - run the checks, do not assume:
128
+
129
+ ```bash
130
+ DT="<resolved localPath>"
131
+ node --check "$DT/index.js"; find "$DT/tools" -name "*.js" -exec node --check {} \;
132
+ grep -rn "console\.log(" "$DT/index.js" "$DT/tools" || echo "stdout clean" # stdout = JSON-RPC channel
133
+ grep -nE "[0-9]+ tools" "$DT/README.md" "$DT/package.json" # advertised count vs reality
134
+ node -p "require('$DT/package.json').files.join('\n')"; ls -d "$DT"/tools/*/ # files[] covers runtime dirs
135
+ cd "$DT" && npm outdated; npm audit --omit=dev 2>/dev/null | tail -20
136
+ ```
137
+
138
+ Also check: every tool has a description + `inputSchema`; token-heavy results (screenshots, UI trees) are truncated or file-backed; failures return an error result, not a throw; `CHANGELOG.md`, CI and tests exist.
139
+
140
+ Output (plan band E):
141
+
142
+ ```
143
+ | # | Axis | Finding | Source | Adaptation in the toolkit (file) | Effort | Impact | In plan? |
144
+ |---|------|---------|--------|----------------------------------|--------|--------|----------|
145
+ | 1 | Protocol | read-only tools carry no annotations | <spec link> | add `annotations` to the read-only tools in index.js | Low | Medium | Yes (P1) |
146
+ | 2 | Peer servers | peer exposes <surface> | <repo link> | does not fit: outside the pipeline's phases | - | - | No |
147
+ ```
148
+
149
+ Rules for this band:
150
+
151
+ - Band-E work lands in the toolkit repo, never mirrored into this one. Shipping it is `multi-agent-sync` Step 3d.
152
+ - A finding that changes the tool surface pairs with a pipeline-side item: bump the minimum toolkit version wherever a pipeline skill declares one.
153
+ - If the current working directory IS the toolkit repo, skip band E and let bands A/B/C cover it.
154
+
97
155
  ## Step 1: SCAN
98
156
 
99
157
  ```
@@ -166,7 +224,7 @@ Each category is scored out of 10. Output format:
166
224
 
167
225
  ## Step 4: PLAN - one merged, prioritized table
168
226
 
169
- Merge all four bands into a single plan. Tag each row with its band (A best-practice / B bug / C improvement / D drift).
227
+ Merge all five bands into a single plan. Tag each row with its band (A best-practice / B bug / C improvement / D drift / E dev-toolkit).
170
228
 
171
229
  ```
172
230
  | # | Priority | Band | Category | Item | Impact |
@@ -175,7 +233,8 @@ Merge all four bands into a single plan. Tag each row with its band (A best-prac
175
233
  | 2 | P0 | B | Testing | Fix nil-deref on empty response (src/y:42) | High |
176
234
  | 3 | P1 | A | CI/CD | Adopt matrix build (adapt: .github/workflows/ci.yml) | Medium |
177
235
  | 4 | P1 | D | Skills | Port upstream <plugin> 0.3.0 fixes into <localPath> | Medium |
178
- | 5 | P2 | C | DevEx | Rename npm scripts for consistency | Low |
236
+ | 5 | P1 | E | Toolkit | Add read-only annotations to the dev-toolkit device tools | Medium |
237
+ | 6 | P2 | C | DevEx | Rename npm scripts for consistency | Low |
179
238
  ```
180
239
 
181
240
  Priority levels:
@@ -187,13 +246,14 @@ Priority levels:
187
246
 
188
247
  After showing the plan, ask:
189
248
 
190
- > "I found X items (P0: N, P1: M, P2: K) across bugs, best-practices, improvements, and upstream drift. Shall I start developing?"
249
+ > "I found X items (P0: N, P1: M, P2: K) across bugs, best-practices, improvements, upstream drift, and dev-toolkit practice. Shall I start developing?"
191
250
 
192
251
  Options:
193
252
  - "Yes, do all of them"
194
253
  - "Do only the P0 ones"
195
254
  - "Do only P0 + P1"
196
255
  - "Only the bugs (band B)"
256
+ - "Only the dev-toolkit (band E)"
197
257
  - (the user can make a specific selection)
198
258
 
199
259
  **NEVER start developing without approval.**
@@ -204,6 +264,7 @@ Apply approved items in order:
204
264
 
205
265
  1. For each item:
206
266
  - Make the change (for band D, port the upstream diff into `localPath`, then bump that entry's `derivedFromVersion`)
267
+ - Band-E items are applied inside the toolkit repo, never mirrored here: edit there, re-run its gates (`node --check`, `tools/list` handshake, advertised tool count matching reality), commit there. Publishing is `multi-agent-sync` Step 3d.
207
268
  - Run the relevant tests
208
269
  - If successful, move to the next
209
270
  - If it fails, revert and notify the user
@@ -227,6 +288,8 @@ echo "Lint: PASS/FAIL"
227
288
  echo "Test: PASS/FAIL (X/Y passed)"
228
289
  ```
229
290
 
291
+ If any band-E item was applied, verify the toolkit repo too: syntax-check every file it loads, handshake the server and confirm `tools/list` still answers, and confirm the advertised tool counts match the count the server reports.
292
+
230
293
  ## Step 8: ASK SYNC
231
294
 
232
295
  After all approved items are applied, ask:
@@ -234,7 +297,7 @@ After all approved items are applied, ask:
234
297
  > "Development complete. Shall I run multi-agent-sync?"
235
298
 
236
299
  Options:
237
- - "Yes" -> run the `/sync` command (full ecosystem sync)
300
+ - "Yes" -> run the `/sync` command (full ecosystem sync - its Step 3d ships any band-E work in the toolkit repo)
238
301
  - "No" -> report and finish
239
302
  - "Only commit + push" -> push only the current repo without sync
240
303
 
@@ -247,6 +310,7 @@ If $ARGUMENTS is specified, focus on that band/category only:
247
310
  | `bugs` | Bug hunt only (band B) |
248
311
  | `best-practices` | Field research + adapted plan only (band A) |
249
312
  | `drift` | Upstream derived-skill drift only (band D) |
313
+ | `dev-toolkit` | Companion MCP toolkit research + audit only (band E) |
250
314
  | `security` | Security analysis only |
251
315
  | `tests` | Test coverage and quality only |
252
316
  | `performance` | Performance optimization only |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-resume
3
3
  language: en
4
- description: "Resume a stopped or failed task from the phase where it left off."
4
+ description: "Resume a stopped or failed task from the phase where it left off. Use when a task stopped or failed and should carry on from where it left off."
5
5
  user-invocable: true
6
6
  argument-hint: "[#id] - optional: task ID (e.g. #2). If omitted, the most recent paused task is used."
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-review
3
3
  language: en
4
- description: "Run parallel review on a branch diff or a Pull Request: 2 models on Claude Code (Fable + Sonnet), 3 models on Copilot CLI (GPT + Opus + Sonnet). On PR input, posts per-finding inline comments + approve/needs-work. With no input (interactive), lists open GitHub + Bitbucket PRs to multi-select."
4
+ description: "Run parallel review on a branch diff or a Pull Request: 2 models on Claude Code (Fable + Sonnet), 3 models on Copilot CLI (GPT + Opus + Sonnet). On PR input, posts per-finding inline comments + approve/needs-work. With no input (interactive), lists open GitHub + Bitbucket PRs to multi-select. Use when a branch diff or a pull request needs reviewing before it merges."
5
5
  user-invocable: true
6
6
  argument-hint: "[#N | repo#N | PR-URL | branch] - PR by number/URL, repo+number, or branch (GitHub + Bitbucket Server). If omitted: interactive PR picker, else current branch."
7
7
  ---
@@ -46,7 +46,7 @@ Skip Phase 0-3 and review a diff only. Input shapes: a PR (`#N`, `repo#N`, GitHu
46
46
 
47
47
  | Platform | Trigger files | Catalog to load |
48
48
  |---|---|---|
49
- | iOS | `**/Info.plist`, `**/PrivacyInfo.xcprivacy`, `**/*.entitlements`, `**/*App.swift`, `**/AppDelegate*.swift`, `**/SceneDelegate*.swift`, `**/project.pbxproj` | `pipeline/skills/shared/core/apple-archive-compliance/SKILL.md` - 17 rules + ITMS refs |
49
+ | iOS | `**/Info.plist`, `**/PrivacyInfo.xcprivacy`, `**/*.entitlements`, `**/*App.swift`, `**/AppDelegate*.swift`, `**/SceneDelegate*.swift`, `**/project.pbxproj` | `pipeline/skills/shared/core/apple-archive-compliance/SKILL.md` - 18 rules + ITMS refs |
50
50
  | Android | `**/AndroidManifest.xml`, `**/build.gradle(.kts)`, `**/proguard-rules.pro`, `**/network_security_config.xml` | `pipeline/skills/shared/core/google-play-compliance/SKILL.md` - 21 rules + Play policy refs |
51
51
 
52
52
  It appends the catalog's `ruleID` + the Apple ITMS / Play policy ref to each finding:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-review-issue
3
3
  language: en
4
- description: "Assess whether a GitHub issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack readiness, then (after confirm) post the gaps as an issue comment. Read-only on code."
4
+ description: "Assess whether a GitHub issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack readiness, then (after confirm) post the gaps as an issue comment. Read-only on code. Use when deciding whether a GitHub issue is specified well enough to hand to development."
5
5
  user-invocable: true
6
6
  argument-hint: "[#N | repo#N | GitHub issue URL] - optional; with no argument, pick from open issues"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-review-jira
3
3
  language: en
4
- description: "Assess whether a Jira issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack readiness, then (after confirm) post the gaps as a Jira comment. Read-only on code."
4
+ description: "Assess whether a Jira issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack readiness, then (after confirm) post the gaps as a Jira comment. Read-only on code. Use when deciding whether a Jira issue is specified well enough to hand to development."
5
5
  user-invocable: true
6
6
  argument-hint: "[JIRA-KEY | Jira URL] - optional; with no argument, pick from your open Jira issues"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-routines
3
3
  language: en
4
- description: "List your saved /multi-agent routines (from /multi-agent:save) with what each one does, rendered in outputLanguage."
4
+ description: "List your saved /multi-agent routines (from /multi-agent:save) with what each one does, rendered in outputLanguage. Use when asked which saved routines exist or what one of them does."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-save
3
3
  language: en
4
- description: "Save a recurring job as a reusable /multi-agent:<name> command. Reviews the conversation + your CLAUDE.md for candidate routines, you pick one and name it; stored local-only, never synced."
4
+ description: "Save a recurring job as a reusable /multi-agent:<name> command. Reviews the conversation + your CLAUDE.md for candidate routines, you pick one and name it; stored local-only, never synced. Use when a job keeps recurring and should become its own reusable command."
5
5
  user-invocable: true
6
6
  argument-hint: "[name]"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-scan
3
3
  language: en
4
- description: Skill security scan: walks local skill directories against a tiered pattern catalog.
4
+ description: "Skill security scan: walks local skill directories against a tiered pattern catalog. Use when local skill directories need checking for unsafe or unexpected content."
5
5
  user-invocable: true
6
6
  argument-hint: "[--strict] [--target <path>] - optional: --strict enables CI failure mode, --target picks a custom directory"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-search
3
3
  language: en
4
- description: Log search across every agent-log.md with smart ranking and filters. Optional --semantic flag queries the per-repo triage corpus.
4
+ description: "Log search across every agent-log.md with smart ranking and filters. Optional --semantic flag queries the per-repo triage corpus. Use when something has to be found across past task logs."
5
5
  user-invocable: true
6
6
  argument-hint: "<query> [--project <slug>] [--since 7d|YYYY-MM-DD] [--phase <N>] [--semantic] [--json|--tsv]"
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-setup
3
3
  language: en
4
- description: "First-run setup wizard: keychain token discovery, Git Identity onboarding, and pipeline preparation."
4
+ description: "First-run setup wizard: keychain token discovery, Git Identity onboarding, and pipeline preparation. Use when the pipeline is being set up for the first time, or tokens and git identity need onboarding."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-stack
3
3
  language: en
4
- description: "Select the active stack for this repo by enabling the matching marketplace plugin(s) in .claude/settings.json (ios/android/mobile/backend/frontend/fullstack/all)."
4
+ description: "Select the active stack for this repo by enabling the matching marketplace plugin(s) in .claude/settings.json (ios/android/mobile/backend/frontend/fullstack/all). Use when a repo's stack changed or the wrong plugins are enabled for it."
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -9,7 +9,7 @@ user-invocable: true
9
9
 
10
10
  Stack skills ship as plugins in the `{owner}/multi-agent-plugins` marketplace. Selecting a stack = **enabling the matching plugin(s)** in the current repo's `.claude/settings.json` `enabledPlugins`. The `ai-common-engineering-toolkit` (accessibility audit, humanizer, Firebase) is always enabled alongside the stack plugin.
11
11
 
12
- This replaces the old `stack-swap.sh` mechanic that physically moved skill directories. No SessionStart hook, no directory shuffling enablement is declarative, per-repo, and versioned.
12
+ This replaces the old `stack-swap.sh` mechanic that physically moved skill directories. No SessionStart hook, no directory shuffling - enablement is declarative, per-repo, and versioned.
13
13
 
14
14
  ## Usage
15
15
 
@@ -44,7 +44,7 @@ multi-agent-stack all # all four stack toolkits + common
44
44
 
45
45
  ## Notes
46
46
 
47
- - Enablement is per-repo and declarative commit `.claude/settings.json` so teammates get the same stack.
47
+ - Enablement is per-repo and declarative - commit `.claude/settings.json` so teammates get the same stack.
48
48
  - Restart the conversation to pick up newly enabled plugins.
49
49
  - Pipeline Phase 1 stack detection is independent (it reads project files); `stack` only sets which plugin skill set is active.
50
50
  - The old `stack-swap.sh` skill-dir swap has been removed; stack selection is entirely plugin enablement.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-status
3
3
  language: en
4
- description: "Show every multi-agent task's ID, phase, branch, and status."
4
+ description: "Show every multi-agent task's ID, phase, branch, and status. Use when asked what is running, or for an overview of every task."
5
5
  user-invocable: true
6
6
  ---
7
7