agileflow 4.0.0-alpha.2 → 4.0.0-alpha.21

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 (372) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/content/plugins/accessibility/plugin.yaml +14 -0
  3. package/content/plugins/accessibility/skills/agileflow-accessibility/SKILL.md +392 -0
  4. package/content/plugins/accessibility/skills/agileflow-accessibility/references/aria-patterns.md +528 -0
  5. package/content/plugins/accessibility/skills/agileflow-accessibility/references/testing-checklist.md +457 -0
  6. package/content/plugins/accessibility/skills/agileflow-accessibility/references/wcag-guide.md +683 -0
  7. package/content/plugins/accessibility/skills/agileflow-accessibility/workflows/audit-page.md +310 -0
  8. package/content/plugins/accessibility/skills/agileflow-accessibility/workflows/implement-accessible-component.md +479 -0
  9. package/content/plugins/ads/agents/ads-audit-budget.md +185 -0
  10. package/content/plugins/ads/agents/ads-audit-compliance.md +171 -0
  11. package/content/plugins/ads/agents/ads-audit-creative.md +168 -0
  12. package/content/plugins/ads/agents/ads-audit-google.md +227 -0
  13. package/content/plugins/ads/agents/ads-audit-meta.md +184 -0
  14. package/content/plugins/ads/agents/ads-audit-tracking.md +205 -0
  15. package/content/plugins/ads/agents/ads-consensus.md +410 -0
  16. package/content/plugins/ads/agents/ads-generate.md +152 -0
  17. package/content/plugins/ads/agents/ads-performance-tracker.md +212 -0
  18. package/content/plugins/ads/plugin.yaml +23 -4
  19. package/content/plugins/ads/skills/agileflow-ads/SKILL.md +218 -0
  20. package/content/plugins/ads/skills/agileflow-ads/references/ad-copy-formula-guide.md +131 -0
  21. package/content/plugins/ads/skills/agileflow-ads/references/audience-targeting-guide.md +137 -0
  22. package/content/plugins/ads/skills/agileflow-ads/references/bid-strategy-guide.md +115 -0
  23. package/content/plugins/ads/skills/agileflow-ads/references/platform-benchmarks.md +100 -0
  24. package/content/plugins/ads/skills/agileflow-ads/workflows/audit.md +118 -0
  25. package/content/plugins/ads/skills/agileflow-ads/workflows/generate.md +84 -0
  26. package/content/plugins/audit/agents/a11y-analyzer-aria.md +173 -0
  27. package/content/plugins/audit/agents/a11y-analyzer-forms.md +173 -0
  28. package/content/plugins/audit/agents/a11y-analyzer-keyboard.md +183 -0
  29. package/content/plugins/audit/agents/a11y-analyzer-semantic.md +169 -0
  30. package/content/plugins/audit/agents/a11y-analyzer-visual.md +172 -0
  31. package/content/plugins/audit/agents/a11y-consensus.md +249 -0
  32. package/content/plugins/audit/agents/accessibility.md +558 -0
  33. package/content/plugins/audit/agents/api-quality-analyzer-conventions.md +156 -0
  34. package/content/plugins/audit/agents/api-quality-analyzer-docs.md +184 -0
  35. package/content/plugins/audit/agents/api-quality-analyzer-errors.md +191 -0
  36. package/content/plugins/audit/agents/api-quality-analyzer-pagination.md +179 -0
  37. package/content/plugins/audit/agents/api-quality-analyzer-versioning.md +150 -0
  38. package/content/plugins/audit/agents/api-quality-consensus.md +217 -0
  39. package/content/plugins/audit/agents/api-validator.md +191 -0
  40. package/content/plugins/audit/agents/arch-analyzer-circular.md +156 -0
  41. package/content/plugins/audit/agents/arch-analyzer-complexity.md +193 -0
  42. package/content/plugins/audit/agents/arch-analyzer-coupling.md +152 -0
  43. package/content/plugins/audit/agents/arch-analyzer-layering.md +160 -0
  44. package/content/plugins/audit/agents/arch-analyzer-patterns.md +210 -0
  45. package/content/plugins/audit/agents/arch-consensus.md +228 -0
  46. package/content/plugins/audit/agents/browser-qa.md +342 -0
  47. package/content/plugins/audit/agents/code-reviewer.md +298 -0
  48. package/content/plugins/audit/agents/completeness-analyzer-api.md +199 -0
  49. package/content/plugins/audit/agents/completeness-analyzer-conditional.md +211 -0
  50. package/content/plugins/audit/agents/completeness-analyzer-handlers.md +166 -0
  51. package/content/plugins/audit/agents/completeness-analyzer-imports.md +165 -0
  52. package/content/plugins/audit/agents/completeness-analyzer-routes.md +190 -0
  53. package/content/plugins/audit/agents/completeness-analyzer-state.md +196 -0
  54. package/content/plugins/audit/agents/completeness-analyzer-stubs.md +206 -0
  55. package/content/plugins/audit/agents/completeness-consensus.md +295 -0
  56. package/content/plugins/audit/agents/error-analyzer.md +213 -0
  57. package/content/plugins/audit/agents/flow-analyzer-authorization.md +182 -0
  58. package/content/plugins/audit/agents/flow-analyzer-discovery.md +174 -0
  59. package/content/plugins/audit/agents/flow-analyzer-errors.md +186 -0
  60. package/content/plugins/audit/agents/flow-analyzer-feedback.md +185 -0
  61. package/content/plugins/audit/agents/flow-analyzer-navigation.md +177 -0
  62. package/content/plugins/audit/agents/flow-analyzer-persistence.md +193 -0
  63. package/content/plugins/audit/agents/flow-analyzer-wiring.md +169 -0
  64. package/content/plugins/audit/agents/flow-consensus.md +237 -0
  65. package/content/plugins/audit/agents/legal-analyzer-a11y.md +114 -0
  66. package/content/plugins/audit/agents/legal-analyzer-ai.md +121 -0
  67. package/content/plugins/audit/agents/legal-analyzer-consumer.md +114 -0
  68. package/content/plugins/audit/agents/legal-analyzer-content.md +117 -0
  69. package/content/plugins/audit/agents/legal-analyzer-international.md +119 -0
  70. package/content/plugins/audit/agents/legal-analyzer-licensing.md +119 -0
  71. package/content/plugins/audit/agents/legal-analyzer-privacy.md +112 -0
  72. package/content/plugins/audit/agents/legal-analyzer-security.md +116 -0
  73. package/content/plugins/audit/agents/legal-analyzer-terms.md +115 -0
  74. package/content/plugins/audit/agents/legal-consensus.md +250 -0
  75. package/content/plugins/audit/agents/logic-analyzer-edge.md +179 -0
  76. package/content/plugins/audit/agents/logic-analyzer-flow.md +264 -0
  77. package/content/plugins/audit/agents/logic-analyzer-invariant.md +215 -0
  78. package/content/plugins/audit/agents/logic-analyzer-race.md +280 -0
  79. package/content/plugins/audit/agents/logic-analyzer-type.md +227 -0
  80. package/content/plugins/audit/agents/logic-consensus.md +259 -0
  81. package/content/plugins/audit/agents/perf-analyzer-assets.md +182 -0
  82. package/content/plugins/audit/agents/perf-analyzer-bundle.md +173 -0
  83. package/content/plugins/audit/agents/perf-analyzer-caching.md +170 -0
  84. package/content/plugins/audit/agents/perf-analyzer-compute.md +173 -0
  85. package/content/plugins/audit/agents/perf-analyzer-memory.md +193 -0
  86. package/content/plugins/audit/agents/perf-analyzer-network.md +165 -0
  87. package/content/plugins/audit/agents/perf-analyzer-queries.md +162 -0
  88. package/content/plugins/audit/agents/perf-analyzer-rendering.md +168 -0
  89. package/content/plugins/audit/agents/perf-consensus.md +287 -0
  90. package/content/plugins/audit/agents/qa.md +820 -0
  91. package/content/plugins/audit/agents/quality-analyzer-comments.md +159 -0
  92. package/content/plugins/audit/agents/quality-analyzer-duplication.md +184 -0
  93. package/content/plugins/audit/agents/quality-analyzer-naming.md +160 -0
  94. package/content/plugins/audit/agents/quality-consensus.md +241 -0
  95. package/content/plugins/audit/agents/schema-validator.md +473 -0
  96. package/content/plugins/audit/agents/security-analyzer-api.md +210 -0
  97. package/content/plugins/audit/agents/security-analyzer-auth.md +169 -0
  98. package/content/plugins/audit/agents/security-analyzer-authz.md +180 -0
  99. package/content/plugins/audit/agents/security-analyzer-deps.md +153 -0
  100. package/content/plugins/audit/agents/security-analyzer-infra.md +184 -0
  101. package/content/plugins/audit/agents/security-analyzer-injection.md +155 -0
  102. package/content/plugins/audit/agents/security-analyzer-input.md +201 -0
  103. package/content/plugins/audit/agents/security-analyzer-secrets.md +183 -0
  104. package/content/plugins/audit/agents/security-consensus.md +283 -0
  105. package/content/plugins/audit/agents/test-analyzer-assertions.md +188 -0
  106. package/content/plugins/audit/agents/test-analyzer-coverage.md +189 -0
  107. package/content/plugins/audit/agents/test-analyzer-fragility.md +193 -0
  108. package/content/plugins/audit/agents/test-analyzer-integration.md +161 -0
  109. package/content/plugins/audit/agents/test-analyzer-maintenance.md +180 -0
  110. package/content/plugins/audit/agents/test-analyzer-mocking.md +188 -0
  111. package/content/plugins/audit/agents/test-analyzer-patterns.md +196 -0
  112. package/content/plugins/audit/agents/test-analyzer-structure.md +184 -0
  113. package/content/plugins/audit/agents/test-consensus.md +301 -0
  114. package/content/plugins/audit/agents/testing.md +561 -0
  115. package/content/plugins/audit/agents/ui-validator.md +344 -0
  116. package/content/plugins/audit/plugin.yaml +186 -5
  117. package/content/plugins/audit/skills/agileflow-audit/SKILL.md +113 -0
  118. package/content/plugins/audit/skills/agileflow-audit/references/audit-depth-guide.md +151 -0
  119. package/content/plugins/audit/skills/agileflow-audit/references/dependency-risk-guide.md +139 -0
  120. package/content/plugins/audit/skills/agileflow-audit/references/owasp-top10.md +120 -0
  121. package/content/plugins/audit/skills/agileflow-audit/references/performance-budget-guide.md +143 -0
  122. package/content/plugins/audit/skills/agileflow-audit/references/wcag-criteria.md +117 -0
  123. package/content/plugins/audit/skills/agileflow-audit/workflows/run-audit.md +52 -0
  124. package/content/plugins/audit/skills/agileflow-audit/workflows/tdd.md +66 -0
  125. package/content/plugins/core/agents/adr-writer.md +521 -0
  126. package/content/plugins/core/agents/epic-planner.md +520 -0
  127. package/content/plugins/core/agents/mentor.md +709 -0
  128. package/content/plugins/core/agents/orchestrator.md +776 -0
  129. package/content/plugins/core/agents/team-coordinator.md +334 -0
  130. package/content/plugins/core/agents/team-lead.md +181 -0
  131. package/content/plugins/core/agents/workspace-orchestrator.md +146 -0
  132. package/content/plugins/core/hooks/context-loader.js +31 -4
  133. package/content/plugins/core/hooks/damage-control-bash.js +10 -2
  134. package/content/plugins/core/hooks/damage-control-edit.js +4 -1
  135. package/content/plugins/core/hooks/damage-control-patterns.yaml +1 -1
  136. package/content/plugins/core/hooks/damage-control-write.js +4 -1
  137. package/content/plugins/core/hooks/{pre-compact-state.js → post-compact-state.js} +25 -8
  138. package/content/plugins/core/hooks/preferences-injector.js +352 -0
  139. package/content/plugins/core/plugin.yaml +24 -28
  140. package/content/plugins/core/skills/agileflow-adr/SKILL.md +34 -8
  141. package/content/plugins/core/skills/agileflow-adr/references/madr-format-guide.md +86 -0
  142. package/content/plugins/core/skills/agileflow-adr/workflows/write-adr.md +57 -0
  143. package/content/plugins/core/skills/agileflow-babysit-mentor/SKILL.md +94 -27
  144. package/content/plugins/core/skills/agileflow-babysit-mentor/references/mentor-decision-guide.md +81 -0
  145. package/content/plugins/core/skills/agileflow-babysit-mentor/workflows/mentor-session.md +79 -0
  146. package/content/plugins/core/skills/agileflow-epic-planner/SKILL.md +37 -7
  147. package/content/plugins/core/skills/agileflow-epic-planner/references/epic-sizing-guide.md +81 -0
  148. package/content/plugins/core/skills/agileflow-epic-planner/workflows/plan-epic.md +55 -0
  149. package/content/plugins/core/skills/agileflow-status-updater/SKILL.md +36 -20
  150. package/content/plugins/core/skills/agileflow-status-updater/references/status-transitions.md +89 -0
  151. package/content/plugins/core/skills/agileflow-status-updater/workflows/update-status.md +56 -0
  152. package/content/plugins/core/skills/agileflow-story-writer/SKILL.md +39 -114
  153. package/content/plugins/core/skills/agileflow-story-writer/references/estimation-reference.md +36 -0
  154. package/content/plugins/core/skills/agileflow-story-writer/references/story-template.md +92 -0
  155. package/content/plugins/core/skills/agileflow-story-writer/workflows/write-story.md +138 -0
  156. package/content/plugins/council/agents/council-advocate.md +223 -0
  157. package/content/plugins/council/agents/council-analyst.md +278 -0
  158. package/content/plugins/council/agents/council-compounder.md +204 -0
  159. package/content/plugins/council/agents/council-contrarian.md +217 -0
  160. package/content/plugins/council/agents/council-moonshot.md +217 -0
  161. package/content/plugins/council/agents/council-optimist.md +185 -0
  162. package/content/plugins/council/agents/council-revenue.md +200 -0
  163. package/content/plugins/council/agents/council-technical.md +218 -0
  164. package/content/plugins/council/agents/multi-expert.md +334 -0
  165. package/content/plugins/council/plugin.yaml +23 -4
  166. package/content/plugins/council/skills/agileflow-council/SKILL.md +102 -0
  167. package/content/plugins/council/skills/agileflow-council/references/decision-log-template.md +109 -0
  168. package/content/plugins/council/skills/agileflow-council/references/perspective-guide.md +104 -0
  169. package/content/plugins/council/skills/agileflow-council/references/when-to-convene-guide.md +112 -0
  170. package/content/plugins/council/skills/agileflow-council/workflows/convene.md +73 -0
  171. package/content/plugins/council/skills/agileflow-council/workflows/multi-expert.md +75 -0
  172. package/content/plugins/database/plugin.yaml +14 -0
  173. package/content/plugins/database/skills/agileflow-database/SKILL.md +284 -0
  174. package/content/plugins/database/skills/agileflow-database/references/indexing-guide.md +313 -0
  175. package/content/plugins/database/skills/agileflow-database/references/migration-guide.md +328 -0
  176. package/content/plugins/database/skills/agileflow-database/references/schema-design-guide.md +467 -0
  177. package/content/plugins/database/skills/agileflow-database/workflows/design-schema.md +213 -0
  178. package/content/plugins/database/skills/agileflow-database/workflows/optimize-query.md +253 -0
  179. package/content/plugins/debugging/plugin.yaml +14 -0
  180. package/content/plugins/debugging/skills/agileflow-debug/SKILL.md +236 -0
  181. package/content/plugins/debugging/skills/agileflow-debug/references/common-patterns.md +350 -0
  182. package/content/plugins/debugging/skills/agileflow-debug/references/debugging-strategies.md +328 -0
  183. package/content/plugins/debugging/skills/agileflow-debug/workflows/debug-issue.md +187 -0
  184. package/content/plugins/debugging/skills/agileflow-debug/workflows/reproduce-bug.md +194 -0
  185. package/content/plugins/delivery/agents/ci.md +547 -0
  186. package/content/plugins/delivery/agents/devops.md +789 -0
  187. package/content/plugins/delivery/plugin.yaml +19 -0
  188. package/content/plugins/delivery/skills/agileflow-delivery/SKILL.md +111 -0
  189. package/content/plugins/delivery/skills/agileflow-delivery/references/changelog-format-guide.md +133 -0
  190. package/content/plugins/delivery/skills/agileflow-delivery/references/ci-pipeline-guide.md +158 -0
  191. package/content/plugins/delivery/skills/agileflow-delivery/references/pr-checklist-guide.md +133 -0
  192. package/content/plugins/delivery/skills/agileflow-delivery/references/release-checklist.md +142 -0
  193. package/content/plugins/delivery/skills/agileflow-delivery/workflows/changelog.md +72 -0
  194. package/content/plugins/delivery/skills/agileflow-delivery/workflows/deploy.md +74 -0
  195. package/content/plugins/delivery/skills/agileflow-delivery/workflows/pr.md +75 -0
  196. package/content/plugins/docs/agents/documentation.md +544 -0
  197. package/content/plugins/docs/agents/readme-updater.md +640 -0
  198. package/content/plugins/docs/plugin.yaml +19 -0
  199. package/content/plugins/docs/skills/agileflow-docs/SKILL.md +106 -0
  200. package/content/plugins/docs/skills/agileflow-docs/references/api-doc-template.md +167 -0
  201. package/content/plugins/docs/skills/agileflow-docs/references/doc-types-guide.md +141 -0
  202. package/content/plugins/docs/skills/agileflow-docs/references/readme-template.md +156 -0
  203. package/content/plugins/docs/skills/agileflow-docs/workflows/readme-sync.md +57 -0
  204. package/content/plugins/docs/skills/agileflow-docs/workflows/sync.md +64 -0
  205. package/content/plugins/engineering/agents/api.md +718 -0
  206. package/content/plugins/engineering/agents/codebase-query.md +285 -0
  207. package/content/plugins/engineering/agents/compliance.md +559 -0
  208. package/content/plugins/engineering/agents/database.md +644 -0
  209. package/content/plugins/engineering/agents/integrations.md +644 -0
  210. package/content/plugins/engineering/agents/mobile.md +552 -0
  211. package/content/plugins/engineering/agents/monitoring.md +585 -0
  212. package/content/plugins/engineering/agents/performance.md +529 -0
  213. package/content/plugins/engineering/agents/refactor.md +592 -0
  214. package/content/plugins/engineering/agents/security.md +524 -0
  215. package/content/plugins/engineering/agents/ui.md +1336 -0
  216. package/content/plugins/engineering/plugin.yaml +37 -0
  217. package/content/plugins/engineering/skills/agileflow-engineering/SKILL.md +127 -0
  218. package/content/plugins/engineering/skills/agileflow-engineering/references/code-review-guide.md +126 -0
  219. package/content/plugins/engineering/skills/agileflow-engineering/references/domain-routing-guide.md +89 -0
  220. package/content/plugins/engineering/skills/agileflow-engineering/references/refactoring-guide.md +136 -0
  221. package/content/plugins/engineering/skills/agileflow-engineering/workflows/diagnose.md +63 -0
  222. package/content/plugins/engineering/skills/agileflow-engineering/workflows/impact.md +60 -0
  223. package/content/plugins/ideation/agents/brainstorm-analyzer-features.md +179 -0
  224. package/content/plugins/ideation/agents/brainstorm-analyzer-growth.md +169 -0
  225. package/content/plugins/ideation/agents/brainstorm-analyzer-integration.md +181 -0
  226. package/content/plugins/ideation/agents/brainstorm-analyzer-market.md +150 -0
  227. package/content/plugins/ideation/agents/brainstorm-analyzer-ux.md +180 -0
  228. package/content/plugins/ideation/agents/brainstorm-consensus.md +245 -0
  229. package/content/plugins/ideation/agents/design.md +568 -0
  230. package/content/plugins/ideation/agents/product.md +582 -0
  231. package/content/plugins/ideation/plugin.yaml +31 -0
  232. package/content/plugins/ideation/skills/agileflow-ideation/SKILL.md +109 -0
  233. package/content/plugins/ideation/skills/agileflow-ideation/references/brainstorm-techniques.md +138 -0
  234. package/content/plugins/ideation/skills/agileflow-ideation/references/competitive-analysis-template.md +148 -0
  235. package/content/plugins/ideation/skills/agileflow-ideation/references/feature-prioritization-guide.md +147 -0
  236. package/content/plugins/ideation/skills/agileflow-ideation/references/user-story-patterns.md +152 -0
  237. package/content/plugins/ideation/skills/agileflow-ideation/workflows/features.md +65 -0
  238. package/content/plugins/ideation/skills/agileflow-ideation/workflows/ideate.md +54 -0
  239. package/content/plugins/migration/agents/datamigration.md +757 -0
  240. package/content/plugins/migration/plugin.yaml +17 -0
  241. package/content/plugins/migration/skills/agileflow-migration/SKILL.md +106 -0
  242. package/content/plugins/migration/skills/agileflow-migration/references/data-validation-checklist.md +154 -0
  243. package/content/plugins/migration/skills/agileflow-migration/references/migration-patterns.md +209 -0
  244. package/content/plugins/migration/skills/agileflow-migration/references/rollback-playbook.md +171 -0
  245. package/content/plugins/migration/skills/agileflow-migration/references/version-compatibility-matrix.md +155 -0
  246. package/content/plugins/migration/skills/agileflow-migration/workflows/plan.md +73 -0
  247. package/content/plugins/migration/skills/agileflow-migration/workflows/validate.md +71 -0
  248. package/content/plugins/performance/plugin.yaml +14 -0
  249. package/content/plugins/performance/skills/agileflow-performance/SKILL.md +224 -0
  250. package/content/plugins/performance/skills/agileflow-performance/references/optimization-patterns.md +554 -0
  251. package/content/plugins/performance/skills/agileflow-performance/references/profiling-guide.md +383 -0
  252. package/content/plugins/performance/skills/agileflow-performance/references/web-vitals-guide.md +360 -0
  253. package/content/plugins/performance/skills/agileflow-performance/workflows/improve-web-vitals.md +344 -0
  254. package/content/plugins/performance/skills/agileflow-performance/workflows/profile-and-fix.md +254 -0
  255. package/content/plugins/planning/agents/analytics.md +670 -0
  256. package/content/plugins/planning/agents/rlm-subcore.md +215 -0
  257. package/content/plugins/planning/plugin.yaml +19 -0
  258. package/content/plugins/planning/skills/agileflow-planning/SKILL.md +111 -0
  259. package/content/plugins/planning/skills/agileflow-planning/references/estimation-guide.md +114 -0
  260. package/content/plugins/planning/skills/agileflow-planning/references/rpi-workflow.md +119 -0
  261. package/content/plugins/planning/skills/agileflow-planning/references/sprint-planning-guide.md +145 -0
  262. package/content/plugins/planning/skills/agileflow-planning/workflows/impact.md +63 -0
  263. package/content/plugins/planning/skills/agileflow-planning/workflows/rpi.md +104 -0
  264. package/content/plugins/psychology/plugin.yaml +14 -0
  265. package/content/plugins/psychology/skills/agileflow-retention/SKILL.md +252 -0
  266. package/content/plugins/psychology/skills/agileflow-retention/references/competitor-analysis.md +240 -0
  267. package/content/plugins/psychology/skills/agileflow-retention/references/psychology-models.md +349 -0
  268. package/content/plugins/psychology/skills/agileflow-retention/references/retention-patterns.md +279 -0
  269. package/content/plugins/psychology/skills/agileflow-retention/workflows/design-retention-feature.md +287 -0
  270. package/content/plugins/psychology/skills/agileflow-retention/workflows/retention-audit.md +259 -0
  271. package/content/plugins/refactoring/plugin.yaml +14 -0
  272. package/content/plugins/refactoring/skills/agileflow-refactor/SKILL.md +235 -0
  273. package/content/plugins/refactoring/skills/agileflow-refactor/references/refactoring-patterns.md +405 -0
  274. package/content/plugins/refactoring/skills/agileflow-refactor/references/safety-checks.md +177 -0
  275. package/content/plugins/refactoring/skills/agileflow-refactor/workflows/extract-module.md +226 -0
  276. package/content/plugins/refactoring/skills/agileflow-refactor/workflows/safe-refactor.md +169 -0
  277. package/content/plugins/research/agents/research.md +503 -0
  278. package/content/plugins/research/plugin.yaml +17 -0
  279. package/content/plugins/research/skills/agileflow-research/SKILL.md +110 -0
  280. package/content/plugins/research/skills/agileflow-research/references/knowledge-decay-guide.md +121 -0
  281. package/content/plugins/research/skills/agileflow-research/references/research-prompt-guide.md +141 -0
  282. package/content/plugins/research/skills/agileflow-research/references/synthesis-template.md +154 -0
  283. package/content/plugins/research/skills/agileflow-research/workflows/analyze.md +60 -0
  284. package/content/plugins/research/skills/agileflow-research/workflows/ask.md +64 -0
  285. package/content/plugins/research/skills/agileflow-research/workflows/import.md +66 -0
  286. package/content/plugins/research/skills/agileflow-research/workflows/synthesize.md +66 -0
  287. package/content/plugins/reviews/plugin.yaml +14 -0
  288. package/content/plugins/reviews/skills/agileflow-pr-reviewer/SKILL.md +241 -0
  289. package/content/plugins/reviews/skills/agileflow-pr-reviewer/references/review-checklist.md +200 -0
  290. package/content/plugins/reviews/skills/agileflow-pr-reviewer/references/security-patterns.md +328 -0
  291. package/content/plugins/reviews/skills/agileflow-pr-reviewer/workflows/review-pr.md +153 -0
  292. package/content/plugins/reviews/skills/agileflow-pr-reviewer/workflows/security-review.md +177 -0
  293. package/content/plugins/seo/agents/seo-analyzer-content.md +169 -0
  294. package/content/plugins/seo/agents/seo-analyzer-images.md +198 -0
  295. package/content/plugins/seo/agents/seo-analyzer-performance.md +217 -0
  296. package/content/plugins/seo/agents/seo-analyzer-schema.md +184 -0
  297. package/content/plugins/seo/agents/seo-analyzer-sitemap.md +177 -0
  298. package/content/plugins/seo/agents/seo-analyzer-technical.md +151 -0
  299. package/content/plugins/seo/agents/seo-consensus.md +304 -0
  300. package/content/plugins/seo/plugin.yaml +19 -4
  301. package/content/plugins/seo/skills/agileflow-seo/SKILL.md +188 -0
  302. package/content/plugins/seo/skills/agileflow-seo/references/cwv-thresholds.md +110 -0
  303. package/content/plugins/seo/skills/agileflow-seo/references/eeat-framework.md +144 -0
  304. package/content/plugins/seo/skills/agileflow-seo/references/keyword-research-guide.md +125 -0
  305. package/content/plugins/seo/skills/agileflow-seo/references/schema-types.md +139 -0
  306. package/content/plugins/seo/skills/agileflow-seo/references/technical-seo-checklist.md +139 -0
  307. package/content/plugins/seo/skills/agileflow-seo/workflows/audit.md +98 -0
  308. package/content/plugins/seo/skills/agileflow-seo/workflows/page.md +118 -0
  309. package/content/plugins/testing/plugin.yaml +16 -0
  310. package/content/plugins/testing/skills/agileflow-test-writer/SKILL.md +260 -0
  311. package/content/plugins/testing/skills/agileflow-test-writer/references/coverage-targets.md +239 -0
  312. package/content/plugins/testing/skills/agileflow-test-writer/references/test-patterns.md +420 -0
  313. package/content/plugins/testing/skills/agileflow-test-writer/workflows/add-coverage.md +154 -0
  314. package/content/plugins/testing/skills/agileflow-test-writer/workflows/write-tests-from-ac.md +225 -0
  315. package/package.json +2 -2
  316. package/src/cli/commands/doctor.js +818 -30
  317. package/src/cli/commands/hook.js +17 -14
  318. package/src/cli/commands/launch.js +1454 -0
  319. package/src/cli/commands/learn.js +149 -0
  320. package/src/cli/commands/plugins.js +113 -0
  321. package/src/cli/commands/setup.js +455 -110
  322. package/src/cli/commands/skills.js +324 -0
  323. package/src/cli/commands/status.js +8 -10
  324. package/src/cli/commands/update.js +76 -15
  325. package/src/cli/index.js +90 -26
  326. package/src/cli/wizard/babysit-mode-picker.js +192 -0
  327. package/src/cli/wizard/behaviors-picker.js +208 -54
  328. package/src/cli/wizard/ide-picker.js +40 -28
  329. package/src/cli/wizard/install-scope-picker.js +57 -0
  330. package/src/cli/wizard/launch-alias-picker.js +50 -0
  331. package/src/cli/wizard/launch-cli-picker.js +129 -0
  332. package/src/cli/wizard/launch-tmux-picker.js +133 -0
  333. package/src/cli/wizard/learnings-picker.js +40 -0
  334. package/src/cli/wizard/plugin-picker.js +47 -16
  335. package/src/lib/brand.js +116 -0
  336. package/src/lib/errors.js +120 -0
  337. package/src/lib/path-check.js +39 -0
  338. package/src/runtime/config/defaults.js +22 -17
  339. package/src/runtime/config/loader.js +77 -8
  340. package/src/runtime/config/schema.json +43 -16
  341. package/src/runtime/config/writer.js +3 -1
  342. package/src/runtime/ide/babysit-skill.js +202 -0
  343. package/src/runtime/ide/capabilities.js +84 -29
  344. package/src/runtime/ide/claude-code-content.js +177 -0
  345. package/src/runtime/ide/claude-code-settings.js +67 -29
  346. package/src/runtime/ide/claude-code-skills.js +47 -32
  347. package/src/runtime/ide/codex-config.js +295 -0
  348. package/src/runtime/installer/install.js +252 -24
  349. package/src/runtime/launch/alias-installer.js +191 -0
  350. package/src/runtime/launch/cli-resume.js +244 -0
  351. package/src/runtime/launch/closed-windows.js +338 -0
  352. package/src/runtime/launch/defaults.js +66 -0
  353. package/src/runtime/launch/detect-clis.js +69 -0
  354. package/src/runtime/launch/doctor.js +464 -0
  355. package/src/runtime/launch/exec-wrapper.js +114 -0
  356. package/src/runtime/launch/parallel-session.js +247 -0
  357. package/src/runtime/launch/prefs.js +211 -0
  358. package/src/runtime/launch/project-prefs.js +234 -0
  359. package/src/runtime/launch/resolve-cli.js +56 -0
  360. package/src/runtime/launch/restore.js +152 -0
  361. package/src/runtime/launch/schema.json +75 -0
  362. package/src/runtime/launch/session-lifecycle.js +313 -0
  363. package/src/runtime/launch/session-registry.js +401 -0
  364. package/src/runtime/launch/spawn.js +103 -0
  365. package/src/runtime/launch/tabs.js +350 -0
  366. package/src/runtime/launch/tmux.js +764 -0
  367. package/src/runtime/launch/worktree.js +260 -0
  368. package/src/runtime/plugins/registry.js +16 -11
  369. package/src/runtime/plugins/validator.js +57 -43
  370. package/src/runtime/skills/learnings.js +308 -0
  371. package/content/plugins/core/hooks/babysit-mentor-injector.js +0 -55
  372. package/src/cli/wizard/personalization.js +0 -64
@@ -0,0 +1,552 @@
1
+ ---
2
+ name: agileflow-mobile
3
+ description: Mobile specialist for React Native, Flutter, cross-platform mobile development, and mobile-specific features.
4
+ tools: Read, Write, Edit, Bash, Glob, Grep
5
+ model: haiku
6
+ team_role: teammate
7
+ ---
8
+
9
+ <!-- AGILEFLOW_META
10
+ hooks:
11
+ PostToolUse:
12
+ - matcher: "Write"
13
+ hooks:
14
+ - type: command
15
+ command: "node .agileflow/hooks/validators/component-validator.js"
16
+ compact_context:
17
+ priority: high
18
+ preserve_rules:
19
+ - Test on real devices (not just emulator)
20
+ - Abstract platform-specific code (code once, test twice)
21
+ - Performance constraints are real (battery, memory, data)
22
+ state_fields:
23
+ - platform_selection
24
+ - real_device_testing_status
25
+ - test_status
26
+ AGILEFLOW_META -->
27
+
28
+ ## STEP 0: Gather Context
29
+
30
+ ```bash
31
+ node .agileflow/scripts/obtain-context.js mobile
32
+ ```
33
+
34
+ ---
35
+
36
+ <!-- COMPACT_SUMMARY_START -->
37
+
38
+ ## COMPACT SUMMARY - AG-MOBILE AGENT ACTIVE
39
+
40
+ **CRITICAL**: Real device testing is mandatory, not optional. Abstract platform-specific code.
41
+
42
+ IDENTITY: Cross-platform mobile specialist for React Native/Flutter, native modules, mobile UX patterns, and performance optimization.
43
+
44
+ CORE DOMAIN EXPERTISE:
45
+
46
+ - Cross-platform frameworks (React Native, Flutter)
47
+ - Native module integration (camera, location, notifications, sensors)
48
+ - Mobile UX patterns (tab navigation, stack navigation, modals, gestures)
49
+ - Responsive mobile design (screen sizes, safe areas, notches)
50
+ - Performance optimization (battery, memory, data, CPU)
51
+ - Mobile testing (real devices, emulators, slow network, hot reload)
52
+ - App store requirements (iOS App Store, Google Play)
53
+
54
+ DOMAIN-SPECIFIC RULES:
55
+
56
+ 🚨 RULE #1: Test on Real Devices (Not Just Emulator)
57
+
58
+ - ❌ DON'T: Assume emulator behavior matches device
59
+ - ✅ DO: Test on physical iOS and Android devices
60
+ - ❌ DON'T: Skip slow network testing (real users have slow connections)
61
+ - ✅ DO: Test on 3G/4G (not just wifi)
62
+ - ❌ DON'T: Ignore performance on older devices (many users have them)
63
+ - ✅ DO: Test on budget Android phones (2GB RAM)
64
+
65
+ 🚨 RULE #2: Abstract Platform-Specific Code (Code Once, Test Twice)
66
+
67
+ - ❌ DON'T: Scatter platform-specific code throughout app
68
+ - ✅ DO: Create abstraction layer in one place
69
+ - ❌ DON'T: Use platform conditionals in UI components
70
+ - ✅ DO: Platform logic in utility modules (e.g., camera.js, location.js)
71
+ - ❌ DON'T: Let iOS/Android implementations diverge
72
+ - ✅ DO: Same behavior on both platforms (or document differences)
73
+
74
+ Example Abstraction (Good):
75
+
76
+ ```javascript
77
+ // lib/camera.js (abstraction layer)
78
+ export const takePicture = async () => {
79
+ if (Platform.OS === "ios") {
80
+ return iOSCamera.takePicture();
81
+ } else {
82
+ return androidCamera.takePicture();
83
+ }
84
+ };
85
+
86
+ // In components (clean)
87
+ import { takePicture } from "@/lib/camera";
88
+ const photo = await takePicture(); // Works on both
89
+ ```
90
+
91
+ 🚨 RULE #3: Performance Constraints Are Real (Not Aspirational)
92
+
93
+ - ❌ DON'T: Ignore battery impact (features that drain battery are unusable)
94
+ - ✅ DO: Minimize network requests, CPU usage, screen time
95
+ - ❌ DON'T: Load entire image library into memory
96
+ - ✅ DO: Stream images, paginate, lazy load
97
+ - ❌ DON'T: Target <2MB bundle (just do it)
98
+ - ✅ DO: Monitor: bundle size, memory usage, CPU spikes
99
+
100
+ Bundle Size Budgets:
101
+
102
+ - Target: <2MB total
103
+ - JS code: <1MB
104
+ - Native modules: <500KB
105
+ - Assets: <500KB
106
+
107
+ Memory Budgets (on 2GB device):
108
+
109
+ - App startup: <100MB
110
+ - Scroll memory: <50MB
111
+ - Navigation: clean up screens not in view
112
+
113
+ 🚨 RULE #4: Mobile UX Patterns (Not Web Patterns)
114
+
115
+ - ❌ DON'T: Copy web patterns to mobile (different constraints)
116
+ - ✅ DO: Use mobile-native patterns
117
+ - iOS: Bottom tabs, slide gestures, large touch targets
118
+ - Android: Top tabs/drawer, material design, explicit back button
119
+ - ❌ DON'T: Forget safe area insets (notches, home indicators)
120
+ - ✅ DO: useSafeAreaInsets hook (React Native), view padding (Flutter)
121
+ - ❌ DON'T: Hover states (mobile has no hover)
122
+ - ✅ DO: Long press, swipe, double tap instead
123
+
124
+ CRITICAL ANTI-PATTERNS (CATCH THESE):
125
+
126
+ - Testing emulator only (doesn't catch device-specific issues)
127
+ - Platform-specific code scattered throughout (hard to maintain)
128
+ - Ignoring battery impact (leads to bad ratings)
129
+ - Loading all data at once (crashes on large datasets)
130
+ - Not respecting safe areas (UI hidden behind notch)
131
+ - Using web patterns on mobile (poor UX)
132
+ - No error handling for permission denials
133
+ - No offline support (crashes when network drops)
134
+ - No memory cleanup (leaks cause crashes)
135
+ - Not testing on slow networks (users have slow connections)
136
+
137
+ PLATFORM SELECTION CRITERIA:
138
+
139
+ React Native:
140
+
141
+ - ✅ When: Team knows JavaScript/TypeScript
142
+ - ✅ When: Code reuse with web React is valuable
143
+ - ✅ When: Performance is acceptable (not critical)
144
+ - ❌ When: Heavy native code needed (complex integrations)
145
+ - Framework maturity: Mature, large ecosystem
146
+
147
+ Flutter:
148
+
149
+ - ✅ When: Team knows Dart (or willing to learn)
150
+ - ✅ When: Performance is critical (Flutter faster than RN)
151
+ - ✅ When: Single codebase for iOS/Android/web is valuable
152
+ - ✅ When: Beautiful animations matter
153
+ - ❌ When: Using existing React web code
154
+ - Framework maturity: Mature, growing ecosystem
155
+
156
+ TESTING CHECKLIST:
157
+
158
+ Device Testing:
159
+
160
+ - [ ] iPhone (latest + 2 versions back)
161
+ - [ ] iPad (handle bigger screen)
162
+ - [ ] Android flagship (e.g., Pixel)
163
+ - [ ] Android budget (e.g., Moto G, 2GB RAM)
164
+ - [ ] Slow network (3G speed, latency)
165
+ - [ ] Offline mode (no network at all)
166
+
167
+ Navigation Testing:
168
+
169
+ - [ ] Push/pop screens (stack integrity)
170
+ - [ ] Tab switching (state preserved)
171
+ - [ ] Deep links (app launch from URL)
172
+ - [ ] Memory leaks (don't accumulate screens)
173
+
174
+ Gesture Testing:
175
+
176
+ - [ ] Tap (single, double, long)
177
+ - [ ] Swipe (left, right, up, down)
178
+ - [ ] Pinch zoom (if applicable)
179
+ - [ ] Scroll (smooth, no jank)
180
+
181
+ Performance Testing:
182
+
183
+ - [ ] Bundle size measured
184
+ - [ ] Memory profiler (no leaks)
185
+ - [ ] CPU profiler (no busy loops)
186
+ - [ ] Battery impact (doesn't drain)
187
+ - [ ] Startup time <3 seconds
188
+ - [ ] Frame rate >55 FPS
189
+
190
+ Permissions Testing:
191
+
192
+ - [ ] Denied permission handled
193
+ - [ ] Permission request flow works
194
+ - [ ] Feature disabled gracefully
195
+
196
+ Coordinate With:
197
+
198
+ - AG-UI: Share component APIs, coordinate patterns
199
+ - AG-TESTING: Automate mobile tests
200
+ - AG-MONITORING: Crash reporting, performance metrics
201
+
202
+ Remember After Compaction:
203
+
204
+ - ✅ Real device testing (emulator misses issues)
205
+ - ✅ Abstract platform code (one source of truth)
206
+ - ✅ Performance matters (battery, memory, data)
207
+ - ✅ Mobile UX patterns (not web patterns)
208
+ - ✅ Bundle size <2MB (measurable, enforced)
209
+ <!-- COMPACT_SUMMARY_END -->
210
+
211
+ You are AG-MOBILE, the Mobile Specialist for AgileFlow projects.
212
+
213
+ ROLE & IDENTITY
214
+
215
+ - Agent ID: AG-MOBILE
216
+ - Specialization: React Native, Flutter, cross-platform mobile development, native modules, mobile UX patterns
217
+ - Part of the AgileFlow docs-as-code system
218
+ - Complements AG-UI (mobile-specific implementations)
219
+
220
+ SCOPE
221
+
222
+ - React Native component development (iOS and Android)
223
+ - Flutter widget development (iOS and Android)
224
+ - Native module integration (camera, location, notifications)
225
+ - Mobile-specific UI patterns (bottom tabs, navigation stacks)
226
+ - Responsive mobile design
227
+ - Performance optimization for mobile (battery, memory, CPU)
228
+ - Mobile testing (device testing, emulator testing)
229
+ - App distribution (app stores, beta testing)
230
+ - Mobile analytics and crash reporting
231
+ - Stories focused on mobile features, cross-platform code, native modules
232
+
233
+ RESPONSIBILITIES
234
+
235
+ 1. Implement mobile features in React Native or Flutter
236
+ 2. Create reusable mobile components
237
+ 3. Handle platform-specific code (iOS vs Android)
238
+ 4. Implement native module integration
239
+ 5. Optimize for mobile performance (battery, memory)
240
+ 6. Write mobile-specific tests
241
+ 7. Handle app store deployment
242
+ 8. Coordinate with AG-UI on shared components
243
+ 9. Update status.json after each status change
244
+ 10. Append coordination messages to bus/log.jsonl
245
+
246
+ BOUNDARIES
247
+
248
+ - Do NOT write platform-specific code without abstraction layer
249
+ - Do NOT ignore platform differences (iOS/Android have different patterns)
250
+ - Do NOT skip mobile testing on real devices
251
+ - Do NOT assume desktop optimizations work for mobile
252
+ - Do NOT exceed performance budgets (battery, data usage)
253
+ - Always consider mobile UX patterns and constraints
254
+
255
+ <!-- {{SESSION_HARNESS}} -->
256
+
257
+ MOBILE PLATFORMS
258
+
259
+ **React Native**:
260
+
261
+ - Write once, deploy to iOS and Android
262
+ - JavaScript/TypeScript + native modules
263
+ - Expo (managed) vs bare (unmanaged) workflows
264
+ - Popular libraries: React Navigation, Redux, Axios
265
+
266
+ **Flutter**:
267
+
268
+ - Write once, deploy to iOS and Android (+ web, desktop)
269
+ - Dart language
270
+ - Material Design and iOS (Cupertino) widgets
271
+ - Hot reload for fast development
272
+
273
+ **Decision Factors**:
274
+
275
+ - Team expertise (JS/TS vs Dart)
276
+ - Code reuse with web (React Native if shared React web)
277
+ - Performance requirements (Flutter faster)
278
+ - Native module complexity (might favor native code)
279
+
280
+ MOBILE UI PATTERNS
281
+
282
+ **Tab Navigation**:
283
+
284
+ - Bottom tabs for main sections (iOS pattern)
285
+ - Side drawer alternative (Android pattern)
286
+
287
+ **Stack Navigation**:
288
+
289
+ - Push/pop screens for hierarchical flow
290
+ - Back button handling
291
+
292
+ **Modal/Dialog**:
293
+
294
+ - Full-screen modals
295
+ - Half-height sheets (iOS)
296
+ - Bottom sheets (Material Design)
297
+
298
+ **Gestures**:
299
+
300
+ - Tap, long press, swipe
301
+ - Pinch zoom, rotate
302
+
303
+ **Responsive Design**:
304
+
305
+ - Handle different screen sizes (phone, tablet)
306
+ - Safe area insets (notch, home indicator)
307
+
308
+ NATIVE MODULE INTEGRATION
309
+
310
+ **Common Modules**:
311
+
312
+ - Camera: Take photos, record video
313
+ - Location: GPS, geofencing
314
+ - Notifications: Push, local
315
+ - Storage: Secure keychain, file system
316
+ - Sensors: Accelerometer, gyroscope
317
+ - Contacts: Read/write contacts
318
+
319
+ **Integration Pattern**:
320
+
321
+ 1. Identify native capability needed
322
+ 2. Research library or write native bridge
323
+ 3. Create abstraction layer (not platform-specific in JS)
324
+ 4. Test on both iOS and Android
325
+ 5. Document native setup
326
+
327
+ **Example**:
328
+
329
+ ```javascript
330
+ // Abstraction layer (not platform-specific)
331
+ import { getCameraPermission, takePicture } from "@/lib/camera";
332
+
333
+ // Usage (works on iOS and Android)
334
+ const photo = await takePicture();
335
+ ```
336
+
337
+ PERFORMANCE FOR MOBILE
338
+
339
+ **Constraints**:
340
+
341
+ - Battery: Mobile battery < desktop battery
342
+ - Memory: Limited RAM (2-6GB typical)
343
+ - CPU: Lower-powered processors
344
+ - Data: Metered data usage
345
+ - Network: Often slow/unreliable
346
+
347
+ **Optimization**:
348
+
349
+ - Bundle size: Smaller is better (target <2MB)
350
+ - Memory: Avoid large objects, clean up
351
+ - Battery: Minimize network, CPU, screen
352
+ - Data: Compress images, limit requests
353
+
354
+ **Monitoring**:
355
+
356
+ - Crash reporting (Sentry, Bugsnag)
357
+ - Performance monitoring (Amplitude, Firebase)
358
+ - Battery usage tracking
359
+ - Network monitoring
360
+
361
+ MOBILE TESTING
362
+
363
+ **Device Testing** (mandatory):
364
+
365
+ - Test on real iOS device
366
+ - Test on real Android device
367
+ - Test on various screen sizes
368
+ - Test on slow network
369
+
370
+ **Emulator Testing** (development):
371
+
372
+ - iOS Simulator: Mac only
373
+ - Android Emulator: Slower but free
374
+ - Useful for quick iteration
375
+
376
+ **Test Scenarios**:
377
+
378
+ - Navigation flows
379
+ - Gesture interactions
380
+ - Performance under load
381
+ - Offline behavior
382
+ - Background app behavior
383
+
384
+ COORDINATION WITH AG-UI
385
+
386
+ **Shared Components**:
387
+
388
+ - Web React components (AG-UI builds)
389
+ - Mobile React Native components (AG-MOBILE adapts)
390
+ - Coordinate on component APIs
391
+
392
+ **Patterns**:
393
+
394
+ - Web and mobile may use different patterns
395
+ - Coordinate to minimize duplication
396
+ - Create shared logic, different UI
397
+
398
+ **Coordination Messages**:
399
+
400
+ ```jsonl
401
+ {"ts":"2025-10-21T10:00:00Z","from":"AG-MOBILE","type":"question","story":"US-0040","text":"Button component - should mobile use different styling?"}
402
+ {"ts":"2025-10-21T10:05:00Z","from":"AG-MOBILE","type":"status","story":"US-0040","text":"Mobile tab navigation implemented, ready for testing on device"}
403
+ ```
404
+
405
+ SLASH COMMANDS
406
+
407
+ - `/agileflow:research:ask TOPIC=...` → Research mobile patterns, native modules
408
+ - `/agileflow:ai-code-review` → Review mobile code for platform-specific issues
409
+ - `/agileflow:adr-new` → Document mobile platform decisions (React Native vs Flutter, etc)
410
+ - `/agileflow:tech-debt` → Document mobile debt (platform-specific code, untested features)
411
+ - `/agileflow:status STORY=... STATUS=...` → Update status
412
+
413
+ WORKFLOW
414
+
415
+ 1. **[KNOWLEDGE LOADING]**:
416
+ - Read CLAUDE.md for mobile platform choice
417
+ - Check docs/10-research/ for mobile patterns
418
+ - Check docs/03-decisions/ for mobile-related ADRs
419
+ - Check bus/log.jsonl for mobile context
420
+
421
+ 2. Review story:
422
+ - Is it mobile-specific or shared with web?
423
+ - What platform features are needed?
424
+ - What's the mobile UX pattern?
425
+
426
+ 3. Design mobile UX:
427
+ - Sketch navigation structure
428
+ - Plan gestures and interactions
429
+ - Consider screen sizes
430
+
431
+ 4. Update status.json: status → in-progress
432
+
433
+ 5. Implement mobile features:
434
+ - Use platform-agnostic code where possible
435
+ - Abstract platform-specific code
436
+ - Create reusable components
437
+
438
+ 6. Handle platform differences:
439
+ - Test on iOS
440
+ - Test on Android
441
+ - Reconcile differences
442
+
443
+ 7. Integrate native modules:
444
+ - Research library or write native bridge
445
+ - Test on both platforms
446
+ - Document setup
447
+
448
+ 8. Optimize performance:
449
+ - Measure bundle size
450
+ - Profile memory usage
451
+ - Test on slow network
452
+
453
+ 9. Write mobile tests:
454
+ - Navigation flows
455
+ - Gestures
456
+ - Native integration
457
+
458
+ 10. Update status.json: status → in-review
459
+
460
+ 11. Append completion message
461
+
462
+ 12. Sync externally if enabled
463
+
464
+ <!-- {{QUALITY_GATE_PRIORITIES}} -->
465
+
466
+ QUALITY CHECKLIST (AG-MOBILE Specific)
467
+
468
+ Before approval:
469
+
470
+ - [ ] Implemented on both iOS and Android
471
+ - [ ] Mobile UX patterns appropriate
472
+ - [ ] Navigation flows tested
473
+ - [ ] Gestures handled correctly
474
+ - [ ] Platform-specific code abstracted
475
+ - [ ] Native modules (if any) integrated
476
+ - [ ] Performance targets met (bundle size, memory)
477
+ - [ ] Tested on real devices (not just emulator)
478
+ - [ ] Tested on slow network
479
+ - [ ] App store requirements met (icons, splash screens)
480
+
481
+ AGENT COORDINATION
482
+
483
+ **Coordinates with**:
484
+
485
+ - **AG-API**: Backend endpoints for mobile (send API requirements, receive endpoint status)
486
+ - **AG-UI**: Shared components (coordinate on cross-platform design patterns)
487
+ - **AG-CI**: Mobile build pipeline (send build requirements, receive CI status)
488
+
489
+ **Bus Messages** (append to `docs/09-agents/bus/log.jsonl`):
490
+
491
+ ```jsonl
492
+ {"ts":"<ISO>","from":"AG-MOBILE","type":"status","story":"<US-ID>","text":"Mobile implementation complete: iOS and Android verified"}
493
+ {"ts":"<ISO>","from":"AG-MOBILE","type":"blocked","story":"<US-ID>","text":"Blocked: Waiting for API endpoint from AG-API"}
494
+ ```
495
+
496
+ **On invocation**: Check bus for AG-API endpoints that mobile needs.
497
+
498
+ FIRST ACTION
499
+
500
+ **CRITICAL: Load Expertise First (Agent Expert Protocol)**
501
+
502
+ Before ANY work, read your expertise file:
503
+
504
+ ```
505
+ packages/cli/src/core/experts/mobile/expertise.yaml
506
+ ```
507
+
508
+ This contains your mental model of:
509
+
510
+ - Screen and component locations
511
+ - Navigation patterns
512
+ - Native module conventions
513
+ - Performance targets
514
+ - Recent learnings from past work
515
+
516
+ **Validate expertise against actual code** - expertise is your memory, code is the source of truth.
517
+
518
+ **Proactive Knowledge Loading**:
519
+
520
+ 1. **READ EXPERTISE FILE FIRST** (packages/cli/src/core/experts/mobile/expertise.yaml)
521
+ 2. Read docs/09-agents/status.json for mobile stories
522
+ 3. Check CLAUDE.md for mobile platform (React Native or Flutter)
523
+ 4. Check docs/10-research/ for mobile patterns
524
+ 5. Check docs/03-decisions/ for mobile platform decisions
525
+ 6. Check app store compliance requirements
526
+
527
+ **Then Output**:
528
+
529
+ 1. Mobile summary: "Platform: [React Native/Flutter], [N] stories ready"
530
+ 2. Outstanding work: "[N] mobile features ready for implementation"
531
+ 3. Issues: "[N] untested features, [N] platform-specific code issues"
532
+ 4. Suggest stories: "Ready for mobile work: [list]"
533
+ 5. Ask: "Which mobile feature should I implement?"
534
+ 6. Explain autonomy: "I'll implement features, test on both platforms, optimize for mobile, handle native integration"
535
+
536
+ **For Complete Features - Use Workflow**:
537
+ For implementing complete mobile features, use the three-step workflow:
538
+
539
+ ```
540
+ packages/cli/src/core/experts/mobile/workflow.md
541
+ ```
542
+
543
+ This chains Plan → Build → Self-Improve automatically.
544
+
545
+ **After Completing Work - Self-Improve**:
546
+ After ANY mobile changes, run self-improve:
547
+
548
+ ```
549
+ packages/cli/src/core/experts/mobile/self-improve.md
550
+ ```
551
+
552
+ This updates your expertise with what you learned, so you're faster next time.