@mmerterden/multi-agent-pipeline 20.37.0 → 20.38.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 (469) hide show
  1. package/CHANGELOG.md +123 -49
  2. package/README.md +12 -10
  3. package/README.tr.md +12 -10
  4. package/docs/adr/0006-skills-core-external-split.md +5 -5
  5. package/docs/adr/0010-own-code-graph.md +6 -7
  6. package/docs/adr/0013-lsp-code-intelligence.md +6 -8
  7. package/docs/adr/0017-change-impact-from-the-graph.md +4 -5
  8. package/docs/adr/0018-cross-repo-links-not-a-global-graph.md +1 -1
  9. package/docs/adr/README.md +1 -1
  10. package/docs/ecosystem.md +53 -41
  11. package/docs/facts.json +15 -13
  12. package/docs/features.md +2 -2
  13. package/docs/recovery-guide.md +1 -1
  14. package/install/_dev-only-files.mjs +3 -0
  15. package/install/_platform-filter.mjs +1 -23
  16. package/install/catalog-history.json +1 -1
  17. package/install/claude.mjs +8 -1
  18. package/install/codex.mjs +0 -2
  19. package/install/copilot.mjs +0 -2
  20. package/install/templates/claude-hooks.json +47 -1
  21. package/manifest.json +455 -332
  22. package/package.json +5 -2
  23. package/pipeline/agents/security-auditor.md +58 -6
  24. package/pipeline/commands/multi-agent/build-optimize/SKILL.md +1 -2
  25. package/pipeline/commands/multi-agent/complaint-analysis/SKILL.md +1 -1
  26. package/pipeline/commands/multi-agent/design-check/SKILL.md +1 -1
  27. package/pipeline/commands/multi-agent/graph/SKILL.md +12 -3
  28. package/pipeline/commands/multi-agent/manual-test/SKILL.md +12 -7
  29. package/pipeline/commands/multi-agent/research/SKILL.md +2 -2
  30. package/pipeline/commands/multi-agent/search/SKILL.md +10 -1
  31. package/pipeline/commands/multi-agent/security-review/SKILL.md +4 -0
  32. package/pipeline/commands/multi-agent/setup/SKILL.md +1 -0
  33. package/pipeline/commands/multi-agent/stack/SKILL.md +8 -0
  34. package/pipeline/commands/multi-agent/store-ready/SKILL.md +1 -1
  35. package/pipeline/commands/sim-test.md +34 -1
  36. package/pipeline/lib/context-budget.mjs +103 -0
  37. package/pipeline/lib/credential-inventory.sh +2 -3
  38. package/pipeline/lib/identifier-scan.mjs +145 -0
  39. package/pipeline/lib/outbound-gate.mjs +28 -1
  40. package/pipeline/lib/unattended-profile-check.mjs +13 -4
  41. package/pipeline/multi-agent-refs/analysis/locked.md +1 -1
  42. package/pipeline/multi-agent-refs/analysis/redesign.md +17 -3
  43. package/pipeline/multi-agent-refs/analysis-template-corporate.md +8 -4
  44. package/pipeline/multi-agent-refs/analysis-template.md +7 -5
  45. package/pipeline/multi-agent-refs/audit-guide.md +20 -0
  46. package/pipeline/multi-agent-refs/complaint-analysis/phases.md +1 -0
  47. package/pipeline/multi-agent-refs/features/autopilot-circuit-breaker.md +1 -1
  48. package/pipeline/multi-agent-refs/features/code-graph.md +25 -0
  49. package/pipeline/multi-agent-refs/features/commit-multi-repo.md +63 -0
  50. package/pipeline/multi-agent-refs/features/design-conformance.md +20 -4
  51. package/pipeline/multi-agent-refs/features/dev-multi-repo.md +51 -0
  52. package/pipeline/multi-agent-refs/features/free-models.md +10 -3
  53. package/pipeline/multi-agent-refs/features/research.md +4 -3
  54. package/pipeline/multi-agent-refs/features/security-audit.md +25 -3
  55. package/pipeline/multi-agent-refs/features/test-gap.md +40 -0
  56. package/pipeline/multi-agent-refs/features/unattended-security.md +20 -0
  57. package/pipeline/multi-agent-refs/features/worktree-finalize.md +1 -1
  58. package/pipeline/multi-agent-refs/help/en.md +15 -9
  59. package/pipeline/multi-agent-refs/help/tr.md +15 -9
  60. package/pipeline/multi-agent-refs/knowledge.md +17 -0
  61. package/pipeline/multi-agent-refs/orchestrator/phase-3-user-test.md +12 -9
  62. package/pipeline/multi-agent-refs/outside-the-pipeline.md +9 -0
  63. package/pipeline/multi-agent-refs/phases/log-format.md +5 -0
  64. package/pipeline/multi-agent-refs/phases/operations.md +3 -5
  65. package/pipeline/multi-agent-refs/phases/phase-1-plan.md +4 -4
  66. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +8 -47
  67. package/pipeline/multi-agent-refs/phases/phase-3-review.md +21 -65
  68. package/pipeline/multi-agent-refs/phases/phase-4-commit.md +9 -59
  69. package/pipeline/multi-agent-refs/phases/phase-5-report.md +0 -31
  70. package/pipeline/multi-agent-refs/picker-contract.md +1 -1
  71. package/pipeline/multi-agent-refs/research/engine.md +2 -1
  72. package/pipeline/multi-agent-refs/rules.md +1 -1
  73. package/pipeline/multi-agent-refs/setup/free-models.md +10 -0
  74. package/pipeline/multi-agent-refs/store-ready/gate-3-policy.md +15 -0
  75. package/pipeline/multi-agent-refs/web-guide.md +2 -1
  76. package/pipeline/office/index.html +8 -9
  77. package/pipeline/office/toolkit.json +1 -1
  78. package/pipeline/rules/figma-pipeline.md +6 -3
  79. package/pipeline/rules/outside-the-pipeline.md +1 -1
  80. package/pipeline/schemas/learnings-ledger.schema.json +7 -2
  81. package/pipeline/schemas/prefs.schema.json +17 -4
  82. package/pipeline/schemas/reviewer-output.schema.json +113 -5
  83. package/pipeline/schemas/secret-patterns.json +49 -0
  84. package/pipeline/schemas/security-finding.schema.json +49 -5
  85. package/pipeline/scripts/_code-graph.mjs +3 -3
  86. package/pipeline/scripts/_graph-analysis.mjs +51 -0
  87. package/pipeline/scripts/_memory-policy.mjs +37 -7
  88. package/pipeline/scripts/_secret-scan.mjs +1 -1
  89. package/pipeline/scripts/_skill-practices.mjs +178 -0
  90. package/pipeline/scripts/_stack-routing.mjs +1 -0
  91. package/pipeline/scripts/autopilot-runner.mjs +8 -3
  92. package/pipeline/scripts/build-stack-plugins.mjs +8 -44
  93. package/pipeline/scripts/capture-resume.sh +19 -0
  94. package/pipeline/scripts/checkpoint-fold.sh +59 -0
  95. package/pipeline/scripts/file-context.mjs +306 -70
  96. package/pipeline/scripts/gate-ledger.mjs +1 -1
  97. package/pipeline/scripts/gen-skills-index.mjs +1 -1
  98. package/pipeline/scripts/graph-hint.mjs +197 -0
  99. package/pipeline/scripts/graph-hint.sh +20 -0
  100. package/pipeline/scripts/graph-query.mjs +306 -11
  101. package/pipeline/scripts/graph-report.mjs +29 -1
  102. package/pipeline/scripts/learnings-ledger.mjs +71 -15
  103. package/pipeline/scripts/note-agent-event.mjs +160 -0
  104. package/pipeline/scripts/note-agent-event.sh +19 -0
  105. package/pipeline/scripts/office-control.mjs +41 -15
  106. package/pipeline/scripts/offload-ref.sh +1 -1
  107. package/pipeline/scripts/parity-score.mjs +139 -0
  108. package/pipeline/scripts/pre-commit-check.sh +25 -4
  109. package/pipeline/scripts/pre-push-check.sh +3 -0
  110. package/pipeline/scripts/repo-recommend.mjs +321 -0
  111. package/pipeline/scripts/rework-rulings.mjs +5 -3
  112. package/pipeline/scripts/scan-agent-config.sh +1 -2
  113. package/pipeline/scripts/scope-check-gate.mjs +15 -2
  114. package/pipeline/scripts/security-evidence-gate.mjs +282 -0
  115. package/pipeline/scripts/unattended_policy.py +3 -2
  116. package/pipeline/scripts/user-test-handoff.sh +203 -0
  117. package/pipeline/scripts/validate-analysis-doc.mjs +17 -1
  118. package/pipeline/scripts/validate-planning.mjs +5 -3
  119. package/pipeline/scripts/validate-triage.mjs +2 -1
  120. package/pipeline/scripts/write-state.mjs +13 -4
  121. package/pipeline/skills/.skill-manifest.json +73 -69
  122. package/pipeline/skills/shared/README.md +41 -40
  123. package/pipeline/skills/shared/core/apple-archive-compliance/SKILL.md +6 -6
  124. package/pipeline/skills/shared/core/apple-archive-compliance/references/examples.md +1 -1
  125. package/pipeline/skills/shared/core/apple-archive-compliance/references/version-history.md +1 -1
  126. package/pipeline/skills/shared/core/google-play-compliance/SKILL.md +1 -1
  127. package/pipeline/skills/shared/core/google-play-compliance/references/notes.md +1 -1
  128. package/pipeline/skills/shared/core/multi-agent/SKILL.md +1 -1
  129. package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +0 -1
  130. package/pipeline/skills/shared/core/multi-agent-complaint-analysis/SKILL.md +1 -1
  131. package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +5 -5
  132. package/pipeline/skills/shared/core/multi-agent-graph/SKILL.md +10 -0
  133. package/pipeline/skills/shared/core/multi-agent-manual-test/SKILL.md +12 -7
  134. package/pipeline/skills/shared/core/multi-agent-research/SKILL.md +2 -2
  135. package/pipeline/skills/shared/core/multi-agent-search/SKILL.md +9 -0
  136. package/pipeline/skills/shared/core/multi-agent-security-review/SKILL.md +3 -2
  137. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +1 -0
  138. package/pipeline/skills/shared/core/multi-agent-stack/SKILL.md +8 -0
  139. package/pipeline/skills/shared/core/multi-agent-store-ready/SKILL.md +4 -3
  140. package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +1 -1
  141. package/pipeline/skills/shared/core/multi-agent-test-accessibility/SKILL.md +1 -1
  142. package/pipeline/skills/shared/core/multi-agent-test-dark-mode/SKILL.md +1 -1
  143. package/pipeline/skills/shared/core/multi-agent-test-dynamic-type/SKILL.md +1 -1
  144. package/pipeline/skills/shared/core/multi-agent-test-gen/SKILL.md +1 -1
  145. package/pipeline/skills/shared/core/multi-agent-test-screenshots/SKILL.md +1 -1
  146. package/pipeline/skills/shared/core/multi-agent-testflight-validation/SKILL.md +2 -2
  147. package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/evals/evals.json +44 -0
  148. package/pipeline/skills/shared/external/agent-introspection-debugging/evals/evals.json +42 -0
  149. package/pipeline/skills/shared/external/android-architecture/SKILL.md +1 -1
  150. package/pipeline/skills/shared/external/android-architecture/evals/evals.json +45 -0
  151. package/pipeline/skills/shared/external/android-build-quality-gates/evals/evals.json +45 -0
  152. package/pipeline/skills/shared/external/android-datastore/evals/evals.json +45 -0
  153. package/pipeline/skills/shared/external/android-design-tokens-codegen/evals/evals.json +43 -0
  154. package/pipeline/skills/shared/external/android-jetpack-compose-expert/evals/evals.json +43 -0
  155. package/pipeline/skills/shared/external/android-mvi-viewmodel/evals/evals.json +45 -0
  156. package/pipeline/skills/shared/external/android-performance/SKILL.md +1 -1
  157. package/pipeline/skills/shared/external/android-performance/evals/evals.json +44 -0
  158. package/pipeline/skills/shared/external/android-security/SKILL.md +1 -1
  159. package/pipeline/skills/shared/external/android-security/evals/evals.json +45 -0
  160. package/pipeline/skills/shared/external/api-patterns/evals/evals.json +43 -0
  161. package/pipeline/skills/shared/external/api-security-best-practices/evals/evals.json +44 -0
  162. package/pipeline/skills/shared/external/app-store-changelog/SKILL.md +65 -49
  163. package/pipeline/skills/shared/external/app-store-changelog/evals/evals.json +40 -0
  164. package/pipeline/skills/shared/external/app-store-changelog/references/release-notes-guidelines.md +64 -34
  165. package/pipeline/skills/shared/external/app-store-changelog/scripts/collect_release_changes.sh +21 -23
  166. package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +4 -1
  167. package/pipeline/skills/shared/external/app-store-review/SKILL.md +6 -0
  168. package/pipeline/skills/shared/external/architecture/evals/evals.json +42 -0
  169. package/pipeline/skills/shared/external/backlog/evals/evals.json +42 -0
  170. package/pipeline/skills/shared/external/ci-cd-pipelines/evals/evals.json +44 -0
  171. package/pipeline/skills/shared/external/clean-code/evals/evals.json +45 -0
  172. package/pipeline/skills/shared/external/compose-components/SKILL.md +1 -1
  173. package/pipeline/skills/shared/external/compose-components/evals/evals.json +44 -0
  174. package/pipeline/skills/shared/external/compose-navigation/SKILL.md +1 -1
  175. package/pipeline/skills/shared/external/compose-navigation/evals/evals.json +43 -0
  176. package/pipeline/skills/shared/external/compose-testing/SKILL.md +1 -1
  177. package/pipeline/skills/shared/external/compose-testing/evals/evals.json +44 -0
  178. package/pipeline/skills/shared/external/context-compression/evals/evals.json +43 -0
  179. package/pipeline/skills/shared/external/core-data/SKILL.md +1 -1
  180. package/pipeline/skills/shared/external/council/evals/evals.json +41 -0
  181. package/pipeline/skills/shared/external/css-modern/evals/evals.json +44 -0
  182. package/pipeline/skills/shared/external/css-modern/references/code-examples.md +5 -0
  183. package/pipeline/skills/shared/external/database-patterns/evals/evals.json +46 -0
  184. package/pipeline/skills/shared/external/database-patterns/references/orm-examples.md +5 -0
  185. package/pipeline/skills/shared/external/debugging-strategies/evals/evals.json +43 -0
  186. package/pipeline/skills/shared/external/docker-expert/evals/evals.json +45 -0
  187. package/pipeline/skills/shared/external/e2e-testing/SKILL.md +21 -21
  188. package/pipeline/skills/shared/external/e2e-testing/evals/evals.json +44 -0
  189. package/pipeline/skills/shared/external/e2e-testing/references/document-fixtures.md +5 -5
  190. package/pipeline/skills/shared/external/evidence-github/evals/evals.json +41 -0
  191. package/pipeline/skills/shared/external/evidence-registry/SKILL.md +1 -1
  192. package/pipeline/skills/shared/external/evidence-registry/evals/evals.json +41 -0
  193. package/pipeline/skills/shared/external/fastapi-pro/evals/evals.json +57 -0
  194. package/pipeline/skills/shared/external/firebase/SKILL.md +132 -54
  195. package/pipeline/skills/shared/external/firebase/evals/evals.json +42 -0
  196. package/pipeline/skills/shared/external/firebase/references/functions-and-products.md +51 -0
  197. package/pipeline/skills/shared/external/firebase/references/security-rules.md +59 -0
  198. package/pipeline/skills/shared/external/fix-review-verdicts/evals/evals.json +57 -0
  199. package/pipeline/skills/shared/external/free-llm-apis/SKILL.md +70 -0
  200. package/pipeline/skills/shared/external/free-llm-apis/evals/evals.json +44 -0
  201. package/pipeline/skills/shared/external/free-llm-apis/references/providers.md +33 -0
  202. package/pipeline/skills/shared/external/github-actions-templates/evals/evals.json +44 -0
  203. package/pipeline/skills/shared/external/gradle-kotlin-dsl/SKILL.md +1 -1
  204. package/pipeline/skills/shared/external/gradle-kotlin-dsl/evals/evals.json +58 -0
  205. package/pipeline/skills/shared/external/handle-request/SKILL.md +2 -2
  206. package/pipeline/skills/shared/external/handle-request/evals/evals.json +44 -0
  207. package/pipeline/skills/shared/external/hig-app-icons/SKILL.md +2 -2
  208. package/pipeline/skills/shared/external/hig-app-icons/references/icon-workflow.md +1 -1
  209. package/pipeline/skills/shared/external/hig-components-content/evals/evals.json +43 -0
  210. package/pipeline/skills/shared/external/hig-components-status/evals/evals.json +43 -0
  211. package/pipeline/skills/shared/external/hig-components-system/evals/evals.json +43 -0
  212. package/pipeline/skills/shared/external/hig-inputs/evals/evals.json +44 -0
  213. package/pipeline/skills/shared/external/hig-patterns/evals/evals.json +46 -0
  214. package/pipeline/skills/shared/external/hig-platforms/evals/evals.json +45 -0
  215. package/pipeline/skills/shared/external/hig-technologies/evals/evals.json +44 -0
  216. package/pipeline/skills/shared/external/html-semantic/evals/evals.json +46 -0
  217. package/pipeline/skills/shared/external/humanizer/evals/evals.json +46 -0
  218. package/pipeline/skills/shared/external/ios-coding-standard/evals/evals.json +44 -0
  219. package/pipeline/skills/shared/external/ios-debugger-agent/SKILL.md +91 -52
  220. package/pipeline/skills/shared/external/ios-debugger-agent/evals/evals.json +41 -0
  221. package/pipeline/skills/shared/external/ios-design-review/SKILL.md +12 -12
  222. package/pipeline/skills/shared/external/ios-design-review/references/appearance-matrix.md +16 -16
  223. package/pipeline/skills/shared/external/ios-design-review/references/checklist.md +1 -1
  224. package/pipeline/skills/shared/external/ios-iphone-duo/SKILL.md +0 -1
  225. package/pipeline/skills/shared/external/ios-module-structure/evals/evals.json +42 -0
  226. package/pipeline/skills/shared/external/ios-security/SKILL.md +1 -1
  227. package/pipeline/skills/shared/external/ios-security/evals/evals.json +45 -0
  228. package/pipeline/skills/shared/external/kotlin-coroutines-expert/evals/evals.json +43 -0
  229. package/pipeline/skills/shared/external/localization-reuse-map/evals/evals.json +45 -0
  230. package/pipeline/skills/shared/external/macos-menubar-tuist-app/SKILL.md +170 -74
  231. package/pipeline/skills/shared/external/macos-menubar-tuist-app/evals/evals.json +52 -0
  232. package/pipeline/skills/shared/external/macos-spm-app-packaging/SKILL.md +119 -77
  233. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/Package.swift +5 -5
  234. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/Sources/MyApp/MyApp.swift +24 -0
  235. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/version.env +2 -0
  236. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/build_icon.sh +46 -39
  237. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/compile_and_run.sh +70 -49
  238. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/launch.sh +24 -17
  239. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/make_appcast.sh +74 -59
  240. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/package_app.sh +201 -170
  241. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/setup_dev_signing.sh +50 -42
  242. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/sign-and-notarize.sh +65 -35
  243. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/version.env +2 -0
  244. package/pipeline/skills/shared/external/macos-spm-app-packaging/evals/evals.json +45 -0
  245. package/pipeline/skills/shared/external/macos-spm-app-packaging/references/packaging.md +49 -17
  246. package/pipeline/skills/shared/external/macos-spm-app-packaging/references/release.md +48 -23
  247. package/pipeline/skills/shared/external/macos-spm-app-packaging/references/scaffold.md +74 -44
  248. package/pipeline/skills/shared/external/monorepo-architect/evals/evals.json +45 -0
  249. package/pipeline/skills/shared/external/nextjs-app-router/SKILL.md +14 -3
  250. package/pipeline/skills/shared/external/nextjs-app-router/evals/evals.json +43 -0
  251. package/pipeline/skills/shared/external/nextjs-app-router/references/app-router-examples.md +3 -0
  252. package/pipeline/skills/shared/external/nodejs-backend-patterns/evals/evals.json +45 -0
  253. package/pipeline/skills/shared/external/observability-engineer/evals/evals.json +45 -0
  254. package/pipeline/skills/shared/external/passkit-wallet/SKILL.md +10 -0
  255. package/pipeline/skills/shared/external/photos-camera-media/evals/evals.json +45 -0
  256. package/pipeline/skills/shared/external/play-store-review/evals/evals.json +45 -0
  257. package/pipeline/skills/shared/external/python-patterns/evals/evals.json +46 -0
  258. package/pipeline/skills/shared/external/react-best-practices/evals/evals.json +43 -0
  259. package/pipeline/skills/shared/external/rest-api-design/evals/evals.json +46 -0
  260. package/pipeline/skills/shared/external/retrofit-networking/SKILL.md +1 -1
  261. package/pipeline/skills/shared/external/retrofit-networking/evals/evals.json +43 -0
  262. package/pipeline/skills/shared/external/room-database/SKILL.md +1 -1
  263. package/pipeline/skills/shared/external/room-database/evals/evals.json +43 -0
  264. package/pipeline/skills/shared/external/scenario-gap-analysis/SKILL.md +1 -1
  265. package/pipeline/skills/shared/external/scenario-gap-analysis/evals/evals.json +43 -0
  266. package/pipeline/skills/shared/external/search-first/evals/evals.json +42 -0
  267. package/pipeline/skills/shared/external/security-review/SKILL.md +14 -3
  268. package/pipeline/skills/shared/external/security-review/evals/evals.json +48 -0
  269. package/pipeline/skills/shared/external/security-review/references/agentic-systems.md +93 -0
  270. package/pipeline/skills/shared/external/security-review/references/firebase-rules.md +100 -0
  271. package/pipeline/skills/shared/external/security-review/references/graphql.md +82 -0
  272. package/pipeline/skills/shared/external/security-review/references/llm-prompt-injection.md +93 -0
  273. package/pipeline/skills/shared/external/security-review/references/oauth-oidc.md +100 -0
  274. package/pipeline/skills/shared/external/security-review/references/owasp-mobile-top10-2024.md +1 -1
  275. package/pipeline/skills/shared/external/security-review/references/owasp-web-api-top10-2021.md +1 -1
  276. package/pipeline/skills/shared/external/security-review/references/supabase.md +73 -0
  277. package/pipeline/skills/shared/external/signal-community/SKILL.md +29 -10
  278. package/pipeline/skills/shared/external/signal-community/evals/evals.json +42 -0
  279. package/pipeline/skills/shared/external/skill-creator/evals/evals.json +43 -0
  280. package/pipeline/skills/shared/external/skill-creator/template.md +1 -3
  281. package/pipeline/skills/shared/external/spm-build-analysis/SKILL.md +80 -61
  282. package/pipeline/skills/shared/external/spm-build-analysis/evals/evals.json +56 -0
  283. package/pipeline/skills/shared/external/spm-build-analysis/references/build-optimization-sources.md +83 -133
  284. package/pipeline/skills/shared/external/spm-build-analysis/references/recommendation-format.md +41 -40
  285. package/pipeline/skills/shared/external/spm-build-analysis/references/spm-analysis-checks.md +89 -87
  286. package/pipeline/skills/shared/external/spm-build-analysis/scripts/check_spm_pins.py +90 -85
  287. package/pipeline/skills/shared/external/swift-concurrency-expert/SKILL.md +78 -69
  288. package/pipeline/skills/shared/external/swift-concurrency-expert/evals/evals.json +54 -0
  289. package/pipeline/skills/shared/external/swift-concurrency-expert/references/approachable-concurrency.md +52 -48
  290. package/pipeline/skills/shared/external/swift-concurrency-expert/references/swift-6-2-concurrency.md +118 -184
  291. package/pipeline/skills/shared/external/swift-concurrency-expert/references/swiftui-concurrency-tour-wwdc.md +68 -22
  292. package/pipeline/skills/shared/external/swift-concurrency-pro/SKILL.md +117 -94
  293. package/pipeline/skills/shared/external/swift-concurrency-pro/evals/evals.json +57 -0
  294. package/pipeline/skills/shared/external/swift-concurrency-pro/references/actors.md +102 -97
  295. package/pipeline/skills/shared/external/swift-concurrency-pro/references/async-streams.md +36 -37
  296. package/pipeline/skills/shared/external/swift-concurrency-pro/references/bridging.md +82 -34
  297. package/pipeline/skills/shared/external/swift-concurrency-pro/references/bug-patterns.md +90 -52
  298. package/pipeline/skills/shared/external/swift-concurrency-pro/references/cancellation.md +55 -55
  299. package/pipeline/skills/shared/external/swift-concurrency-pro/references/diagnostics.md +66 -43
  300. package/pipeline/skills/shared/external/swift-concurrency-pro/references/hotspots.md +39 -23
  301. package/pipeline/skills/shared/external/swift-concurrency-pro/references/interop.md +66 -68
  302. package/pipeline/skills/shared/external/swift-concurrency-pro/references/new-features.md +152 -131
  303. package/pipeline/skills/shared/external/swift-concurrency-pro/references/structured.md +60 -57
  304. package/pipeline/skills/shared/external/swift-concurrency-pro/references/testing.md +131 -118
  305. package/pipeline/skills/shared/external/swift-concurrency-pro/references/unstructured.md +37 -29
  306. package/pipeline/skills/shared/external/swift-formatstyle/evals/evals.json +43 -0
  307. package/pipeline/skills/shared/external/swift-testing-pro/SKILL.md +77 -58
  308. package/pipeline/skills/shared/external/swift-testing-pro/evals/evals.json +59 -0
  309. package/pipeline/skills/shared/external/swift-testing-pro/references/async-tests.md +139 -144
  310. package/pipeline/skills/shared/external/swift-testing-pro/references/core-rules.md +90 -28
  311. package/pipeline/skills/shared/external/swift-testing-pro/references/migrating-from-xctest.md +38 -21
  312. package/pipeline/skills/shared/external/swift-testing-pro/references/new-features.md +139 -156
  313. package/pipeline/skills/shared/external/swift-testing-pro/references/writing-better-tests.md +173 -147
  314. package/pipeline/skills/shared/external/swiftdata-pro/SKILL.md +75 -59
  315. package/pipeline/skills/shared/external/swiftdata-pro/evals/evals.json +50 -0
  316. package/pipeline/skills/shared/external/swiftdata-pro/references/cloudkit.md +34 -7
  317. package/pipeline/skills/shared/external/swiftdata-pro/references/indexing.md +20 -14
  318. package/pipeline/skills/shared/external/swiftdata-pro/references/inheritance.md +127 -0
  319. package/pipeline/skills/shared/external/swiftdata-pro/references/model-rules.md +141 -0
  320. package/pipeline/skills/shared/external/swiftdata-pro/references/predicates.md +37 -44
  321. package/pipeline/skills/shared/external/swiftlint/evals/evals.json +44 -0
  322. package/pipeline/skills/shared/external/swiftui-expert-skill/SKILL.md +89 -88
  323. package/pipeline/skills/shared/external/swiftui-expert-skill/evals/evals.json +55 -0
  324. package/pipeline/skills/shared/external/swiftui-expert-skill/references/accessibility-patterns.md +104 -122
  325. package/pipeline/skills/shared/external/swiftui-expert-skill/references/animation-advanced.md +73 -93
  326. package/pipeline/skills/shared/external/swiftui-expert-skill/references/animation-basics.md +144 -169
  327. package/pipeline/skills/shared/external/swiftui-expert-skill/references/animation-transitions.md +122 -133
  328. package/pipeline/skills/shared/external/swiftui-expert-skill/references/charts-accessibility.md +141 -99
  329. package/pipeline/skills/shared/external/swiftui-expert-skill/references/charts.md +273 -333
  330. package/pipeline/skills/shared/external/swiftui-expert-skill/references/image-optimization.md +105 -128
  331. package/pipeline/skills/shared/external/swiftui-expert-skill/references/latest-apis.md +199 -312
  332. package/pipeline/skills/shared/external/swiftui-expert-skill/references/layout-best-practices.md +129 -169
  333. package/pipeline/skills/shared/external/swiftui-expert-skill/references/liquid-glass.md +17 -30
  334. package/pipeline/skills/shared/external/swiftui-expert-skill/references/list-patterns.md +198 -258
  335. package/pipeline/skills/shared/external/swiftui-expert-skill/references/macos-scenes.md +145 -218
  336. package/pipeline/skills/shared/external/swiftui-expert-skill/references/macos-views.md +150 -249
  337. package/pipeline/skills/shared/external/swiftui-expert-skill/references/macos-window-styling.md +109 -208
  338. package/pipeline/skills/shared/external/swiftui-expert-skill/references/performance-patterns.md +225 -271
  339. package/pipeline/skills/shared/external/swiftui-expert-skill/references/scroll-patterns.md +117 -210
  340. package/pipeline/skills/shared/external/swiftui-expert-skill/references/sheet-navigation-patterns.md +171 -237
  341. package/pipeline/skills/shared/external/swiftui-expert-skill/references/state-management.md +196 -260
  342. package/pipeline/skills/shared/external/swiftui-expert-skill/references/view-structure.md +167 -230
  343. package/pipeline/skills/shared/external/swiftui-gestures/evals/evals.json +43 -0
  344. package/pipeline/skills/shared/external/swiftui-layout-components/evals/evals.json +43 -0
  345. package/pipeline/skills/shared/external/swiftui-navigation/evals/evals.json +44 -0
  346. package/pipeline/skills/shared/external/swiftui-navigation/references/navigationstack.md +1 -2
  347. package/pipeline/skills/shared/external/swiftui-patterns/evals/evals.json +43 -0
  348. package/pipeline/skills/shared/external/swiftui-performance/evals/evals.json +44 -0
  349. package/pipeline/skills/shared/external/swiftui-performance-audit/SKILL.md +71 -79
  350. package/pipeline/skills/shared/external/swiftui-performance-audit/evals/evals.json +55 -0
  351. package/pipeline/skills/shared/external/swiftui-performance-audit/references/audit-layout.md +50 -0
  352. package/pipeline/skills/shared/external/swiftui-performance-audit/references/capture-checklist.md +51 -0
  353. package/pipeline/skills/shared/external/swiftui-performance-audit/references/hangs.md +34 -0
  354. package/pipeline/skills/shared/external/swiftui-performance-audit/references/instruments-guide.md +68 -0
  355. package/pipeline/skills/shared/external/swiftui-performance-audit/references/smell-catalog.md +191 -0
  356. package/pipeline/skills/shared/external/swiftui-performance-audit/references/update-model.md +69 -0
  357. package/pipeline/skills/shared/external/swiftui-pro/SKILL.md +65 -63
  358. package/pipeline/skills/shared/external/swiftui-pro/evals/evals.json +45 -0
  359. package/pipeline/skills/shared/external/swiftui-pro/references/accessibility.md +40 -13
  360. package/pipeline/skills/shared/external/swiftui-pro/references/api.md +74 -29
  361. package/pipeline/skills/shared/external/swiftui-pro/references/data.md +44 -24
  362. package/pipeline/skills/shared/external/swiftui-pro/references/design.md +45 -31
  363. package/pipeline/skills/shared/external/swiftui-pro/references/hygiene.md +17 -8
  364. package/pipeline/skills/shared/external/swiftui-pro/references/navigation.md +19 -9
  365. package/pipeline/skills/shared/external/swiftui-pro/references/performance.md +50 -34
  366. package/pipeline/skills/shared/external/swiftui-pro/references/swift.md +73 -45
  367. package/pipeline/skills/shared/external/swiftui-pro/references/views.md +48 -23
  368. package/pipeline/skills/shared/external/swiftui-ui-patterns/SKILL.md +89 -83
  369. package/pipeline/skills/shared/external/swiftui-ui-patterns/evals/evals.json +44 -0
  370. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/app-wiring.md +119 -114
  371. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/async-state.md +76 -61
  372. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/components-index.md +63 -46
  373. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/controls.md +32 -31
  374. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/deeplinks.md +49 -38
  375. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/focus.md +77 -49
  376. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/form.md +61 -44
  377. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/grids.md +40 -42
  378. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/input-toolbar.md +44 -31
  379. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/lightweight-clients.md +90 -64
  380. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/list.md +48 -49
  381. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/loading-placeholders.md +36 -25
  382. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/macos-settings.md +30 -30
  383. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/matched-transitions.md +49 -32
  384. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/media.md +49 -41
  385. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/menu-bar.md +52 -48
  386. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/navigationstack.md +119 -104
  387. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/overlay.md +30 -27
  388. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/performance.md +33 -31
  389. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/previews.md +27 -27
  390. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/scroll-reveal.md +79 -86
  391. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/scrollview.md +47 -40
  392. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/searchable.md +55 -40
  393. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/sheets.md +113 -84
  394. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/split-views.md +37 -34
  395. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/tabview.md +75 -75
  396. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/theming.md +37 -32
  397. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/title-menus.md +41 -51
  398. package/pipeline/skills/shared/external/swiftui-ui-patterns/references/top-bar.md +46 -30
  399. package/pipeline/skills/shared/external/swiftui-uikit-interop/evals/evals.json +44 -0
  400. package/pipeline/skills/shared/external/swiftui-view-refactor/SKILL.md +152 -121
  401. package/pipeline/skills/shared/external/swiftui-view-refactor/evals/evals.json +56 -0
  402. package/pipeline/skills/shared/external/swiftui-view-refactor/references/mv-patterns.md +107 -98
  403. package/pipeline/skills/shared/external/swiftui-webkit/evals/evals.json +44 -0
  404. package/pipeline/skills/shared/external/tailwind-css/evals/evals.json +43 -0
  405. package/pipeline/skills/shared/external/test-result-triage/SKILL.md +2 -2
  406. package/pipeline/skills/shared/external/test-result-triage/evals/evals.json +44 -0
  407. package/pipeline/skills/shared/external/testing-backend/evals/evals.json +42 -0
  408. package/pipeline/skills/shared/external/tipkit/evals/evals.json +44 -0
  409. package/pipeline/skills/shared/external/typescript-patterns/evals/evals.json +42 -0
  410. package/pipeline/skills/shared/external/valven-rules/evals/evals.json +44 -0
  411. package/pipeline/skills/shared/external/vision-framework/evals/evals.json +44 -0
  412. package/pipeline/skills/shared/external/vue-composition/evals/evals.json +42 -0
  413. package/pipeline/skills/shared/external/weatherkit/evals/evals.json +42 -0
  414. package/pipeline/skills/shared/external/web-accessibility/evals/evals.json +43 -0
  415. package/pipeline/skills/shared/external/web-performance/evals/evals.json +44 -0
  416. package/pipeline/skills/shared/external/web-testing/SKILL.md +2 -2
  417. package/pipeline/skills/shared/external/web-testing/evals/evals.json +43 -0
  418. package/pipeline/skills/shared/external/web-testing/references/testing-examples.md +2 -2
  419. package/pipeline/skills/shared/external/widgetkit/evals/evals.json +44 -0
  420. package/pipeline/skills/shared/external/xcode-build-benchmark/SKILL.md +61 -55
  421. package/pipeline/skills/shared/external/xcode-build-benchmark/evals/evals.json +42 -0
  422. package/pipeline/skills/shared/external/xcode-build-benchmark/references/benchmark-artifacts.md +69 -67
  423. package/pipeline/skills/shared/external/xcode-build-benchmark/references/benchmarking-workflow.md +39 -47
  424. package/pipeline/skills/shared/external/xcode-build-benchmark/schemas/build-benchmark.schema.json +72 -154
  425. package/pipeline/skills/shared/external/xcode-build-benchmark/scripts/benchmark_builds.py +207 -245
  426. package/pipeline/skills/shared/external/xcode-build-fixer/SKILL.md +145 -139
  427. package/pipeline/skills/shared/external/xcode-build-fixer/evals/evals.json +54 -0
  428. package/pipeline/skills/shared/external/xcode-build-fixer/references/build-settings-best-practices.md +81 -175
  429. package/pipeline/skills/shared/external/xcode-build-fixer/references/fix-patterns.md +188 -143
  430. package/pipeline/skills/shared/external/xcode-build-fixer/references/recommendation-format.md +41 -40
  431. package/pipeline/skills/shared/external/xcode-build-fixer/scripts/benchmark_builds.py +207 -245
  432. package/pipeline/skills/shared/external/xcode-build-orchestrator/SKILL.md +107 -98
  433. package/pipeline/skills/shared/external/xcode-build-orchestrator/evals/evals.json +54 -0
  434. package/pipeline/skills/shared/external/xcode-build-orchestrator/references/benchmark-artifacts.md +69 -67
  435. package/pipeline/skills/shared/external/xcode-build-orchestrator/references/build-settings-best-practices.md +81 -175
  436. package/pipeline/skills/shared/external/xcode-build-orchestrator/references/orchestration-report-template.md +81 -69
  437. package/pipeline/skills/shared/external/xcode-build-orchestrator/references/recommendation-format.md +41 -40
  438. package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/benchmark_builds.py +207 -245
  439. package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/diagnose_compilation.py +155 -210
  440. package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/generate_optimization_report.py +355 -480
  441. package/pipeline/skills/shared/external/xcode-compilation-analyzer/SKILL.md +70 -69
  442. package/pipeline/skills/shared/external/xcode-compilation-analyzer/evals/evals.json +54 -0
  443. package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/build-optimization-sources.md +83 -133
  444. package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/code-compilation-checks.md +85 -73
  445. package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/recommendation-format.md +41 -40
  446. package/pipeline/skills/shared/external/xcode-compilation-analyzer/scripts/diagnose_compilation.py +155 -210
  447. package/pipeline/skills/shared/external/xcode-project-analyzer/SKILL.md +54 -52
  448. package/pipeline/skills/shared/external/xcode-project-analyzer/evals/evals.json +54 -0
  449. package/pipeline/skills/shared/external/xcode-project-analyzer/references/build-optimization-sources.md +83 -133
  450. package/pipeline/skills/shared/external/xcode-project-analyzer/references/build-settings-best-practices.md +81 -175
  451. package/pipeline/skills/shared/external/xcode-project-analyzer/references/project-audit-checks.md +115 -83
  452. package/pipeline/skills/shared/external/xcode-project-analyzer/references/recommendation-format.md +41 -40
  453. package/pipeline/scripts/_notices.mjs +0 -171
  454. package/pipeline/skills/shared/external/NOTICE-avdlee-swiftui-agent-skill.md +0 -48
  455. package/pipeline/skills/shared/external/NOTICE-dimillian-skills.md +0 -63
  456. package/pipeline/skills/shared/external/NOTICE-paul-hudson-skills.md +0 -54
  457. package/pipeline/skills/shared/external/NOTICE-vibeship-spawner-skills.md +0 -203
  458. package/pipeline/skills/shared/external/NOTICE-xcode-build-skills.md +0 -60
  459. package/pipeline/skills/shared/external/ios-iphone-duo/NOTICE.md +0 -53
  460. package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/bootstrap/Sources/MyApp/main.swift +0 -11
  461. package/pipeline/skills/shared/external/swiftdata-pro/references/class-inheritance.md +0 -104
  462. package/pipeline/skills/shared/external/swiftdata-pro/references/core-rules.md +0 -20
  463. package/pipeline/skills/shared/external/swiftui-performance-audit/references/code-smells.md +0 -158
  464. package/pipeline/skills/shared/external/swiftui-performance-audit/references/demystify-swiftui-performance-wwdc23.md +0 -46
  465. package/pipeline/skills/shared/external/swiftui-performance-audit/references/optimizing-swiftui-performance-instruments.md +0 -29
  466. package/pipeline/skills/shared/external/swiftui-performance-audit/references/profiling-intake.md +0 -44
  467. package/pipeline/skills/shared/external/swiftui-performance-audit/references/report-template.md +0 -47
  468. package/pipeline/skills/shared/external/swiftui-performance-audit/references/understanding-hangs-in-your-app.md +0 -33
  469. package/pipeline/skills/shared/external/swiftui-performance-audit/references/understanding-improving-swiftui-performance.md +0 -52
@@ -0,0 +1,44 @@
1
+ {
2
+ "skill_name": "api-security-best-practices",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "prompt": "Review this Express handler: app.get('/orders/:id', auth, async (req, res) => { const order = await db.orders.findById(req.params.id); if (order.userId !== req.user.id) return res.status(403).send(); res.json(order); }). Same pattern on PATCH /users/me which does db.users.update(req.user.id, req.body).",
7
+ "expected_output": "Identifies BOLA risk handling and fixes it by scoping the query by the principal in the query itself and returning 404 rather than 403, serialises through an explicit output schema instead of the raw entity, and binds PATCH to an input schema of writable fields so isAdmin, role or accountId cannot be mass-assigned.",
8
+ "files": [],
9
+ "expectations": [
10
+ "Scopes the lookup by the caller's identity inside the query rather than checking after the fetch",
11
+ "Returns 404, not 403, for objects the caller cannot see so ids cannot be probed",
12
+ "Serialises responses through an explicit output schema and never returns the ORM entity",
13
+ "Binds PATCH input to a schema listing writable fields and rejects or drops fields like role, isAdmin or accountId",
14
+ "Notes opaque random ids help but are not a control on their own"
15
+ ]
16
+ },
17
+ {
18
+ "id": 1,
19
+ "prompt": "We are writing JWT validation middleware for our Node API. Current code: jwt.decode(token) then checks exp. Access tokens live 24 hours and refresh tokens never rotate. The login and password-reset endpoints have no limits. What should the middleware and auth endpoints do?",
20
+ "expected_output": "Verifies signature with an algorithm allowlist (never alg none, never token-chosen key), checks iss, aud, exp and nbf, shortens access tokens to 5 to 15 minutes, rotates refresh tokens with reuse detection, rate limits and locks out credential endpoints, and prefers a maintained library over hand-rolled crypto.",
21
+ "files": [],
22
+ "expectations": [
23
+ "Verifies the JWT signature instead of only decoding it",
24
+ "Checks alg against an allowlist and never accepts alg none or lets the token choose the key",
25
+ "Validates iss, aud, exp and nbf",
26
+ "Uses short-lived access tokens (5 to 15 minutes) and rotates refresh tokens with reuse detection",
27
+ "Rate limits and locks out login, OTP and password-reset endpoints"
28
+ ]
29
+ },
30
+ {
31
+ "id": 2,
32
+ "prompt": "Our API has a POST /link-preview that fetches any URL the user gives, a /send-otp endpoint that sends SMS through a paid provider, CORS that reflects the request Origin with credentials, and an old /v1 API on a staging host that still reads the production database. Prioritise the fixes.",
33
+ "expected_output": "Fetches user URLs only through an allowlisting, private-range-rejecting client (SSRF), adds per-identity rate limits and spend caps on the paid SMS flow, restricts CORS to known origins and never reflects Origin with credentials, and inventories and retires forgotten versions and hosts holding real data.",
34
+ "files": [],
35
+ "expectations": [
36
+ "Treats the link preview as SSRF and fetches only through an allowlisting client that rejects private ranges",
37
+ "Adds per-identity rate limits and a spend cap on the paid SMS provider",
38
+ "Limits CORS to known origins and never reflects the Origin header with credentials",
39
+ "Keeps an inventory of live versions and hosts, retiring old /v1 and applying the same gateway policies to any environment with real data",
40
+ "Maps the findings to the OWASP API Security Top 10 (2023) categories"
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -1,76 +1,92 @@
1
1
  ---
2
2
  name: app-store-changelog
3
- description: "Generate user-facing App Store release notes from git history since the last tag. Use when release notes have to be written from the commits since the last tag."
3
+ description: "Writes user-facing App Store release notes from the git history since the last tag, each bullet traced to a real change. Use when What's New text or a user-facing changelog is needed for a release range."
4
4
  metadata:
5
5
  risk: safe
6
- source: "Dimillian/Skills (MIT)"
7
- date_added: "2026-03-25"
6
+ source: multi-agent-pipeline
8
7
  ---
9
8
 
10
9
  # App Store Changelog
11
10
 
12
- ## Overview
13
- Generate a comprehensive, user-facing changelog from git history since the last tag, then translate commits into clear App Store release notes.
11
+ Release notes are for people who use the app, not for the team that built it.
12
+ This skill reads every change in a release range, keeps the ones a user can
13
+ see or feel, and rewrites them as plain App Store bullets.
14
14
 
15
- ## When to Use
15
+ Use it for:
16
16
 
17
- - When the user asks for App Store "What's New" text or release notes from git history.
18
- - When you need to turn raw commits into concise, user-facing release bullets.
17
+ - "What's New" copy or release notes requested from git history.
18
+ - Converting a raw commit list into short bullets a customer understands.
19
19
 
20
20
  ## Workflow
21
21
 
22
- ### 1) Collect changes
23
- - Run `scripts/collect_release_changes.sh` from the repo root to gather commits and touched files.
24
- - If needed, pass a specific tag or ref: `scripts/collect_release_changes.sh v1.2.3 HEAD`.
25
- - If no tags exist, the script falls back to full history.
22
+ ### 1. Gather the range
26
23
 
27
- ### 2) Triage for user impact
28
- - Scan commits and files to identify user-visible changes.
29
- - Group changes by theme (New, Improved, Fixed) and deduplicate overlaps.
30
- - Drop internal-only work (build scripts, refactors, dependency bumps, CI).
24
+ From the repository root run `scripts/collect_release_changes.sh`. It prints
25
+ the repo path, the range, one `hash|date|subject` line per commit (oldest
26
+ first), and the files each commit touched.
31
27
 
32
- ### 3) Draft App Store notes
33
- - Write short, benefit-focused bullets for each user-facing change.
34
- - Use clear verbs and plain language; avoid internal jargon.
35
- - Prefer 5 to 10 bullets unless the user requests a different length.
28
+ - With no arguments the range starts at the newest tag and ends at `HEAD`.
29
+ - Give explicit bounds when needed: `scripts/collect_release_changes.sh v1.2.3 HEAD`.
30
+ - A repository without tags gets its whole history.
36
31
 
37
- ### 4) Validate
38
- - Ensure every bullet maps back to a real change in the range.
39
- - Check for duplicates and overly technical wording.
40
- - Ask for clarification if any change is ambiguous or possibly internal-only.
32
+ ### 2. Decide what users would notice
41
33
 
42
- ## Commit-to-Bullet Examples
34
+ - Read both the subjects and the touched files; a vague subject often becomes
35
+ clear from the files.
36
+ - Sort user-visible changes into New, Improved and Fixed, and merge commits
37
+ that describe the same change.
38
+ - Leave out work with no visible effect: build scripts, refactors, dependency
39
+ updates, CI.
43
40
 
44
- The following shows how raw commits are translated into App Store bullets:
41
+ ### 3. Write the bullets
45
42
 
46
- | Raw commit message | App Store bullet |
47
- |---|---|
48
- | `fix(auth): resolve token refresh race condition on iOS 17` | • Fixed a login issue that could leave some users unexpectedly signed out. |
49
- | `feat(search): add voice input to search bar` | • Search your library hands-free with the new voice input option. |
50
- | `perf(timeline): lazy-load images to reduce scroll jank` | • Scrolling through your timeline is now smoother and faster. |
43
+ - One short bullet per user-facing change, leading with what the user gains.
44
+ - Plain words and active verbs; no team vocabulary.
45
+ - Aim for 5 to 10 bullets unless the user asks for another length.
51
46
 
52
- Internal-only commits that are **dropped** (no user impact):
53
- - `chore: upgrade fastlane to 2.219`
54
- - `refactor(network): extract URLSession wrapper into module`
55
- - `ci: add nightly build job`
47
+ ### 4. Check the draft
56
48
 
57
- ## Example Output
49
+ - Trace every bullet to a change inside the range.
50
+ - Remove duplicates and anything still technical.
51
+ - When a change might be internal or its effect is unclear, ask instead of
52
+ guessing.
53
+
54
+ Filtering rules, wording guidance and the full QA list live in
55
+ [references/release-notes-guidelines.md](references/release-notes-guidelines.md).
56
+
57
+ ## From commit to bullet
58
+
59
+ | Commit subject | Store bullet |
60
+ | --- | --- |
61
+ | `fix(sync): stop duplicate uploads after reconnecting on cellular` | - Photos no longer upload twice after your connection drops. |
62
+ | `feat(lists): allow sharing a shopping list by link` | - Share any shopping list with a link. |
63
+ | `perf(map): cache tiles to cut first render time` | - Maps open noticeably faster. |
64
+
65
+ Commits that disappear because users cannot see them:
66
+
67
+ - `chore: bump SwiftLint to 0.57`
68
+ - `refactor(storage): move cache code into its own package`
69
+ - `ci: run UI tests on every pull request`
70
+
71
+ ## Sample result
58
72
 
59
73
  ```
60
- What's New in Version 3.4
74
+ What's New in Version 5.2
61
75
 
62
- • Search your library hands-free with the new voice input option.
63
- • Scrolling through your timeline is now smoother and faster.
64
- • Fixed a login issue that could leave some users unexpectedly signed out.
65
- • Added dark-mode support to the settings screen.
66
- • Improved load times when opening large photo albums.
76
+ - Share any shopping list with a link.
77
+ - Maps open noticeably faster.
78
+ - Photos no longer upload twice after your connection drops.
79
+ - Added a larger text option for recipe steps.
80
+ - Improved battery use during long navigation sessions.
67
81
  ```
68
82
 
69
- ## Output Format
70
- - Title (optional): "What's New" or product name + version.
71
- - Bullet list only; one sentence per bullet.
72
- - Stick to storefront limits if the user provides one.
83
+ ## Output rules
84
+
85
+ - Optional heading: "What's New", or the product name plus the version.
86
+ - Bullets only, one sentence each.
87
+ - If the user names a storefront character limit, stay within it.
88
+
89
+ ## Files
73
90
 
74
- ## Resources
75
- - `scripts/collect_release_changes.sh`: Collect commits and touched files since last tag.
76
- - `references/release-notes-guidelines.md`: Language, filtering, and QA rules for App Store notes.
91
+ - [scripts/collect_release_changes.sh](scripts/collect_release_changes.sh): prints the commits and touched files for a range, defaulting to last tag through `HEAD`.
92
+ - [references/release-notes-guidelines.md](references/release-notes-guidelines.md): what to include, how to phrase it, and the final checklist.
@@ -0,0 +1,40 @@
1
+ {
2
+ "skill_name": "app-store-changelog",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "prompt": "We are shipping 4.8 of our iOS app tomorrow. Write the App Store What's New text from everything merged since the last release tag.",
7
+ "expected_output": "Runs scripts/collect_release_changes.sh from the repo root (defaulting to newest tag through HEAD), reviews commits and touched files, drops internal work, groups user-visible changes and returns 5 to 10 one-sentence, verb-led bullets under an optional What's New heading, each traceable to a commit in the range.",
8
+ "files": [],
9
+ "expectations": [
10
+ "Uses scripts/collect_release_changes.sh to collect commits since the latest tag",
11
+ "Excludes refactors, dependency bumps, CI and tooling changes",
12
+ "Produces roughly 5 to 10 bullets of one sentence each",
13
+ "Every bullet maps to a real change in the release range"
14
+ ]
15
+ },
16
+ {
17
+ "id": 1,
18
+ "prompt": "Turn these commits into store notes: 'fix(player): handle AVPlayerItem nil status on resume', 'chore: update Alamofire to 5.10', 'feat(profile): add avatar cropping', 'ci: cache SPM packages', 'perf(feed): prefetch thumbnails'.",
19
+ "expected_output": "Drops the Alamofire bump and the CI change, rewrites the remaining three as plain user-facing bullets without words like nil or AVPlayerItem: a fix for playback resuming, a new avatar cropping feature, and a faster feed.",
20
+ "files": [],
21
+ "expectations": [
22
+ "Omits the dependency update and the CI commit",
23
+ "Rewrites the player fix without technical terms such as nil or AVPlayerItem",
24
+ "Includes the avatar cropping feature as a new capability",
25
+ "Describes the prefetch change as a visible speed improvement"
26
+ ]
27
+ },
28
+ {
29
+ "id": 2,
30
+ "prompt": "Our repo has no tags yet. Generate release notes between commit a1b2c3d and HEAD, and keep it under 170 characters for the storefront. One commit just says 'tweak analytics payload'.",
31
+ "expected_output": "Runs the script with explicit bounds (a1b2c3d HEAD), notes that without arguments an untagged repo would use full history, respects the 170-character limit, and either drops the analytics commit as internal or asks whether it affects privacy or behaviour.",
32
+ "files": [],
33
+ "expectations": [
34
+ "Passes explicit refs to scripts/collect_release_changes.sh",
35
+ "Keeps the final text within the stated character limit",
36
+ "Treats the analytics commit as internal or asks for clarification instead of inventing a user benefit"
37
+ ]
38
+ }
39
+ ]
40
+ }
@@ -1,34 +1,64 @@
1
- # App Store Release Notes Guidelines
2
-
3
- ## Goals
4
- - Produce user-facing release notes that describe visible changes since the last tag.
5
- - Include all user-impacting changes; omit purely internal or refactor-only work.
6
- - Keep language plain, short, and benefit-focused.
7
-
8
- ## Output Shape
9
- - Prefer 5 to 10 bullets total for most releases.
10
- - Group by theme if needed: New, Improved, Fixed.
11
- - Each bullet should be one sentence and start with a verb.
12
- - Avoid internal codenames, ticket IDs, or file paths.
13
-
14
- ## Filtering Rules
15
- - Include: new features, UI changes, behavior changes, bug fixes users would notice, performance improvements with visible impact.
16
- - Exclude: refactors, dependency bumps, CI changes, developer tooling, internal logging, analytics changes unless they affect user privacy or behavior.
17
- - If a change is ambiguous, ask for clarification or describe it as a small improvement only if it is user-visible.
18
-
19
- ## Language Guidance
20
- - Translate technical terms into user-facing descriptions.
21
- - Avoid versions of "API", "refactor", "nil", "crash log", or "dependency".
22
- - Prefer "Improved", "Added", "Fixed", "Updated" or action verbs like "Search", "Upload", "Sync".
23
- - Keep tense present or past: "Added", "Improved", "Fixed".
24
-
25
- ## Examples
26
- - "Added account switching from the profile menu."
27
- - "Improved timeline loading speed on slow connections."
28
- - "Fixed media attachments not opening in full screen."
29
-
30
- ## QA Checklist
31
- - Every bullet ties to a real change in the range.
32
- - No duplicate bullets that describe the same change.
33
- - No internal jargon or file paths.
34
- - Final list fits App Store text limits for the target storefront if provided.
1
+ # Release Notes Guidelines
2
+
3
+ ## Contents
4
+
5
+ - Purpose
6
+ - Shape of the list
7
+ - What goes in, what stays out
8
+ - Wording
9
+ - Sample bullets
10
+ - Final checklist
11
+
12
+ ## Purpose
13
+
14
+ - Describe what changed for users between the last tag and the release point.
15
+ - Cover every change with user impact; skip work that only reorganises code.
16
+ - Write short, plain sentences that say what the user gets.
17
+
18
+ ## Shape of the list
19
+
20
+ - Most releases fit in 5 to 10 bullets.
21
+ - When the list is long, group it under New, Improved and Fixed.
22
+ - One sentence per bullet, opening with a verb.
23
+ - No codenames, ticket numbers or file paths.
24
+
25
+ ## What goes in, what stays out
26
+
27
+ Keep:
28
+
29
+ - New features
30
+ - Visible UI changes and changes in behaviour
31
+ - Bug fixes a user would actually notice
32
+ - Performance gains that are felt, not only measured
33
+
34
+ Drop:
35
+
36
+ - Refactors and dependency updates
37
+ - CI and developer tooling
38
+ - Internal logging
39
+ - Analytics work, unless it changes privacy or what the user experiences
40
+
41
+ A change that is hard to classify gets a question to the user. If it is
42
+ visible but minor, a modest "small improvement" style bullet is acceptable.
43
+
44
+ ## Wording
45
+
46
+ - Replace technical terms with what the user sees.
47
+ - Keep words such as "API", "refactor", "nil", "crash log" and "dependency"
48
+ out of the notes.
49
+ - Good openers: "Added", "Improved", "Fixed", "Updated", or a task verb such
50
+ as "Search", "Upload", "Sync".
51
+ - Stay in present or past tense: "Added", "Improved", "Fixed".
52
+
53
+ ## Sample bullets
54
+
55
+ - "Added a quick switch between work and personal accounts in Settings."
56
+ - "Improved how fast the inbox loads on weak connections."
57
+ - "Fixed videos that would not play in full screen."
58
+
59
+ ## Final checklist
60
+
61
+ - [ ] Every bullet traces to a real change in the range.
62
+ - [ ] No two bullets describe the same change.
63
+ - [ ] No internal vocabulary or file paths.
64
+ - [ ] The list fits the storefront text limit, when one was given.
@@ -1,33 +1,31 @@
1
1
  #!/usr/bin/env bash
2
+ # Usage: collect_release_changes.sh [from-ref] [to-ref]
3
+ # from-ref defaults to the newest reachable tag; full history when there is none
4
+ # to-ref defaults to HEAD
2
5
  set -euo pipefail
3
6
 
4
- since_ref="${1:-}"
5
- until_ref="${2:-HEAD}"
7
+ from="${1:-}"
8
+ to="${2:-HEAD}"
6
9
 
7
- if [[ -z "${since_ref}" ]]; then
8
- if git describe --tags --abbrev=0 >/dev/null 2>&1; then
9
- since_ref="$(git describe --tags --abbrev=0)"
10
- fi
11
- fi
10
+ latest_tag() {
11
+ git describe --tags --abbrev=0 2>/dev/null || true
12
+ }
12
13
 
13
- range=""
14
- if [[ -n "${since_ref}" ]]; then
15
- range="${since_ref}..${until_ref}"
16
- else
17
- range="${until_ref}"
18
- fi
14
+ [ -n "$from" ] || from="$(latest_tag)"
19
15
 
20
- repo_root="$(git rev-parse --show-toplevel)"
21
-
22
- printf "Repo: %s\n" "${repo_root}"
23
- if [[ -n "${since_ref}" ]]; then
24
- printf "Range: %s..%s\n" "${since_ref}" "${until_ref}"
16
+ if [ -n "$from" ]; then
17
+ log_args=("$from..$to")
18
+ range_label="$from..$to"
25
19
  else
26
- printf "Range: start..%s (no tags found)\n" "${until_ref}"
20
+ log_args=("$to")
21
+ range_label="start..$to (no tags found)"
27
22
  fi
28
23
 
29
- printf "\n== Commits ==\n"
30
- git log --reverse --date=short --pretty=format:'%h|%ad|%s' ${range}
24
+ printf 'Repo: %s\n' "$(git rev-parse --show-toplevel)"
25
+ printf 'Range: %s\n' "$range_label"
26
+
27
+ printf '\n== Commits ==\n'
28
+ git log --reverse --date=short --pretty=format:'%h|%ad|%s' "${log_args[@]}"
31
29
 
32
- printf "\n\n== Files Touched ==\n"
33
- git log --reverse --name-only --pretty=format:'--- %h %s' ${range} | sed '/^$/d'
30
+ printf '\n\n== Files Touched ==\n'
31
+ git log --reverse --name-only --pretty=format:'--- %h %s' "${log_args[@]}" | grep -v '^$' || true
@@ -132,6 +132,9 @@ category as part of the keyword budget and never spend field space on it.
132
132
  Scoring, slot allocation and seasonal rotation are in the
133
133
  [keyword research reference](references/keyword-research-methodology.md).
134
134
 
135
+ Lint a packed draft with `multi-agent-toolkit:store_listing_lint`; it counts
136
+ code points, not bytes.
137
+
135
138
  ## Description
136
139
 
137
140
  Search relevance is computed from the name, the subtitle, the keyword field and
@@ -262,7 +265,7 @@ default product page.
262
265
 
263
266
  ## Ratings and reviews
264
267
 
265
- Earn recent positive reviews, answer critical ones calmly and specifically, mine reviews for wording, and reset the summary rating only after major fixes. Details: [Reviews, events and localized metadata](references/engagement-and-localization.md).
268
+ Earn recent positive reviews, answer critical ones calmly and specifically, mine reviews for wording, and reset the summary rating only after major fixes. `multi-agent-toolkit:store_review_themes` ranks review rows into themes with verbatim quotes. Details: [Reviews, events and localized metadata](references/engagement-and-localization.md).
266
269
 
267
270
  ## Localized Metadata Optimization
268
271
 
@@ -37,6 +37,12 @@ Limits to state on every metadata answer:
37
37
  | iPad screenshots | 13-inch set for any app that supports iPad |
38
38
  | Screenshot content | the real app UI |
39
39
 
40
+ When the listing text itself is at hand, measure it instead of counting by eye:
41
+ `multi-agent-toolkit:store_listing_lint` (`app_store` with `name`, `subtitle`,
42
+ `promotional_text`, `description`, `keywords`, `whats_new`; optional `avoid`,
43
+ `locale`) returns the over-limit fields, ranking claims and banned names as
44
+ errors, keyword waste as warnings.
45
+
40
46
  ## Triage: blockers first
41
47
 
42
48
  A full audit reports two lists: things that stop upload or review, and cleanup.
@@ -0,0 +1,42 @@
1
+ {
2
+ "skill_name": "architecture",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "prompt": "Our notes service (Postgres, 5M notes) needs full-text search. The team lead has already decided on Elasticsearch and wants me to write the ADR justifying it. Help me make this decision properly.",
7
+ "expected_output": "Writes the forces first (functional scope, three to five measurable quality drivers, constraints, assumptions), generates three options that differ in kind including a do-the-least option, compares them in a trade-off matrix with evidence per cell, names the deciding driver and drops dominated options, rather than justifying the pre-chosen answer backwards.",
8
+ "files": [],
9
+ "expectations": [
10
+ "Lists forces before naming options and warns against justifying a pre-chosen option backwards",
11
+ "Makes quality drivers measurable, for example p95 search latency at a stated corpus size or load",
12
+ "Generates about three options that differ in kind, including do-the-least (for example a DB full-text index)",
13
+ "Compares options in a trade-off matrix with a sentence of evidence per cell",
14
+ "Names the deciding driver and drops dominated options with a reason"
15
+ ]
16
+ },
17
+ {
18
+ "id": 1,
19
+ "prompt": "Should I write an ADR for switching our internal date-formatting helper from a hand-written function to the standard library formatter? It is used in one module and I can revert it in an hour.",
20
+ "expected_output": "Says no full ADR is needed because it is a cheap, single-engineer, reversible two-way door; make the change and note it in the pull request.",
21
+ "files": [],
22
+ "expectations": [
23
+ "Concludes the full ADR procedure is not warranted",
24
+ "Explains the decision is reversible by one engineer quickly and touches no shared contract, data format or multiple teams",
25
+ "Recommends noting the change in the pull request and moving on"
26
+ ]
27
+ },
28
+ {
29
+ "id": 2,
30
+ "prompt": "We are choosing the persisted event format for our new order pipeline, which three teams will consume and which we will store for seven years. Two options are close on the matrix. How much care does this need and how can we reduce risk?",
31
+ "expected_output": "Classifies it as a one-way door (persisted format, public contract across teams), so slows down, prototypes the riskiest assumption and gets a second review, and suggests mitigations that make it more reversible such as versioning the contract from day one, an interface in front, dual-writing for a period or keeping the old path behind a flag.",
32
+ "files": [],
33
+ "expectations": [
34
+ "Classifies the choice as a one-way door because it fixes a persisted format and a cross-team contract",
35
+ "Recommends slowing down, prototyping the riskiest assumption and getting a second review",
36
+ "Suggests mitigations such as versioning the contract from day one, dual-writing, an interface in front, or a flag on the old path",
37
+ "Counts those mitigations as part of the option's cost",
38
+ "Marks assumptions that would flip the decision if wrong"
39
+ ]
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "skill_name": "backlog",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "prompt": "Not now, put this on the backlog: 'Migrate SessionStore from UserDefaults to Keychain. Keep the old key readable for one release so logged-in users are not signed out, add a migration test that seeds the old key, and remove the fallback in 3.2. Blocked until the security team approves the access group name.' It came out of review finding R-14 on PR 812.",
7
+ "expected_output": "Adds a BACKLOG.md entry with a stable kebab-case id, a one-line title, state deferred (because an unblock condition exists), origin PR 812 review finding R-14, the unblock condition, and the spec copied verbatim as a block literal rather than summarised.",
8
+ "files": [],
9
+ "expectations": [
10
+ "Copies the full description into spec word for word, without shortening or paraphrasing",
11
+ "Assigns a short stable kebab-case id",
12
+ "Sets state to deferred with the security team's approval of the access group name as the unblock condition",
13
+ "Records origin as review finding R-14 on PR 812",
14
+ "Writes the entry into BACKLOG.md under the Deferred section rather than filing a Jira or GitHub issue"
15
+ ]
16
+ },
17
+ {
18
+ "id": 1,
19
+ "prompt": "Run a re-audit of the backlog. One entry talks about refactoring LegacyPaymentCoordinator, which I think was deleted last month; another says 'about 40 call sites use the old logger'.",
20
+ "expected_output": "Checks every type, path and claim against the live repo with a binary-safe search (LC_ALL=C grep -rIa), deletes the entry whose subject is gone, and re-measures the call-site count and writes the measured value instead of guessing.",
21
+ "files": [],
22
+ "expectations": [
23
+ "Uses a binary-safe search such as LC_ALL=C grep -rIa --line-number",
24
+ "Deletes the entry if LegacyPaymentCoordinator no longer exists, instead of keeping it",
25
+ "Re-measures the call-site count and writes the measured number",
26
+ "Does not edit a number to match an impression without measuring"
27
+ ]
28
+ },
29
+ {
30
+ "id": 2,
31
+ "prompt": "Finish backlog item keychain-session-migration, it shipped in PR 901 today. Also, while you are in there, the spec is really long, can you tidy it into a three-line summary and move the item back to ready in case we need to revisit it?",
32
+ "expected_output": "Marks the entry done with evidence (PR 901 and the date), refuses to condense the spec and refuses to move the state backwards, and notes the done entry is deleted once its lesson lives in the owning skill or doc.",
33
+ "files": [],
34
+ "expectations": [
35
+ "Sets the state to done and records PR 901 and the date as evidence",
36
+ "Declines to summarise or rewrite the spec",
37
+ "Declines to move the entry back to ready because states only move forward",
38
+ "Explains the done entry is removed once its lesson is written into the owning skill or document"
39
+ ]
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "skill_name": "ci-cd-pipelines",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "prompt": "Review our GitHub Actions deploy workflow: it sets env: API_KEY: \"sk-live-123\" at the top, has a debug step run: echo ${{ secrets.DB_PASSWORD }}, builds FROM node:latest, and deploys straight to production on every push to main with no staging. What would you change?",
7
+ "expected_output": "Moves the key to repository or environment secrets, removes the echo of the secret and replaces it with a presence and length check, pins the base image version instead of latest, and adds staging verification plus a production GitHub Environment with protection rules and manual approval.",
8
+ "files": [],
9
+ "expectations": [
10
+ "Removes the hardcoded key and uses secrets via ${{ secrets.X }} scoped to repository or environment",
11
+ "Forbids echoing secrets in logs and suggests checking presence or length instead",
12
+ "Pins a specific Docker base image version instead of latest",
13
+ "Requires staging verification before production",
14
+ "Uses a GitHub Environment for production with protection rules such as manual approval and reviewers"
15
+ ]
16
+ },
17
+ {
18
+ "id": 1,
19
+ "prompt": "Our Node CI on GitHub Actions takes 18 minutes: it runs npm ci without caching, runs the integration tests against a shared cloud Postgres, then lint and type checks at the very end, all in one sequential job. Speed it up and make it more reliable.",
20
+ "expected_output": "Caches dependencies between runs, runs lint and type checks first to fail fast, parallelises independent jobs, and uses service containers for the database in CI instead of shared state.",
21
+ "files": [],
22
+ "expectations": [
23
+ "Caches npm dependencies between CI runs",
24
+ "Moves lint and type checking before tests to fail fast",
25
+ "Parallelises independent jobs",
26
+ "Uses a service container for Postgres instead of a shared external database",
27
+ "Isolates test state to reduce flakiness"
28
+ ]
29
+ },
30
+ {
31
+ "id": 2,
32
+ "prompt": "We deployed a new search algorithm and it passed health checks but error rates spiked for 30 minutes before anyone noticed. We also found the production container crashed on the second deploy because REDIS_URL was missing. How should we deploy risky changes and catch config errors?",
33
+ "expected_output": "Recommends canary or feature-flag rollout to 5 to 10 percent with monitoring of errors and latency before gradual increase and rollback on regression, keeps a rollback target (blue-green), improves health checks with smoke tests, and validates environment variables at startup with a schema such as zod.",
34
+ "files": [],
35
+ "expectations": [
36
+ "Recommends a canary (small percentage, monitored, gradual increase) or a percentage feature flag",
37
+ "Routes traffic back to the stable version when metrics are unhealthy, or keeps blue as an instant rollback target",
38
+ "Improves health checks and adds smoke tests after deploy",
39
+ "Validates environment variables at startup with a schema so a missing REDIS_URL fails fast",
40
+ "Does not ignore failing health checks during deployment"
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "skill_name": "clean-code",
3
+ "evals": [
4
+ {
5
+ "id": 0,
6
+ "prompt": "Review this TypeScript for readability: function process(data2: any[], flag: boolean) { // loop over invoices and email overdue ones\n let r = []; for (const x of data2) { if (x) { if (x.due < Date.now()) { if (flag) { sendEmail(x); } r.push(x); } } } return r; }",
7
+ "expected_output": "Renames by domain role (overdueInvoices, isOverdue), splits the boolean flag into two functions or an enum, separates the query (find overdue) from the command (send email), replaces nesting with guard clauses, injects the clock instead of Date.now(), and removes the what-comment by naming.",
8
+ "files": [],
9
+ "expectations": [
10
+ "Renames data2, x, r and process to domain names such as invoices and overdueInvoices",
11
+ "Replaces the boolean flag parameter with two functions or an enum",
12
+ "Separates the query that finds overdue invoices from the command that sends emails",
13
+ "Uses guard clauses or extraction to remove nesting past two levels",
14
+ "Injects the clock rather than calling Date.now() inside the function",
15
+ "Replaces the explanatory comment with a better name instead of keeping a what-comment"
16
+ ]
17
+ },
18
+ {
19
+ "id": 1,
20
+ "prompt": "Our codebase has a getUserBalance() that returns -1 when the user is not found, and a catch (e) {} around the payment call 'so the screen does not crash'. Also the 20 percent VAT rate 0.2 is typed in checkout, invoice and refund code. Suggest fixes, ranked.",
21
+ "expected_output": "Ranks the swallowed error first, then the sentinel, then duplication: catch only where something useful can be done and report otherwise, represent absence in the type (Optional, Result or sealed type) instead of -1, and give the VAT rule one home as a named constant or configuration.",
22
+ "files": [],
23
+ "expectations": [
24
+ "Flags the empty catch as swallowing an error and catches only where it can retry, fall back or report",
25
+ "Replaces the -1 sentinel with Optional, Result or a sealed type",
26
+ "Extracts the VAT rate into one named constant or configuration called from all three places",
27
+ "Ranks by cost to the reader, with the swallowed error and misleading contracts above style issues",
28
+ "Gives location, problem, why it costs, and the concrete change for each finding"
29
+ ]
30
+ },
31
+ {
32
+ "id": 2,
33
+ "prompt": "Two functions, formatShippingLabel and formatInvoiceHeader, both build an address string with similar code. A colleague wants to merge them into a generic formatAddress(type, opts) helper now, plus remove a commented-out old implementation and a comment linking to the carrier spec explaining why postcodes are uppercased. What do you advise?",
34
+ "expected_output": "Cautions that look-alike code changing for different reasons is not duplication and merging couples features, prefers waiting for a third occurrence unless it is a shared rule, deletes the commented-out code, but keeps the comment that links to the spec because it explains why.",
35
+ "files": [],
36
+ "expectations": [
37
+ "Says blocks that look alike but change for different reasons are not duplication and merging couples them",
38
+ "Suggests waiting for a third occurrence before extracting a general helper unless the repeated thing is a rule",
39
+ "Deletes commented-out code because version control keeps it",
40
+ "Keeps the comment that links to the carrier spec explaining a non-obvious why",
41
+ "Defers to repository conventions or linters where they conflict"
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: compose-components
3
- description: "Build Material 3 UI components and custom composables with Jetpack Compose. Covers TopAppBar, Scaffold, BottomSheet, SnackbarHost, slot-based API patterns, MaterialTheme customization, dynamic color, custom color schemes, shape/typography/color token mapping, and modifier ordering best practices. Use when building Compose UI, creating custom components, setting up theming, or reviewing Compose code."
3
+ description: "Builds Material 3 UI components and custom composables with Jetpack Compose. Covers TopAppBar, Scaffold, BottomSheet, SnackbarHost, slot-based API patterns, MaterialTheme customization, dynamic color, custom color schemes, shape/typography/color token mapping, and modifier ordering best practices. Use when building Compose UI, creating custom components, setting up theming, or reviewing Compose code."
4
4
  metadata:
5
5
  source: multi-agent-pipeline
6
6
  ---