@mmerterden/multi-agent-pipeline 11.2.0 → 11.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 (331) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +2 -2
  3. package/docs/FIGMA_PIPELINE.md +12 -25
  4. package/docs/architecture.md +3 -5
  5. package/docs/features.md +8 -8
  6. package/install/_dev-only-files.mjs +0 -6
  7. package/install/claude.mjs +33 -15
  8. package/install/copilot.mjs +16 -14
  9. package/install/templates/copilot-instructions.md +3 -3
  10. package/package.json +1 -1
  11. package/pipeline/commands/{multi-agent.md → multi-agent/SKILL.md} +39 -39
  12. package/pipeline/commands/multi-agent/{analysis.md → analysis/SKILL.md} +18 -18
  13. package/pipeline/commands/multi-agent/{analysis-resolve.md → analysis-resolve/SKILL.md} +4 -4
  14. package/pipeline/commands/multi-agent/{autopilot.md → autopilot/SKILL.md} +4 -4
  15. package/pipeline/commands/multi-agent/{build-optimize.md → build-optimize/SKILL.md} +1 -1
  16. package/pipeline/commands/multi-agent/{channels.md → channels/SKILL.md} +12 -12
  17. package/pipeline/commands/multi-agent/{dev.md → dev/SKILL.md} +4 -4
  18. package/pipeline/commands/multi-agent/{dev-autopilot.md → dev-autopilot/SKILL.md} +4 -4
  19. package/pipeline/commands/multi-agent/{dev-local.md → dev-local/SKILL.md} +5 -5
  20. package/pipeline/commands/multi-agent/{dev-local-autopilot.md → dev-local-autopilot/SKILL.md} +4 -4
  21. package/pipeline/commands/multi-agent/{finish.md → finish/SKILL.md} +6 -6
  22. package/pipeline/commands/multi-agent/{generate.md → generate/SKILL.md} +3 -3
  23. package/pipeline/commands/multi-agent/{help.md → help/SKILL.md} +4 -4
  24. package/pipeline/commands/multi-agent/{local.md → local/SKILL.md} +5 -5
  25. package/pipeline/commands/multi-agent/{local-autopilot.md → local-autopilot/SKILL.md} +5 -5
  26. package/pipeline/commands/multi-agent/{manual-test.md → manual-test/SKILL.md} +1 -1
  27. package/pipeline/commands/multi-agent/refactor/SKILL.md +257 -0
  28. package/pipeline/commands/multi-agent/{resume.md → resume/SKILL.md} +1 -1
  29. package/pipeline/commands/multi-agent/{review.md → review/SKILL.md} +5 -5
  30. package/pipeline/commands/multi-agent/{setup.md → setup/SKILL.md} +1 -1
  31. package/pipeline/commands/multi-agent/{sync.md → sync/SKILL.md} +20 -58
  32. package/pipeline/{commands/multi-agent → multi-agent-refs}/_account-picker.md +2 -2
  33. package/pipeline/{commands/multi-agent → multi-agent-refs}/_dev-context.md +2 -2
  34. package/pipeline/{commands/multi-agent → multi-agent-refs}/_repo-picker.md +2 -2
  35. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/android-guide.md +1 -1
  36. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/channels/jira.md +1 -1
  37. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/channels/wiki.md +7 -7
  38. package/pipeline/multi-agent-refs/component-dispatch.md +92 -0
  39. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/cross-cli-contract.md +10 -77
  40. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/verify-by-test.md +1 -1
  41. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/generate-issue.md +2 -2
  42. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/issue-jira-triad.md +1 -1
  43. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/keychain.md +1 -1
  44. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/log-format.md +1 -1
  45. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/modes.md +2 -2
  46. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/operations.md +1 -1
  47. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-0-init.md +10 -10
  48. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-1-analysis.md +6 -6
  49. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-2-planning.md +3 -3
  50. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-3-dev.md +10 -10
  51. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-4-review.md +8 -8
  52. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-5-test.md +3 -3
  53. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-6-commit.md +4 -4
  54. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases/phase-7-report.md +6 -6
  55. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/phases.md +12 -12
  56. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/progress-contract.md +4 -4
  57. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/swiftui-guide.md +1 -1
  58. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/tracker-contract.md +3 -3
  59. package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/wiki-capture.md +4 -4
  60. package/pipeline/preferences-template.json +17 -1
  61. package/pipeline/rules/figma-pipeline.md +2 -2
  62. package/pipeline/schemas/prefs.schema.json +0 -34
  63. package/pipeline/scripts/README.md +1 -3
  64. package/pipeline/scripts/fixtures/install-layout.tsv +6 -5
  65. package/pipeline/scripts/gen-mode-dispatch.mjs +3 -3
  66. package/pipeline/scripts/phase-banner.sh +2 -2
  67. package/pipeline/scripts/review-scope.mjs +94 -0
  68. package/pipeline/scripts/scan-agent-config.sh +2 -2
  69. package/pipeline/scripts/smoke-agent-log-cost.sh +1 -1
  70. package/pipeline/scripts/smoke-agent-model-routing.sh +4 -4
  71. package/pipeline/scripts/smoke-autopilot-circuit-breaker.sh +2 -2
  72. package/pipeline/scripts/smoke-channels-approval-gate.sh +2 -2
  73. package/pipeline/scripts/smoke-channels-flow.sh +5 -5
  74. package/pipeline/scripts/smoke-clarify.sh +1 -1
  75. package/pipeline/scripts/smoke-commands-skills-parity.sh +3 -3
  76. package/pipeline/scripts/smoke-community-gates.sh +1 -1
  77. package/pipeline/scripts/smoke-compliance-skills.sh +2 -2
  78. package/pipeline/scripts/smoke-cost-summary.sh +1 -1
  79. package/pipeline/scripts/smoke-cross-cli-behavior.sh +17 -43
  80. package/pipeline/scripts/smoke-cross-phase-cohesion.sh +1 -1
  81. package/pipeline/scripts/smoke-dev-critic.sh +1 -1
  82. package/pipeline/scripts/smoke-diff-explain.sh +1 -1
  83. package/pipeline/scripts/smoke-diff-risk.sh +1 -1
  84. package/pipeline/scripts/smoke-evidence-gate.sh +1 -1
  85. package/pipeline/scripts/smoke-figma-dispatch.sh +46 -57
  86. package/pipeline/scripts/smoke-gate-hooks.sh +1 -1
  87. package/pipeline/scripts/smoke-generate-issue.sh +8 -8
  88. package/pipeline/scripts/smoke-handoff-contract.sh +3 -3
  89. package/pipeline/scripts/smoke-identity-isolation.sh +2 -2
  90. package/pipeline/scripts/smoke-intent-guard.sh +1 -1
  91. package/pipeline/scripts/smoke-issue-comment-template.sh +2 -2
  92. package/pipeline/scripts/smoke-issue-jira-triad.sh +4 -4
  93. package/pipeline/scripts/smoke-language-axis.sh +6 -6
  94. package/pipeline/scripts/smoke-learnings-ledger.sh +3 -3
  95. package/pipeline/scripts/smoke-mode-dispatch-drift.sh +16 -16
  96. package/pipeline/scripts/smoke-model-fallback.sh +3 -3
  97. package/pipeline/scripts/smoke-multi-repo-integration.sh +2 -2
  98. package/pipeline/scripts/smoke-multi-repo-worktree.sh +1 -1
  99. package/pipeline/scripts/smoke-no-token-prompt.sh +5 -5
  100. package/pipeline/scripts/smoke-phase-0-multi-repo.sh +1 -1
  101. package/pipeline/scripts/smoke-phase-6-multi.sh +1 -1
  102. package/pipeline/scripts/smoke-phase4-gates.sh +45 -0
  103. package/pipeline/scripts/smoke-plan-approval-gate.sh +5 -5
  104. package/pipeline/scripts/smoke-plan-todos.sh +3 -3
  105. package/pipeline/scripts/smoke-pr-review-actions.sh +3 -3
  106. package/pipeline/scripts/smoke-prefs-language.sh +1 -1
  107. package/pipeline/scripts/smoke-progress-contract.sh +2 -2
  108. package/pipeline/scripts/smoke-push-retry.sh +1 -1
  109. package/pipeline/scripts/smoke-repo-map.sh +2 -2
  110. package/pipeline/scripts/smoke-shadow-git.sh +1 -1
  111. package/pipeline/scripts/smoke-skill-authoring.sh +4 -9
  112. package/pipeline/scripts/smoke-tasklist-ordering.sh +10 -10
  113. package/pipeline/scripts/smoke-test-gap.sh +1 -1
  114. package/pipeline/scripts/smoke-token-budget.sh +1 -1
  115. package/pipeline/scripts/smoke-token-preflight.sh +2 -2
  116. package/pipeline/scripts/smoke-tracker-contract.sh +13 -13
  117. package/pipeline/scripts/smoke-tracker-tokens-invocation.sh +5 -5
  118. package/pipeline/scripts/smoke-triage-memory.sh +2 -2
  119. package/pipeline/scripts/smoke-update-check.sh +1 -1
  120. package/pipeline/scripts/smoke-url-enrichment.sh +2 -2
  121. package/pipeline/scripts/smoke-validator-gates.sh +1 -1
  122. package/pipeline/scripts/smoke-verify-by-test.sh +3 -3
  123. package/pipeline/scripts/smoke-wiki-integration.sh +9 -33
  124. package/pipeline/scripts/smoke-work-summary.sh +1 -1
  125. package/pipeline/scripts/smoke-worktree-path-convention.sh +4 -4
  126. package/pipeline/scripts/test-integrity-gate.mjs +83 -0
  127. package/pipeline/scripts/uninstall.mjs +2 -2
  128. package/pipeline/skills/.skill-manifest.json +40 -160
  129. package/pipeline/skills/.skills-index.json +3 -372
  130. package/pipeline/skills/shared/README.md +1 -1
  131. package/pipeline/skills/shared/core/multi-agent/SKILL.md +1 -1
  132. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +2 -2
  133. package/pipeline/skills/shared/core/multi-agent-analysis-resolve/SKILL.md +3 -3
  134. package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +1 -1
  135. package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +1 -1
  136. package/pipeline/skills/shared/core/multi-agent-finish/SKILL.md +1 -1
  137. package/pipeline/skills/shared/core/multi-agent-help/SKILL.md +1 -1
  138. package/pipeline/skills/shared/core/multi-agent-refactor/SKILL.md +116 -51
  139. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +8 -30
  140. package/pipeline/skills/shared/external/compose-components/SKILL.md +14 -14
  141. package/pipeline/skills/skills-index.md +2 -43
  142. package/pipeline/commands/multi-agent/refactor.md +0 -188
  143. package/pipeline/commands/multi-agent/refs/component-dispatch.md +0 -92
  144. package/pipeline/scripts/smoke-existing-discovery-gate.sh +0 -71
  145. package/pipeline/scripts/smoke-figma-android-parity.sh +0 -148
  146. package/pipeline/scripts/smoke-figma-credential-store.sh +0 -105
  147. package/pipeline/scripts/smoke-figma-cross-cli-inventory.sh +0 -177
  148. package/pipeline/scripts/smoke-figma-sync.sh +0 -149
  149. package/pipeline/scripts/smoke-sync-delegation.sh +0 -74
  150. package/pipeline/skills/figma-android/README.md +0 -38
  151. package/pipeline/skills/figma-android/figma-component-code-connect/SKILL.md +0 -62
  152. package/pipeline/skills/figma-android/figma-component-implement/SKILL.md +0 -158
  153. package/pipeline/skills/figma-android/figma-component-test/SKILL.md +0 -120
  154. package/pipeline/skills/figma-android/figma-component-wiki/SKILL.md +0 -35
  155. package/pipeline/skills/figma-android/figma-to-component/SKILL.md +0 -124
  156. package/pipeline/skills/figma-common/README.md +0 -64
  157. package/pipeline/skills/figma-common/figma-bottom-sheets/SKILL.md +0 -152
  158. package/pipeline/skills/figma-common/figma-cli-iterate/SKILL.md +0 -282
  159. package/pipeline/skills/figma-common/figma-cli-iterate-mend/SKILL.md +0 -503
  160. package/pipeline/skills/figma-common/figma-cli-lean-iterate/SKILL.md +0 -288
  161. package/pipeline/skills/figma-common/figma-cli-skip/SKILL.md +0 -362
  162. package/pipeline/skills/figma-common/figma-commit/COMMON_REBASE.md +0 -206
  163. package/pipeline/skills/figma-common/figma-commit/REVIEW.md +0 -337
  164. package/pipeline/skills/figma-common/figma-commit/SKILL.md +0 -216
  165. package/pipeline/skills/figma-common/figma-component-confluence-sync/SKILL.md +0 -223
  166. package/pipeline/skills/figma-common/figma-component-start/SKILL.md +0 -251
  167. package/pipeline/skills/figma-common/figma-component-status-update/SKILL.md +0 -78
  168. package/pipeline/skills/figma-common/figma-evolve-component/SKILL.md +0 -61
  169. package/pipeline/skills/figma-common/figma-fix/SKILL.md +0 -321
  170. package/pipeline/skills/figma-common/figma-form-integration/SKILL.md +0 -542
  171. package/pipeline/skills/figma-common/figma-issue/SKILL.md +0 -750
  172. package/pipeline/skills/figma-common/figma-iterate/SKILL.md +0 -208
  173. package/pipeline/skills/figma-common/figma-iteration-commit/SKILL.md +0 -1020
  174. package/pipeline/skills/figma-common/figma-mend/SKILL.md +0 -331
  175. package/pipeline/skills/figma-common/figma-navigation/SKILL.md +0 -156
  176. package/pipeline/skills/figma-common/figma-overlays/SKILL.md +0 -142
  177. package/pipeline/skills/figma-common/figma-price-integration/SKILL.md +0 -398
  178. package/pipeline/skills/figma-common/figma-remote-mcp-auth/SKILL.md +0 -104
  179. package/pipeline/skills/figma-common/figma-review/SKILL.md +0 -400
  180. package/pipeline/skills/figma-common/figma-setup/SKILL.md +0 -514
  181. package/pipeline/skills/figma-common/figma-setup/scripts/fetch-mcp-token.py +0 -592
  182. package/pipeline/skills/figma-common/figma-skip/SKILL.md +0 -129
  183. package/pipeline/skills/figma-common/figma-ui-patterns/SKILL.md +0 -105
  184. package/pipeline/skills/figma-common/figma-ui-patterns/patterns/animated-gradient-border.md +0 -116
  185. package/pipeline/skills/figma-common/figma-utility/SKILL.md +0 -274
  186. package/pipeline/skills/figma-common/figma-utility/scripts/figma-utility.py +0 -808
  187. package/pipeline/skills/figma-common/figma-validate/SKILL.md +0 -633
  188. package/pipeline/skills/figma-common/performance-iteration-commit-all/SKILL.md +0 -716
  189. package/pipeline/skills/figma-common/performance-review-next/SKILL.md +0 -238
  190. package/pipeline/skills/figma-common/performance-start/SKILL.md +0 -430
  191. package/pipeline/skills/figma-common/performance-swiftui/SKILL.md +0 -706
  192. package/pipeline/skills/figma-common/performance-tour/SKILL.md +0 -423
  193. package/pipeline/skills/figma-ios/REVIEW_CHECKLIST.md +0 -67
  194. package/pipeline/skills/figma-ios/figma-component-code-connect/SKILL.md +0 -178
  195. package/pipeline/skills/figma-ios/figma-component-implement/SKILL.md +0 -184
  196. package/pipeline/skills/figma-ios/figma-component-test/SKILL.md +0 -219
  197. package/pipeline/skills/figma-ios/figma-component-wiki/SKILL.md +0 -274
  198. package/pipeline/skills/figma-ios/figma-to-component/SKILL.md +0 -416
  199. package/pipeline/skills/figma-ios/figma-to-component/halt-return-protocol.md +0 -57
  200. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-0-init.md +0 -307
  201. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-1-gathering.md +0 -119
  202. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-1.5-existing-discovery.md +0 -174
  203. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-2-orchestrator.md +0 -333
  204. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-2a-testing-identifiers.md +0 -368
  205. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-2b-localization.md +0 -393
  206. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-2c-accessibility.md +0 -617
  207. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-2d-analytics.md +0 -352
  208. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3-orchestrator.md +0 -337
  209. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3a-location.md +0 -206
  210. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3b-tokens.md +0 -235
  211. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3c-nested.md +0 -214
  212. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3d-patterns.md +0 -902
  213. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3e-assets.md +0 -156
  214. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3f-utilities.md +0 -175
  215. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3g-property-coverage.md +0 -176
  216. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-3h-variant-config.md +0 -333
  217. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-4-orchestrator.md +0 -412
  218. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-4a-configuration.md +0 -336
  219. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-4b-view.md +0 -705
  220. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-4c-documentation.md +0 -332
  221. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-4d-preview.md +0 -380
  222. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-4e-modifiers.md +0 -262
  223. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-5-orchestrator.md +0 -482
  224. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-5a-viewinspector.md +0 -274
  225. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-5b-snapshot.md +0 -636
  226. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-5c-unit.md +0 -142
  227. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-6-code-connect.md +0 -547
  228. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-7-wiki.md +0 -39
  229. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-7a-confluence-generate.md +0 -659
  230. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-7a-wiki-generate.md +0 -580
  231. package/pipeline/skills/figma-ios/figma-to-component/phases/phase-8-cleanup.md +0 -51
  232. package/pipeline/skills/figma-ios/figma-to-component/reference/accessibility.md +0 -183
  233. package/pipeline/skills/figma-ios/figma-to-component/reference/analytics-events.md +0 -64
  234. package/pipeline/skills/figma-ios/figma-to-component/reference/code-connect.md +0 -531
  235. package/pipeline/skills/figma-ios/figma-to-component/reference/confluence-api.md +0 -89
  236. package/pipeline/skills/figma-ios/figma-to-component/reference/confluence-xhtml.md +0 -155
  237. package/pipeline/skills/figma-ios/figma-to-component/reference/figma-to-swiftui-effects.md +0 -196
  238. package/pipeline/skills/figma-ios/figma-to-component/reference/halt-return-protocol.md +0 -57
  239. package/pipeline/skills/figma-ios/figma-to-component/reference/localization-naming.md +0 -89
  240. package/pipeline/skills/figma-ios/figma-to-component/reference/macros.md +0 -227
  241. package/pipeline/skills/figma-ios/figma-to-component/reference/missing-tokens.md +0 -157
  242. package/pipeline/skills/figma-ios/figma-to-component/reference/orchestrator-discipline.md +0 -90
  243. package/pipeline/skills/figma-ios/figma-to-component/reference/registry.md +0 -116
  244. package/pipeline/skills/figma-ios/figma-to-component/reference/remote-mcp-script.md +0 -153
  245. package/pipeline/skills/figma-ios/figma-to-component/reference/rest-api-script.md +0 -130
  246. package/pipeline/skills/figma-ios/figma-to-component/reference/scripts-inventory.md +0 -218
  247. package/pipeline/skills/figma-ios/figma-to-component/reference/snapshot-testing.md +0 -188
  248. package/pipeline/skills/figma-ios/figma-to-component/reference/subcomponent-graph.md +0 -93
  249. package/pipeline/skills/figma-ios/figma-to-component/reference/testing-identifiers-naming.md +0 -98
  250. package/pipeline/skills/figma-ios/figma-to-component/reference/tools.md +0 -261
  251. package/pipeline/skills/figma-ios/figma-to-component/reference/viewinspector.md +0 -147
  252. package/pipeline/skills/figma-ios/figma-to-component/reference/wiki-to-confluence-mapping.md +0 -182
  253. package/pipeline/skills/figma-ios/figma-to-component/scripts/apply-author-login-map.py +0 -185
  254. package/pipeline/skills/figma-ios/figma-to-component/scripts/backfill-status.py +0 -609
  255. package/pipeline/skills/figma-ios/figma-to-component/scripts/build-author-registry.py +0 -332
  256. package/pipeline/skills/figma-ios/figma-to-component/scripts/bulk-sync-issues.py +0 -261
  257. package/pipeline/skills/figma-ios/figma-to-component/scripts/code-connect-data-gather.py +0 -184
  258. package/pipeline/skills/figma-ios/figma-to-component/scripts/code-connect-publish.sh +0 -188
  259. package/pipeline/skills/figma-ios/figma-to-component/scripts/confluence-component-status-upload.py +0 -768
  260. package/pipeline/skills/figma-ios/figma-to-component/scripts/confluence-component-status.py +0 -191
  261. package/pipeline/skills/figma-ios/figma-to-component/scripts/confluence-data-gather.py +0 -420
  262. package/pipeline/skills/figma-ios/figma-to-component/scripts/confluence-page-ids.example.json +0 -9
  263. package/pipeline/skills/figma-ios/figma-to-component/scripts/confluence-publish.py +0 -336
  264. package/pipeline/skills/figma-ios/figma-to-component/scripts/figma-subcomponent-graph.py +0 -391
  265. package/pipeline/skills/figma-ios/figma-to-component/scripts/figma-update.py +0 -292
  266. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/__init__.py +0 -1
  267. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/issue_sync_propagate.py +0 -93
  268. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/registry_writer.py +0 -299
  269. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_backfill_status.py +0 -343
  270. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_figma_update.py +0 -206
  271. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_figma_update_http.py +0 -149
  272. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_phase_clis.py +0 -281
  273. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_registry_writer.py +0 -332
  274. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_skill_figma_issue.py +0 -176
  275. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_skill_figma_review.py +0 -98
  276. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_update_issue.py +0 -298
  277. package/pipeline/skills/figma-ios/figma-to-component/scripts/lib/test_update_issue_gh.py +0 -195
  278. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase1-gather.py +0 -1298
  279. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase2-finalize.py +0 -228
  280. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase3-scripts.py +0 -1089
  281. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase4-finalize.py +0 -141
  282. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase5-finalize.py +0 -106
  283. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase6-finalize.py +0 -162
  284. package/pipeline/skills/figma-ios/figma-to-component/scripts/phase7-finalize.py +0 -105
  285. package/pipeline/skills/figma-ios/figma-to-component/scripts/register-icons-codeconnect.py +0 -179
  286. package/pipeline/skills/figma-ios/figma-to-component/scripts/remote-mcp-fetch.py +0 -260
  287. package/pipeline/skills/figma-ios/figma-to-component/scripts/resolve-author-logins.py +0 -260
  288. package/pipeline/skills/figma-ios/figma-to-component/scripts/run-uicomponents-tests.sh +0 -86
  289. package/pipeline/skills/figma-ios/figma-to-component/scripts/sidebar-generator.py +0 -321
  290. package/pipeline/skills/figma-ios/figma-to-component/scripts/update-issue-from-registry.py +0 -1470
  291. package/pipeline/skills/figma-ios/figma-to-component/scripts/validate-phase4.sh +0 -176
  292. package/pipeline/skills/figma-ios/figma-to-component/scripts/validate-phase6.sh +0 -147
  293. package/pipeline/skills/figma-ios/figma-to-component/scripts/validate-phase7a.py +0 -629
  294. /package/pipeline/commands/multi-agent/{delete.md → delete/SKILL.md} +0 -0
  295. /package/pipeline/commands/multi-agent/{diff-explain.md → diff-explain/SKILL.md} +0 -0
  296. /package/pipeline/commands/multi-agent/{garbage-collect.md → garbage-collect/SKILL.md} +0 -0
  297. /package/pipeline/commands/multi-agent/{issue.md → issue/SKILL.md} +0 -0
  298. /package/pipeline/commands/multi-agent/{jira.md → jira/SKILL.md} +0 -0
  299. /package/pipeline/commands/multi-agent/{kill.md → kill/SKILL.md} +0 -0
  300. /package/pipeline/commands/multi-agent/{language.md → language/SKILL.md} +0 -0
  301. /package/pipeline/commands/multi-agent/{log.md → log/SKILL.md} +0 -0
  302. /package/pipeline/commands/multi-agent/{prune-logs.md → prune-logs/SKILL.md} +0 -0
  303. /package/pipeline/commands/multi-agent/{purge.md → purge/SKILL.md} +0 -0
  304. /package/pipeline/commands/multi-agent/{scan.md → scan/SKILL.md} +0 -0
  305. /package/pipeline/commands/multi-agent/{search.md → search/SKILL.md} +0 -0
  306. /package/pipeline/commands/multi-agent/{stack.md → stack/SKILL.md} +0 -0
  307. /package/pipeline/commands/multi-agent/{status.md → status/SKILL.md} +0 -0
  308. /package/pipeline/commands/multi-agent/{test.md → test/SKILL.md} +0 -0
  309. /package/pipeline/commands/multi-agent/{update.md → update/SKILL.md} +0 -0
  310. /package/pipeline/{commands/multi-agent → multi-agent-refs}/_input-parser.md +0 -0
  311. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/analysis-template.md +0 -0
  312. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/audit-guide.md +0 -0
  313. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/backend-guide.md +0 -0
  314. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/channels/confluence.md +0 -0
  315. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/channels/issue-comment.md +0 -0
  316. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/channels/pr-review-actions.md +0 -0
  317. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/channels/pr.md +0 -0
  318. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/conventions-defaults.md +0 -0
  319. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/autopilot-circuit-breaker.md +0 -0
  320. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/dev-critic.md +0 -0
  321. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/external-context-injection.md +0 -0
  322. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/model-fallback.md +0 -0
  323. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/plan-todos.md +0 -0
  324. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/prior-fix-detection.md +0 -0
  325. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/repo-map.md +0 -0
  326. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/features/shadow-git.md +0 -0
  327. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/frontend-guide.md +0 -0
  328. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/knowledge.md +0 -0
  329. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/multi-repo-integration-build.md +0 -0
  330. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/picker-contract.md +0 -0
  331. /package/pipeline/{commands/multi-agent/refs → multi-agent-refs}/rules.md +0 -0
@@ -1,57 +1,99 @@
1
1
  ---
2
2
  name: multi-agent-refactor
3
3
  language: en
4
- description: "Analyse the project, score it, draft an improvement 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, draft one plan, take approval, develop, then ask whether to sync."
5
5
  user-invocable: true
6
- argument-hint: 'security | tests | performance | docs | ci | deps'
6
+ argument-hint: 'bugs | best-practices | drift | security | tests | performance | docs | ci | deps'
7
7
  ---
8
8
 
9
9
  # Multi-Agent Refactor
10
10
 
11
- **One command. Analyze -> Score -> Plan -> Approval -> Develop -> Sync.**
11
+ **One command. Best-practices + Bug hunt + Upstream drift -> Score -> Plan -> Approval -> Develop -> Sync.**
12
12
 
13
- Analyzes the current project in depth, scores it across 10 categories, plans all improvements, takes approval from the user, applies them, 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, 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 - the area to focus on: "security", "performance", "tests", etc.)
15
+ **Input**: $ARGUMENTS (optional - area to focus on: "security", "performance", "tests", "bugs", "best-practices", "drift", etc.)
16
16
 
17
17
  ## Flow
18
18
 
19
19
  ```
20
- Step 0: RESEARCH Search competing projects on GitHub + Reddit, collect good ideas
21
- Step 1: SCAN Scan the project structure (files, LOC, dependencies, CI, tests)
22
- Step 2: ANALYZE In-depth analysis across 10 categories
23
- Step 3: SCORE Each category out of 10, total /100
24
- Step 4: PLAN List all improvements + competitor ideas in priority order
25
- Step 5: ASK "Shall I start developing?" - take approval from the user
26
- Step 6: IMPLEMENT Apply approved improvements in order (lint, test, commit)
27
- Step 7: VERIFY Confirm all tests + lint pass
28
- Step 8: ASK SYNC "Shall I run multi-agent-sync?" - take approval from the user
20
+ Step 0: BEST-PRACTICES Research the field, extract the best approaches, ADAPT them to our stack -> plan band A
21
+ Step 0b: DRIFT Check upstream-derived skills for updates we have not pulled -> plan band D
22
+ Step 1: SCAN Scan the project structure (files, LOC, dependencies, CI, tests)
23
+ Step 2: ANALYZE 10 categories + an explicit BUG HUNT (real defects, not just scores) -> plan bands B, C
24
+ 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 5: ASK "Shall I start developing?" - take approval
27
+ Step 6: IMPLEMENT Apply approved items in order (lint, test, commit)
28
+ Step 7: VERIFY Confirm all tests + lint pass
29
+ Step 8: ASK SYNC "Shall I run multi-agent-sync?" - take approval
29
30
  ```
30
31
 
31
- ## Step 0: RESEARCH - Competitor Analysis
32
+ Plan bands (all four feed the single Step 4 table):
33
+ - **A - Best-practice**: the best field approaches, adapted so they actually fit this repo.
34
+ - **B - Bug**: real defects found in the code (correctness, security, data-loss, crashes).
35
+ - **C - Improvement**: quality/perf/DX gaps surfaced by the 10-category analysis.
36
+ - **D - Drift**: upstream updates to skills we derived from an external source.
32
37
 
33
- Before starting development, research similar projects:
38
+ ## Step 0: BEST-PRACTICES - research the field, adapt to us
34
39
 
35
- 1. **GitHub Search**: `multi-agent pipeline AI development` + `Claude Code pipeline` + `AI coding agent`
36
- - Find repos with stars:>10
37
- - Read their READMEs
38
- - Extract unique features
39
- 2. **Reddit Search**: multi-agent discussions in `r/ClaudeAI`, `r/ChatGPT`, `r/LocalLLaMA`
40
- 3. **For each competitor, record**:
41
- - Unique features we do NOT have
42
- - Ideas worth adopting
43
- - Things they do better than us
44
- - Things we do better than them
45
- 4. **Include in the plan**: Add high-impact + low-effort ideas to the PLAN step (P1 priority)
40
+ Do not copy features blindly. The goal is the best *approaches*, reshaped so they are applicable to THIS project's stack, size, and constraints.
41
+
42
+ 1. **Identify the domain** (read README + package/build manifests): kind of project, stack, users.
43
+ 2. **Research the best-in-class** for that exact domain:
44
+ - **GitHub**: search the domain terms + `stars:>50`; read the top repos' READMEs, architecture docs, CI configs, test layout.
45
+ - **X / Twitter**: search the domain terms + "best practices" / "we switched to" / "lesson learned"; capture what practitioners recommend right now (WebFetch/WebSearch on `x.com` / `twitter.com` threads).
46
+ - **Reddit**: relevant subreddits for real-world pain points and adopted patterns.
47
+ - **Web**: "<domain> best practices <current-year>", official style guides, platform guidance.
48
+ 3. **For each candidate approach, record**: what it is + source, the concrete benefit, the **adaptation** (exactly how it looks in OUR repo: which file/dir/script and what changes), effort (L/M/H), impact (L/M/H/Critical).
49
+ 4. **Discard** approaches that do not fit our stack/scale/constraints - and say WHY.
50
+
51
+ Output (plan band A):
52
+ ```
53
+ | Source | Approach | Adaptation to our repo | Effort | Impact | In plan? |
54
+ |--------|----------|------------------------|--------|--------|----------|
55
+ | <repo> | <what> | <concrete change here> | Low | High | Yes (P1) |
56
+ | <repo> | <what> | does not fit: <reason> | - | - | No |
57
+ ```
58
+ Roll the high-impact + low/med-effort survivors into the Step 4 plan as band-A items.
59
+
60
+ ## Step 0b: DRIFT - upstream-derived skill check
61
+
62
+ Some skills/components in this project (or in the marketplace plugins it ships) were derived from an upstream source. Upstream keeps evolving - it fixes bugs and adds features. This step detects upstream drift so we can decide whether to pull the improvements back.
63
+
64
+ The upstream mapping is **configuration, never hardcoded** (it can reference private sources, so it stays out of the shipped skill). Read it from `~/.claude/multi-agent-preferences.json` at `global.derivedSkillSources` (an array). Each entry:
65
+
66
+ ```jsonc
67
+ {
68
+ "label": "<human name for this derivation>",
69
+ "localPath": "<repo-relative dir where our derived copy lives>",
70
+ "upstreamMarketplace": "<installed marketplace name>", // resolved under ~/.claude/plugins/cache/<marketplace>/
71
+ "upstreamPlugin": "<plugin name>",
72
+ "upstreamSkills": ["<skill-a>", "<skill-b>"], // the upstream skills we took
73
+ "derivedFromVersion": "<x.y.z>", // the version we last synced from
74
+ "upstreamRepoUrl": "<optional https url>" // used only if the marketplace is not installed locally
75
+ }
76
+ ```
77
+
78
+ Procedure:
79
+ 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).
84
+ 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.
87
+ 4. Emit the drift table (plan band D):
46
88
 
47
- Output format:
48
89
  ```
49
- | Source | Idea | Effort | Impact | Include in plan? |
50
- |--------|------|--------|--------|------------------|
51
- | ralph-loop | Symlink distribution | Low | High | Yes |
52
- | atelier | Persistent Brain | High | Very high | No (roadmap) |
90
+ | Derivation | Our copy (localPath) | Derived-from | Upstream now | Drift | What changed upstream |
91
+ |------------|----------------------|--------------|--------------|-------|-----------------------|
92
+ | <label> | <path> | 0.2.1 | 0.3.0 | YES | <changelog + diff summary> |
53
93
  ```
54
94
 
95
+ 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
+
55
97
  ## Step 1: SCAN
56
98
 
57
99
  ```
@@ -65,7 +107,9 @@ Output format:
65
107
  - Git status: branch count, last commit date, tags
66
108
  ```
67
109
 
68
- ## Step 2: ANALYZE - 10 Categories
110
+ ## Step 2: ANALYZE - 10 categories + BUG HUNT
111
+
112
+ ### 2a. 10 categories (quality lens)
69
113
 
70
114
  | # | Category | What is checked |
71
115
  |---|----------|-----------------|
@@ -80,6 +124,23 @@ Output format:
80
124
  | 9 | **Dependency Management** | Outdated deps, vulnerability scan, lockfile, version pinning |
81
125
  | 10 | **DevEx** | Onboarding time, script ergonomics, error messages, debug tooling |
82
126
 
127
+ ### 2b. BUG HUNT (real defects, not scores)
128
+
129
+ Category scores measure quality; they do not find the bug that ships. Run an explicit defect hunt IN ADDITION to the scoring:
130
+
131
+ - Dispatch focused review agents over the highest-risk surfaces: recently changed files, error/edge-path handling, concurrency, external input parsing, resource cleanup, off-by-one boundaries.
132
+ - For each candidate defect, record: **file:line**, the concrete failure scenario (inputs/state -> wrong output/crash), and severity.
133
+ - **Verify before reporting**: only list a bug you can trace to a real failure path; drop the plausible-but-unprovable ones.
134
+
135
+ Output (plan band B) - every confirmed defect becomes a P0/P1 item:
136
+ ```
137
+ | # | Severity | File:line | Defect | Failure scenario |
138
+ |---|----------|-----------|--------|------------------|
139
+ | 1 | Blocking | src/x.ts:42 | unchecked nil deref | empty response -> crash |
140
+ ```
141
+
142
+ Improvement areas surfaced by 2a that are not outright bugs become band-C items.
143
+
83
144
  ## Step 3: SCORE
84
145
 
85
146
  Each category is scored out of 10. Output format:
@@ -103,45 +164,46 @@ Each category is scored out of 10. Output format:
103
164
  +---------------------+-------+
104
165
  ```
105
166
 
106
- ## Step 4: PLAN
167
+ ## Step 4: PLAN - one merged, prioritized table
107
168
 
108
- List all the improvements found:
169
+ Merge all four bands into a single plan. Tag each row with its band (A best-practice / B bug / C improvement / D drift).
109
170
 
110
171
  ```
111
- | # | Priority | Category | Improvement | Impact |
112
- |---|----------|----------|-------------|--------|
113
- | 1 | P0 | Security | Remove hardcoded API key | Critical |
114
- | 2 | P0 | Testing | Missing edge case tests | High |
115
- | 3 | P1 | CI/CD | Add Node matrix | Medium |
116
- | 4 | P1 | Documentation | Functions missing JSDoc | Medium |
117
- | 5 | P2 | DevEx | npm script naming | Low |
172
+ | # | Priority | Band | Category | Item | Impact |
173
+ |---|----------|------|----------|------|--------|
174
+ | 1 | P0 | B | Security | Remove hardcoded API key (src/x:12) | Critical |
175
+ | 2 | P0 | B | Testing | Fix nil-deref on empty response (src/y:42) | High |
176
+ | 3 | P1 | A | CI/CD | Adopt matrix build (adapt: .github/workflows/ci.yml) | Medium |
177
+ | 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 |
118
179
  ```
119
180
 
120
181
  Priority levels:
121
182
  - **P0**: Bug, security hole, broken functionality - fix without fail
122
- - **P1**: Clear quality improvement - should be done
183
+ - **P1**: Clear quality improvement or high-value adopted best-practice / drift port - should be done
123
184
  - **P2**: Nice-to-have - if there is time
124
185
 
125
- ## Step 5: ASK - Approval from the User
186
+ ## Step 5: ASK - approval from the user
126
187
 
127
188
  After showing the plan, ask:
128
189
 
129
- > "I found X improvements (P0: N, P1: M, P2: K). Shall I start developing?"
190
+ > "I found X items (P0: N, P1: M, P2: K) across bugs, best-practices, improvements, and upstream drift. Shall I start developing?"
130
191
 
131
192
  Options:
132
193
  - "Yes, do all of them"
133
194
  - "Do only the P0 ones"
134
195
  - "Do only P0 + P1"
196
+ - "Only the bugs (band B)"
135
197
  - (the user can make a specific selection)
136
198
 
137
199
  **NEVER start developing without approval.**
138
200
 
139
201
  ## Step 6: IMPLEMENT
140
202
 
141
- Apply approved improvements in order:
203
+ Apply approved items in order:
142
204
 
143
- 1. For each improvement:
144
- - Make the change
205
+ 1. For each item:
206
+ - Make the change (for band D, port the upstream diff into `localPath`, then bump that entry's `derivedFromVersion`)
145
207
  - Run the relevant tests
146
208
  - If successful, move to the next
147
209
  - If it fails, revert and notify the user
@@ -167,7 +229,7 @@ echo "Test: PASS/FAIL (X/Y passed)"
167
229
 
168
230
  ## Step 8: ASK SYNC
169
231
 
170
- After all improvements are applied, ask:
232
+ After all approved items are applied, ask:
171
233
 
172
234
  > "Development complete. Shall I run multi-agent-sync?"
173
235
 
@@ -178,14 +240,17 @@ Options:
178
240
 
179
241
  ## Focus filter
180
242
 
181
- If $ARGUMENTS is specified, focus on that category only:
243
+ If $ARGUMENTS is specified, focus on that band/category only:
182
244
 
183
245
  | Input | Focus |
184
246
  |-------|-------|
247
+ | `bugs` | Bug hunt only (band B) |
248
+ | `best-practices` | Field research + adapted plan only (band A) |
249
+ | `drift` | Upstream derived-skill drift only (band D) |
185
250
  | `security` | Security analysis only |
186
251
  | `tests` | Test coverage and quality only |
187
252
  | `performance` | Performance optimization only |
188
253
  | `docs` | Documentation only |
189
254
  | `ci` | CI/CD pipeline only |
190
255
  | `deps` | Dependency updates only |
191
- | (empty) | All 10 categories (default) |
256
+ | (empty) | Everything (default) |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-sync
3
3
  language: en
4
- description: "One-shot sync of the entire multi-agent ecosystem: Claude Code, Copilot CLI, pipeline repo, website, and remote-control."
4
+ description: "One-shot sync of the entire multi-agent ecosystem: Claude Code, Copilot CLI, pipeline repo, and website."
5
5
  user-invocable: true
6
6
  argument-hint: 'release | "change description"'
7
7
  ---
@@ -10,35 +10,30 @@ argument-hint: 'release | "change description"'
10
10
 
11
11
  **Single command. Full ecosystem sync. No argument required.**
12
12
 
13
- When invoked, it synchronizes all 6 targets in order. It detects what changed, updates only the stale ones, and reports the result.
13
+ When invoked, it synchronizes all targets in order. It detects what changed, updates only the stale ones, and reports the result.
14
14
 
15
15
  **Input**: $ARGUMENTS (optional - `release` or a change description to apply to all targets)
16
16
 
17
- ## Targets (always all 6)
17
+ ## Targets
18
18
 
19
19
  | # | Target | Path | Direction |
20
20
  |---|-------|-----|-----|
21
- | 0 | Figma source (opt-in) | `prefs.global.figmaSource.path` -> `pipeline/skills/figma-ios/` + `figma-common/` | <- upstream |
22
21
  | 1 | Claude Code (source of truth) | `~/.claude/commands/multi-agent.md` + `~/.claude/commands/multi-agent/` + `~/.claude/agents/` + `~/.claude/scripts/` | source |
23
22
  | 2 | Copilot CLI | `~/.copilot/copilot-instructions.md` + `~/.copilot/skills/` | <- from Claude |
24
23
  | 3 | multi-agent-pipeline repo | `~/multi-agent-pipeline/pipeline/` | <- from Claude (genericized) |
25
24
  | 4 | Website | `{owner}/{website-host}` | <- version + features |
26
- | 5 | Remote Control | `{owner}/remote-control` | <- pipeline references |
27
25
 
28
26
  ## Default Behavior (no argument)
29
27
 
30
28
  Run all steps automatically:
31
29
 
32
30
  ```
33
- Step 0: FIGMA_SYNC (opt-in) pipeline/scripts/sync-figma-source.sh
34
- -- incremental pull from upstream if figmaSource.path is set
35
31
  Step 1: DETECT Compare timestamps, find stale targets
36
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 37 sub-command skills)
32
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 36 sub-command skills)
37
33
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub)
38
34
  Step 4: WEBSITE Version + phase/model counts -> {website-host} (i18n + projects.ts)
39
- Step 5: REMOTE Pipeline references -> remote-control README
40
- Step 6: Commit Commit + push all changed repos
41
- Step 7: Report Summary: synced targets, changed files, deploy status
35
+ Step 5: Commit Commit + push all changed repos
36
+ Step 6: Report Summary: synced targets, changed files, deploy status
42
37
  ```
43
38
 
44
39
  If nothing is stale -> report "All targets up to date" and stop.
@@ -118,22 +113,6 @@ git push origin main # Vercel auto-deploy
118
113
  ```
119
114
 
120
115
 
121
- ## Remote Control Sync (Step 5)
122
-
123
- ```bash
124
- REMOTE_DIR="$HOME/remote-control"
125
- [ ! -d "$REMOTE_DIR" ] && gh repo clone {owner}/remote-control "$REMOTE_DIR"
126
- cd "$REMOTE_DIR" && git pull origin main
127
- ```
128
-
129
- | File | To sync |
130
- |-------|--------------|
131
- | `README.md` | Pipeline feature description |
132
- | `src/index.ts` | Help text / chip labels (if any) |
133
-
134
- Update only if the pipeline's public-facing features changed.
135
-
136
-
137
116
  ## Release Flow
138
117
 
139
118
  When invoked with the `release` argument:
@@ -146,9 +125,8 @@ When invoked with the `release` argument:
146
125
  5. Commit + TAG git commit + git tag v{VERSION}
147
126
  6. PUSH git push --tags -> release.yml auto-publish
148
127
  7. WEBSITE Version + features -> {website-host}
149
- 8. REMOTE Update remote-control references
150
- 9. COPILOT Copilot CLI instructions + skills sync
151
- 10. Report Summary: version, touched repos, deploy status
128
+ 8. COPILOT Copilot CLI instructions + skills sync
129
+ 9. Report Summary: version, touched repos, deploy status
152
130
  ```
153
131
 
154
132
 
@@ -251,27 +251,27 @@ fun AppTheme(
251
251
 
252
252
  ```kotlin
253
253
  private val LightColorScheme = lightColorScheme(
254
- primary = Color(0xFFE31837),
254
+ primary = Color(0xFF6750A4),
255
255
  onPrimary = Color.White,
256
- primaryContainer = Color(0xFFFFDAD6),
257
- onPrimaryContainer = Color(0xFF410002),
258
- secondary = Color(0xFF775653),
256
+ primaryContainer = Color(0xFFEADDFF),
257
+ onPrimaryContainer = Color(0xFF21005D),
258
+ secondary = Color(0xFF625B71),
259
259
  onSecondary = Color.White,
260
- secondaryContainer = Color(0xFFFFDAD6),
261
- onSecondaryContainer = Color(0xFF2C1513),
262
- surface = Color(0xFFFFFBFF),
263
- onSurface = Color(0xFF201A19),
260
+ secondaryContainer = Color(0xFFE8DEF8),
261
+ onSecondaryContainer = Color(0xFF1D192B),
262
+ surface = Color(0xFFFFFBFE),
263
+ onSurface = Color(0xFF1C1B1F),
264
264
  error = Color(0xFFBA1A1A),
265
265
  onError = Color.White,
266
266
  )
267
267
 
268
268
  private val DarkColorScheme = darkColorScheme(
269
- primary = Color(0xFFFFB4AB),
270
- onPrimary = Color(0xFF690005),
271
- primaryContainer = Color(0xFF93000A),
272
- onPrimaryContainer = Color(0xFFFFDAD6),
273
- surface = Color(0xFF201A19),
274
- onSurface = Color(0xFFEDE0DE),
269
+ primary = Color(0xFFD0BCFF),
270
+ onPrimary = Color(0xFF381E72),
271
+ primaryContainer = Color(0xFF4F378B),
272
+ onPrimaryContainer = Color(0xFFEADDFF),
273
+ surface = Color(0xFF1C1B1F),
274
+ onSurface = Color(0xFFE6E1E5),
275
275
  )
276
276
  ```
277
277
 
@@ -3,7 +3,7 @@
3
3
  > Auto-generated by `pipeline/scripts/build-skills-index.mjs` - do not hand-edit.
4
4
  > Regenerate with `node pipeline/scripts/build-skills-index.mjs`.
5
5
 
6
- **228 skills** across 5 groups.
6
+ **187 skills** across 2 groups.
7
7
 
8
8
  | Group | Name | Platform | Description |
9
9
  |-------|------|----------|-------------|
@@ -56,42 +56,6 @@
56
56
  | external | `energykit` | - | Query grid electricity forecasts and submit load events using EnergyKit to help users optimize home electricity usage. Use when building sma |
57
57
  | external | `eventkit-calendar` | - | Create, read, and manage calendar events and reminders using EventKit and EventKitUI. Use when adding events to the user's calendar, creatin |
58
58
  | external | `fastapi-pro` | - | Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async p |
59
- | figma-common | `figma-bottom-sheets` | - | Bottom-sheet / detent pattern integration for Figma-to-UI components (iOS SwiftUI + Android Jetpack Compose) — half-sheets, drawers, pinned |
60
- | figma-common | `figma-cli-iterate` | - | Runs the complete Figma-to-SwiftUI pipeline for one or more issues: pick → start → implement (phases 0-7) → commit. Returns a structured `OR |
61
- | figma-common | `figma-cli-iterate-mend` | - | Runs the complete Figma-to-SwiftUI mend pipeline for a single issue whose component already exists under `Discarded/` and must be re-impleme |
62
- | figma-common | `figma-cli-lean-iterate` | - | Runs a lean Figma-to-SwiftUI pipeline for one or more issues: pick → start → implement (phases 0-4) → code connect (phase 6) → commit. Skips |
63
- | figma-common | `figma-cli-skip` | - | CLI variant of /figma-skip - fetches origin iteration/develop on mobile-common, marks a Figma component as skipped in the registry, commit |
64
- | figma-common | `figma-commit` | - | Reviews a Figma component implementation, then creates feature branches across submodules, commits, pushes, and opens PRs. Delegates mobile- |
65
- | figma-android | `figma-component-code-connect` | android | Generate Code Connect for Compose mappings - {Name}.figma.kt registers the composable with Figma's Code Connect so designers see live code |
66
- | figma-ios | `figma-component-code-connect` | ios | Figma Code Connect mapping publisher for implemented SwiftUI components. Creates + publishes .figma.swift registration for a component alrea |
67
- | figma-common | `figma-component-confluence-sync` | - | Syncs component documentation from the GitHub Wiki (source of truth) to Confluence. Reads wiki markdown, converts to Confluence XHTML, uploa |
68
- | figma-android | `figma-component-implement` | android | Generate a Jetpack Compose component (Configuration data class + Composable + Modifier extensions + Preview + README) from gathered Figma da |
69
- | figma-ios | `figma-component-implement` | ios | Figma → SwiftUI implementation for a single component. Runs Phases 0-4 of the figma-to-swiftui pipeline (init, data gathering, analysis, cod |
70
- | figma-common | `figma-component-start` | - | Reads a GitHub Issue, extracts component metadata, creates feature branches from `develop` (main repo) / `iteration/develop` (submodules), a |
71
- | figma-common | `figma-component-status-update` | - | Refreshes the global Component Implementation Status dashboard on Confluence. |
72
- | figma-android | `figma-component-test` | android | Generate Compose Testing + Paparazzi/Roborazzi snapshot + unit tests for a Jetpack Compose component. Android peer to pipeline/skills/figma- |
73
- | figma-ios | `figma-component-test` | ios | Test generator + runner for implemented SwiftUI Figma components. Produces ViewInspector structural tests, snapshot tests, and XCTest unit t |
74
- | figma-android | `figma-component-wiki` | android | Component wiki generation for Android. Dispatches to the same 4-mode adapter set as the iOS peer (submodule / in-repo / github-wiki / separa |
75
- | figma-ios | `figma-component-wiki` | - | Generate component wiki documentation with a pluggable adapter. Reads component source + FIGMA.md, renders markdown, then delegates publicat |
76
- | figma-common | `figma-evolve-component` | - | On-demand reconcile-and-extend for an ALREADY-implemented UI component (iOS SwiftUI or Android Jetpack Compose). Heals drift from current Fi |
77
- | figma-common | `figma-fix` | - | Applies a targeted fix for a bug filed during component review (via `/figma-review`), re-runs affected pipeline phases, closes the bug sub-i |
78
- | figma-common | `figma-form-integration` | - | Form pattern integration for Figma-to-SwiftUI components. Guides FormSection/FormField adoption - when a component embeds form-capable sub |
79
- | figma-common | `figma-issue` | - | Creates and manages GitHub Issues for Figma component implementations. |
80
- | figma-common | `figma-iterate` | - | Picks the next available component issue and runs the full pipeline end-to-end: start → implement → commit. Loops until no more issues are a |
81
- | figma-common | `figma-iteration-commit` | - | NEVER create branches on the main repo (REPO_ROOT). Do not create `iteration/develop` or any other branch on the main repo. Do not commit to |
82
- | figma-common | `figma-mend` | - | Re-implements discarded components from scratch using the figma-to-swiftui workflow, preserving old implementation as complementary referenc |
83
- | figma-common | `figma-navigation` | - | Navigation pattern integration for Figma-to-UI components (iOS SwiftUI + Android Jetpack Compose). Guides how a component reaches other scre |
84
- | figma-common | `figma-overlays` | - | Overlay pattern integration for Figma-to-UI components (iOS SwiftUI + Android Jetpack Compose) — toasts/snackbars, blocking loading HUDs, al |
85
- | figma-common | `figma-price-integration` | - | Price pattern integration for Figma-to-SwiftUI components. Guides PriceRepresentable protocol adoption when a component displays price data. |
86
- | figma-common | `figma-remote-mcp-auth` | - | Runs Figma Remote MCP OAuth flow to obtain and store a token in macOS Keychain. Requires OAuth client credentials. |
87
- | figma-common | `figma-review` | - | Guided review session for a Figma component implementation. Resolves the component, finds or creates the GitHub issue, shows relevant code, |
88
- | figma-common | `figma-setup` | - | One-time environment setup for Figma-to-SwiftUI workflow. Verifies MCP connectivity, API credentials, Code Connect CLI, and FigmaRegistryUti |
89
- | figma-common | `figma-skip` | - | Marks a Figma component as skipped in the component registry and updates the Confluence status dashboard. |
90
- | figma-android | `figma-to-component` | android | Figma-to-Compose component implementation workflow for Android. Takes a Figma URL and produces a production-ready Jetpack Compose component |
91
- | figma-ios | `figma-to-component` | - | Figma-to-SwiftUI component implementation workflow. Takes a Figma URL and produces a production-ready SwiftUI component through 8 phases - |
92
- | figma-common | `figma-ui-patterns` | - | Index of reusable SwiftUI UI-pattern guides (carousels, scroll tricks, animations, shaped views like scallops, pagers, parallax, gestures). |
93
- | figma-common | `figma-utility` | - | On-demand Figma data utility. Fetch screenshots, metadata, properties, tokens, design context, Code Connect mappings, node data, component l |
94
- | figma-common | `figma-validate` | - | Pre-implementation validation for Figma components. Checks 7 criteria: (1) Registry presence, (2) Code Connect strategy, (3) Design token co |
95
59
  | external | `firebase` | - | You're a developer who has shipped dozens of Firebase projects. You've seen the \"easy\" path lead to security breaches, runaway costs, and |
96
60
  | external | `github-actions-templates` | - | Production-ready GitHub Actions workflow patterns for testing, building, and deploying applications. |
97
61
  | core | `google-play-compliance` | - | Google Play Store publication compliance - bundletool + aapt2 + apksigner orchestration + 21-rule policy catalog with Play Console error c |
@@ -158,7 +122,7 @@
158
122
  | core | `multi-agent-setup` | - | First-run setup wizard: keychain token discovery, Git Identity onboarding, and pipeline preparation. |
159
123
  | core | `multi-agent-stack` | - | Select the active stack for this repo by enabling the matching marketplace plugin(s) in .claude/settings.json (ios/android/mobile/backend/fr |
160
124
  | core | `multi-agent-status` | - | Show every multi-agent task's ID, phase, branch, and status. |
161
- | core | `multi-agent-sync` | - | One-shot sync of the entire multi-agent ecosystem: Claude Code, Copilot CLI, pipeline repo, website, and remote-control. |
125
+ | core | `multi-agent-sync` | - | One-shot sync of the entire multi-agent ecosystem: Claude Code, Copilot CLI, pipeline repo, and website. |
162
126
  | core | `multi-agent-test` | - | UI Bug Hunter - iOS Simulator (simctl) + Android Emulator (adb). Auto-detects platform. Screenshot + tap + analyze on the booted device. T |
163
127
  | core | `multi-agent-update` | - | Update the pipeline to the latest version: git pull, install, migrate. |
164
128
  | external | `musickit-audio` | - | Integrate Apple Music playback, catalog search, and Now Playing metadata using MusicKit and MediaPlayer. Use when adding music search, Apple |
@@ -169,11 +133,6 @@
169
133
  | external | `passkit-wallet` | - | Integrate Apple Pay payments and Wallet passes using PassKit. Use when adding Apple Pay buttons, creating payment requests, handling payment |
170
134
  | external | `pdfkit` | - | Display and manipulate PDF documents using PDFKit. Use when embedding PDFView to show PDF files, creating or modifying PDFDocument instances |
171
135
  | external | `pencilkit-drawing` | - | Add Apple Pencil drawing with PKCanvasView, PKToolPicker, PKDrawing serialization/export, stroke inspection, and PencilKit/PaperKit handoffs |
172
- | figma-common | `performance-iteration-commit-all` | - | Reads `_tour_tracker.json`, validates all reviewed components in a single build+test cycle, pushes all local commits in a single push per su |
173
- | figma-common | `performance-review-next` | - | Reads `_tour_tracker.json`, presents a dashboard of produced components, and guides the user through reviewing each one. Fix commits are sep |
174
- | figma-common | `performance-start` | - | Identical to `/figma-to-swift-ui-start` for Steps 0-5. After printing the summary (Step 6), automatically invokes `/performance-swiftui <fig |
175
- | figma-common | `performance-swiftui` | - | Performance-optimized Figma-to-SwiftUI workflow. Same phases as figma-to-swiftui but with model downgrades on deterministic phases, parallel |
176
- | figma-common | `performance-tour` | - | Produces multiple Figma components in a single session. Validates dependencies, determines implementation order, produces each component seq |
177
136
  | external | `permissionkit` | - | Create child communication safety experiences using PermissionKit to request parental permission for children. Use when building apps that i |
178
137
  | external | `photos-camera-media` | - | Implement, review, or improve photo picking, camera capture, and media handling in iOS apps using PhotoKit and AVFoundation. Use when workin |
179
138
  | external | `play-store-review` | - | Prepare Android apps for Google Play Store review and compliance. Covers Google Play policy requirements, content rating questionnaire, targ |