@amrhas82/agentic-kit 1.5.0 → 1.7.5

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 (1281) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +110 -183
  3. package/docs/INSTALLATION_DEMO.md +4 -4
  4. package/docs/INTEGRATION_ISSUES_9.1.md +2 -2
  5. package/docs/KNOWLEDGE_BASE.md +16 -16
  6. package/docs/PACKAGE_BASELINE.md +9 -9
  7. package/docs/UPDATED_VARIANT_CONFIGURATION.md +14 -14
  8. package/docs/VARIANT_CONFIGURATION.md +2 -2
  9. package/package.json +1 -1
  10. package/packages/ampcode/AGENT.md +55 -0
  11. package/packages/ampcode/agents/1-create-prd.md +69 -40
  12. package/packages/ampcode/agents/2-generate-tasks.md +113 -25
  13. package/packages/ampcode/agents/3-process-task-list.md +125 -71
  14. package/packages/ampcode/agents/backlog-manager.md +169 -0
  15. package/packages/ampcode/agents/code-developer.md +118 -0
  16. package/packages/ampcode/agents/context-builder.md +198 -0
  17. package/packages/ampcode/agents/feature-planner.md +155 -0
  18. package/packages/ampcode/agents/{business-analyst.md → market-researcher.md} +57 -9
  19. package/packages/ampcode/agents/master.md +107 -18
  20. package/packages/ampcode/agents/orchestrator.md +176 -85
  21. package/packages/{claude/agents/qa-test-architect.md → ampcode/agents/quality-assurance.md} +53 -22
  22. package/packages/{claude/agents/scrum-master.md → ampcode/agents/story-writer.md} +52 -16
  23. package/packages/ampcode/agents/{holistic-architect.md → system-architect.md} +45 -3
  24. package/packages/{claude/agents/ux-expert.md → ampcode/agents/ui-designer.md} +50 -16
  25. package/packages/ampcode/commands/brainstorming.md +6 -3
  26. package/packages/ampcode/commands/code-review.md +8 -154
  27. package/packages/ampcode/commands/condition-based-waiting.md +5 -2
  28. package/packages/ampcode/commands/debug.md +21 -0
  29. package/packages/ampcode/commands/docs-builder/templates.md +572 -0
  30. package/packages/ampcode/commands/docs-builder.md +107 -0
  31. package/packages/ampcode/commands/explain.md +19 -0
  32. package/packages/ampcode/commands/git-commit.md +15 -0
  33. package/packages/ampcode/commands/optimize.md +21 -0
  34. package/packages/ampcode/commands/refactor.md +22 -0
  35. package/packages/ampcode/commands/review.md +19 -0
  36. package/packages/ampcode/commands/root-cause-tracing.md +5 -2
  37. package/packages/ampcode/commands/security.md +22 -0
  38. package/packages/ampcode/commands/ship.md +19 -0
  39. package/packages/ampcode/commands/skill-creator.md +4 -1
  40. package/packages/ampcode/commands/subagent-spawning.md +82 -0
  41. package/packages/ampcode/commands/systematic-debugging.md +4 -344
  42. package/packages/ampcode/commands/test-driven-development.md +27 -1
  43. package/packages/ampcode/commands/test-generate.md +19 -0
  44. package/packages/ampcode/commands/testing-anti-patterns.md +4 -1
  45. package/packages/ampcode/commands/verification-before-completion.md +15 -1
  46. package/packages/ampcode/variants.json +44 -22
  47. package/packages/claude/CLAUDE.md +61 -0
  48. package/packages/claude/agents/1-create-prd.md +69 -40
  49. package/packages/claude/agents/2-generate-tasks.md +113 -25
  50. package/packages/claude/agents/3-process-task-list.md +125 -72
  51. package/packages/claude/agents/backlog-manager.md +169 -0
  52. package/packages/claude/agents/code-developer.md +118 -0
  53. package/packages/claude/agents/context-builder.md +198 -0
  54. package/packages/claude/agents/feature-planner.md +155 -0
  55. package/packages/claude/agents/{business-analyst.md → market-researcher.md} +57 -9
  56. package/packages/claude/agents/master.md +107 -19
  57. package/packages/claude/agents/orchestrator.md +177 -85
  58. package/packages/{ampcode/agents/qa-test-architect.md → claude/agents/quality-assurance.md} +53 -22
  59. package/packages/{ampcode/agents/scrum-master.md → claude/agents/story-writer.md} +52 -16
  60. package/packages/claude/agents/{holistic-architect.md → system-architect.md} +45 -3
  61. package/packages/{ampcode/agents/ux-expert.md → claude/agents/ui-designer.md} +50 -16
  62. package/packages/claude/commands/debug.md +21 -0
  63. package/packages/claude/commands/explain.md +19 -0
  64. package/packages/claude/commands/git-commit.md +15 -0
  65. package/packages/claude/commands/optimize.md +21 -0
  66. package/packages/claude/commands/refactor.md +22 -0
  67. package/packages/claude/commands/review.md +19 -0
  68. package/packages/claude/commands/security.md +22 -0
  69. package/packages/claude/commands/ship.md +19 -0
  70. package/packages/claude/commands/test-generate.md +19 -0
  71. package/packages/claude/skills/brainstorming/SKILL.md +5 -2
  72. package/packages/claude/skills/code-review/SKILL.md +8 -5
  73. package/packages/claude/skills/condition-based-waiting/SKILL.md +3 -0
  74. package/packages/claude/skills/docs-builder/SKILL.md +107 -0
  75. package/packages/claude/skills/docs-builder/references/templates.md +572 -0
  76. package/packages/claude/skills/root-cause-tracing/SKILL.md +3 -0
  77. package/packages/claude/skills/skill-creator/SKILL.md +3 -0
  78. package/packages/claude/skills/subagent-spawning/SKILL.md +82 -0
  79. package/packages/claude/skills/systematic-debugging/SKILL.md +4 -2
  80. package/packages/claude/skills/test-driven-development/SKILL.md +29 -0
  81. package/packages/claude/skills/testing-anti-patterns/SKILL.md +3 -0
  82. package/packages/claude/skills/verification-before-completion/SKILL.md +14 -0
  83. package/packages/claude/variants.json +46 -19
  84. package/packages/droid/AGENTS.md +49 -386
  85. package/packages/droid/commands/brainstorming.md +12 -4
  86. package/packages/droid/commands/code-review.md +47 -31
  87. package/packages/droid/commands/condition-based-waiting.md +42 -52
  88. package/packages/droid/commands/debug.md +21 -0
  89. package/packages/droid/commands/docs-builder/templates.md +572 -0
  90. package/packages/droid/commands/docs-builder.md +107 -0
  91. package/packages/droid/commands/explain.md +19 -0
  92. package/packages/droid/commands/git-commit.md +15 -0
  93. package/packages/droid/commands/optimize.md +21 -0
  94. package/packages/droid/commands/refactor.md +22 -0
  95. package/packages/droid/commands/review.md +19 -0
  96. package/packages/droid/commands/root-cause-tracing.md +65 -99
  97. package/packages/droid/commands/security.md +22 -0
  98. package/packages/droid/commands/ship.md +19 -0
  99. package/packages/droid/commands/skill-creator.md +158 -142
  100. package/packages/droid/commands/subagent-spawning.md +82 -0
  101. package/packages/droid/commands/systematic-debugging.md +222 -139
  102. package/packages/droid/commands/test-driven-development.md +237 -78
  103. package/packages/droid/commands/test-generate.md +19 -0
  104. package/packages/droid/commands/testing-anti-patterns.md +130 -73
  105. package/packages/droid/commands/verification-before-completion.md +91 -89
  106. package/packages/droid/droids/1-create-prd.md +69 -41
  107. package/packages/droid/droids/2-generate-tasks.md +113 -26
  108. package/packages/droid/droids/3-process-task-list.md +125 -72
  109. package/packages/droid/droids/backlog-manager.md +169 -0
  110. package/packages/droid/droids/code-developer.md +118 -0
  111. package/packages/droid/droids/context-builder.md +198 -0
  112. package/packages/droid/droids/feature-planner.md +155 -0
  113. package/packages/droid/droids/{business-analyst.md → market-researcher.md} +57 -9
  114. package/packages/droid/droids/master.md +107 -18
  115. package/packages/droid/droids/orchestrator.md +176 -85
  116. package/packages/droid/droids/{qa-test-architect.md → quality-assurance.md} +53 -22
  117. package/packages/droid/droids/{scrum-master.md → story-writer.md} +52 -16
  118. package/packages/droid/droids/{holistic-architect.md → system-architect.md} +45 -3
  119. package/packages/droid/droids/{ux-expert.md → ui-designer.md} +50 -16
  120. package/packages/droid/variants.json +44 -22
  121. package/packages/opencode/AGENTS.md +49 -382
  122. package/packages/opencode/agent/1-create-prd.md +69 -40
  123. package/packages/opencode/agent/2-generate-tasks.md +113 -26
  124. package/packages/opencode/agent/3-process-task-list.md +124 -71
  125. package/packages/opencode/agent/backlog-manager.md +173 -0
  126. package/packages/opencode/agent/code-developer.md +122 -0
  127. package/packages/opencode/agent/context-builder.md +202 -0
  128. package/packages/opencode/agent/feature-planner.md +159 -0
  129. package/packages/opencode/agent/{business-analyst.md → market-researcher.md} +58 -10
  130. package/packages/opencode/agent/master.md +107 -18
  131. package/packages/opencode/agent/orchestrator.md +176 -86
  132. package/packages/opencode/agent/{qa-test-architect.md → quality-assurance.md} +53 -22
  133. package/packages/opencode/agent/{scrum-master.md → story-writer.md} +52 -16
  134. package/packages/opencode/agent/{holistic-architect.md → system-architect.md} +45 -3
  135. package/packages/opencode/agent/{ux-expert.md → ui-designer.md} +50 -16
  136. package/packages/opencode/command/brainstorming.md +12 -4
  137. package/packages/opencode/command/code-review.md +47 -31
  138. package/packages/opencode/command/condition-based-waiting.md +42 -52
  139. package/packages/opencode/command/debug.md +21 -0
  140. package/packages/opencode/command/docs-builder/templates.md +572 -0
  141. package/packages/opencode/command/docs-builder.md +107 -0
  142. package/packages/opencode/command/explain.md +19 -0
  143. package/packages/opencode/command/git-commit.md +15 -0
  144. package/packages/opencode/command/optimize.md +21 -0
  145. package/packages/opencode/command/refactor.md +22 -0
  146. package/packages/opencode/command/review.md +19 -0
  147. package/packages/opencode/command/root-cause-tracing.md +65 -99
  148. package/packages/opencode/command/security.md +22 -0
  149. package/packages/opencode/command/ship.md +19 -0
  150. package/packages/opencode/command/skill-creator.md +158 -142
  151. package/packages/opencode/command/subagent-spawning.md +82 -0
  152. package/packages/opencode/command/systematic-debugging.md +222 -139
  153. package/packages/opencode/command/test-driven-development.md +237 -78
  154. package/packages/opencode/command/test-generate.md +19 -0
  155. package/packages/opencode/command/testing-anti-patterns.md +130 -73
  156. package/packages/opencode/command/verification-before-completion.md +91 -89
  157. package/packages/opencode/opencode.jsonc +37 -85
  158. package/packages/opencode/variants.json +44 -22
  159. package/packages/subagentic-manual.md +304 -107
  160. package/packages/ampcode/AGENTS.md +0 -378
  161. package/packages/ampcode/agents/context-initializer.md +0 -472
  162. package/packages/ampcode/agents/full-stack-dev.md +0 -80
  163. package/packages/ampcode/agents/product-manager.md +0 -82
  164. package/packages/ampcode/agents/product-owner.md +0 -97
  165. package/packages/ampcode/commands/README.md +0 -76
  166. package/packages/ampcode/commands/algorithmic-art/templates/generator_template.js +0 -223
  167. package/packages/ampcode/commands/algorithmic-art/templates/viewer.html +0 -599
  168. package/packages/ampcode/commands/algorithmic-art.md +0 -405
  169. package/packages/ampcode/commands/artifacts-builder/scripts/bundle-artifact.sh +0 -54
  170. package/packages/ampcode/commands/artifacts-builder/scripts/init-artifact.sh +0 -322
  171. package/packages/ampcode/commands/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  172. package/packages/ampcode/commands/artifacts-builder.md +0 -74
  173. package/packages/ampcode/commands/brand-guidelines.md +0 -73
  174. package/packages/ampcode/commands/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  175. package/packages/ampcode/commands/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  176. package/packages/ampcode/commands/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  177. package/packages/ampcode/commands/canvas-design/canvas-fonts/BigShoulders-OFL.txt +0 -93
  178. package/packages/ampcode/commands/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  179. package/packages/ampcode/commands/canvas-design/canvas-fonts/Boldonse-OFL.txt +0 -93
  180. package/packages/ampcode/commands/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  181. package/packages/ampcode/commands/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  182. package/packages/ampcode/commands/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  183. package/packages/ampcode/commands/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  184. package/packages/ampcode/commands/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  185. package/packages/ampcode/commands/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  186. package/packages/ampcode/commands/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  187. package/packages/ampcode/commands/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  188. package/packages/ampcode/commands/canvas-design/canvas-fonts/DMMono-OFL.txt +0 -93
  189. package/packages/ampcode/commands/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  190. package/packages/ampcode/commands/canvas-design/canvas-fonts/EricaOne-OFL.txt +0 -94
  191. package/packages/ampcode/commands/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  192. package/packages/ampcode/commands/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  193. package/packages/ampcode/commands/canvas-design/canvas-fonts/GeistMono-OFL.txt +0 -93
  194. package/packages/ampcode/commands/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  195. package/packages/ampcode/commands/canvas-design/canvas-fonts/Gloock-OFL.txt +0 -93
  196. package/packages/ampcode/commands/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  197. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  198. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  199. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  200. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  201. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  202. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  203. package/packages/ampcode/commands/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  204. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  205. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  206. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  207. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  208. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  209. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  210. package/packages/ampcode/commands/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  211. package/packages/ampcode/commands/canvas-design/canvas-fonts/Italiana-OFL.txt +0 -93
  212. package/packages/ampcode/commands/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  213. package/packages/ampcode/commands/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  214. package/packages/ampcode/commands/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  215. package/packages/ampcode/commands/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  216. package/packages/ampcode/commands/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  217. package/packages/ampcode/commands/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  218. package/packages/ampcode/commands/canvas-design/canvas-fonts/Jura-OFL.txt +0 -93
  219. package/packages/ampcode/commands/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  220. package/packages/ampcode/commands/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  221. package/packages/ampcode/commands/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  222. package/packages/ampcode/commands/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  223. package/packages/ampcode/commands/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  224. package/packages/ampcode/commands/canvas-design/canvas-fonts/Lora-OFL.txt +0 -93
  225. package/packages/ampcode/commands/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  226. package/packages/ampcode/commands/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  227. package/packages/ampcode/commands/canvas-design/canvas-fonts/NationalPark-OFL.txt +0 -93
  228. package/packages/ampcode/commands/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  229. package/packages/ampcode/commands/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  230. package/packages/ampcode/commands/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  231. package/packages/ampcode/commands/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  232. package/packages/ampcode/commands/canvas-design/canvas-fonts/Outfit-OFL.txt +0 -93
  233. package/packages/ampcode/commands/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  234. package/packages/ampcode/commands/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  235. package/packages/ampcode/commands/canvas-design/canvas-fonts/PixelifySans-OFL.txt +0 -93
  236. package/packages/ampcode/commands/canvas-design/canvas-fonts/PoiretOne-OFL.txt +0 -93
  237. package/packages/ampcode/commands/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  238. package/packages/ampcode/commands/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  239. package/packages/ampcode/commands/canvas-design/canvas-fonts/RedHatMono-OFL.txt +0 -93
  240. package/packages/ampcode/commands/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  241. package/packages/ampcode/commands/canvas-design/canvas-fonts/Silkscreen-OFL.txt +0 -93
  242. package/packages/ampcode/commands/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  243. package/packages/ampcode/commands/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  244. package/packages/ampcode/commands/canvas-design/canvas-fonts/SmoochSans-OFL.txt +0 -93
  245. package/packages/ampcode/commands/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  246. package/packages/ampcode/commands/canvas-design/canvas-fonts/Tektur-OFL.txt +0 -93
  247. package/packages/ampcode/commands/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  248. package/packages/ampcode/commands/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  249. package/packages/ampcode/commands/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  250. package/packages/ampcode/commands/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  251. package/packages/ampcode/commands/canvas-design/canvas-fonts/WorkSans-OFL.txt +0 -93
  252. package/packages/ampcode/commands/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  253. package/packages/ampcode/commands/canvas-design/canvas-fonts/YoungSerif-OFL.txt +0 -93
  254. package/packages/ampcode/commands/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  255. package/packages/ampcode/commands/canvas-design.md +0 -130
  256. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  257. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  258. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  259. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  260. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  261. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  262. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  263. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  264. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  265. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  266. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  267. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  268. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  269. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  270. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  271. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  272. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  273. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  274. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  275. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  276. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  277. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  278. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  279. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  280. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  281. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  282. package/packages/ampcode/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  283. package/packages/ampcode/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  284. package/packages/ampcode/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  285. package/packages/ampcode/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  286. package/packages/ampcode/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  287. package/packages/ampcode/commands/docx/ooxml/schemas/mce/mc.xsd +0 -75
  288. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  289. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  290. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  291. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  292. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  293. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  294. package/packages/ampcode/commands/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  295. package/packages/ampcode/commands/docx/ooxml/scripts/pack.py +0 -159
  296. package/packages/ampcode/commands/docx/ooxml/scripts/unpack.py +0 -29
  297. package/packages/ampcode/commands/docx/ooxml/scripts/validate.py +0 -69
  298. package/packages/ampcode/commands/docx/ooxml/scripts/validation/__init__.py +0 -15
  299. package/packages/ampcode/commands/docx/ooxml/scripts/validation/base.py +0 -951
  300. package/packages/ampcode/commands/docx/ooxml/scripts/validation/docx.py +0 -274
  301. package/packages/ampcode/commands/docx/ooxml/scripts/validation/pptx.py +0 -315
  302. package/packages/ampcode/commands/docx/ooxml/scripts/validation/redlining.py +0 -279
  303. package/packages/ampcode/commands/docx/scripts/__init__.py +0 -1
  304. package/packages/ampcode/commands/docx/scripts/document.py +0 -1276
  305. package/packages/ampcode/commands/docx/scripts/templates/comments.xml +0 -3
  306. package/packages/ampcode/commands/docx/scripts/templates/commentsExtended.xml +0 -3
  307. package/packages/ampcode/commands/docx/scripts/templates/commentsExtensible.xml +0 -3
  308. package/packages/ampcode/commands/docx/scripts/templates/commentsIds.xml +0 -3
  309. package/packages/ampcode/commands/docx/scripts/templates/people.xml +0 -3
  310. package/packages/ampcode/commands/docx/scripts/utilities.py +0 -374
  311. package/packages/ampcode/commands/docx.md +0 -1163
  312. package/packages/ampcode/commands/internal-comms/examples/3p-updates.md +0 -47
  313. package/packages/ampcode/commands/internal-comms/examples/company-newsletter.md +0 -65
  314. package/packages/ampcode/commands/internal-comms/examples/faq-answers.md +0 -30
  315. package/packages/ampcode/commands/internal-comms/examples/general-comms.md +0 -16
  316. package/packages/ampcode/commands/internal-comms.md +0 -32
  317. package/packages/ampcode/commands/mcp-builder/reference/evaluation.md +0 -602
  318. package/packages/ampcode/commands/mcp-builder/reference/mcp_best_practices.md +0 -915
  319. package/packages/ampcode/commands/mcp-builder/reference/node_mcp_server.md +0 -916
  320. package/packages/ampcode/commands/mcp-builder/reference/python_mcp_server.md +0 -752
  321. package/packages/ampcode/commands/mcp-builder/scripts/connections.py +0 -151
  322. package/packages/ampcode/commands/mcp-builder/scripts/evaluation.py +0 -373
  323. package/packages/ampcode/commands/mcp-builder/scripts/example_evaluation.xml +0 -22
  324. package/packages/ampcode/commands/mcp-builder/scripts/requirements.txt +0 -2
  325. package/packages/ampcode/commands/mcp-builder.md +0 -328
  326. package/packages/ampcode/commands/pdf/scripts/check_bounding_boxes.py +0 -70
  327. package/packages/ampcode/commands/pdf/scripts/check_bounding_boxes_test.py +0 -226
  328. package/packages/ampcode/commands/pdf/scripts/check_fillable_fields.py +0 -12
  329. package/packages/ampcode/commands/pdf/scripts/convert_pdf_to_images.py +0 -35
  330. package/packages/ampcode/commands/pdf/scripts/create_validation_image.py +0 -41
  331. package/packages/ampcode/commands/pdf/scripts/extract_form_field_info.py +0 -152
  332. package/packages/ampcode/commands/pdf/scripts/fill_fillable_fields.py +0 -114
  333. package/packages/ampcode/commands/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  334. package/packages/ampcode/commands/pdf.md +0 -1117
  335. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  336. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  337. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  338. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  339. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  340. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  341. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  342. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  343. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  344. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  345. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  346. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  347. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  348. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  349. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  350. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  351. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  352. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  353. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  354. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  355. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  356. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  357. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  358. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  359. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  360. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  361. package/packages/ampcode/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  362. package/packages/ampcode/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  363. package/packages/ampcode/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  364. package/packages/ampcode/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  365. package/packages/ampcode/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  366. package/packages/ampcode/commands/pptx/ooxml/schemas/mce/mc.xsd +0 -75
  367. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  368. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  369. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  370. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  371. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  372. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  373. package/packages/ampcode/commands/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  374. package/packages/ampcode/commands/pptx/ooxml/scripts/pack.py +0 -159
  375. package/packages/ampcode/commands/pptx/ooxml/scripts/unpack.py +0 -29
  376. package/packages/ampcode/commands/pptx/ooxml/scripts/validate.py +0 -69
  377. package/packages/ampcode/commands/pptx/ooxml/scripts/validation/__init__.py +0 -15
  378. package/packages/ampcode/commands/pptx/ooxml/scripts/validation/base.py +0 -951
  379. package/packages/ampcode/commands/pptx/ooxml/scripts/validation/docx.py +0 -274
  380. package/packages/ampcode/commands/pptx/ooxml/scripts/validation/pptx.py +0 -315
  381. package/packages/ampcode/commands/pptx/ooxml/scripts/validation/redlining.py +0 -279
  382. package/packages/ampcode/commands/pptx/scripts/html2pptx.js +0 -979
  383. package/packages/ampcode/commands/pptx/scripts/inventory.py +0 -1020
  384. package/packages/ampcode/commands/pptx/scripts/rearrange.py +0 -231
  385. package/packages/ampcode/commands/pptx/scripts/replace.py +0 -385
  386. package/packages/ampcode/commands/pptx/scripts/thumbnail.py +0 -450
  387. package/packages/ampcode/commands/pptx.md +0 -1542
  388. package/packages/ampcode/commands/slack-gif-creator/core/color_palettes.py +0 -302
  389. package/packages/ampcode/commands/slack-gif-creator/core/easing.py +0 -230
  390. package/packages/ampcode/commands/slack-gif-creator/core/frame_composer.py +0 -469
  391. package/packages/ampcode/commands/slack-gif-creator/core/gif_builder.py +0 -246
  392. package/packages/ampcode/commands/slack-gif-creator/core/typography.py +0 -357
  393. package/packages/ampcode/commands/slack-gif-creator/core/validators.py +0 -264
  394. package/packages/ampcode/commands/slack-gif-creator/core/visual_effects.py +0 -494
  395. package/packages/ampcode/commands/slack-gif-creator/templates/bounce.py +0 -106
  396. package/packages/ampcode/commands/slack-gif-creator/templates/explode.py +0 -331
  397. package/packages/ampcode/commands/slack-gif-creator/templates/fade.py +0 -329
  398. package/packages/ampcode/commands/slack-gif-creator/templates/flip.py +0 -291
  399. package/packages/ampcode/commands/slack-gif-creator/templates/kaleidoscope.py +0 -211
  400. package/packages/ampcode/commands/slack-gif-creator/templates/morph.py +0 -329
  401. package/packages/ampcode/commands/slack-gif-creator/templates/move.py +0 -293
  402. package/packages/ampcode/commands/slack-gif-creator/templates/pulse.py +0 -268
  403. package/packages/ampcode/commands/slack-gif-creator/templates/shake.py +0 -127
  404. package/packages/ampcode/commands/slack-gif-creator/templates/slide.py +0 -291
  405. package/packages/ampcode/commands/slack-gif-creator/templates/spin.py +0 -269
  406. package/packages/ampcode/commands/slack-gif-creator/templates/wiggle.py +0 -300
  407. package/packages/ampcode/commands/slack-gif-creator/templates/zoom.py +0 -312
  408. package/packages/ampcode/commands/slack-gif-creator.md +0 -646
  409. package/packages/ampcode/commands/theme-factory/themes/arctic-frost.md +0 -19
  410. package/packages/ampcode/commands/theme-factory/themes/botanical-garden.md +0 -19
  411. package/packages/ampcode/commands/theme-factory/themes/desert-rose.md +0 -19
  412. package/packages/ampcode/commands/theme-factory/themes/forest-canopy.md +0 -19
  413. package/packages/ampcode/commands/theme-factory/themes/golden-hour.md +0 -19
  414. package/packages/ampcode/commands/theme-factory/themes/midnight-galaxy.md +0 -19
  415. package/packages/ampcode/commands/theme-factory/themes/modern-minimalist.md +0 -19
  416. package/packages/ampcode/commands/theme-factory/themes/ocean-depths.md +0 -19
  417. package/packages/ampcode/commands/theme-factory/themes/sunset-boulevard.md +0 -19
  418. package/packages/ampcode/commands/theme-factory/themes/tech-innovation.md +0 -19
  419. package/packages/ampcode/commands/theme-factory.md +0 -58
  420. package/packages/ampcode/commands/webapp-testing/examples/console_logging.py +0 -35
  421. package/packages/ampcode/commands/webapp-testing/examples/element_discovery.py +0 -40
  422. package/packages/ampcode/commands/webapp-testing/examples/static_html_automation.py +0 -33
  423. package/packages/ampcode/commands/webapp-testing/scripts/with_server.py +0 -106
  424. package/packages/ampcode/commands/webapp-testing.md +0 -96
  425. package/packages/ampcode/commands/xlsx/recalc.py +0 -178
  426. package/packages/ampcode/commands/xlsx.md +0 -289
  427. package/packages/ampcode/resources/agent-teams.yaml +0 -50
  428. package/packages/ampcode/resources/checklists.md +0 -1724
  429. package/packages/ampcode/resources/data.md +0 -1372
  430. package/packages/ampcode/resources/task-briefs.md +0 -4428
  431. package/packages/ampcode/resources/templates.yaml +0 -5810
  432. package/packages/ampcode/resources/workflows.yaml +0 -1513
  433. package/packages/ampcode/subagentic-manual.md +0 -155
  434. package/packages/claude/.claude-plugin/marketplace.json +0 -67
  435. package/packages/claude/.claude-plugin/plugin-lite.json +0 -44
  436. package/packages/claude/.claude-plugin/plugin-pro.json +0 -189
  437. package/packages/claude/.claude-plugin/plugin-standard.json +0 -153
  438. package/packages/claude/.claude-plugin/plugin.json +0 -47
  439. package/packages/claude/AGENTS.md +0 -389
  440. package/packages/claude/agents/context-initializer.md +0 -472
  441. package/packages/claude/agents/full-stack-dev.md +0 -80
  442. package/packages/claude/agents/product-manager.md +0 -82
  443. package/packages/claude/agents/product-owner.md +0 -97
  444. package/packages/claude/hooks/register-agents.js +0 -123
  445. package/packages/claude/hooks/session-start.js +0 -159
  446. package/packages/claude/resources/agent-teams.yaml +0 -50
  447. package/packages/claude/resources/checklists.md +0 -1724
  448. package/packages/claude/resources/data.md +0 -1372
  449. package/packages/claude/resources/task-briefs.md +0 -4428
  450. package/packages/claude/resources/templates.yaml +0 -5810
  451. package/packages/claude/resources/workflows.yaml +0 -1513
  452. package/packages/claude/skills/README.md +0 -76
  453. package/packages/claude/skills/algorithmic-art/LICENSE.txt +0 -202
  454. package/packages/claude/skills/algorithmic-art/SKILL.md +0 -405
  455. package/packages/claude/skills/algorithmic-art/templates/generator_template.js +0 -223
  456. package/packages/claude/skills/algorithmic-art/templates/viewer.html +0 -599
  457. package/packages/claude/skills/artifacts-builder/LICENSE.txt +0 -202
  458. package/packages/claude/skills/artifacts-builder/SKILL.md +0 -74
  459. package/packages/claude/skills/artifacts-builder/scripts/bundle-artifact.sh +0 -54
  460. package/packages/claude/skills/artifacts-builder/scripts/init-artifact.sh +0 -322
  461. package/packages/claude/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  462. package/packages/claude/skills/brand-guidelines/LICENSE.txt +0 -202
  463. package/packages/claude/skills/brand-guidelines/SKILL.md +0 -73
  464. package/packages/claude/skills/canvas-design/LICENSE.txt +0 -202
  465. package/packages/claude/skills/canvas-design/SKILL.md +0 -130
  466. package/packages/claude/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  467. package/packages/claude/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  468. package/packages/claude/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  469. package/packages/claude/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +0 -93
  470. package/packages/claude/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  471. package/packages/claude/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +0 -93
  472. package/packages/claude/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  473. package/packages/claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  474. package/packages/claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  475. package/packages/claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  476. package/packages/claude/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  477. package/packages/claude/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  478. package/packages/claude/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  479. package/packages/claude/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  480. package/packages/claude/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +0 -93
  481. package/packages/claude/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  482. package/packages/claude/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +0 -94
  483. package/packages/claude/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  484. package/packages/claude/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  485. package/packages/claude/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +0 -93
  486. package/packages/claude/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  487. package/packages/claude/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +0 -93
  488. package/packages/claude/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  489. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  490. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  491. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  492. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  493. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  494. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  495. package/packages/claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  496. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  497. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  498. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  499. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  500. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  501. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  502. package/packages/claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  503. package/packages/claude/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +0 -93
  504. package/packages/claude/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  505. package/packages/claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  506. package/packages/claude/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  507. package/packages/claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  508. package/packages/claude/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  509. package/packages/claude/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  510. package/packages/claude/skills/canvas-design/canvas-fonts/Jura-OFL.txt +0 -93
  511. package/packages/claude/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  512. package/packages/claude/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  513. package/packages/claude/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  514. package/packages/claude/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  515. package/packages/claude/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  516. package/packages/claude/skills/canvas-design/canvas-fonts/Lora-OFL.txt +0 -93
  517. package/packages/claude/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  518. package/packages/claude/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  519. package/packages/claude/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +0 -93
  520. package/packages/claude/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  521. package/packages/claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  522. package/packages/claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  523. package/packages/claude/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  524. package/packages/claude/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +0 -93
  525. package/packages/claude/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  526. package/packages/claude/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  527. package/packages/claude/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +0 -93
  528. package/packages/claude/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +0 -93
  529. package/packages/claude/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  530. package/packages/claude/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  531. package/packages/claude/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +0 -93
  532. package/packages/claude/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  533. package/packages/claude/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +0 -93
  534. package/packages/claude/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  535. package/packages/claude/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  536. package/packages/claude/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +0 -93
  537. package/packages/claude/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  538. package/packages/claude/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +0 -93
  539. package/packages/claude/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  540. package/packages/claude/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  541. package/packages/claude/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  542. package/packages/claude/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  543. package/packages/claude/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +0 -93
  544. package/packages/claude/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  545. package/packages/claude/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +0 -93
  546. package/packages/claude/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  547. package/packages/claude/skills/docx/LICENSE.txt +0 -30
  548. package/packages/claude/skills/docx/SKILL.md +0 -197
  549. package/packages/claude/skills/docx/docx-js.md +0 -350
  550. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  551. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  552. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  553. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  554. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  555. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  556. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  557. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  558. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  559. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  560. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  561. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  562. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  563. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  564. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  565. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  566. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  567. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  568. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  569. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  570. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  571. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  572. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  573. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  574. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  575. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  576. package/packages/claude/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  577. package/packages/claude/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  578. package/packages/claude/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  579. package/packages/claude/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  580. package/packages/claude/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  581. package/packages/claude/skills/docx/ooxml/schemas/mce/mc.xsd +0 -75
  582. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  583. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  584. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  585. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  586. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  587. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  588. package/packages/claude/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  589. package/packages/claude/skills/docx/ooxml/scripts/pack.py +0 -159
  590. package/packages/claude/skills/docx/ooxml/scripts/unpack.py +0 -29
  591. package/packages/claude/skills/docx/ooxml/scripts/validate.py +0 -69
  592. package/packages/claude/skills/docx/ooxml/scripts/validation/__init__.py +0 -15
  593. package/packages/claude/skills/docx/ooxml/scripts/validation/base.py +0 -951
  594. package/packages/claude/skills/docx/ooxml/scripts/validation/docx.py +0 -274
  595. package/packages/claude/skills/docx/ooxml/scripts/validation/pptx.py +0 -315
  596. package/packages/claude/skills/docx/ooxml/scripts/validation/redlining.py +0 -279
  597. package/packages/claude/skills/docx/ooxml.md +0 -610
  598. package/packages/claude/skills/docx/scripts/__init__.py +0 -1
  599. package/packages/claude/skills/docx/scripts/document.py +0 -1276
  600. package/packages/claude/skills/docx/scripts/templates/comments.xml +0 -3
  601. package/packages/claude/skills/docx/scripts/templates/commentsExtended.xml +0 -3
  602. package/packages/claude/skills/docx/scripts/templates/commentsExtensible.xml +0 -3
  603. package/packages/claude/skills/docx/scripts/templates/commentsIds.xml +0 -3
  604. package/packages/claude/skills/docx/scripts/templates/people.xml +0 -3
  605. package/packages/claude/skills/docx/scripts/utilities.py +0 -374
  606. package/packages/claude/skills/internal-comms/LICENSE.txt +0 -202
  607. package/packages/claude/skills/internal-comms/SKILL.md +0 -32
  608. package/packages/claude/skills/internal-comms/examples/3p-updates.md +0 -47
  609. package/packages/claude/skills/internal-comms/examples/company-newsletter.md +0 -65
  610. package/packages/claude/skills/internal-comms/examples/faq-answers.md +0 -30
  611. package/packages/claude/skills/internal-comms/examples/general-comms.md +0 -16
  612. package/packages/claude/skills/mcp-builder/LICENSE.txt +0 -202
  613. package/packages/claude/skills/mcp-builder/SKILL.md +0 -328
  614. package/packages/claude/skills/mcp-builder/reference/evaluation.md +0 -602
  615. package/packages/claude/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  616. package/packages/claude/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  617. package/packages/claude/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  618. package/packages/claude/skills/mcp-builder/scripts/connections.py +0 -151
  619. package/packages/claude/skills/mcp-builder/scripts/evaluation.py +0 -373
  620. package/packages/claude/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  621. package/packages/claude/skills/mcp-builder/scripts/requirements.txt +0 -2
  622. package/packages/claude/skills/pdf/LICENSE.txt +0 -30
  623. package/packages/claude/skills/pdf/SKILL.md +0 -294
  624. package/packages/claude/skills/pdf/forms.md +0 -205
  625. package/packages/claude/skills/pdf/reference.md +0 -612
  626. package/packages/claude/skills/pdf/scripts/check_bounding_boxes.py +0 -70
  627. package/packages/claude/skills/pdf/scripts/check_bounding_boxes_test.py +0 -226
  628. package/packages/claude/skills/pdf/scripts/check_fillable_fields.py +0 -12
  629. package/packages/claude/skills/pdf/scripts/convert_pdf_to_images.py +0 -35
  630. package/packages/claude/skills/pdf/scripts/create_validation_image.py +0 -41
  631. package/packages/claude/skills/pdf/scripts/extract_form_field_info.py +0 -152
  632. package/packages/claude/skills/pdf/scripts/fill_fillable_fields.py +0 -114
  633. package/packages/claude/skills/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  634. package/packages/claude/skills/pptx/LICENSE.txt +0 -30
  635. package/packages/claude/skills/pptx/SKILL.md +0 -484
  636. package/packages/claude/skills/pptx/html2pptx.md +0 -625
  637. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  638. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  639. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  640. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  641. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  642. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  643. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  644. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  645. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  646. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  647. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  648. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  649. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  650. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  651. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  652. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  653. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  654. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  655. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  656. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  657. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  658. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  659. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  660. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  661. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  662. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  663. package/packages/claude/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  664. package/packages/claude/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  665. package/packages/claude/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  666. package/packages/claude/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  667. package/packages/claude/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  668. package/packages/claude/skills/pptx/ooxml/schemas/mce/mc.xsd +0 -75
  669. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  670. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  671. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  672. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  673. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  674. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  675. package/packages/claude/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  676. package/packages/claude/skills/pptx/ooxml/scripts/pack.py +0 -159
  677. package/packages/claude/skills/pptx/ooxml/scripts/unpack.py +0 -29
  678. package/packages/claude/skills/pptx/ooxml/scripts/validate.py +0 -69
  679. package/packages/claude/skills/pptx/ooxml/scripts/validation/__init__.py +0 -15
  680. package/packages/claude/skills/pptx/ooxml/scripts/validation/base.py +0 -951
  681. package/packages/claude/skills/pptx/ooxml/scripts/validation/docx.py +0 -274
  682. package/packages/claude/skills/pptx/ooxml/scripts/validation/pptx.py +0 -315
  683. package/packages/claude/skills/pptx/ooxml/scripts/validation/redlining.py +0 -279
  684. package/packages/claude/skills/pptx/ooxml.md +0 -427
  685. package/packages/claude/skills/pptx/scripts/html2pptx.js +0 -979
  686. package/packages/claude/skills/pptx/scripts/inventory.py +0 -1020
  687. package/packages/claude/skills/pptx/scripts/rearrange.py +0 -231
  688. package/packages/claude/skills/pptx/scripts/replace.py +0 -385
  689. package/packages/claude/skills/pptx/scripts/thumbnail.py +0 -450
  690. package/packages/claude/skills/slack-gif-creator/LICENSE.txt +0 -202
  691. package/packages/claude/skills/slack-gif-creator/SKILL.md +0 -646
  692. package/packages/claude/skills/slack-gif-creator/core/color_palettes.py +0 -302
  693. package/packages/claude/skills/slack-gif-creator/core/easing.py +0 -230
  694. package/packages/claude/skills/slack-gif-creator/core/frame_composer.py +0 -469
  695. package/packages/claude/skills/slack-gif-creator/core/gif_builder.py +0 -246
  696. package/packages/claude/skills/slack-gif-creator/core/typography.py +0 -357
  697. package/packages/claude/skills/slack-gif-creator/core/validators.py +0 -264
  698. package/packages/claude/skills/slack-gif-creator/core/visual_effects.py +0 -494
  699. package/packages/claude/skills/slack-gif-creator/requirements.txt +0 -4
  700. package/packages/claude/skills/slack-gif-creator/templates/bounce.py +0 -106
  701. package/packages/claude/skills/slack-gif-creator/templates/explode.py +0 -331
  702. package/packages/claude/skills/slack-gif-creator/templates/fade.py +0 -329
  703. package/packages/claude/skills/slack-gif-creator/templates/flip.py +0 -291
  704. package/packages/claude/skills/slack-gif-creator/templates/kaleidoscope.py +0 -211
  705. package/packages/claude/skills/slack-gif-creator/templates/morph.py +0 -329
  706. package/packages/claude/skills/slack-gif-creator/templates/move.py +0 -293
  707. package/packages/claude/skills/slack-gif-creator/templates/pulse.py +0 -268
  708. package/packages/claude/skills/slack-gif-creator/templates/shake.py +0 -127
  709. package/packages/claude/skills/slack-gif-creator/templates/slide.py +0 -291
  710. package/packages/claude/skills/slack-gif-creator/templates/spin.py +0 -269
  711. package/packages/claude/skills/slack-gif-creator/templates/wiggle.py +0 -300
  712. package/packages/claude/skills/slack-gif-creator/templates/zoom.py +0 -312
  713. package/packages/claude/skills/theme-factory/LICENSE.txt +0 -202
  714. package/packages/claude/skills/theme-factory/SKILL.md +0 -59
  715. package/packages/claude/skills/theme-factory/theme-showcase.pdf +0 -0
  716. package/packages/claude/skills/theme-factory/themes/arctic-frost.md +0 -19
  717. package/packages/claude/skills/theme-factory/themes/botanical-garden.md +0 -19
  718. package/packages/claude/skills/theme-factory/themes/desert-rose.md +0 -19
  719. package/packages/claude/skills/theme-factory/themes/forest-canopy.md +0 -19
  720. package/packages/claude/skills/theme-factory/themes/golden-hour.md +0 -19
  721. package/packages/claude/skills/theme-factory/themes/midnight-galaxy.md +0 -19
  722. package/packages/claude/skills/theme-factory/themes/modern-minimalist.md +0 -19
  723. package/packages/claude/skills/theme-factory/themes/ocean-depths.md +0 -19
  724. package/packages/claude/skills/theme-factory/themes/sunset-boulevard.md +0 -19
  725. package/packages/claude/skills/theme-factory/themes/tech-innovation.md +0 -19
  726. package/packages/claude/skills/webapp-testing/LICENSE.txt +0 -202
  727. package/packages/claude/skills/webapp-testing/SKILL.md +0 -96
  728. package/packages/claude/skills/webapp-testing/examples/console_logging.py +0 -35
  729. package/packages/claude/skills/webapp-testing/examples/element_discovery.py +0 -40
  730. package/packages/claude/skills/webapp-testing/examples/static_html_automation.py +0 -33
  731. package/packages/claude/skills/webapp-testing/scripts/with_server.py +0 -106
  732. package/packages/claude/skills/xlsx/LICENSE.txt +0 -30
  733. package/packages/claude/skills/xlsx/SKILL.md +0 -289
  734. package/packages/claude/skills/xlsx/recalc.py +0 -178
  735. package/packages/claude/subagentic-manual.md +0 -155
  736. package/packages/droid/commands/README.md +0 -76
  737. package/packages/droid/commands/algorithmic-art/templates/generator_template.js +0 -223
  738. package/packages/droid/commands/algorithmic-art/templates/viewer.html +0 -599
  739. package/packages/droid/commands/algorithmic-art.md +0 -159
  740. package/packages/droid/commands/artifacts-builder/scripts/bundle-artifact.sh +0 -54
  741. package/packages/droid/commands/artifacts-builder/scripts/init-artifact.sh +0 -322
  742. package/packages/droid/commands/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  743. package/packages/droid/commands/artifacts-builder.md +0 -285
  744. package/packages/droid/commands/brand-guidelines.md +0 -123
  745. package/packages/droid/commands/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  746. package/packages/droid/commands/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  747. package/packages/droid/commands/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  748. package/packages/droid/commands/canvas-design/canvas-fonts/BigShoulders-OFL.txt +0 -93
  749. package/packages/droid/commands/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  750. package/packages/droid/commands/canvas-design/canvas-fonts/Boldonse-OFL.txt +0 -93
  751. package/packages/droid/commands/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  752. package/packages/droid/commands/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  753. package/packages/droid/commands/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  754. package/packages/droid/commands/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  755. package/packages/droid/commands/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  756. package/packages/droid/commands/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  757. package/packages/droid/commands/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  758. package/packages/droid/commands/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  759. package/packages/droid/commands/canvas-design/canvas-fonts/DMMono-OFL.txt +0 -93
  760. package/packages/droid/commands/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  761. package/packages/droid/commands/canvas-design/canvas-fonts/EricaOne-OFL.txt +0 -94
  762. package/packages/droid/commands/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  763. package/packages/droid/commands/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  764. package/packages/droid/commands/canvas-design/canvas-fonts/GeistMono-OFL.txt +0 -93
  765. package/packages/droid/commands/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  766. package/packages/droid/commands/canvas-design/canvas-fonts/Gloock-OFL.txt +0 -93
  767. package/packages/droid/commands/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  768. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  769. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  770. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  771. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  772. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  773. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  774. package/packages/droid/commands/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  775. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  776. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  777. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  778. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  779. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  780. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  781. package/packages/droid/commands/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  782. package/packages/droid/commands/canvas-design/canvas-fonts/Italiana-OFL.txt +0 -93
  783. package/packages/droid/commands/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  784. package/packages/droid/commands/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  785. package/packages/droid/commands/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  786. package/packages/droid/commands/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  787. package/packages/droid/commands/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  788. package/packages/droid/commands/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  789. package/packages/droid/commands/canvas-design/canvas-fonts/Jura-OFL.txt +0 -93
  790. package/packages/droid/commands/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  791. package/packages/droid/commands/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  792. package/packages/droid/commands/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  793. package/packages/droid/commands/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  794. package/packages/droid/commands/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  795. package/packages/droid/commands/canvas-design/canvas-fonts/Lora-OFL.txt +0 -93
  796. package/packages/droid/commands/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  797. package/packages/droid/commands/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  798. package/packages/droid/commands/canvas-design/canvas-fonts/NationalPark-OFL.txt +0 -93
  799. package/packages/droid/commands/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  800. package/packages/droid/commands/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  801. package/packages/droid/commands/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  802. package/packages/droid/commands/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  803. package/packages/droid/commands/canvas-design/canvas-fonts/Outfit-OFL.txt +0 -93
  804. package/packages/droid/commands/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  805. package/packages/droid/commands/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  806. package/packages/droid/commands/canvas-design/canvas-fonts/PixelifySans-OFL.txt +0 -93
  807. package/packages/droid/commands/canvas-design/canvas-fonts/PoiretOne-OFL.txt +0 -93
  808. package/packages/droid/commands/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  809. package/packages/droid/commands/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  810. package/packages/droid/commands/canvas-design/canvas-fonts/RedHatMono-OFL.txt +0 -93
  811. package/packages/droid/commands/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  812. package/packages/droid/commands/canvas-design/canvas-fonts/Silkscreen-OFL.txt +0 -93
  813. package/packages/droid/commands/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  814. package/packages/droid/commands/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  815. package/packages/droid/commands/canvas-design/canvas-fonts/SmoochSans-OFL.txt +0 -93
  816. package/packages/droid/commands/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  817. package/packages/droid/commands/canvas-design/canvas-fonts/Tektur-OFL.txt +0 -93
  818. package/packages/droid/commands/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  819. package/packages/droid/commands/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  820. package/packages/droid/commands/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  821. package/packages/droid/commands/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  822. package/packages/droid/commands/canvas-design/canvas-fonts/WorkSans-OFL.txt +0 -93
  823. package/packages/droid/commands/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  824. package/packages/droid/commands/canvas-design/canvas-fonts/YoungSerif-OFL.txt +0 -93
  825. package/packages/droid/commands/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  826. package/packages/droid/commands/canvas-design.md +0 -155
  827. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  828. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  829. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  830. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  831. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  832. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  833. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  834. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  835. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  836. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  837. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  838. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  839. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  840. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  841. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  842. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  843. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  844. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  845. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  846. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  847. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  848. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  849. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  850. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  851. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  852. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  853. package/packages/droid/commands/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  854. package/packages/droid/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  855. package/packages/droid/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  856. package/packages/droid/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  857. package/packages/droid/commands/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  858. package/packages/droid/commands/docx/ooxml/schemas/mce/mc.xsd +0 -75
  859. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  860. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  861. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  862. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  863. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  864. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  865. package/packages/droid/commands/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  866. package/packages/droid/commands/docx/ooxml/scripts/pack.py +0 -159
  867. package/packages/droid/commands/docx/ooxml/scripts/unpack.py +0 -29
  868. package/packages/droid/commands/docx/ooxml/scripts/validate.py +0 -69
  869. package/packages/droid/commands/docx/ooxml/scripts/validation/__init__.py +0 -15
  870. package/packages/droid/commands/docx/ooxml/scripts/validation/base.py +0 -951
  871. package/packages/droid/commands/docx/ooxml/scripts/validation/docx.py +0 -274
  872. package/packages/droid/commands/docx/ooxml/scripts/validation/pptx.py +0 -315
  873. package/packages/droid/commands/docx/ooxml/scripts/validation/redlining.py +0 -279
  874. package/packages/droid/commands/docx/scripts/__init__.py +0 -1
  875. package/packages/droid/commands/docx/scripts/document.py +0 -1276
  876. package/packages/droid/commands/docx/scripts/templates/comments.xml +0 -3
  877. package/packages/droid/commands/docx/scripts/templates/commentsExtended.xml +0 -3
  878. package/packages/droid/commands/docx/scripts/templates/commentsExtensible.xml +0 -3
  879. package/packages/droid/commands/docx/scripts/templates/commentsIds.xml +0 -3
  880. package/packages/droid/commands/docx/scripts/templates/people.xml +0 -3
  881. package/packages/droid/commands/docx/scripts/utilities.py +0 -374
  882. package/packages/droid/commands/docx.md +0 -255
  883. package/packages/droid/commands/internal-comms/examples/3p-updates.md +0 -47
  884. package/packages/droid/commands/internal-comms/examples/company-newsletter.md +0 -65
  885. package/packages/droid/commands/internal-comms/examples/faq-answers.md +0 -30
  886. package/packages/droid/commands/internal-comms/examples/general-comms.md +0 -16
  887. package/packages/droid/commands/internal-comms.md +0 -142
  888. package/packages/droid/commands/mcp-builder/reference/evaluation.md +0 -602
  889. package/packages/droid/commands/mcp-builder/reference/mcp_best_practices.md +0 -915
  890. package/packages/droid/commands/mcp-builder/reference/node_mcp_server.md +0 -916
  891. package/packages/droid/commands/mcp-builder/reference/python_mcp_server.md +0 -752
  892. package/packages/droid/commands/mcp-builder/scripts/connections.py +0 -151
  893. package/packages/droid/commands/mcp-builder/scripts/evaluation.py +0 -373
  894. package/packages/droid/commands/mcp-builder/scripts/example_evaluation.xml +0 -22
  895. package/packages/droid/commands/mcp-builder/scripts/requirements.txt +0 -2
  896. package/packages/droid/commands/mcp-builder.md +0 -282
  897. package/packages/droid/commands/pdf/scripts/check_bounding_boxes.py +0 -70
  898. package/packages/droid/commands/pdf/scripts/check_bounding_boxes_test.py +0 -226
  899. package/packages/droid/commands/pdf/scripts/check_fillable_fields.py +0 -12
  900. package/packages/droid/commands/pdf/scripts/convert_pdf_to_images.py +0 -35
  901. package/packages/droid/commands/pdf/scripts/create_validation_image.py +0 -41
  902. package/packages/droid/commands/pdf/scripts/extract_form_field_info.py +0 -152
  903. package/packages/droid/commands/pdf/scripts/fill_fillable_fields.py +0 -114
  904. package/packages/droid/commands/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  905. package/packages/droid/commands/pdf.md +0 -194
  906. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  907. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  908. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  909. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  910. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  911. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  912. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  913. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  914. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  915. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  916. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  917. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  918. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  919. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  920. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  921. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  922. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  923. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  924. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  925. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  926. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  927. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  928. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  929. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  930. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  931. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  932. package/packages/droid/commands/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  933. package/packages/droid/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  934. package/packages/droid/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  935. package/packages/droid/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  936. package/packages/droid/commands/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  937. package/packages/droid/commands/pptx/ooxml/schemas/mce/mc.xsd +0 -75
  938. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  939. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  940. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  941. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  942. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  943. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  944. package/packages/droid/commands/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  945. package/packages/droid/commands/pptx/ooxml/scripts/pack.py +0 -159
  946. package/packages/droid/commands/pptx/ooxml/scripts/unpack.py +0 -29
  947. package/packages/droid/commands/pptx/ooxml/scripts/validate.py +0 -69
  948. package/packages/droid/commands/pptx/ooxml/scripts/validation/__init__.py +0 -15
  949. package/packages/droid/commands/pptx/ooxml/scripts/validation/base.py +0 -951
  950. package/packages/droid/commands/pptx/ooxml/scripts/validation/docx.py +0 -274
  951. package/packages/droid/commands/pptx/ooxml/scripts/validation/pptx.py +0 -315
  952. package/packages/droid/commands/pptx/ooxml/scripts/validation/redlining.py +0 -279
  953. package/packages/droid/commands/pptx/scripts/html2pptx.js +0 -979
  954. package/packages/droid/commands/pptx/scripts/inventory.py +0 -1020
  955. package/packages/droid/commands/pptx/scripts/rearrange.py +0 -231
  956. package/packages/droid/commands/pptx/scripts/replace.py +0 -385
  957. package/packages/droid/commands/pptx/scripts/thumbnail.py +0 -450
  958. package/packages/droid/commands/pptx.md +0 -272
  959. package/packages/droid/commands/slack-gif-creator/core/color_palettes.py +0 -302
  960. package/packages/droid/commands/slack-gif-creator/core/easing.py +0 -230
  961. package/packages/droid/commands/slack-gif-creator/core/frame_composer.py +0 -469
  962. package/packages/droid/commands/slack-gif-creator/core/gif_builder.py +0 -246
  963. package/packages/droid/commands/slack-gif-creator/core/typography.py +0 -357
  964. package/packages/droid/commands/slack-gif-creator/core/validators.py +0 -264
  965. package/packages/droid/commands/slack-gif-creator/core/visual_effects.py +0 -494
  966. package/packages/droid/commands/slack-gif-creator/templates/bounce.py +0 -106
  967. package/packages/droid/commands/slack-gif-creator/templates/explode.py +0 -331
  968. package/packages/droid/commands/slack-gif-creator/templates/fade.py +0 -329
  969. package/packages/droid/commands/slack-gif-creator/templates/flip.py +0 -291
  970. package/packages/droid/commands/slack-gif-creator/templates/kaleidoscope.py +0 -211
  971. package/packages/droid/commands/slack-gif-creator/templates/morph.py +0 -329
  972. package/packages/droid/commands/slack-gif-creator/templates/move.py +0 -293
  973. package/packages/droid/commands/slack-gif-creator/templates/pulse.py +0 -268
  974. package/packages/droid/commands/slack-gif-creator/templates/shake.py +0 -127
  975. package/packages/droid/commands/slack-gif-creator/templates/slide.py +0 -291
  976. package/packages/droid/commands/slack-gif-creator/templates/spin.py +0 -269
  977. package/packages/droid/commands/slack-gif-creator/templates/wiggle.py +0 -300
  978. package/packages/droid/commands/slack-gif-creator/templates/zoom.py +0 -312
  979. package/packages/droid/commands/slack-gif-creator.md +0 -340
  980. package/packages/droid/commands/theme-factory/themes/arctic-frost.md +0 -19
  981. package/packages/droid/commands/theme-factory/themes/botanical-garden.md +0 -19
  982. package/packages/droid/commands/theme-factory/themes/desert-rose.md +0 -19
  983. package/packages/droid/commands/theme-factory/themes/forest-canopy.md +0 -19
  984. package/packages/droid/commands/theme-factory/themes/golden-hour.md +0 -19
  985. package/packages/droid/commands/theme-factory/themes/midnight-galaxy.md +0 -19
  986. package/packages/droid/commands/theme-factory/themes/modern-minimalist.md +0 -19
  987. package/packages/droid/commands/theme-factory/themes/ocean-depths.md +0 -19
  988. package/packages/droid/commands/theme-factory/themes/sunset-boulevard.md +0 -19
  989. package/packages/droid/commands/theme-factory/themes/tech-innovation.md +0 -19
  990. package/packages/droid/commands/theme-factory.md +0 -146
  991. package/packages/droid/commands/webapp-testing/examples/console_logging.py +0 -35
  992. package/packages/droid/commands/webapp-testing/examples/element_discovery.py +0 -40
  993. package/packages/droid/commands/webapp-testing/examples/static_html_automation.py +0 -33
  994. package/packages/droid/commands/webapp-testing/scripts/with_server.py +0 -106
  995. package/packages/droid/commands/webapp-testing.md +0 -275
  996. package/packages/droid/commands/xlsx/recalc.py +0 -178
  997. package/packages/droid/commands/xlsx.md +0 -254
  998. package/packages/droid/droids/context-initializer.md +0 -472
  999. package/packages/droid/droids/full-stack-dev.md +0 -80
  1000. package/packages/droid/droids/product-manager.md +0 -82
  1001. package/packages/droid/droids/product-owner.md +0 -97
  1002. package/packages/droid/resources/agent-teams.yaml +0 -50
  1003. package/packages/droid/resources/checklists.md +0 -1724
  1004. package/packages/droid/resources/data.md +0 -1372
  1005. package/packages/droid/resources/task-briefs.md +0 -4428
  1006. package/packages/droid/resources/templates.yaml +0 -5810
  1007. package/packages/droid/resources/workflows.yaml +0 -1513
  1008. package/packages/droid/subagentic-manual.md +0 -155
  1009. package/packages/opencode/agent/context-initializer.md +0 -476
  1010. package/packages/opencode/agent/full-stack-dev.md +0 -77
  1011. package/packages/opencode/agent/product-manager.md +0 -86
  1012. package/packages/opencode/agent/product-owner.md +0 -101
  1013. package/packages/opencode/command/README.md +0 -76
  1014. package/packages/opencode/command/algorithmic-art/templates/generator_template.js +0 -223
  1015. package/packages/opencode/command/algorithmic-art/templates/viewer.html +0 -599
  1016. package/packages/opencode/command/algorithmic-art.md +0 -159
  1017. package/packages/opencode/command/artifacts-builder/scripts/bundle-artifact.sh +0 -54
  1018. package/packages/opencode/command/artifacts-builder/scripts/init-artifact.sh +0 -322
  1019. package/packages/opencode/command/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  1020. package/packages/opencode/command/artifacts-builder.md +0 -285
  1021. package/packages/opencode/command/brand-guidelines.md +0 -123
  1022. package/packages/opencode/command/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  1023. package/packages/opencode/command/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  1024. package/packages/opencode/command/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  1025. package/packages/opencode/command/canvas-design/canvas-fonts/BigShoulders-OFL.txt +0 -93
  1026. package/packages/opencode/command/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  1027. package/packages/opencode/command/canvas-design/canvas-fonts/Boldonse-OFL.txt +0 -93
  1028. package/packages/opencode/command/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  1029. package/packages/opencode/command/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  1030. package/packages/opencode/command/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  1031. package/packages/opencode/command/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  1032. package/packages/opencode/command/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  1033. package/packages/opencode/command/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  1034. package/packages/opencode/command/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  1035. package/packages/opencode/command/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  1036. package/packages/opencode/command/canvas-design/canvas-fonts/DMMono-OFL.txt +0 -93
  1037. package/packages/opencode/command/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  1038. package/packages/opencode/command/canvas-design/canvas-fonts/EricaOne-OFL.txt +0 -94
  1039. package/packages/opencode/command/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  1040. package/packages/opencode/command/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  1041. package/packages/opencode/command/canvas-design/canvas-fonts/GeistMono-OFL.txt +0 -93
  1042. package/packages/opencode/command/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  1043. package/packages/opencode/command/canvas-design/canvas-fonts/Gloock-OFL.txt +0 -93
  1044. package/packages/opencode/command/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  1045. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  1046. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  1047. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  1048. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  1049. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  1050. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  1051. package/packages/opencode/command/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  1052. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  1053. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  1054. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  1055. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  1056. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  1057. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  1058. package/packages/opencode/command/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  1059. package/packages/opencode/command/canvas-design/canvas-fonts/Italiana-OFL.txt +0 -93
  1060. package/packages/opencode/command/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  1061. package/packages/opencode/command/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  1062. package/packages/opencode/command/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  1063. package/packages/opencode/command/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  1064. package/packages/opencode/command/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  1065. package/packages/opencode/command/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  1066. package/packages/opencode/command/canvas-design/canvas-fonts/Jura-OFL.txt +0 -93
  1067. package/packages/opencode/command/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  1068. package/packages/opencode/command/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  1069. package/packages/opencode/command/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  1070. package/packages/opencode/command/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  1071. package/packages/opencode/command/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  1072. package/packages/opencode/command/canvas-design/canvas-fonts/Lora-OFL.txt +0 -93
  1073. package/packages/opencode/command/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  1074. package/packages/opencode/command/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  1075. package/packages/opencode/command/canvas-design/canvas-fonts/NationalPark-OFL.txt +0 -93
  1076. package/packages/opencode/command/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  1077. package/packages/opencode/command/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  1078. package/packages/opencode/command/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  1079. package/packages/opencode/command/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  1080. package/packages/opencode/command/canvas-design/canvas-fonts/Outfit-OFL.txt +0 -93
  1081. package/packages/opencode/command/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  1082. package/packages/opencode/command/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  1083. package/packages/opencode/command/canvas-design/canvas-fonts/PixelifySans-OFL.txt +0 -93
  1084. package/packages/opencode/command/canvas-design/canvas-fonts/PoiretOne-OFL.txt +0 -93
  1085. package/packages/opencode/command/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  1086. package/packages/opencode/command/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  1087. package/packages/opencode/command/canvas-design/canvas-fonts/RedHatMono-OFL.txt +0 -93
  1088. package/packages/opencode/command/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  1089. package/packages/opencode/command/canvas-design/canvas-fonts/Silkscreen-OFL.txt +0 -93
  1090. package/packages/opencode/command/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  1091. package/packages/opencode/command/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  1092. package/packages/opencode/command/canvas-design/canvas-fonts/SmoochSans-OFL.txt +0 -93
  1093. package/packages/opencode/command/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  1094. package/packages/opencode/command/canvas-design/canvas-fonts/Tektur-OFL.txt +0 -93
  1095. package/packages/opencode/command/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  1096. package/packages/opencode/command/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  1097. package/packages/opencode/command/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  1098. package/packages/opencode/command/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  1099. package/packages/opencode/command/canvas-design/canvas-fonts/WorkSans-OFL.txt +0 -93
  1100. package/packages/opencode/command/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  1101. package/packages/opencode/command/canvas-design/canvas-fonts/YoungSerif-OFL.txt +0 -93
  1102. package/packages/opencode/command/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  1103. package/packages/opencode/command/canvas-design.md +0 -155
  1104. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  1105. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  1106. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  1107. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  1108. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  1109. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  1110. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  1111. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  1112. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  1113. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  1114. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  1115. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  1116. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  1117. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  1118. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  1119. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  1120. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  1121. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  1122. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  1123. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  1124. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  1125. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  1126. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  1127. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  1128. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  1129. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  1130. package/packages/opencode/command/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  1131. package/packages/opencode/command/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  1132. package/packages/opencode/command/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  1133. package/packages/opencode/command/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  1134. package/packages/opencode/command/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  1135. package/packages/opencode/command/docx/ooxml/schemas/mce/mc.xsd +0 -75
  1136. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  1137. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  1138. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  1139. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  1140. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  1141. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  1142. package/packages/opencode/command/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  1143. package/packages/opencode/command/docx/ooxml/scripts/pack.py +0 -159
  1144. package/packages/opencode/command/docx/ooxml/scripts/unpack.py +0 -29
  1145. package/packages/opencode/command/docx/ooxml/scripts/validate.py +0 -69
  1146. package/packages/opencode/command/docx/ooxml/scripts/validation/__init__.py +0 -15
  1147. package/packages/opencode/command/docx/ooxml/scripts/validation/base.py +0 -951
  1148. package/packages/opencode/command/docx/ooxml/scripts/validation/docx.py +0 -274
  1149. package/packages/opencode/command/docx/ooxml/scripts/validation/pptx.py +0 -315
  1150. package/packages/opencode/command/docx/ooxml/scripts/validation/redlining.py +0 -279
  1151. package/packages/opencode/command/docx/scripts/__init__.py +0 -1
  1152. package/packages/opencode/command/docx/scripts/document.py +0 -1276
  1153. package/packages/opencode/command/docx/scripts/templates/comments.xml +0 -3
  1154. package/packages/opencode/command/docx/scripts/templates/commentsExtended.xml +0 -3
  1155. package/packages/opencode/command/docx/scripts/templates/commentsExtensible.xml +0 -3
  1156. package/packages/opencode/command/docx/scripts/templates/commentsIds.xml +0 -3
  1157. package/packages/opencode/command/docx/scripts/templates/people.xml +0 -3
  1158. package/packages/opencode/command/docx/scripts/utilities.py +0 -374
  1159. package/packages/opencode/command/docx.md +0 -255
  1160. package/packages/opencode/command/internal-comms/examples/3p-updates.md +0 -47
  1161. package/packages/opencode/command/internal-comms/examples/company-newsletter.md +0 -65
  1162. package/packages/opencode/command/internal-comms/examples/faq-answers.md +0 -30
  1163. package/packages/opencode/command/internal-comms/examples/general-comms.md +0 -16
  1164. package/packages/opencode/command/internal-comms.md +0 -142
  1165. package/packages/opencode/command/mcp-builder/reference/evaluation.md +0 -602
  1166. package/packages/opencode/command/mcp-builder/reference/mcp_best_practices.md +0 -915
  1167. package/packages/opencode/command/mcp-builder/reference/node_mcp_server.md +0 -916
  1168. package/packages/opencode/command/mcp-builder/reference/python_mcp_server.md +0 -752
  1169. package/packages/opencode/command/mcp-builder/scripts/connections.py +0 -151
  1170. package/packages/opencode/command/mcp-builder/scripts/evaluation.py +0 -373
  1171. package/packages/opencode/command/mcp-builder/scripts/example_evaluation.xml +0 -22
  1172. package/packages/opencode/command/mcp-builder/scripts/requirements.txt +0 -2
  1173. package/packages/opencode/command/mcp-builder.md +0 -282
  1174. package/packages/opencode/command/pdf/scripts/check_bounding_boxes.py +0 -70
  1175. package/packages/opencode/command/pdf/scripts/check_bounding_boxes_test.py +0 -226
  1176. package/packages/opencode/command/pdf/scripts/check_fillable_fields.py +0 -12
  1177. package/packages/opencode/command/pdf/scripts/convert_pdf_to_images.py +0 -35
  1178. package/packages/opencode/command/pdf/scripts/create_validation_image.py +0 -41
  1179. package/packages/opencode/command/pdf/scripts/extract_form_field_info.py +0 -152
  1180. package/packages/opencode/command/pdf/scripts/fill_fillable_fields.py +0 -114
  1181. package/packages/opencode/command/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  1182. package/packages/opencode/command/pdf.md +0 -194
  1183. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  1184. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  1185. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  1186. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  1187. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  1188. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  1189. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  1190. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  1191. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  1192. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  1193. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  1194. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  1195. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  1196. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  1197. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  1198. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  1199. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  1200. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  1201. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  1202. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  1203. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  1204. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  1205. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  1206. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  1207. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  1208. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  1209. package/packages/opencode/command/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  1210. package/packages/opencode/command/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  1211. package/packages/opencode/command/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  1212. package/packages/opencode/command/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  1213. package/packages/opencode/command/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  1214. package/packages/opencode/command/pptx/ooxml/schemas/mce/mc.xsd +0 -75
  1215. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  1216. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  1217. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  1218. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  1219. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  1220. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  1221. package/packages/opencode/command/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  1222. package/packages/opencode/command/pptx/ooxml/scripts/pack.py +0 -159
  1223. package/packages/opencode/command/pptx/ooxml/scripts/unpack.py +0 -29
  1224. package/packages/opencode/command/pptx/ooxml/scripts/validate.py +0 -69
  1225. package/packages/opencode/command/pptx/ooxml/scripts/validation/__init__.py +0 -15
  1226. package/packages/opencode/command/pptx/ooxml/scripts/validation/base.py +0 -951
  1227. package/packages/opencode/command/pptx/ooxml/scripts/validation/docx.py +0 -274
  1228. package/packages/opencode/command/pptx/ooxml/scripts/validation/pptx.py +0 -315
  1229. package/packages/opencode/command/pptx/ooxml/scripts/validation/redlining.py +0 -279
  1230. package/packages/opencode/command/pptx/scripts/html2pptx.js +0 -979
  1231. package/packages/opencode/command/pptx/scripts/inventory.py +0 -1020
  1232. package/packages/opencode/command/pptx/scripts/rearrange.py +0 -231
  1233. package/packages/opencode/command/pptx/scripts/replace.py +0 -385
  1234. package/packages/opencode/command/pptx/scripts/thumbnail.py +0 -450
  1235. package/packages/opencode/command/pptx.md +0 -272
  1236. package/packages/opencode/command/slack-gif-creator/core/color_palettes.py +0 -302
  1237. package/packages/opencode/command/slack-gif-creator/core/easing.py +0 -230
  1238. package/packages/opencode/command/slack-gif-creator/core/frame_composer.py +0 -469
  1239. package/packages/opencode/command/slack-gif-creator/core/gif_builder.py +0 -246
  1240. package/packages/opencode/command/slack-gif-creator/core/typography.py +0 -357
  1241. package/packages/opencode/command/slack-gif-creator/core/validators.py +0 -264
  1242. package/packages/opencode/command/slack-gif-creator/core/visual_effects.py +0 -494
  1243. package/packages/opencode/command/slack-gif-creator/templates/bounce.py +0 -106
  1244. package/packages/opencode/command/slack-gif-creator/templates/explode.py +0 -331
  1245. package/packages/opencode/command/slack-gif-creator/templates/fade.py +0 -329
  1246. package/packages/opencode/command/slack-gif-creator/templates/flip.py +0 -291
  1247. package/packages/opencode/command/slack-gif-creator/templates/kaleidoscope.py +0 -211
  1248. package/packages/opencode/command/slack-gif-creator/templates/morph.py +0 -329
  1249. package/packages/opencode/command/slack-gif-creator/templates/move.py +0 -293
  1250. package/packages/opencode/command/slack-gif-creator/templates/pulse.py +0 -268
  1251. package/packages/opencode/command/slack-gif-creator/templates/shake.py +0 -127
  1252. package/packages/opencode/command/slack-gif-creator/templates/slide.py +0 -291
  1253. package/packages/opencode/command/slack-gif-creator/templates/spin.py +0 -269
  1254. package/packages/opencode/command/slack-gif-creator/templates/wiggle.py +0 -300
  1255. package/packages/opencode/command/slack-gif-creator/templates/zoom.py +0 -312
  1256. package/packages/opencode/command/slack-gif-creator.md +0 -340
  1257. package/packages/opencode/command/theme-factory/themes/arctic-frost.md +0 -19
  1258. package/packages/opencode/command/theme-factory/themes/botanical-garden.md +0 -19
  1259. package/packages/opencode/command/theme-factory/themes/desert-rose.md +0 -19
  1260. package/packages/opencode/command/theme-factory/themes/forest-canopy.md +0 -19
  1261. package/packages/opencode/command/theme-factory/themes/golden-hour.md +0 -19
  1262. package/packages/opencode/command/theme-factory/themes/midnight-galaxy.md +0 -19
  1263. package/packages/opencode/command/theme-factory/themes/modern-minimalist.md +0 -19
  1264. package/packages/opencode/command/theme-factory/themes/ocean-depths.md +0 -19
  1265. package/packages/opencode/command/theme-factory/themes/sunset-boulevard.md +0 -19
  1266. package/packages/opencode/command/theme-factory/themes/tech-innovation.md +0 -19
  1267. package/packages/opencode/command/theme-factory.md +0 -146
  1268. package/packages/opencode/command/webapp-testing/examples/console_logging.py +0 -35
  1269. package/packages/opencode/command/webapp-testing/examples/element_discovery.py +0 -40
  1270. package/packages/opencode/command/webapp-testing/examples/static_html_automation.py +0 -33
  1271. package/packages/opencode/command/webapp-testing/scripts/with_server.py +0 -106
  1272. package/packages/opencode/command/webapp-testing.md +0 -275
  1273. package/packages/opencode/command/xlsx/recalc.py +0 -178
  1274. package/packages/opencode/command/xlsx.md +0 -254
  1275. package/packages/opencode/resources/agent-teams.yaml +0 -50
  1276. package/packages/opencode/resources/checklists.md +0 -1724
  1277. package/packages/opencode/resources/data.md +0 -1372
  1278. package/packages/opencode/resources/task-briefs.md +0 -4428
  1279. package/packages/opencode/resources/templates.yaml +0 -5810
  1280. package/packages/opencode/resources/workflows.yaml +0 -1513
  1281. package/packages/opencode/subagentic-manual.md +0 -155
@@ -1,4428 +0,0 @@
1
- # Task Briefs Library
2
- Consolidated on: 2025-11-01T17:48:43.566871
3
- This file consolidates all task brief definitions used across the system.
4
- ## Table of Contents
5
- - [Advanced Elicitation](#advanced-elicitation)
6
- - [Apply Qa Fixes](#apply-qa-fixes)
7
- - [Brownfield Create Epic](#brownfield-create-epic)
8
- - [Brownfield Create Story](#brownfield-create-story)
9
- - [Correct Course](#correct-course)
10
- - [Create Brownfield Story](#create-brownfield-story)
11
- - [Create Deep Research Prompt](#create-deep-research-prompt)
12
- - [Create Doc](#create-doc)
13
- - [Create Next Story](#create-next-story)
14
- - [Document Project](#document-project)
15
- - [Execute Checklist](#execute-checklist)
16
- - [Facilitate Brainstorming Session](#facilitate-brainstorming-session)
17
- - [Generate Ai Frontend Prompt](#generate-ai-frontend-prompt)
18
- - [Index Docs](#index-docs)
19
- - [Kb Mode Interaction](#kb-mode-interaction)
20
- - [Nfr Assess](#nfr-assess)
21
- - [Qa Gate](#qa-gate)
22
- - [Review Story](#review-story)
23
- - [Risk Profile](#risk-profile)
24
- - [Shard Doc](#shard-doc)
25
- - [Test Design](#test-design)
26
- - [Trace Requirements](#trace-requirements)
27
- - [Validate Next Story](#validate-next-story)
28
-
29
- ---
30
-
31
- ## Advanced Elicitation {#advanced-elicitation}
32
-
33
-
34
- # Advanced Elicitation Task
35
-
36
- ## Purpose
37
-
38
- - Provide optional reflective and brainstorming actions to enhance content quality
39
- - Enable deeper exploration of ideas through structured elicitation techniques
40
- - Support iterative refinement through multiple analytical perspectives
41
- - Usable during template-driven document creation or any chat conversation
42
-
43
- ## Usage Scenarios
44
-
45
- ### Scenario 1: Template Document Creation
46
-
47
- After outputting a section during document creation:
48
-
49
- 1. **Section Review**: Ask user to review the drafted section
50
- 2. **Offer Elicitation**: Present 9 carefully selected elicitation methods
51
- 3. **Simple Selection**: User types a number (0-8) to engage method, or 9 to proceed
52
- 4. **Execute & Loop**: Apply selected method, then re-offer choices until user proceeds
53
-
54
- ### Scenario 2: General Chat Elicitation
55
-
56
- User can request advanced elicitation on any agent output:
57
-
58
- - User says "do advanced elicitation" or similar
59
- - Agent selects 9 relevant methods for the context
60
- - Same simple 0-9 selection process
61
-
62
- ## Task Instructions
63
-
64
- ### 1. Intelligent Method Selection
65
-
66
- **Context Analysis**: Before presenting options, analyze:
67
-
68
- - **Content Type**: Technical specs, user stories, architecture, requirements, etc.
69
- - **Complexity Level**: Simple, moderate, or complex content
70
- - **Stakeholder Needs**: Who will use this information
71
- - **Risk Level**: High-impact decisions vs routine items
72
- - **Creative Potential**: Opportunities for innovation or alternatives
73
-
74
- **Method Selection Strategy**:
75
-
76
- 1. **Always Include Core Methods** (choose 3-4):
77
- - Expand or Contract for Audience
78
- - Critique and Refine
79
- - Identify Potential Risks
80
- - Assess Alignment with Goals
81
-
82
- 2. **Context-Specific Methods** (choose 4-5):
83
- - **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
84
- - **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
85
- - **Creative Content**: Innovation Tournament, Escape Room Challenge
86
- - **Strategic Content**: Red Team vs Blue Team, Hindsight Reflection
87
-
88
- 3. **Always Include**: "Proceed / No Further Actions" as option 9
89
-
90
- ### 2. Section Context and Review
91
-
92
- When invoked after outputting a section:
93
-
94
- 1. **Provide Context Summary**: Give a brief 1-2 sentence summary of what the user should look for in the section just presented
95
-
96
- 2. **Explain Visual Elements**: If the section contains diagrams, explain them briefly before offering elicitation options
97
-
98
- 3. **Clarify Scope Options**: If the section contains multiple distinct items, inform the user they can apply elicitation actions to:
99
- - The entire section as a whole
100
- - Individual items within the section (specify which item when selecting an action)
101
-
102
- ### 3. Present Elicitation Options
103
-
104
- **Review Request Process:**
105
-
106
- - Ask the user to review the drafted section
107
- - In the SAME message, inform them they can suggest direct changes OR select an elicitation method
108
- - Present 9 intelligently selected methods (0-8) plus "Proceed" (9)
109
- - Keep descriptions short - just the method name
110
- - Await simple numeric selection
111
-
112
- **Action List Presentation Format:**
113
-
114
- ```text
115
- **Advanced Elicitation Options**
116
- Choose a number (0-8) or 9 to proceed:
117
-
118
- 0. [Method Name]
119
- 1. [Method Name]
120
- 2. [Method Name]
121
- 3. [Method Name]
122
- 4. [Method Name]
123
- 5. [Method Name]
124
- 6. [Method Name]
125
- 7. [Method Name]
126
- 8. [Method Name]
127
- 9. Proceed / No Further Actions
128
- ```
129
-
130
- **Response Handling:**
131
-
132
- - **Numbers 0-8**: Execute the selected method, then re-offer the choice
133
- - **Number 9**: Proceed to next section or continue conversation
134
- - **Direct Feedback**: Apply user's suggested changes and continue
135
-
136
- ### 4. Method Execution Framework
137
-
138
- **Execution Process:**
139
-
140
- 1. **Retrieve Method**: Access the specific elicitation method from the elicitation-methods data file
141
- 2. **Apply Context**: Execute the method from your current role's perspective
142
- 3. **Provide Results**: Deliver insights, critiques, or alternatives relevant to the content
143
- 4. **Re-offer Choice**: Present the same 9 options again until user selects 9 or gives direct feedback
144
-
145
- **Execution Guidelines:**
146
-
147
- - **Be Concise**: Focus on actionable insights, not lengthy explanations
148
- - **Stay Relevant**: Tie all elicitation back to the specific content being analyzed
149
- - **Identify Personas**: For multi-persona methods, clearly identify which viewpoint is speaking
150
- - **Maintain Flow**: Keep the process moving efficiently
151
-
152
-
153
- ---
154
-
155
- ## Apply Qa Fixes {#apply-qa-fixes}
156
-
157
-
158
- # apply-qa-test-architect-fixes
159
-
160
- Implement fixes based on qa-test-architect results (gate and assessments) for a specific story. This task is for the full-stack-dev agent to systematically consume qa-test-architect outputs and apply code/test changes while only updating allowed sections in the story file.
161
-
162
- ## Purpose
163
-
164
- - Read qa-test-architect outputs for a story (gate YAML + assessment markdowns)
165
- - Create a prioritized, deterministic fix plan
166
- - Apply code and test changes to close gaps and address issues
167
- - Update only the allowed story sections for the full-stack-dev agent
168
-
169
- ## Inputs
170
-
171
- ```yaml
172
- required:
173
- - story_id: '{epic}.{story}' # e.g., "2.2"
174
- - qa_root: from `.core-config.yaml` key `qa.qaLocation` (e.g., `docs/project/qa`)
175
- - story_root: from `.core-config.yaml` key `devStoryLocation` (e.g., `docs/project/stories`)
176
-
177
- optional:
178
- - story_title: '{title}' # derive from story H1 if missing
179
- - story_slug: '{slug}' # derive from title (lowercase, hyphenated) if missing
180
- ```
181
-
182
- ## QA Sources to Read
183
-
184
- - Gate (YAML): `{qa_root}/gates/{epic}.{story}-*.yml`
185
- - If multiple, use the most recent by modified time
186
- - Assessments (Markdown):
187
- - Test Design: `{qa_root}/assessments/{epic}.{story}-test-design-*.md`
188
- - Traceability: `{qa_root}/assessments/{epic}.{story}-trace-*.md`
189
- - Risk Profile: `{qa_root}/assessments/{epic}.{story}-risk-*.md`
190
- - NFR Assessment: `{qa_root}/assessments/{epic}.{story}-nfr-*.md`
191
-
192
- ## Prerequisites
193
-
194
- - Repository builds and tests run locally (Deno 2)
195
- - Lint and test commands available:
196
- - `deno lint`
197
- - `deno test -A`
198
-
199
- ## Process (Do not skip steps)
200
-
201
- ### 0) Load Core Config & Locate Story
202
-
203
- - Read `.core-config.yaml` and resolve `qa_root` and `story_root`
204
- - Locate story file in `{story_root}/{epic}.{story}.*.md`
205
- - HALT if missing and ask for correct story id/path
206
-
207
- ### 1) Collect qa-test-architect Findings
208
-
209
- - Parse the latest gate YAML:
210
- - `gate` (PASS|CONCERNS|FAIL|WAIVED)
211
- - `top_issues[]` with `id`, `severity`, `finding`, `suggested_action`
212
- - `nfr_validation.*.status` and notes
213
- - `trace` coverage summary/gaps
214
- - `test_design.coverage_gaps[]`
215
- - `risk_summary.recommendations.must_fix[]` (if present)
216
- - Read any present assessment markdowns and extract explicit gaps/recommendations
217
-
218
- ### 2) Build Deterministic Fix Plan (Priority Order)
219
-
220
- Apply in order, highest priority first:
221
-
222
- 1. High severity items in `top_issues` (security/perf/reliability/maintainability)
223
- 2. NFR statuses: all FAIL must be fixed → then CONCERNS
224
- 3. Test Design `coverage_gaps` (prioritize P0 scenarios if specified)
225
- 4. Trace uncovered requirements (AC-level)
226
- 5. Risk `must_fix` recommendations
227
- 6. Medium severity issues, then low
228
-
229
- Guidance:
230
-
231
- - Prefer tests closing coverage gaps before/with code changes
232
- - Keep changes minimal and targeted; follow project architecture and TS/Deno rules
233
-
234
- ### 3) Apply Changes
235
-
236
- - Implement code fixes per plan
237
- - Add missing tests to close coverage gaps (unit first; integration where required by AC)
238
- - Keep imports centralized via `deps.ts` (see `docs/project/typescript-rules.md`)
239
- - Follow DI boundaries in `src/core/di.ts` and existing patterns
240
-
241
- ### 4) Validate
242
-
243
- - Run `deno lint` and fix issues
244
- - Run `deno test -A` until all tests pass
245
- - Iterate until clean
246
-
247
- ### 5) Update Story (Allowed Sections ONLY)
248
-
249
- CRITICAL: full-stack-dev agent is ONLY authorized to update these sections of the story file. Do not modify any other sections (e.g., qa-test-architect Results, Story, Acceptance Criteria, full-stack-dev Notes, Testing):
250
-
251
- - Tasks / Subtasks Checkboxes (mark any fix subtask you added as done)
252
- - full-stack-dev Agent Record →
253
- - Agent Model Used (if changed)
254
- - Debug Log References (commands/results, e.g., lint/tests)
255
- - Completion Notes List (what changed, why, how)
256
- - File List (all added/modified/deleted files)
257
- - Change Log (new dated entry describing applied fixes)
258
- - Status (see Rule below)
259
-
260
- Status Rule:
261
-
262
- - If gate was PASS and all identified gaps are closed → set `Status: Ready for Done`
263
- - Otherwise → set `Status: Ready for Review` and notify qa-test-architect to re-run the review
264
-
265
- ### 6) Do NOT Edit Gate Files
266
-
267
- - full-stack-dev does not modify gate YAML. If fixes address issues, request qa-test-architect to re-run `review-story` to update the gate
268
-
269
- ## Blocking Conditions
270
-
271
- - Missing `.core-config.yaml`
272
- - Story file not found for `story_id`
273
- - No qa-test-architect artifacts found (neither gate nor assessments)
274
- - HALT and request QA to generate at least a gate file (or proceed only with clear developer-provided fix list)
275
-
276
- ## Completion Checklist
277
-
278
- - deno lint: 0 problems
279
- - deno test -A: all tests pass
280
- - All high severity `top_issues` addressed
281
- - NFR FAIL → resolved; CONCERNS minimized or documented
282
- - Coverage gaps closed or explicitly documented with rationale
283
- - Story updated (allowed sections only) including File List and Change Log
284
- - Status set according to Status Rule
285
-
286
- ## Example: Story 2.2
287
-
288
- Given gate `docs/project/qa/gates/2.2-*.yml` shows
289
-
290
- - `coverage_gaps`: Back action behavior untested (AC2)
291
- - `coverage_gaps`: Centralized dependencies enforcement untested (AC4)
292
-
293
- Fix plan:
294
-
295
- - Add a test ensuring the Toolkit Menu "Back" action returns to Main Menu
296
- - Add a static test verifying imports for service/view go through `deps.ts`
297
- - Re-run lint/tests and update full-stack-dev Agent Record + File List accordingly
298
-
299
- ## Key Principles
300
-
301
- - Deterministic, risk-first prioritization
302
- - Minimal, maintainable changes
303
- - Tests validate behavior and close gaps
304
- - Strict adherence to allowed story update areas
305
- - Gate ownership remains with QA; full-stack-dev signals readiness via Status
306
-
307
-
308
- ---
309
-
310
- ## Brownfield Create Epic {#brownfield-create-epic}
311
-
312
-
313
- # Create Brownfield Epic Task
314
-
315
- ## Purpose
316
-
317
- Create a single epic for smaller brownfield enhancements that don't require the full PRD and Architecture documentation process. This task is for isolated features or modifications that can be completed within a focused scope.
318
-
319
- ## When to Use This Task
320
-
321
- **Use this task when:**
322
-
323
- - The enhancement can be completed in 1-3 stories
324
- - No significant architectural changes are required
325
- - The enhancement follows existing project patterns
326
- - Integration complexity is minimal
327
- - Risk to existing system is low
328
-
329
- **Use the full brownfield PRD/Architecture process when:**
330
-
331
- - The enhancement requires multiple coordinated stories
332
- - Architectural planning is needed
333
- - Significant integration work is required
334
- - Risk assessment and mitigation planning is necessary
335
-
336
- ## Instructions
337
-
338
- ### 1. Project Analysis (Required)
339
-
340
- Before creating the epic, gather essential information about the existing project:
341
-
342
- **Existing Project Context:**
343
-
344
- - [ ] Project purpose and current functionality understood
345
- - [ ] Existing technology stack identified
346
- - [ ] Current architecture patterns noted
347
- - [ ] Integration points with existing system identified
348
-
349
- **Enhancement Scope:**
350
-
351
- - [ ] Enhancement clearly defined and scoped
352
- - [ ] Impact on existing functionality assessed
353
- - [ ] Required integration points identified
354
- - [ ] Success criteria established
355
-
356
- ### 2. Epic Creation
357
-
358
- Create a focused epic following this structure:
359
-
360
- #### Epic Title
361
-
362
- {{Enhancement Name}} - Brownfield Enhancement
363
-
364
- #### Epic Goal
365
-
366
- {{1-2 sentences describing what the epic will accomplish and why it adds value}}
367
-
368
- #### Epic Description
369
-
370
- **Existing System Context:**
371
-
372
- - Current relevant functionality: {{brief description}}
373
- - Technology stack: {{relevant existing technologies}}
374
- - Integration points: {{where new work connects to existing system}}
375
-
376
- **Enhancement Details:**
377
-
378
- - What's being added/changed: {{clear description}}
379
- - How it integrates: {{integration approach}}
380
- - Success criteria: {{measurable outcomes}}
381
-
382
- #### Stories
383
-
384
- List 1-3 focused stories that complete the epic:
385
-
386
- 1. **Story 1:** {{Story title and brief description}}
387
- 2. **Story 2:** {{Story title and brief description}}
388
- 3. **Story 3:** {{Story title and brief description}}
389
-
390
- #### Compatibility Requirements
391
-
392
- - [ ] Existing APIs remain unchanged
393
- - [ ] Database schema changes are backward compatible
394
- - [ ] UI changes follow existing patterns
395
- - [ ] Performance impact is minimal
396
-
397
- #### Risk Mitigation
398
-
399
- - **Primary Risk:** {{main risk to existing system}}
400
- - **Mitigation:** {{how risk will be addressed}}
401
- - **Rollback Plan:** {{how to undo changes if needed}}
402
-
403
- #### Definition of Done
404
-
405
- - [ ] All stories completed with acceptance criteria met
406
- - [ ] Existing functionality verified through testing
407
- - [ ] Integration points working correctly
408
- - [ ] Documentation updated appropriately
409
- - [ ] No regression in existing features
410
-
411
- ### 3. Validation Checklist
412
-
413
- Before finalizing the epic, ensure:
414
-
415
- **Scope Validation:**
416
-
417
- - [ ] Epic can be completed in 1-3 stories maximum
418
- - [ ] No architectural documentation is required
419
- - [ ] Enhancement follows existing patterns
420
- - [ ] Integration complexity is manageable
421
-
422
- **Risk Assessment:**
423
-
424
- - [ ] Risk to existing system is low
425
- - [ ] Rollback plan is feasible
426
- - [ ] Testing approach covers existing functionality
427
- - [ ] Team has sufficient knowledge of integration points
428
-
429
- **Completeness Check:**
430
-
431
- - [ ] Epic goal is clear and achievable
432
- - [ ] Stories are properly scoped
433
- - [ ] Success criteria are measurable
434
- - [ ] Dependencies are identified
435
-
436
- ### 4. Handoff to Story Manager
437
-
438
- Once the epic is validated, provide this handoff to the Story Manager:
439
-
440
- ---
441
-
442
- **Story Manager Handoff:**
443
-
444
- "Please develop detailed user stories for this brownfield epic. Key considerations:
445
-
446
- - This is an enhancement to an existing system running {{technology stack}}
447
- - Integration points: {{list key integration points}}
448
- - Existing patterns to follow: {{relevant existing patterns}}
449
- - Critical compatibility requirements: {{key requirements}}
450
- - Each story must include verification that existing functionality remains intact
451
-
452
- The epic should maintain system integrity while delivering {{epic goal}}."
453
-
454
- ---
455
-
456
- ## Success Criteria
457
-
458
- The epic creation is successful when:
459
-
460
- 1. Enhancement scope is clearly defined and appropriately sized
461
- 2. Integration approach respects existing system architecture
462
- 3. Risk to existing functionality is minimized
463
- 4. Stories are logically sequenced for safe implementation
464
- 5. Compatibility requirements are clearly specified
465
- 6. Rollback plan is feasible and documented
466
-
467
- ## Important Notes
468
-
469
- - This task is specifically for SMALL brownfield enhancements
470
- - If the scope grows beyond 3 stories, consider the full brownfield PRD process
471
- - Always prioritize existing system integrity over new functionality
472
- - When in doubt about scope or complexity, escalate to full brownfield planning
473
-
474
-
475
- ---
476
-
477
- ## Brownfield Create Story {#brownfield-create-story}
478
-
479
-
480
- # Create Brownfield Story Task
481
-
482
- ## Purpose
483
-
484
- Create a single user story for very small brownfield enhancements that can be completed in one focused development session. This task is for minimal additions or bug fixes that require existing system integration awareness.
485
-
486
- ## When to Use This Task
487
-
488
- **Use this task when:**
489
-
490
- - The enhancement can be completed in a single story
491
- - No new architecture or significant design is required
492
- - The change follows existing patterns exactly
493
- - Integration is straightforward with minimal risk
494
- - Change is isolated with clear boundaries
495
-
496
- **Use brownfield-create-epic when:**
497
-
498
- - The enhancement requires 2-3 coordinated stories
499
- - Some design work is needed
500
- - Multiple integration points are involved
501
-
502
- **Use the full brownfield PRD/Architecture process when:**
503
-
504
- - The enhancement requires multiple coordinated stories
505
- - Architectural planning is needed
506
- - Significant integration work is required
507
-
508
- ## Instructions
509
-
510
- ### 1. Quick Project Assessment
511
-
512
- Gather minimal but essential context about the existing project:
513
-
514
- **Current System Context:**
515
-
516
- - [ ] Relevant existing functionality identified
517
- - [ ] Technology stack for this area noted
518
- - [ ] Integration point(s) clearly understood
519
- - [ ] Existing patterns for similar work identified
520
-
521
- **Change Scope:**
522
-
523
- - [ ] Specific change clearly defined
524
- - [ ] Impact boundaries identified
525
- - [ ] Success criteria established
526
-
527
- ### 2. Story Creation
528
-
529
- Create a single focused story following this structure:
530
-
531
- #### Story Title
532
-
533
- {{Specific Enhancement}} - Brownfield Addition
534
-
535
- #### User Story
536
-
537
- As a {{user type}},
538
- I want {{specific action/capability}},
539
- So that {{clear benefit/value}}.
540
-
541
- #### Story Context
542
-
543
- **Existing System Integration:**
544
-
545
- - Integrates with: {{existing component/system}}
546
- - Technology: {{relevant tech stack}}
547
- - Follows pattern: {{existing pattern to follow}}
548
- - Touch points: {{specific integration points}}
549
-
550
- #### Acceptance Criteria
551
-
552
- **Functional Requirements:**
553
-
554
- 1. {{Primary functional requirement}}
555
- 2. {{Secondary functional requirement (if any)}}
556
- 3. {{Integration requirement}}
557
-
558
- **Integration Requirements:** 4. Existing {{relevant functionality}} continues to work unchanged 5. New functionality follows existing {{pattern}} pattern 6. Integration with {{system/component}} maintains current behavior
559
-
560
- **Quality Requirements:** 7. Change is covered by appropriate tests 8. Documentation is updated if needed 9. No regression in existing functionality verified
561
-
562
- #### Technical Notes
563
-
564
- - **Integration Approach:** {{how it connects to existing system}}
565
- - **Existing Pattern Reference:** {{link or description of pattern to follow}}
566
- - **Key Constraints:** {{any important limitations or requirements}}
567
-
568
- #### Definition of Done
569
-
570
- - [ ] Functional requirements met
571
- - [ ] Integration requirements verified
572
- - [ ] Existing functionality regression tested
573
- - [ ] Code follows existing patterns and standards
574
- - [ ] Tests pass (existing and new)
575
- - [ ] Documentation updated if applicable
576
-
577
- ### 3. Risk and Compatibility Check
578
-
579
- **Minimal Risk Assessment:**
580
-
581
- - **Primary Risk:** {{main risk to existing system}}
582
- - **Mitigation:** {{simple mitigation approach}}
583
- - **Rollback:** {{how to undo if needed}}
584
-
585
- **Compatibility Verification:**
586
-
587
- - [ ] No breaking changes to existing APIs
588
- - [ ] Database changes (if any) are additive only
589
- - [ ] UI changes follow existing design patterns
590
- - [ ] Performance impact is negligible
591
-
592
- ### 4. Validation Checklist
593
-
594
- Before finalizing the story, confirm:
595
-
596
- **Scope Validation:**
597
-
598
- - [ ] Story can be completed in one development session
599
- - [ ] Integration approach is straightforward
600
- - [ ] Follows existing patterns exactly
601
- - [ ] No design or architecture work required
602
-
603
- **Clarity Check:**
604
-
605
- - [ ] Story requirements are unambiguous
606
- - [ ] Integration points are clearly specified
607
- - [ ] Success criteria are testable
608
- - [ ] Rollback approach is simple
609
-
610
- ## Success Criteria
611
-
612
- The story creation is successful when:
613
-
614
- 1. Enhancement is clearly defined and appropriately scoped for single session
615
- 2. Integration approach is straightforward and low-risk
616
- 3. Existing system patterns are identified and will be followed
617
- 4. Rollback plan is simple and feasible
618
- 5. Acceptance criteria include existing functionality verification
619
-
620
- ## Important Notes
621
-
622
- - This task is for VERY SMALL brownfield changes only
623
- - If complexity grows during analysis, escalate to brownfield-create-epic
624
- - Always prioritize existing system integrity
625
- - When in doubt about integration complexity, use brownfield-create-epic instead
626
- - Stories should take no more than 4 hours of focused development work
627
-
628
-
629
- ---
630
-
631
- ## Correct Course {#correct-course}
632
-
633
-
634
- # Correct Course Task
635
-
636
- ## Purpose
637
-
638
- - Guide a structured response to a change trigger using the `{root}/checklists/change-checklist`.
639
- - Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
640
- - Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
641
- - Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
642
- - Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
643
- - Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
644
-
645
- ## Instructions
646
-
647
- ### 1. Initial Setup & Mode Selection
648
-
649
- - **Acknowledge Task & Inputs:**
650
- - Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
651
- - Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
652
- - Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `{root}/checklists/change-checklist`.
653
- - **Establish Interaction Mode:**
654
- - Ask the user their preferred interaction mode for this task:
655
- - **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
656
- - **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
657
- - Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
658
-
659
- ### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
660
-
661
- - Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
662
- - For each checklist item or logical group of items (depending on interaction mode):
663
- - Present the relevant prompt(s) or considerations from the checklist to the user.
664
- - Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
665
- - Discuss your findings for each item with the user.
666
- - Record the status of each checklist item (e.g., `[x] Addressed`, `[N/A]`, `[!] Further Action Needed`) and any pertinent notes or decisions.
667
- - Collaboratively agree on the "Recommended Path Forward" as prompted by Section 4 of the checklist.
668
-
669
- ### 3. Draft Proposed Changes (Iteratively or Batched)
670
-
671
- - Based on the completed checklist analysis (Sections 1-4) and the agreed "Recommended Path Forward" (excluding scenarios requiring fundamental replans that would necessitate immediate handoff to product-manager/holistic-architect):
672
- - Identify the specific project artifacts that require updates (e.g., specific epics, user stories, PRD sections, architecture document components, diagrams).
673
- - **Draft the proposed changes directly and explicitly for each identified artifact.** Examples include:
674
- - Revising user story text, acceptance criteria, or priority.
675
- - Adding, removing, reordering, or splitting user stories within epics.
676
- - Proposing modified architecture diagram snippets (e.g., providing an updated Mermaid diagram block or a clear textual description of the change to an existing diagram).
677
- - Updating technology lists, configuration details, or specific sections within the PRD or architecture documents.
678
- - Drafting new, small supporting artifacts if necessary (e.g., a brief addendum for a specific decision).
679
- - If in "Incremental Mode," discuss and refine these proposed edits for each artifact or small group of related artifacts with the user as they are drafted.
680
- - If in "YOLO Mode," compile all drafted edits for presentation in the next step.
681
-
682
- ### 4. Generate "Sprint Change Proposal" with Edits
683
-
684
- - Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
685
- - The proposal must clearly present:
686
- - **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
687
- - **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
688
- - Present the complete draft of the "Sprint Change Proposal" to the user for final review and feedback. Incorporate any final adjustments requested by the user.
689
-
690
- ### 5. Finalize & Determine Next Steps
691
-
692
- - Obtain explicit user approval for the "Sprint Change Proposal," including all the specific edits documented within it.
693
- - Provide the finalized "Sprint Change Proposal" document to the user.
694
- - **Based on the nature of the approved changes:**
695
- - **If the approved edits sufficiently address the change and can be implemented directly or organized by a product-owner/scrum-master:** State that the "Correct Course Task" is complete regarding analysis and change proposal, and the user can now proceed with implementing or logging these changes (e.g., updating actual project documents, backlog items). Suggest handoff to a product-owner/scrum-master agent for backlog organization if appropriate.
696
- - **If the analysis and proposed path (as per checklist Section 4 and potentially Section 6) indicate that the change requires a more fundamental replan (e.g., significant scope change, major architectural rework):** Clearly state this conclusion. Advise the user that the next step involves engaging the primary product-manager or Architect agents, using the "Sprint Change Proposal" as critical input and context for that deeper replanning effort.
697
-
698
- ## Output Deliverables
699
-
700
- - **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
701
- - A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
702
- - Specific, clearly drafted proposed edits for all affected project artifacts.
703
- - **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
704
-
705
-
706
- ---
707
-
708
- ## Create Brownfield Story {#create-brownfield-story}
709
-
710
-
711
- # Create Brownfield Story Task
712
-
713
- ## Purpose
714
-
715
- Create detailed, implementation-ready stories for brownfield projects where traditional sharded PRD/architecture documents may not exist. This task bridges the gap between various documentation formats (document-project output, brownfield PRDs, epics, or user documentation) and executable stories for the full-stack-dev agent.
716
-
717
- ## When to Use This Task
718
-
719
- **Use this task when:**
720
-
721
- - Working on brownfield projects with non-standard documentation
722
- - Stories need to be created from document-project output
723
- - Working from brownfield epics without full PRD/architecture
724
- - Existing project documentation doesn't follow Agentic Kit v4+ structure
725
- - Need to gather additional context from user during story creation
726
-
727
- **Use create-next-story when:**
728
-
729
- - Working with properly sharded PRD and v4 architecture documents
730
- - Following standard greenfield or well-documented brownfield workflow
731
- - All technical context is available in structured format
732
-
733
- ## Task Execution Instructions
734
-
735
- ### 0. Documentation Context
736
-
737
- Check for available documentation in this order:
738
-
739
- 1. **Sharded PRD/Architecture** (docs/prd/, docs/architecture/)
740
- - If found, recommend using create-next-story task instead
741
-
742
- 2. **Brownfield Architecture Document** (docs/brownfield-architecture.md or similar)
743
- - Created by document-project task
744
- - Contains actual system state, technical debt, workarounds
745
-
746
- 3. **Brownfield PRD** (docs/prd.md)
747
- - May contain embedded technical details
748
-
749
- 4. **Epic Files** (docs/epics/ or similar)
750
- - Created by brownfield-create-epic task
751
-
752
- 5. **User-Provided Documentation**
753
- - Ask user to specify location and format
754
-
755
- ### 1. Story Identification and Context Gathering
756
-
757
- #### 1.1 Identify Story Source
758
-
759
- Based on available documentation:
760
-
761
- - **From Brownfield PRD**: Extract stories from epic sections
762
- - **From Epic Files**: Read epic definition and story list
763
- - **From User Direction**: Ask user which specific enhancement to implement
764
- - **No Clear Source**: Work with user to define the story scope
765
-
766
- #### 1.2 Gather Essential Context
767
-
768
- CRITICAL: For brownfield stories, you MUST gather enough context for safe implementation. Be prepared to ask the user for missing information.
769
-
770
- **Required Information Checklist:**
771
-
772
- - [ ] What existing functionality might be affected?
773
- - [ ] What are the integration points with current code?
774
- - [ ] What patterns should be followed (with examples)?
775
- - [ ] What technical constraints exist?
776
- - [ ] Are there any "gotchas" or workarounds to know about?
777
-
778
- If any required information is missing, list the missing information and ask the user to provide it.
779
-
780
- ### 2. Extract Technical Context from Available Sources
781
-
782
- #### 2.1 From Document-Project Output
783
-
784
- If using brownfield-architecture.md from document-project:
785
-
786
- - **Technical Debt Section**: Note any workarounds affecting this story
787
- - **Key Files Section**: Identify files that will need modification
788
- - **Integration Points**: Find existing integration patterns
789
- - **Known Issues**: Check if story touches problematic areas
790
- - **Actual Tech Stack**: Verify versions and constraints
791
-
792
- #### 2.2 From Brownfield PRD
793
-
794
- If using brownfield PRD:
795
-
796
- - **Technical Constraints Section**: Extract all relevant constraints
797
- - **Integration Requirements**: Note compatibility requirements
798
- - **Code Organization**: Follow specified patterns
799
- - **Risk Assessment**: Understand potential impacts
800
-
801
- #### 2.3 From User Documentation
802
-
803
- Ask the user to help identify:
804
-
805
- - Relevant technical specifications
806
- - Existing code examples to follow
807
- - Integration requirements
808
- - Testing approaches used in the project
809
-
810
- ### 3. Story Creation with Progressive Detail Gathering
811
-
812
- #### 3.1 Create Initial Story Structure
813
-
814
- Start with the story template, filling in what's known:
815
-
816
- ```markdown
817
- # Story {{Enhancement Title}}
818
-
819
- ## Status: Draft
820
-
821
- ## Story
822
-
823
- As a {{user_type}},
824
- I want {{enhancement_capability}},
825
- so that {{value_delivered}}.
826
-
827
- ## Context Source
828
-
829
- - Source Document: {{document name/type}}
830
- - Enhancement Type: {{single feature/bug fix/integration/etc}}
831
- - Existing System Impact: {{brief assessment}}
832
- ```
833
-
834
- #### 3.2 Develop Acceptance Criteria
835
-
836
- Critical: For brownfield, ALWAYS include criteria about maintaining existing functionality
837
-
838
- Standard structure:
839
-
840
- 1. New functionality works as specified
841
- 2. Existing {{affected feature}} continues to work unchanged
842
- 3. Integration with {{existing system}} maintains current behavior
843
- 4. No regression in {{related area}}
844
- 5. Performance remains within acceptable bounds
845
-
846
- #### 3.3 Gather Technical Guidance
847
-
848
- Critical: This is where you'll need to be interactive with the user if information is missing
849
-
850
- Create full-stack-dev Technical Guidance section with available information:
851
-
852
- ````markdown
853
- ## full-stack-dev Technical Guidance
854
-
855
- ### Existing System Context
856
-
857
- [Extract from available documentation]
858
-
859
- ### Integration Approach
860
-
861
- [Based on patterns found or ask user]
862
-
863
- ### Technical Constraints
864
-
865
- [From documentation or user input]
866
-
867
- ### Missing Information
868
-
869
- Critical: List anything you couldn't find that full-stack-dev will need and ask for the missing information
870
-
871
- ### 4. Task Generation with Safety Checks
872
-
873
- #### 4.1 Generate Implementation Tasks
874
-
875
- Based on gathered context, create tasks that:
876
-
877
- - Include exploration tasks if system understanding is incomplete
878
- - Add verification tasks for existing functionality
879
- - Include rollback considerations
880
- - Reference specific files/patterns when known
881
-
882
- Example task structure for brownfield:
883
-
884
- ```markdown
885
- ## Tasks / Subtasks
886
-
887
- - [ ] Task 1: Analyze existing {{component/feature}} implementation
888
- - [ ] Review {{specific files}} for current patterns
889
- - [ ] Document integration points
890
- - [ ] Identify potential impacts
891
-
892
- - [ ] Task 2: Implement {{new functionality}}
893
- - [ ] Follow pattern from {{example file}}
894
- - [ ] Integrate with {{existing component}}
895
- - [ ] Maintain compatibility with {{constraint}}
896
-
897
- - [ ] Task 3: Verify existing functionality
898
- - [ ] Test {{existing feature 1}} still works
899
- - [ ] Verify {{integration point}} behavior unchanged
900
- - [ ] Check performance impact
901
-
902
- - [ ] Task 4: Add tests
903
- - [ ] Unit tests following {{project test pattern}}
904
- - [ ] Integration test for {{integration point}}
905
- - [ ] Update existing tests if needed
906
- ```
907
- ````
908
-
909
- ### 5. Risk Assessment and Mitigation
910
-
911
- CRITICAL: for brownfield - always include risk assessment
912
-
913
- Add section for brownfield-specific risks:
914
-
915
- ```markdown
916
- ## Risk Assessment
917
-
918
- ### Implementation Risks
919
-
920
- - **Primary Risk**: {{main risk to existing system}}
921
- - **Mitigation**: {{how to address}}
922
- - **Verification**: {{how to confirm safety}}
923
-
924
- ### Rollback Plan
925
-
926
- - {{Simple steps to undo changes if needed}}
927
-
928
- ### Safety Checks
929
-
930
- - [ ] Existing {{feature}} tested before changes
931
- - [ ] Changes can be feature-flagged or isolated
932
- - [ ] Rollback procedure documented
933
- ```
934
-
935
- ### 6. Final Story Validation
936
-
937
- Before finalizing:
938
-
939
- 1. **Completeness Check**:
940
- - [ ] Story has clear scope and acceptance criteria
941
- - [ ] Technical context is sufficient for implementation
942
- - [ ] Integration approach is defined
943
- - [ ] Risks are identified with mitigation
944
-
945
- 2. **Safety Check**:
946
- - [ ] Existing functionality protection included
947
- - [ ] Rollback plan is feasible
948
- - [ ] Testing covers both new and existing features
949
-
950
- 3. **Information Gaps**:
951
- - [ ] All critical missing information gathered from user
952
- - [ ] Remaining unknowns documented for full-stack-dev agent
953
- - [ ] Exploration tasks added where needed
954
-
955
- ### 7. Story Output Format
956
-
957
- Save the story with appropriate naming:
958
-
959
- - If from epic: `docs/stories/epic-{n}-story-{m}.md`
960
- - If standalone: `docs/stories/brownfield-{feature-name}.md`
961
- - If sequential: Follow existing story numbering
962
-
963
- Include header noting documentation context:
964
-
965
- ```markdown
966
- # Story: {{Title}}
967
-
968
- <!-- Source: {{documentation type used}} -->
969
- <!-- Context: Brownfield enhancement to {{existing system}} -->
970
-
971
- ## Status: Draft
972
-
973
- [Rest of story content...]
974
- ```
975
-
976
- ### 8. Handoff Communication
977
-
978
- Provide clear handoff to the user:
979
-
980
- ```text
981
- Brownfield story created: {{story title}}
982
-
983
- Source Documentation: {{what was used}}
984
- Story Location: {{file path}}
985
-
986
- Key Integration Points Identified:
987
- - {{integration point 1}}
988
- - {{integration point 2}}
989
-
990
- Risks Noted:
991
- - {{primary risk}}
992
-
993
- {{If missing info}}:
994
- Note: Some technical details were unclear. The story includes exploration tasks to gather needed information during implementation.
995
-
996
- Next Steps:
997
- 1. Review story for accuracy
998
- 2. Verify integration approach aligns with your system
999
- 3. Approve story or request adjustments
1000
- 4. full-stack-dev agent can then implement with safety checks
1001
- ```
1002
-
1003
- ## Success Criteria
1004
-
1005
- The brownfield story creation is successful when:
1006
-
1007
- 1. Story can be implemented without requiring full-stack-dev to search multiple documents
1008
- 2. Integration approach is clear and safe for existing system
1009
- 3. All available technical context has been extracted and organized
1010
- 4. Missing information has been identified and addressed
1011
- 5. Risks are documented with mitigation strategies
1012
- 6. Story includes verification of existing functionality
1013
- 7. Rollback approach is defined
1014
-
1015
- ## Important Notes
1016
-
1017
- - This task is specifically for brownfield projects with non-standard documentation
1018
- - Always prioritize existing system stability over new features
1019
- - When in doubt, add exploration and verification tasks
1020
- - It's better to ask the user for clarification than make assumptions
1021
- - Each story should be self-contained for the dev agent
1022
- - Include references to existing code patterns when available
1023
-
1024
-
1025
- ---
1026
-
1027
- ## Create Deep Research Prompt {#create-deep-research-prompt}
1028
-
1029
-
1030
- # Create Deep Research Prompt Task
1031
-
1032
- This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
1033
-
1034
- ## Purpose
1035
-
1036
- Generate well-structured research prompts that:
1037
-
1038
- - Define clear research objectives and scope
1039
- - Specify appropriate research methodologies
1040
- - Outline expected deliverables and formats
1041
- - Guide systematic investigation of complex topics
1042
- - Ensure actionable insights are captured
1043
-
1044
- ## Research Type Selection
1045
-
1046
- CRITICAL: First, help the user select the most appropriate research focus based on their needs and any input documents they've provided.
1047
-
1048
- ### 1. Research Focus Options
1049
-
1050
- Present these numbered options to the user:
1051
-
1052
- 1. **Product Validation Research**
1053
- - Validate product hypotheses and market fit
1054
- - Test assumptions about user needs and solutions
1055
- - Assess technical and business feasibility
1056
- - Identify risks and mitigation strategies
1057
-
1058
- 2. **Market Opportunity Research**
1059
- - Analyze market size and growth potential
1060
- - Identify market segments and dynamics
1061
- - Assess market entry strategies
1062
- - Evaluate timing and market readiness
1063
-
1064
- 3. **User & Customer Research**
1065
- - Deep dive into user personas and behaviors
1066
- - Understand jobs-to-be-done and pain points
1067
- - Map customer journeys and touchpoints
1068
- - Analyze willingness to pay and value perception
1069
-
1070
- 4. **Competitive Intelligence Research**
1071
- - Detailed competitor analysis and positioning
1072
- - Feature and capability comparisons
1073
- - Business model and strategy analysis
1074
- - Identify competitive advantages and gaps
1075
-
1076
- 5. **Technology & Innovation Research**
1077
- - Assess technology trends and possibilities
1078
- - Evaluate technical approaches and architectures
1079
- - Identify emerging technologies and disruptions
1080
- - Analyze build vs. buy vs. partner options
1081
-
1082
- 6. **Industry & Ecosystem Research**
1083
- - Map industry value chains and dynamics
1084
- - Identify key players and relationships
1085
- - Analyze regulatory and compliance factors
1086
- - Understand partnership opportunities
1087
-
1088
- 7. **Strategic Options Research**
1089
- - Evaluate different strategic directions
1090
- - Assess business model alternatives
1091
- - Analyze go-to-market strategies
1092
- - Consider expansion and scaling paths
1093
-
1094
- 8. **Risk & Feasibility Research**
1095
- - Identify and assess various risk factors
1096
- - Evaluate implementation challenges
1097
- - Analyze resource requirements
1098
- - Consider regulatory and legal implications
1099
-
1100
- 9. **Custom Research Focus**
1101
- - User-defined research objectives
1102
- - Specialized domain investigation
1103
- - Cross-functional research needs
1104
-
1105
- ### 2. Input Processing
1106
-
1107
- **If Project Brief provided:**
1108
-
1109
- - Extract key product concepts and goals
1110
- - Identify target users and use cases
1111
- - Note technical constraints and preferences
1112
- - Highlight uncertainties and assumptions
1113
-
1114
- **If Brainstorming Results provided:**
1115
-
1116
- - Synthesize main ideas and themes
1117
- - Identify areas needing validation
1118
- - Extract hypotheses to test
1119
- - Note creative directions to explore
1120
-
1121
- **If Market Research provided:**
1122
-
1123
- - Build on identified opportunities
1124
- - Deepen specific market insights
1125
- - Validate initial findings
1126
- - Explore adjacent possibilities
1127
-
1128
- **If Starting Fresh:**
1129
-
1130
- - Gather essential context through questions
1131
- - Define the problem space
1132
- - Clarify research objectives
1133
- - Establish success criteria
1134
-
1135
- ## Process
1136
-
1137
- ### 3. Research Prompt Structure
1138
-
1139
- CRITICAL: collaboratively develop a comprehensive research prompt with these components.
1140
-
1141
- #### A. Research Objectives
1142
-
1143
- CRITICAL: collaborate with the user to articulate clear, specific objectives for the research.
1144
-
1145
- - Primary research goal and purpose
1146
- - Key decisions the research will inform
1147
- - Success criteria for the research
1148
- - Constraints and boundaries
1149
-
1150
- #### B. Research Questions
1151
-
1152
- CRITICAL: collaborate with the user to develop specific, actionable research questions organized by theme.
1153
-
1154
- **Core Questions:**
1155
-
1156
- - Central questions that must be answered
1157
- - Priority ranking of questions
1158
- - Dependencies between questions
1159
-
1160
- **Supporting Questions:**
1161
-
1162
- - Additional context-building questions
1163
- - Nice-to-have insights
1164
- - Future-looking considerations
1165
-
1166
- #### C. Research Methodology
1167
-
1168
- **Data Collection Methods:**
1169
-
1170
- - Secondary research sources
1171
- - Primary research approaches (if applicable)
1172
- - Data quality requirements
1173
- - Source credibility criteria
1174
-
1175
- **Analysis Frameworks:**
1176
-
1177
- - Specific frameworks to apply
1178
- - Comparison criteria
1179
- - Evaluation methodologies
1180
- - Synthesis approaches
1181
-
1182
- #### D. Output Requirements
1183
-
1184
- **Format Specifications:**
1185
-
1186
- - Executive summary requirements
1187
- - Detailed findings structure
1188
- - Visual/tabular presentations
1189
- - Supporting documentation
1190
-
1191
- **Key Deliverables:**
1192
-
1193
- - Must-have sections and insights
1194
- - Decision-support elements
1195
- - Action-oriented recommendations
1196
- - Risk and uncertainty documentation
1197
-
1198
- ### 4. Prompt Generation
1199
-
1200
- **Research Prompt Template:**
1201
-
1202
- ```markdown
1203
- ## Research Objective
1204
-
1205
- [Clear statement of what this research aims to achieve]
1206
-
1207
- ## Background Context
1208
-
1209
- [Relevant information from project brief, brainstorming, or other inputs]
1210
-
1211
- ## Research Questions
1212
-
1213
- ### Primary Questions (Must Answer)
1214
-
1215
- 1. [Specific, actionable question]
1216
- 2. [Specific, actionable question]
1217
- ...
1218
-
1219
- ### Secondary Questions (Nice to Have)
1220
-
1221
- 1. [Supporting question]
1222
- 2. [Supporting question]
1223
- ...
1224
-
1225
- ## Research Methodology
1226
-
1227
- ### Information Sources
1228
-
1229
- - [Specific source types and priorities]
1230
-
1231
- ### Analysis Frameworks
1232
-
1233
- - [Specific frameworks to apply]
1234
-
1235
- ### Data Requirements
1236
-
1237
- - [Quality, recency, credibility needs]
1238
-
1239
- ## Expected Deliverables
1240
-
1241
- ### Executive Summary
1242
-
1243
- - Key findings and insights
1244
- - Critical implications
1245
- - Recommended actions
1246
-
1247
- ### Detailed Analysis
1248
-
1249
- [Specific sections needed based on research type]
1250
-
1251
- ### Supporting Materials
1252
-
1253
- - Data tables
1254
- - Comparison matrices
1255
- - Source documentation
1256
-
1257
- ## Success Criteria
1258
-
1259
- [How to evaluate if research achieved its objectives]
1260
-
1261
- ## Timeline and Priority
1262
-
1263
- [If applicable, any time constraints or phasing]
1264
- ```
1265
-
1266
- ### 5. Review and Refinement
1267
-
1268
- 1. **Present Complete Prompt**
1269
- - Show the full research prompt
1270
- - Explain key elements and rationale
1271
- - Highlight any assumptions made
1272
-
1273
- 2. **Gather Feedback**
1274
- - Are the objectives clear and correct?
1275
- - Do the questions address all concerns?
1276
- - Is the scope appropriate?
1277
- - Are output requirements sufficient?
1278
-
1279
- 3. **Refine as Needed**
1280
- - Incorporate user feedback
1281
- - Adjust scope or focus
1282
- - Add missing elements
1283
- - Clarify ambiguities
1284
-
1285
- ### 6. Next Steps Guidance
1286
-
1287
- **Execution Options:**
1288
-
1289
- 1. **Use with AI Research Assistant**: Provide this prompt to an AI model with research capabilities
1290
- 2. **Guide Human Research**: Use as a framework for manual research efforts
1291
- 3. **Hybrid Approach**: Combine AI and human research using this structure
1292
-
1293
- **Integration Points:**
1294
-
1295
- - How findings will feed into next phases
1296
- - Which team members should review results
1297
- - How to validate findings
1298
- - When to revisit or expand research
1299
-
1300
- ## Important Notes
1301
-
1302
- - The quality of the research prompt directly impacts the quality of insights gathered
1303
- - Be specific rather than general in research questions
1304
- - Consider both current state and future implications
1305
- - Balance comprehensiveness with focus
1306
- - Document assumptions and limitations clearly
1307
- - Plan for iterative refinement based on initial findings
1308
-
1309
-
1310
- ---
1311
-
1312
- ## Create Doc {#create-doc}
1313
-
1314
-
1315
- # Create Document from Template (YAML Driven)
1316
-
1317
- ## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
1318
-
1319
- **THIS IS AN EXECUTABLE WORKFLOW - NOT REFERENCE MATERIAL**
1320
-
1321
- When this task is invoked:
1322
-
1323
- 1. **DISABLE ALL EFFICIENCY OPTIMIZATIONS** - This workflow requires full user interaction
1324
- 2. **MANDATORY STEP-BY-STEP EXECUTION** - Each section must be processed sequentially with user feedback
1325
- 3. **ELICITATION IS REQUIRED** - When `elicit: true`, you MUST use the 1-9 format and wait for user response
1326
- 4. **NO SHORTCUTS ALLOWED** - Complete documents cannot be created without following this workflow
1327
-
1328
- **VIOLATION INDICATOR:** If you create a complete document without user interaction, you have violated this workflow.
1329
-
1330
- ## Critical: Template Discovery
1331
-
1332
- If a YAML Template has not been provided, list all templates from .templates or ask the user to provide another.
1333
-
1334
- ## CRITICAL: Mandatory Elicitation Format
1335
-
1336
- **When `elicit: true`, this is a HARD STOP requiring user interaction:**
1337
-
1338
- **YOU MUST:**
1339
-
1340
- 1. Present section content
1341
- 2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
1342
- 3. **STOP and present numbered options 1-9:**
1343
- - **Option 1:** Always "Proceed to next section"
1344
- - **Options 2-9:** Select 8 methods from data/elicitation-methods
1345
- - End with: "Select 1-9 or just type your question/feedback:"
1346
- 4. **WAIT FOR USER RESPONSE** - Do not proceed until user selects option or provides feedback
1347
-
1348
- **WORKFLOW VIOLATION:** Creating content for elicit=true sections without user interaction violates this task.
1349
-
1350
- **NEVER ask yes/no questions or use any other format.**
1351
-
1352
- ## Processing Flow
1353
-
1354
- 1. **Parse YAML template** - Load template metadata and sections
1355
- 2. **Set preferences** - Show current mode (Interactive), confirm output file
1356
- 3. **Process each section:**
1357
- - Skip if condition unmet
1358
- - Check agent permissions (owner/editors) - note if section is restricted to specific agents
1359
- - Draft content using section instruction
1360
- - Present content + detailed rationale
1361
- - **IF elicit: true** → MANDATORY 1-9 options format
1362
- - Save to file if possible
1363
- 4. **Continue until complete**
1364
-
1365
- ## Detailed Rationale Requirements
1366
-
1367
- When presenting section content, ALWAYS include rationale that explains:
1368
-
1369
- - Trade-offs and choices made (what was chosen over alternatives and why)
1370
- - Key assumptions made during drafting
1371
- - Interesting or questionable decisions that need user attention
1372
- - Areas that might need validation
1373
-
1374
- ## Elicitation Results Flow
1375
-
1376
- After user selects elicitation method (2-9):
1377
-
1378
- 1. Execute method from data/elicitation-methods
1379
- 2. Present results with insights
1380
- 3. Offer options:
1381
- - **1. Apply changes and update section**
1382
- - **2. Return to elicitation menu**
1383
- - **3. Ask any questions or engage further with this elicitation**
1384
-
1385
- ## Agent Permissions
1386
-
1387
- When processing sections with agent permission fields:
1388
-
1389
- - **owner**: Note which agent role initially creates/populates the section
1390
- - **editors**: List agent roles allowed to modify the section
1391
- - **readonly**: Mark sections that cannot be modified after creation
1392
-
1393
- **For sections with restricted access:**
1394
-
1395
- - Include a note in the generated document indicating the responsible agent
1396
- - Example: "_(This section is owned by full-stack-dev-agent and can only be modified by full-stack-dev-agent)_"
1397
-
1398
- ## YOLO Mode
1399
-
1400
- User can type `#yolo` to toggle to YOLO mode (process all sections at once).
1401
-
1402
- ## CRITICAL REMINDERS
1403
-
1404
- **❌ NEVER:**
1405
-
1406
- - Ask yes/no questions for elicitation
1407
- - Use any format other than 1-9 numbered options
1408
- - Create new elicitation methods
1409
-
1410
- **✅ ALWAYS:**
1411
-
1412
- - Use exact 1-9 format when elicit: true
1413
- - Select options 2-9 from data/elicitation-methods only
1414
- - Provide detailed rationale explaining decisions
1415
- - End with "Select 1-9 or just type your question/feedback:"
1416
-
1417
-
1418
- ---
1419
-
1420
- ## Create Next Story {#create-next-story}
1421
-
1422
-
1423
- # Create Next Story Task
1424
-
1425
- ## Purpose
1426
-
1427
- To identify the next logical story based on project progress and epic definitions, and then to prepare a comprehensive, self-contained, and actionable story file using the `Story Template`. This task ensures the story is enriched with all necessary technical context, requirements, and acceptance criteria, making it ready for efficient implementation by a Developer Agent with minimal need for additional research or finding its own context.
1428
-
1429
- ## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
1430
-
1431
- ### 0. Load Core Configuration and Check Workflow
1432
-
1433
- - Load `{root}/core-config.yaml` from the project root
1434
- - If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story creation. Please add and configure core-config.yaml before proceeding."
1435
- - Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`, `workflow.*`
1436
-
1437
- ### 1. Identify Next Story for Preparation
1438
-
1439
- #### 1.1 Locate Epic Files and Review Existing Stories
1440
-
1441
- - Based on `prdSharded` from config, locate epic files (sharded location/pattern or monolithic PRD sections)
1442
- - If `devStoryLocation` has story files, load the highest `{epicNum}.{storyNum}.story.md` file
1443
- - **If highest story exists:**
1444
- - Verify status is 'Done'. If not, alert user: "ALERT: Found incomplete story! File: {lastEpicNum}.{lastStoryNum}.story.md Status: [current status] You should fix this story first, but would you like to accept risk & override to create the next story in draft?"
1445
- - If proceeding, select next sequential story in the current epic
1446
- - If epic is complete, prompt user: "Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed. Would you like to: 1) Begin Epic {epicNum + 1} with story 1 2) Select a specific story to work on 3) Cancel story creation"
1447
- - **CRITICAL**: NEVER automatically skip to another epic. User MUST explicitly instruct which story to create.
1448
- - **If no story files exist:** The next story is ALWAYS 1.1 (first story of first epic)
1449
- - Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}"
1450
-
1451
- ### 2. Gather Story Requirements and Previous Story Context
1452
-
1453
- - Extract story requirements from the identified epic file
1454
- - If previous story exists, review full-stack-dev Agent Record sections for:
1455
- - Completion Notes and Debug Log References
1456
- - Implementation deviations and technical decisions
1457
- - Challenges encountered and lessons learned
1458
- - Extract relevant insights that inform the current story's preparation
1459
-
1460
- ### 3. Gather Architecture Context
1461
-
1462
- #### 3.1 Determine Architecture Reading Strategy
1463
-
1464
- - **If `architectureVersion: >= v4` and `architectureSharded: true`**: Read `{architectureShardedLocation}/index.md` then follow structured reading order below
1465
- - **Else**: Use monolithic `architectureFile` for similar sections
1466
-
1467
- #### 3.2 Read Architecture Documents Based on Story Type
1468
-
1469
- **For ALL Stories:** tech-stack.md, unified-project-structure.md, coding-standards.md, testing-strategy.md
1470
-
1471
- **For Backend/API Stories, additionally:** data-models.md, database-schema.md, backend-architecture.md, rest-api-spec.md, external-apis.md
1472
-
1473
- **For Frontend/UI Stories, additionally:** frontend-architecture.md, components.md, core-workflows.md, data-models.md
1474
-
1475
- **For Full-Stack Stories:** Read both Backend and Frontend sections above
1476
-
1477
- #### 3.3 Extract Story-Specific Technical Details
1478
-
1479
- Extract ONLY information directly relevant to implementing the current story. Do NOT invent new libraries, patterns, or standards not in the source documents.
1480
-
1481
- Extract:
1482
-
1483
- - Specific data models, schemas, or structures the story will use
1484
- - API endpoints the story must implement or consume
1485
- - Component specifications for UI elements in the story
1486
- - File paths and naming conventions for new code
1487
- - Testing requirements specific to the story's features
1488
- - Security or performance considerations affecting the story
1489
-
1490
- ALWAYS cite source documents: `[Source: architecture/{filename}.md#{section}]`
1491
-
1492
- ### 4. Verify Project Structure Alignment
1493
-
1494
- - Cross-reference story requirements with Project Structure Guide from `docs/architecture/unified-project-structure.md`
1495
- - Ensure file paths, component locations, or module names align with defined structures
1496
- - Document any structural conflicts in "Project Structure Notes" section within the story draft
1497
-
1498
- ### 5. Populate Story Template with Full Context
1499
-
1500
- - Create new story file: `{devStoryLocation}/{epicNum}.{storyNum}.story.md` using Story Template
1501
- - Fill in basic story information: Title, Status (Draft), Story statement, Acceptance Criteria from Epic
1502
- - **`full-stack-dev Notes` section (CRITICAL):**
1503
- - CRITICAL: This section MUST contain ONLY information extracted from architecture documents. NEVER invent or assume technical details.
1504
- - Include ALL relevant technical details from Steps 2-3, organized by category:
1505
- - **Previous Story Insights**: Key learnings from previous story
1506
- - **Data Models**: Specific schemas, validation rules, relationships [with source references]
1507
- - **API Specifications**: Endpoint details, request/response formats, auth requirements [with source references]
1508
- - **Component Specifications**: UI component details, props, state management [with source references]
1509
- - **File Locations**: Exact paths where new code should be created based on project structure
1510
- - **Testing Requirements**: Specific test cases or strategies from testing-strategy.md
1511
- - **Technical Constraints**: Version requirements, performance considerations, security rules
1512
- - Every technical detail MUST include its source reference: `[Source: architecture/{filename}.md#{section}]`
1513
- - If information for a category is not found in the architecture docs, explicitly state: "No specific guidance found in architecture docs"
1514
- - **`Tasks / Subtasks` section:**
1515
- - Generate detailed, sequential list of technical tasks based ONLY on: Epic Requirements, Story AC, Reviewed Architecture Information
1516
- - Each task must reference relevant architecture documentation
1517
- - Include unit testing as explicit subtasks based on the Testing Strategy
1518
- - Link tasks to ACs where applicable (e.g., `Task 1 (AC: 1, 3)`)
1519
- - Add notes on project structure alignment or discrepancies found in Step 4
1520
-
1521
- ### 6. Story Draft Completion and Review
1522
-
1523
- - Review all sections for completeness and accuracy
1524
- - Verify all source references are included for technical details
1525
- - Ensure tasks align with both epic requirements and architecture constraints
1526
- - Update status to "Draft" and save the story file
1527
- - Execute `{root}/tasks/execute-checklist` `{root}/checklists/story-draft-checklist`
1528
- - Provide summary to user including:
1529
- - Story created: `{devStoryLocation}/{epicNum}.{storyNum}.story.md`
1530
- - Status: Draft
1531
- - Key technical components included from architecture docs
1532
- - Any deviations or conflicts noted between epic and architecture
1533
- - Checklist Results
1534
- - Next steps: For Complex stories, suggest the user carefully review the story draft and also optionally have the PO run the task `{root}/tasks/validate-next-story`
1535
-
1536
-
1537
- ---
1538
-
1539
- ## Document Project {#document-project}
1540
-
1541
-
1542
- # Document an Existing Project
1543
-
1544
- ## Purpose
1545
-
1546
- Generate comprehensive documentation for existing projects optimized for AI development agents. This task creates structured reference materials that enable AI agents to understand project context, conventions, and patterns for effective contribution to any codebase.
1547
-
1548
- ## Task Instructions
1549
-
1550
- ### 1. Initial Project Analysis
1551
-
1552
- **CRITICAL:** First, check if a PRD or requirements document exists in context. If yes, use it to focus your documentation efforts on relevant areas only.
1553
-
1554
- **IF PRD EXISTS**:
1555
-
1556
- - Review the PRD to understand what enhancement/feature is planned
1557
- - Identify which modules, services, or areas will be affected
1558
- - Focus documentation ONLY on these relevant areas
1559
- - Skip unrelated parts of the codebase to keep docs lean
1560
-
1561
- **IF NO PRD EXISTS**:
1562
- Ask the user:
1563
-
1564
- "I notice you haven't provided a PRD or requirements document. To create more focused and useful documentation, I recommend one of these options:
1565
-
1566
- 1. **Create a PRD first** - Would you like me to help create a brownfield PRD before documenting? This helps focus documentation on relevant areas.
1567
-
1568
- 2. **Provide existing requirements** - Do you have a requirements document, epic, or feature description you can share?
1569
-
1570
- 3. **Describe the focus** - Can you briefly describe what enhancement or feature you're planning? For example:
1571
- - 'Adding payment processing to the user service'
1572
- - 'Refactoring the authentication module'
1573
- - 'Integrating with a new third-party API'
1574
-
1575
- 4. **Document everything** - Or should I proceed with comprehensive documentation of the entire codebase? (Note: This may create excessive documentation for large projects)
1576
-
1577
- Please let me know your preference, or I can proceed with full documentation if you prefer."
1578
-
1579
- Based on their response:
1580
-
1581
- - If they choose option 1-3: Use that context to focus documentation
1582
- - If they choose option 4 or decline: Proceed with comprehensive analysis below
1583
-
1584
- Begin by conducting analysis of the existing project. Use available tools to:
1585
-
1586
- 1. **Project Structure Discovery**: Examine the root directory structure, identify main folders, and understand the overall organization
1587
- 2. **Technology Stack Identification**: Look for package.json, requirements.txt, Cargo.toml, pom.xml, etc. to identify languages, frameworks, and dependencies
1588
- 3. **Build System Analysis**: Find build scripts, CI/CD configurations, and development commands
1589
- 4. **Existing Documentation Review**: Check for README files, docs folders, and any existing documentation
1590
- 5. **Code Pattern Analysis**: Sample key files to understand coding patterns, naming conventions, and architectural approaches
1591
-
1592
- Ask the user these elicitation questions to better understand their needs:
1593
-
1594
- - What is the primary purpose of this project?
1595
- - Are there any specific areas of the codebase that are particularly complex or important for agents to understand?
1596
- - What types of tasks do you expect AI agents to perform on this project? (e.g., bug fixes, feature additions, refactoring, testing)
1597
- - Are there any existing documentation standards or formats you prefer?
1598
- - What level of technical detail should the documentation target? (junior developers, senior developers, mixed team)
1599
- - Is there a specific feature or enhancement you're planning? (This helps focus documentation)
1600
-
1601
- ### 2. Deep Codebase Analysis
1602
-
1603
- CRITICAL: Before generating documentation, conduct extensive analysis of the existing codebase:
1604
-
1605
- 1. **Explore Key Areas**:
1606
- - Entry points (main files, index files, app initializers)
1607
- - Configuration files and environment setup
1608
- - Package dependencies and versions
1609
- - Build and deployment configurations
1610
- - Test suites and coverage
1611
-
1612
- 2. **Ask Clarifying Questions**:
1613
- - "I see you're using [technology X]. Are there any custom patterns or conventions I should document?"
1614
- - "What are the most critical/complex parts of this system that developers struggle with?"
1615
- - "Are there any undocumented 'tribal knowledge' areas I should capture?"
1616
- - "What technical debt or known issues should I document?"
1617
- - "Which parts of the codebase change most frequently?"
1618
-
1619
- 3. **Map the Reality**:
1620
- - Identify ACTUAL patterns used (not theoretical best practices)
1621
- - Find where key business logic lives
1622
- - Locate integration points and external dependencies
1623
- - Document workarounds and technical debt
1624
- - Note areas that differ from standard patterns
1625
-
1626
- **IF PRD PROVIDED**: Also analyze what would need to change for the enhancement
1627
-
1628
- ### 3. Core Documentation Generation
1629
-
1630
- [[LLM: Generate a comprehensive BROWNFIELD architecture document that reflects the ACTUAL state of the codebase.
1631
-
1632
- **CRITICAL**: This is NOT an aspirational architecture document. Document what EXISTS, including:
1633
-
1634
- - Technical debt and workarounds
1635
- - Inconsistent patterns between different parts
1636
- - Legacy code that can't be changed
1637
- - Integration constraints
1638
- - Performance bottlenecks
1639
-
1640
- **Document Structure**:
1641
-
1642
- # [Project Name] Brownfield Architecture Document
1643
-
1644
- ## Introduction
1645
-
1646
- This document captures the CURRENT STATE of the [Project Name] codebase, including technical debt, workarounds, and real-world patterns. It serves as a reference for AI agents working on enhancements.
1647
-
1648
- ### Document Scope
1649
-
1650
- [If PRD provided: "Focused on areas relevant to: {enhancement description}"]
1651
- [If no PRD: "Comprehensive documentation of entire system"]
1652
-
1653
- ### Change Log
1654
-
1655
- | Date | Version | Description | Author |
1656
- | ------ | ------- | --------------------------- | --------- |
1657
- | [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
1658
-
1659
- ## Quick Reference - Key Files and Entry Points
1660
-
1661
- ### Critical Files for Understanding the System
1662
-
1663
- - **Main Entry**: `src/index.js` (or actual entry point)
1664
- - **Configuration**: `config/app.config.js`, `.env.example`
1665
- - **Core Business Logic**: `src/services/`, `src/domain/`
1666
- - **API Definitions**: `src/routes/` or link to OpenAPI spec
1667
- - **Database Models**: `src/models/` or link to schema files
1668
- - **Key Algorithms**: [List specific files with complex logic]
1669
-
1670
- ### If PRD Provided - Enhancement Impact Areas
1671
-
1672
- [Highlight which files/modules will be affected by the planned enhancement]
1673
-
1674
- ## High Level Architecture
1675
-
1676
- ### Technical Summary
1677
-
1678
- ### Actual Tech Stack (from package.json/requirements.txt)
1679
-
1680
- | Category | Technology | Version | Notes |
1681
- | --------- | ---------- | ------- | -------------------------- |
1682
- | Runtime | Node.js | 16.x | [Any constraints] |
1683
- | Framework | Express | 4.18.2 | [Custom middleware?] |
1684
- | Database | PostgreSQL | 13 | [Connection pooling setup] |
1685
-
1686
- etc...
1687
-
1688
- ### Repository Structure Reality Check
1689
-
1690
- - Type: [Monorepo/Polyrepo/Hybrid]
1691
- - Package Manager: [npm/yarn/pnpm]
1692
- - Notable: [Any unusual structure decisions]
1693
-
1694
- ## Source Tree and Module Organization
1695
-
1696
- ### Project Structure (Actual)
1697
-
1698
- ```text
1699
- project-root/
1700
- ├── src/
1701
- │ ├── controllers/ # HTTP request handlers
1702
- │ ├── services/ # Business logic (NOTE: inconsistent patterns between user and payment services)
1703
- │ ├── models/ # Database models (Sequelize)
1704
- │ ├── utils/ # Mixed bag - needs refactoring
1705
- │ └── legacy/ # DO NOT MODIFY - old payment system still in use
1706
- ├── tests/ # Jest tests (60% coverage)
1707
- ├── scripts/ # Build and deployment scripts
1708
- └── config/ # Environment configs
1709
- ```
1710
-
1711
- ### Key Modules and Their Purpose
1712
-
1713
- - **User Management**: `src/services/userService.js` - Handles all user operations
1714
- - **Authentication**: `src/middleware/auth.js` - JWT-based, custom implementation
1715
- - **Payment Processing**: `src/legacy/payment.js` - CRITICAL: Do not refactor, tightly coupled
1716
- - **[List other key modules with their actual files]**
1717
-
1718
- ## Data Models and APIs
1719
-
1720
- ### Data Models
1721
-
1722
- Instead of duplicating, reference actual model files:
1723
-
1724
- - **User Model**: See `src/models/User.js`
1725
- - **Order Model**: See `src/models/Order.js`
1726
- - **Related Types**: TypeScript definitions in `src/types/`
1727
-
1728
- ### API Specifications
1729
-
1730
- - **OpenAPI Spec**: `docs/api/openapi.yaml` (if exists)
1731
- - **Postman Collection**: `docs/api/postman-collection.json`
1732
- - **Manual Endpoints**: [List any undocumented endpoints discovered]
1733
-
1734
- ## Technical Debt and Known Issues
1735
-
1736
- ### Critical Technical Debt
1737
-
1738
- 1. **Payment Service**: Legacy code in `src/legacy/payment.js` - tightly coupled, no tests
1739
- 2. **User Service**: Different pattern than other services, uses callbacks instead of promises
1740
- 3. **Database Migrations**: Manually tracked, no proper migration tool
1741
- 4. **[Other significant debt]**
1742
-
1743
- ### Workarounds and Gotchas
1744
-
1745
- - **Environment Variables**: Must set `NODE_ENV=production` even for staging (historical reason)
1746
- - **Database Connections**: Connection pool hardcoded to 10, changing breaks payment service
1747
- - **[Other workarounds developers need to know]**
1748
-
1749
- ## Integration Points and External Dependencies
1750
-
1751
- ### External Services
1752
-
1753
- | Service | Purpose | Integration Type | Key Files |
1754
- | -------- | -------- | ---------------- | ------------------------------ |
1755
- | Stripe | Payments | REST API | `src/integrations/stripe/` |
1756
- | SendGrid | Emails | SDK | `src/services/emailService.js` |
1757
-
1758
- etc...
1759
-
1760
- ### Internal Integration Points
1761
-
1762
- - **Frontend Communication**: REST API on port 3000, expects specific headers
1763
- - **Background Jobs**: Redis queue, see `src/workers/`
1764
- - **[Other integrations]**
1765
-
1766
- ## Development and Deployment
1767
-
1768
- ### Local Development Setup
1769
-
1770
- 1. Actual steps that work (not ideal steps)
1771
- 2. Known issues with setup
1772
- 3. Required environment variables (see `.env.example`)
1773
-
1774
- ### Build and Deployment Process
1775
-
1776
- - **Build Command**: `npm run build` (webpack config in `webpack.config.js`)
1777
- - **Deployment**: Manual deployment via `scripts/deploy.sh`
1778
- - **Environments**: Dev, Staging, Prod (see `config/environments/`)
1779
-
1780
- ## Testing Reality
1781
-
1782
- ### Current Test Coverage
1783
-
1784
- - Unit Tests: 60% coverage (Jest)
1785
- - Integration Tests: Minimal, in `tests/integration/`
1786
- - E2E Tests: None
1787
- - Manual Testing: Primary qa-test-architect method
1788
-
1789
- ### Running Tests
1790
-
1791
- ```bash
1792
- npm test # Runs unit tests
1793
- npm run test:integration # Runs integration tests (requires local DB)
1794
- ```
1795
-
1796
- ## If Enhancement PRD Provided - Impact Analysis
1797
-
1798
- ### Files That Will Need Modification
1799
-
1800
- Based on the enhancement requirements, these files will be affected:
1801
-
1802
- - `src/services/userService.js` - Add new user fields
1803
- - `src/models/User.js` - Update schema
1804
- - `src/routes/userRoutes.js` - New endpoints
1805
- - [etc...]
1806
-
1807
- ### New Files/Modules Needed
1808
-
1809
- - `src/services/newFeatureService.js` - New business logic
1810
- - `src/models/NewFeature.js` - New data model
1811
- - [etc...]
1812
-
1813
- ### Integration Considerations
1814
-
1815
- - Will need to integrate with existing auth middleware
1816
- - Must follow existing response format in `src/utils/responseFormatter.js`
1817
- - [Other integration points]
1818
-
1819
- ## Appendix - Useful Commands and Scripts
1820
-
1821
- ### Frequently Used Commands
1822
-
1823
- ```bash
1824
- npm run dev # Start development server
1825
- npm run build # Production build
1826
- npm run migrate # Run database migrations
1827
- npm run seed # Seed test data
1828
- ```
1829
-
1830
- ### Debugging and Troubleshooting
1831
-
1832
- - **Logs**: Check `logs/app.log` for application logs
1833
- - **Debug Mode**: Set `DEBUG=app:*` for verbose logging
1834
- - **Common Issues**: See `docs/troubleshooting.md`]]
1835
-
1836
- ### 4. Document Delivery
1837
-
1838
- 1. **In Web UI (Gemini, ChatGPT, Claude)**:
1839
- - Present the entire document in one response (or multiple if too long)
1840
- - Tell user to copy and save as `docs/brownfield-architecture.md` or `docs/project-architecture.md`
1841
- - Mention it can be sharded later in IDE if needed
1842
-
1843
- 2. **In IDE Environment**:
1844
- - Create the document as `docs/brownfield-architecture.md`
1845
- - Inform user this single document contains all architectural information
1846
- - Can be sharded later using PO agent if desired
1847
-
1848
- The document should be comprehensive enough that future agents can understand:
1849
-
1850
- - The actual state of the system (not idealized)
1851
- - Where to find key files and logic
1852
- - What technical debt exists
1853
- - What constraints must be respected
1854
- - If PRD provided: What needs to change for the enhancement]]
1855
-
1856
- ### 5. Quality Assurance
1857
-
1858
- CRITICAL: Before finalizing the document:
1859
-
1860
- 1. **Accuracy Check**: Verify all technical details match the actual codebase
1861
- 2. **Completeness Review**: Ensure all major system components are documented
1862
- 3. **Focus Validation**: If user provided scope, verify relevant areas are emphasized
1863
- 4. **Clarity Assessment**: Check that explanations are clear for AI agents
1864
- 5. **Navigation**: Ensure document has clear section structure for easy reference
1865
-
1866
- Apply the advanced elicitation task after major sections to refine based on user feedback.
1867
-
1868
- ## Success Criteria
1869
-
1870
- - Single comprehensive brownfield architecture document created
1871
- - Document reflects REALITY including technical debt and workarounds
1872
- - Key files and modules are referenced with actual paths
1873
- - Models/APIs reference source files rather than duplicating content
1874
- - If PRD provided: Clear impact analysis showing what needs to change
1875
- - Document enables AI agents to navigate and understand the actual codebase
1876
- - Technical constraints and "gotchas" are clearly documented
1877
-
1878
- ## Notes
1879
-
1880
- - This task creates ONE document that captures the TRUE state of the system
1881
- - References actual files rather than duplicating content when possible
1882
- - Documents technical debt, workarounds, and constraints honestly
1883
- - For brownfield projects with PRD: Provides clear enhancement impact analysis
1884
- - The goal is PRACTICAL documentation for AI agents doing real work
1885
-
1886
-
1887
- ---
1888
-
1889
- ## Execute Checklist {#execute-checklist}
1890
-
1891
-
1892
- # Checklist Validation Task
1893
-
1894
- This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
1895
-
1896
- ## Available Checklists
1897
-
1898
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the .checklists folder to select the appropriate one to run.
1899
-
1900
- ## Instructions
1901
-
1902
- 1. **Initial Assessment**
1903
- - If user or the task being run provides a checklist name:
1904
- - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
1905
- - If multiple matches found, ask user to clarify
1906
- - Load the appropriate checklist from .checklists/
1907
- - If no checklist specified:
1908
- - Ask the user which checklist they want to use
1909
- - Present the available options from the files in the checklists folder
1910
- - Confirm if they want to work through the checklist:
1911
- - Section by section (interactive mode - very time consuming)
1912
- - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
1913
-
1914
- 2. **Document and Artifact Gathering**
1915
- - Each checklist will specify its required documents/artifacts at the beginning
1916
- - Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
1917
-
1918
- 3. **Checklist Processing**
1919
-
1920
- If in interactive mode:
1921
- - Work through each section of the checklist one at a time
1922
- - For each section:
1923
- - Review all items in the section following instructions for that section embedded in the checklist
1924
- - Check each item against the relevant documentation or artifacts as appropriate
1925
- - Present summary of findings for that section, highlighting warnings, errors and non applicable items (rationale for non-applicability).
1926
- - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
1927
-
1928
- If in YOLO mode:
1929
- - Process all sections at once
1930
- - Create a comprehensive report of all findings
1931
- - Present the complete analysis to the user
1932
-
1933
- 4. **Validation Approach**
1934
-
1935
- For each checklist item:
1936
- - Read and understand the requirement
1937
- - Look for evidence in the documentation that satisfies the requirement
1938
- - Consider both explicit mentions and implicit coverage
1939
- - Aside from this, follow all checklist llm instructions
1940
- - Mark items as:
1941
- - ✅ PASS: Requirement clearly met
1942
- - ❌ FAIL: Requirement not met or insufficient coverage
1943
- - ⚠️ PARTIAL: Some aspects covered but needs improvement
1944
- - N/A: Not applicable to this case
1945
-
1946
- 5. **Section Analysis**
1947
-
1948
- For each section:
1949
- - think step by step to calculate pass rate
1950
- - Identify common themes in failed items
1951
- - Provide specific recommendations for improvement
1952
- - In interactive mode, discuss findings with user
1953
- - Document any user decisions or explanations
1954
-
1955
- 6. **Final Report**
1956
-
1957
- Prepare a summary that includes:
1958
- - Overall checklist completion status
1959
- - Pass rates by section
1960
- - List of failed items with context
1961
- - Specific recommendations for improvement
1962
- - Any sections or items marked as N/A with justification
1963
-
1964
- ## Checklist Execution Methodology
1965
-
1966
- Each checklist now contains embedded LLM prompts and instructions that will:
1967
-
1968
- 1. **Guide thorough thinking** - Prompts ensure deep analysis of each section
1969
- 2. **Request specific artifacts** - Clear instructions on what documents/access is needed
1970
- 3. **Provide contextual guidance** - Section-specific prompts for better validation
1971
- 4. **Generate comprehensive reports** - Final summary with detailed findings
1972
-
1973
- The LLM will:
1974
-
1975
- - Execute the complete checklist validation
1976
- - Present a final report with pass/fail rates and key findings
1977
- - Offer to provide detailed analysis of any section, especially those with warnings or failures
1978
-
1979
-
1980
- ---
1981
-
1982
- ## Facilitate Brainstorming Session {#facilitate-brainstorming-session}
1983
-
1984
-
1985
- docOutputLocation: docs/brainstorming-session-results.md
1986
- template: '{root}/templates/brainstorming-output-tmpl.yaml'
1987
-
1988
- ---
1989
-
1990
- # Facilitate Brainstorming Session Task
1991
-
1992
- Facilitate interactive brainstorming sessions with users. Be creative and adaptive in applying techniques.
1993
-
1994
- ## Process
1995
-
1996
- ### Step 1: Session Setup
1997
-
1998
- Ask 4 context questions (don't preview what happens next):
1999
-
2000
- 1. What are we brainstorming about?
2001
- 2. Any constraints or parameters?
2002
- 3. Goal: broad exploration or focused ideation?
2003
- 4. Do you want a structured document output to reference later? (Default Yes)
2004
-
2005
- ### Step 2: Present Approach Options
2006
-
2007
- After getting answers to Step 1, present 4 approach options (numbered):
2008
-
2009
- 1. User selects specific techniques
2010
- 2. business-analyst recommends techniques based on context
2011
- 3. Random technique selection for creative variety
2012
- 4. Progressive technique flow (start broad, narrow down)
2013
-
2014
- ### Step 3: Execute Techniques Interactively
2015
-
2016
- **KEY PRINCIPLES:**
2017
-
2018
- - **FACILITATOR ROLE**: Guide user to generate their own ideas through questions, prompts, and examples
2019
- - **CONTINUOUS ENGAGEMENT**: Keep user engaged with chosen technique until they want to switch or are satisfied
2020
- - **CAPTURE OUTPUT**: If (default) document output requested, capture all ideas generated in each technique section to the document from the beginning.
2021
-
2022
- **Technique Selection:**
2023
- If user selects Option 1, present numbered list of techniques from the brainstorming-techniques data file. User can select by number..
2024
-
2025
- **Technique Execution:**
2026
-
2027
- 1. Apply selected technique according to data file description
2028
- 2. Keep engaging with technique until user indicates they want to:
2029
- - Choose a different technique
2030
- - Apply current ideas to a new technique
2031
- - Move to convergent phase
2032
- - End session
2033
-
2034
- **Output Capture (if requested):**
2035
- For each technique used, capture:
2036
-
2037
- - Technique name and duration
2038
- - Key ideas generated by user
2039
- - Insights and patterns identified
2040
- - User's reflections on the process
2041
-
2042
- ### Step 4: Session Flow
2043
-
2044
- 1. **Warm-up** (5-10 min) - Build creative confidence
2045
- 2. **Divergent** (20-30 min) - Generate quantity over quality
2046
- 3. **Convergent** (15-20 min) - Group and categorize ideas
2047
- 4. **Synthesis** (10-15 min) - Refine and develop concepts
2048
-
2049
- ### Step 5: Document Output (if requested)
2050
-
2051
- Generate structured document with these sections:
2052
-
2053
- **Executive Summary**
2054
-
2055
- - Session topic and goals
2056
- - Techniques used and duration
2057
- - Total ideas generated
2058
- - Key themes and patterns identified
2059
-
2060
- **Technique Sections** (for each technique used)
2061
-
2062
- - Technique name and description
2063
- - Ideas generated (user's own words)
2064
- - Insights discovered
2065
- - Notable connections or patterns
2066
-
2067
- **Idea Categorization**
2068
-
2069
- - **Immediate Opportunities** - Ready to implement now
2070
- - **Future Innovations** - Requires development/research
2071
- - **Moonshots** - Ambitious, transformative concepts
2072
- - **Insights & Learnings** - Key realizations from session
2073
-
2074
- **Action Planning**
2075
-
2076
- - Top 3 priority ideas with rationale
2077
- - Next steps for each priority
2078
- - Resources/research needed
2079
- - Timeline considerations
2080
-
2081
- **Reflection & Follow-up**
2082
-
2083
- - What worked well in this session
2084
- - Areas for further exploration
2085
- - Recommended follow-up techniques
2086
- - Questions that emerged for future sessions
2087
-
2088
- ## Key Principles
2089
-
2090
- - **YOU ARE A FACILITATOR**: Guide the user to brainstorm, don't brainstorm for them (unless they request it persistently)
2091
- - **INTERACTIVE DIALOGUE**: Ask questions, wait for responses, build on their ideas
2092
- - **ONE TECHNIQUE AT A TIME**: Don't mix multiple techniques in one response
2093
- - **CONTINUOUS ENGAGEMENT**: Stay with one technique until user wants to switch
2094
- - **DRAW IDEAS OUT**: Use prompts and examples to help them generate their own ideas
2095
- - **REAL-TIME ADAPTATION**: Monitor engagement and adjust approach as needed
2096
- - Maintain energy and momentum
2097
- - Defer judgment during generation
2098
- - Quantity leads to quality (aim for 100 ideas in 60 minutes)
2099
- - Build on ideas collaboratively
2100
- - Document everything in output document
2101
-
2102
- ## Advanced Engagement Strategies
2103
-
2104
- **Energy Management**
2105
-
2106
- - Check engagement levels: "How are you feeling about this direction?"
2107
- - Offer breaks or technique switches if energy flags
2108
- - Use encouraging language and celebrate idea generation
2109
-
2110
- **Depth vs. Breadth**
2111
-
2112
- - Ask follow-up questions to deepen ideas: "Tell me more about that..."
2113
- - Use "Yes, and..." to build on their ideas
2114
- - Help them make connections: "How does this relate to your earlier idea about...?"
2115
-
2116
- **Transition Management**
2117
-
2118
- - Always ask before switching techniques: "Ready to try a different approach?"
2119
- - Offer options: "Should we explore this idea deeper or generate more alternatives?"
2120
- - Respect their process and timing
2121
-
2122
-
2123
- ---
2124
-
2125
- ## Generate Ai Frontend Prompt {#generate-ai-frontend-prompt}
2126
-
2127
-
2128
- # Create AI Frontend Prompt Task
2129
-
2130
- ## Purpose
2131
-
2132
- To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application.
2133
-
2134
- ## Inputs
2135
-
2136
- - Completed UI/UX Specification (`front-end-spec.md`)
2137
- - Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
2138
- - Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
2139
-
2140
- ## Key Activities & Instructions
2141
-
2142
- ### 1. Core Prompting Principles
2143
-
2144
- Before generating the prompt, you must understand these core principles for interacting with a generative AI for code.
2145
-
2146
- - **Be Explicit and Detailed**: The AI cannot read your mind. Provide as much detail and context as possible. Vague requests lead to generic or incorrect outputs.
2147
- - **Iterate, Don't Expect Perfection**: Generating an entire complex application in one go is rare. The most effective method is to prompt for one component or one section at a time, then build upon the results.
2148
- - **Provide Context First**: Always start by providing the AI with the necessary context, such as the tech stack, existing code snippets, and overall project goals.
2149
- - **Mobile-First Approach**: Frame all UI generation requests with a mobile-first design mindset. Describe the mobile layout first, then provide separate instructions for how it should adapt for tablet and desktop.
2150
-
2151
- ### 2. The Structured Prompting Framework
2152
-
2153
- To ensure the highest quality output, you MUST structure every prompt using the following four-part framework.
2154
-
2155
- 1. **High-Level Goal**: Start with a clear, concise summary of the overall objective. This orients the AI on the primary task.
2156
- - _Example: "Create a responsive user registration form with client-side validation and API integration."_
2157
- 2. **Detailed, Step-by-Step Instructions**: Provide a granular, numbered list of actions the AI should take. Break down complex tasks into smaller, sequential steps. This is the most critical part of the prompt.
2158
- - _Example: "1. Create a new file named `RegistrationForm.js`. 2. Use React hooks for state management. 3. Add styled input fields for 'Name', 'Email', and 'Password'. 4. For the email field, ensure it is a valid email format. 5. On submission, call the API endpoint defined below."_
2159
- 3. **Code Examples, Data Structures & Constraints**: Include any relevant snippets of existing code, data structures, or API contracts. This gives the AI concrete examples to work with. Crucially, you must also state what _not_ to do.
2160
- - _Example: "Use this API endpoint: `POST /api/register`. The expected JSON payload is `{ "name": "string", "email": "string", "password": "string" }`. Do NOT include a 'confirm password' field. Use Tailwind CSS for all styling."_
2161
- 4. **Define a Strict Scope**: Explicitly define the boundaries of the task. Tell the AI which files it can modify and, more importantly, which files to leave untouched to prevent unintended changes across the codebase.
2162
- - _Example: "You should only create the `RegistrationForm.js` component and add it to the `pages/register.js` file. Do NOT alter the `Navbar.js` component or any other existing page or component."_
2163
-
2164
- ### 3. Assembling the Master Prompt
2165
-
2166
- You will now synthesize the inputs and the above principles into a final, comprehensive prompt.
2167
-
2168
- 1. **Gather Foundational Context**:
2169
- - Start the prompt with a preamble describing the overall project purpose, the full tech stack (e.g., Next.js, TypeScript, Tailwind CSS), and the primary UI component library being used.
2170
- 2. **Describe the Visuals**:
2171
- - If the user has design files (Figma, etc.), instruct them to provide links or screenshots.
2172
- - If not, describe the visual style: color palette, typography, spacing, and overall aesthetic (e.g., "minimalist", "corporate", "playful").
2173
- 3. **Build the Prompt using the Structured Framework**:
2174
- - Follow the four-part framework from Section 2 to build out the core request, whether it's for a single component or a full page.
2175
- 4. **Present and Refine**:
2176
- - Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
2177
- - Explain the structure of the prompt and why certain information was included, referencing the principles above.
2178
- - <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>
2179
-
2180
-
2181
- ---
2182
-
2183
- ## Index Docs {#index-docs}
2184
-
2185
-
2186
- # Index Documentation Task
2187
-
2188
- ## Purpose
2189
-
2190
- This task maintains the integrity and completeness of the `docs/index.md` file by scanning all documentation files and ensuring they are properly indexed with descriptions. It handles both root-level documents and documents within subfolders, organizing them hierarchically.
2191
-
2192
- ## Task Instructions
2193
-
2194
- You are now operating as a Documentation Indexer. Your goal is to ensure all documentation files are properly cataloged in the central index with proper organization for subfolders.
2195
-
2196
- ### Required Steps
2197
-
2198
- 1. First, locate and scan:
2199
- - The `docs/` directory and all subdirectories
2200
- - The existing `docs/index.md` file (create if absent)
2201
- - All markdown (`.md`) and text (`.txt`) files in the documentation structure
2202
- - Note the folder structure for hierarchical organization
2203
-
2204
- 2. For the existing `docs/index.md`:
2205
- - Parse current entries
2206
- - Note existing file references and descriptions
2207
- - Identify any broken links or missing files
2208
- - Keep track of already-indexed content
2209
- - Preserve existing folder sections
2210
-
2211
- 3. For each documentation file found:
2212
- - Extract the title (from first heading or filename)
2213
- - Generate a brief description by analyzing the content
2214
- - Create a relative markdown link to the file
2215
- - Check if it's already in the index
2216
- - Note which folder it belongs to (if in a subfolder)
2217
- - If missing or outdated, prepare an update
2218
-
2219
- 4. For any missing or non-existent files found in index:
2220
- - Present a list of all entries that reference non-existent files
2221
- - For each entry:
2222
- - Show the full entry details (title, path, description)
2223
- - Ask for explicit confirmation before removal
2224
- - Provide option to update the path if file was moved
2225
- - Log the decision (remove/update/keep) for final report
2226
-
2227
- 5. Update `docs/index.md`:
2228
- - Maintain existing structure and organization
2229
- - Create level 2 sections (`##`) for each subfolder
2230
- - List root-level documents first
2231
- - Add missing entries with descriptions
2232
- - Update outdated entries
2233
- - Remove only entries that were confirmed for removal
2234
- - Ensure consistent formatting throughout
2235
-
2236
- ### Index Structure Format
2237
-
2238
- The index should be organized as follows:
2239
-
2240
- ```markdown
2241
- # Documentation Index
2242
-
2243
- ## Root Documents
2244
-
2245
- ### [Document Title](./document.md)
2246
-
2247
- Brief description of the document's purpose and contents.
2248
-
2249
- ### [Another Document](./another.md)
2250
-
2251
- Description here.
2252
-
2253
- ## Folder Name
2254
-
2255
- Documents within the `folder-name/` directory:
2256
-
2257
- ### [Document in Folder](./folder-name/document.md)
2258
-
2259
- Description of this document.
2260
-
2261
- ### [Another in Folder](./folder-name/another.md)
2262
-
2263
- Description here.
2264
-
2265
- ## Another Folder
2266
-
2267
- Documents within the `another-folder/` directory:
2268
-
2269
- ### [Nested Document](./another-folder/document.md)
2270
-
2271
- Description of nested document.
2272
- ```
2273
-
2274
- ### Index Entry Format
2275
-
2276
- Each entry should follow this format:
2277
-
2278
- ```markdown
2279
- ### [Document Title](relative/path/to/file.md)
2280
-
2281
- Brief description of the document's purpose and contents.
2282
- ```
2283
-
2284
- ### Rules of Operation
2285
-
2286
- 1. NEVER modify the content of indexed files
2287
- 2. Preserve existing descriptions in index.md when they are adequate
2288
- 3. Maintain any existing categorization or grouping in the index
2289
- 4. Use relative paths for all links (starting with `./`)
2290
- 5. Ensure descriptions are concise but informative
2291
- 6. NEVER remove entries without explicit confirmation
2292
- 7. Report any broken links or inconsistencies found
2293
- 8. Allow path updates for moved files before considering removal
2294
- 9. Create folder sections using level 2 headings (`##`)
2295
- 10. Sort folders alphabetically, with root documents listed first
2296
- 11. Within each section, sort documents alphabetically by title
2297
-
2298
- ### Process Output
2299
-
2300
- The task will provide:
2301
-
2302
- 1. A summary of changes made to index.md
2303
- 2. List of newly indexed files (organized by folder)
2304
- 3. List of updated entries
2305
- 4. List of entries presented for removal and their status:
2306
- - Confirmed removals
2307
- - Updated paths
2308
- - Kept despite missing file
2309
- 5. Any new folders discovered
2310
- 6. Any other issues or inconsistencies found
2311
-
2312
- ### Handling Missing Files
2313
-
2314
- For each file referenced in the index but not found in the filesystem:
2315
-
2316
- 1. Present the entry:
2317
-
2318
- ```markdown
2319
- Missing file detected:
2320
- Title: [Document Title]
2321
- Path: relative/path/to/file.md
2322
- Description: Existing description
2323
- Section: [Root Documents | Folder Name]
2324
-
2325
- Options:
2326
-
2327
- 1. Remove this entry
2328
- 2. Update the file path
2329
- 3. Keep entry (mark as temporarily unavailable)
2330
-
2331
- Please choose an option (1/2/3):
2332
- ```
2333
-
2334
- 2. Wait for user confirmation before taking any action
2335
- 3. Log the decision for the final report
2336
-
2337
- ### Special Cases
2338
-
2339
- 1. **Sharded Documents**: If a folder contains an `index.md` file, treat it as a sharded document:
2340
- - Use the folder's `index.md` title as the section title
2341
- - List the folder's documents as subsections
2342
- - Note in the description that this is a multi-part document
2343
-
2344
- 2. **README files**: Convert `README.md` to more descriptive titles based on content
2345
-
2346
- 3. **Nested Subfolders**: For deeply nested folders, maintain the hierarchy but limit to 2 levels in the main index. Deeper structures should have their own index files.
2347
-
2348
- ## Required Input
2349
-
2350
- Please provide:
2351
-
2352
- 1. Location of the `docs/` directory (default: `./docs`)
2353
- 2. Confirmation of write access to `docs/index.md`
2354
- 3. Any specific categorization preferences
2355
- 4. Any files or directories to exclude from indexing (e.g., `.git`, `node_modules`)
2356
- 5. Whether to include hidden files/folders (starting with `.`)
2357
-
2358
- Would you like to proceed with documentation indexing? Please provide the required input above.
2359
-
2360
-
2361
- ---
2362
-
2363
- ## Kb Mode Interaction {#kb-mode-interaction}
2364
-
2365
-
2366
- # KB Mode Interaction Task
2367
-
2368
- ## Purpose
2369
-
2370
- Provide a user-friendly interface to the Agentic Kit knowledge base without overwhelming users with information upfront.
2371
-
2372
- ## Instructions
2373
-
2374
- When entering KB mode (\*kb-mode), follow these steps:
2375
-
2376
- ### 1. Welcome and Guide
2377
-
2378
- Announce entering KB mode with a brief, friendly introduction.
2379
-
2380
- ### 2. Present Topic Areas
2381
-
2382
- Offer a concise list of main topic areas the user might want to explore:
2383
-
2384
- **What would you like to know more about?**
2385
-
2386
- 1. **Setup & Installation** - Getting started with Agentic Kit
2387
- 2. **Workflows** - Choosing the right workflow for your project
2388
- 3. **Web vs IDE** - When to use each environment
2389
- 4. **Agents** - Understanding specialized agents and their roles
2390
- 5. **Documents** - PRDs, Architecture, Stories, and more
2391
- 6. **Agile Process** - How Agentic Kit implements Agile methodologies
2392
- 7. **Configuration** - Customizing Agentic Kit for your needs
2393
- 8. **Best Practices** - Tips for effective Agentic Kit usage
2394
-
2395
- Or ask me about anything else related to Agentic Kit-Method!
2396
-
2397
- ### 3. Respond Contextually
2398
-
2399
- - Wait for user's specific question or topic selection
2400
- - Provide focused, relevant information from the knowledge base
2401
- - Offer to dive deeper or explore related topics
2402
- - Keep responses concise unless user asks for detailed explanations
2403
-
2404
- ### 4. Interactive Exploration
2405
-
2406
- - After answering, suggest related topics they might find helpful
2407
- - Maintain conversational flow rather than data dumping
2408
- - Use examples when appropriate
2409
- - Reference specific documentation sections when relevant
2410
-
2411
- ### 5. Exit Gracefully
2412
-
2413
- When user is done or wants to exit KB mode:
2414
-
2415
- - Summarize key points discussed if helpful
2416
- - Remind them they can return to KB mode anytime with \*kb-mode
2417
- - Suggest next steps based on what was discussed
2418
-
2419
- ## Example Interaction
2420
-
2421
- **User**: \*kb-mode
2422
-
2423
- **Assistant**: I've entered KB mode and have access to the full Agentic Kit knowledge base. I can help you with detailed information about any aspect of Agentic Kit-Method.
2424
-
2425
- **What would you like to know more about?**
2426
-
2427
- 1. **Setup & Installation** - Getting started with Agentic Kit
2428
- 2. **Workflows** - Choosing the right workflow for your project
2429
- 3. **Web vs IDE** - When to use each environment
2430
- 4. **Agents** - Understanding specialized agents and their roles
2431
- 5. **Documents** - PRDs, Architecture, Stories, and more
2432
- 6. **Agile Process** - How Agentic Kit implements Agile methodologies
2433
- 7. **Configuration** - Customizing Agentic Kit for your needs
2434
- 8. **Best Practices** - Tips for effective Agentic Kit usage
2435
-
2436
- Or ask me about anything else related to Agentic Kit-Method!
2437
-
2438
- **User**: Tell me about workflows
2439
-
2440
- **Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]
2441
-
2442
-
2443
- ---
2444
-
2445
- ## Nfr Assess {#nfr-assess}
2446
-
2447
-
2448
- # nfr-assess
2449
-
2450
- Quick NFR validation focused on the core four: security, performance, reliability, maintainability.
2451
-
2452
- ## Inputs
2453
-
2454
- ```yaml
2455
- required:
2456
- - story_id: '{epic}.{story}' # e.g., "1.3"
2457
- - story_path: `.core-config.yaml` for the `devStoryLocation`
2458
-
2459
- optional:
2460
- - architecture_refs: `.core-config.yaml` for the `architecture.architectureFile`
2461
- - technical_preferences: `.core-config.yaml` for the `technicalPreferences`
2462
- - acceptance_criteria: From story file
2463
- ```
2464
-
2465
- ## Purpose
2466
-
2467
- Assess non-functional requirements for a story and generate:
2468
-
2469
- 1. YAML block for the gate file's `nfr_validation` section
2470
- 2. Brief markdown assessment saved to `qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md`
2471
-
2472
- ## Process
2473
-
2474
- ### 0. Fail-safe for Missing Inputs
2475
-
2476
- If story_path or story file can't be found:
2477
-
2478
- - Still create assessment file with note: "Source story not found"
2479
- - Set all selected NFRs to CONCERNS with notes: "Target unknown / evidence missing"
2480
- - Continue with assessment to provide value
2481
-
2482
- ### 1. Elicit Scope
2483
-
2484
- **Interactive mode:** Ask which NFRs to assess
2485
- **Non-interactive mode:** Default to core four (security, performance, reliability, maintainability)
2486
-
2487
- ```text
2488
- Which NFRs should I assess? (Enter numbers or press Enter for default)
2489
- [1] Security (default)
2490
- [2] Performance (default)
2491
- [3] Reliability (default)
2492
- [4] Maintainability (default)
2493
- [5] Usability
2494
- [6] Compatibility
2495
- [7] Portability
2496
- [8] Functional Suitability
2497
-
2498
- > [Enter for 1-4]
2499
- ```
2500
-
2501
- ### 2. Check for Thresholds
2502
-
2503
- Look for NFR requirements in:
2504
-
2505
- - Story acceptance criteria
2506
- - `docs/architecture/*.md` files
2507
- - `docs/technical-preferences.md`
2508
-
2509
- **Interactive mode:** Ask for missing thresholds
2510
- **Non-interactive mode:** Mark as CONCERNS with "Target unknown"
2511
-
2512
- ```text
2513
- No performance requirements found. What's your target response time?
2514
- > 200ms for API calls
2515
-
2516
- No security requirements found. Required auth method?
2517
- > JWT with refresh tokens
2518
- ```
2519
-
2520
- **Unknown targets policy:** If a target is missing and not provided, mark status as CONCERNS with notes: "Target unknown"
2521
-
2522
- ### 3. Quick Assessment
2523
-
2524
- For each selected NFR, check:
2525
-
2526
- - Is there evidence it's implemented?
2527
- - Can we validate it?
2528
- - Are there obvious gaps?
2529
-
2530
- ### 4. Generate Outputs
2531
-
2532
- ## Output 1: Gate YAML Block
2533
-
2534
- Generate ONLY for NFRs actually assessed (no placeholders):
2535
-
2536
- ```yaml
2537
- # Gate YAML (copy/paste):
2538
- nfr_validation:
2539
- _assessed: [security, performance, reliability, maintainability]
2540
- security:
2541
- status: CONCERNS
2542
- notes: 'No rate limiting on auth endpoints'
2543
- performance:
2544
- status: PASS
2545
- notes: 'Response times < 200ms verified'
2546
- reliability:
2547
- status: PASS
2548
- notes: 'Error handling and retries implemented'
2549
- maintainability:
2550
- status: CONCERNS
2551
- notes: 'Test coverage at 65%, target is 80%'
2552
- ```
2553
-
2554
- ## Deterministic Status Rules
2555
-
2556
- - **FAIL**: Any selected NFR has critical gap or target clearly not met
2557
- - **CONCERNS**: No FAILs, but any NFR is unknown/partial/missing evidence
2558
- - **PASS**: All selected NFRs meet targets with evidence
2559
-
2560
- ## Quality Score Calculation
2561
-
2562
- ```
2563
- quality_score = 100
2564
- - 20 for each FAIL attribute
2565
- - 10 for each CONCERNS attribute
2566
- Floor at 0, ceiling at 100
2567
- ```
2568
-
2569
- If `technical-preferences.md` defines custom weights, use those instead.
2570
-
2571
- ## Output 2: Brief Assessment Report
2572
-
2573
- **ALWAYS save to:** `qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md`
2574
-
2575
- ```markdown
2576
- # NFR Assessment: {epic}.{story}
2577
-
2578
- Date: {date}
2579
- Reviewer: Quinn
2580
-
2581
- <!-- Note: Source story not found (if applicable) -->
2582
-
2583
- ## Summary
2584
-
2585
- - Security: CONCERNS - Missing rate limiting
2586
- - Performance: PASS - Meets <200ms requirement
2587
- - Reliability: PASS - Proper error handling
2588
- - Maintainability: CONCERNS - Test coverage below target
2589
-
2590
- ## Critical Issues
2591
-
2592
- 1. **No rate limiting** (Security)
2593
- - Risk: Brute force attacks possible
2594
- - Fix: Add rate limiting middleware to auth endpoints
2595
-
2596
- 2. **Test coverage 65%** (Maintainability)
2597
- - Risk: Untested code paths
2598
- - Fix: Add tests for uncovered branches
2599
-
2600
- ## Quick Wins
2601
-
2602
- - Add rate limiting: ~2 hours
2603
- - Increase test coverage: ~4 hours
2604
- - Add performance monitoring: ~1 hour
2605
- ```
2606
-
2607
- ## Output 3: Story Update Line
2608
-
2609
- **End with this line for the review task to quote:**
2610
-
2611
- ```
2612
- NFR assessment: qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
2613
- ```
2614
-
2615
- ## Output 4: Gate Integration Line
2616
-
2617
- **Always print at the end:**
2618
-
2619
- ```
2620
- Gate NFR block ready → paste into qa.qaLocation/gates/{epic}.{story}-{slug}.yml under nfr_validation
2621
- ```
2622
-
2623
- ## Assessment Criteria
2624
-
2625
- ### Security
2626
-
2627
- **PASS if:**
2628
-
2629
- - Authentication implemented
2630
- - Authorization enforced
2631
- - Input validation present
2632
- - No hardcoded secrets
2633
-
2634
- **CONCERNS if:**
2635
-
2636
- - Missing rate limiting
2637
- - Weak encryption
2638
- - Incomplete authorization
2639
-
2640
- **FAIL if:**
2641
-
2642
- - No authentication
2643
- - Hardcoded credentials
2644
- - SQL injection vulnerabilities
2645
-
2646
- ### Performance
2647
-
2648
- **PASS if:**
2649
-
2650
- - Meets response time targets
2651
- - No obvious bottlenecks
2652
- - Reasonable resource usage
2653
-
2654
- **CONCERNS if:**
2655
-
2656
- - Close to limits
2657
- - Missing indexes
2658
- - No caching strategy
2659
-
2660
- **FAIL if:**
2661
-
2662
- - Exceeds response time limits
2663
- - Memory leaks
2664
- - Unoptimized queries
2665
-
2666
- ### Reliability
2667
-
2668
- **PASS if:**
2669
-
2670
- - Error handling present
2671
- - Graceful degradation
2672
- - Retry logic where needed
2673
-
2674
- **CONCERNS if:**
2675
-
2676
- - Some error cases unhandled
2677
- - No circuit breakers
2678
- - Missing health checks
2679
-
2680
- **FAIL if:**
2681
-
2682
- - No error handling
2683
- - Crashes on errors
2684
- - No recovery mechanisms
2685
-
2686
- ### Maintainability
2687
-
2688
- **PASS if:**
2689
-
2690
- - Test coverage meets target
2691
- - Code well-structured
2692
- - Documentation present
2693
-
2694
- **CONCERNS if:**
2695
-
2696
- - Test coverage below target
2697
- - Some code duplication
2698
- - Missing documentation
2699
-
2700
- **FAIL if:**
2701
-
2702
- - No tests
2703
- - Highly coupled code
2704
- - No documentation
2705
-
2706
- ## Quick Reference
2707
-
2708
- ### What to Check
2709
-
2710
- ```yaml
2711
- security:
2712
- - Authentication mechanism
2713
- - Authorization checks
2714
- - Input validation
2715
- - Secret management
2716
- - Rate limiting
2717
-
2718
- performance:
2719
- - Response times
2720
- - Database queries
2721
- - Caching usage
2722
- - Resource consumption
2723
-
2724
- reliability:
2725
- - Error handling
2726
- - Retry logic
2727
- - Circuit breakers
2728
- - Health checks
2729
- - Logging
2730
-
2731
- maintainability:
2732
- - Test coverage
2733
- - Code structure
2734
- - Documentation
2735
- - Dependencies
2736
- ```
2737
-
2738
- ## Key Principles
2739
-
2740
- - Focus on the core four NFRs by default
2741
- - Quick assessment, not deep analysis
2742
- - Gate-ready output format
2743
- - Brief, actionable findings
2744
- - Skip what doesn't apply
2745
- - Deterministic status rules for consistency
2746
- - Unknown targets → CONCERNS, not guesses
2747
-
2748
- ---
2749
-
2750
- ## Appendix: ISO 25010 Reference
2751
-
2752
- <details>
2753
- <summary>Full ISO 25010 Quality Model (click to expand)</summary>
2754
-
2755
- ### All 8 Quality Characteristics
2756
-
2757
- 1. **Functional Suitability**: Completeness, correctness, appropriateness
2758
- 2. **Performance Efficiency**: Time behavior, resource use, capacity
2759
- 3. **Compatibility**: Co-existence, interoperability
2760
- 4. **Usability**: Learnability, operability, accessibility
2761
- 5. **Reliability**: Maturity, availability, fault tolerance
2762
- 6. **Security**: Confidentiality, integrity, authenticity
2763
- 7. **Maintainability**: Modularity, reusability, testability
2764
- 8. **Portability**: Adaptability, installability
2765
-
2766
- Use these when assessing beyond the core four.
2767
-
2768
- </details>
2769
-
2770
- <details>
2771
- <summary>Example: Deep Performance Analysis (click to expand)</summary>
2772
-
2773
- ```yaml
2774
- performance_deep_dive:
2775
- response_times:
2776
- p50: 45ms
2777
- p95: 180ms
2778
- p99: 350ms
2779
- database:
2780
- slow_queries: 2
2781
- missing_indexes: ['users.email', 'orders.user_id']
2782
- caching:
2783
- hit_rate: 0%
2784
- recommendation: 'Add Redis for session data'
2785
- load_test:
2786
- max_rps: 150
2787
- breaking_point: 200 rps
2788
- ```
2789
-
2790
- </details>
2791
-
2792
-
2793
- ---
2794
-
2795
- ## Qa Gate {#qa-gate}
2796
-
2797
-
2798
- # qa-gate
2799
-
2800
- Create or update a quality gate decision file for a story based on review findings.
2801
-
2802
- ## Purpose
2803
-
2804
- Generate a standalone quality gate file that provides a clear pass/fail decision with actionable feedback. This gate serves as an advisory checkpoint for teams to understand quality status.
2805
-
2806
- ## Prerequisites
2807
-
2808
- - Story has been reviewed (manually or via review-story task)
2809
- - Review findings are available
2810
- - Understanding of story requirements and implementation
2811
-
2812
- ## Gate File Location
2813
-
2814
- **ALWAYS** check the `.core-config.yaml` for the `qa.qaLocation/gates`
2815
-
2816
- Slug rules:
2817
-
2818
- - Convert to lowercase
2819
- - Replace spaces with hyphens
2820
- - Strip punctuation
2821
- - Example: "User Auth - Login!" becomes "user-auth-login"
2822
-
2823
- ## Minimal Required Schema
2824
-
2825
- ```yaml
2826
- schema: 1
2827
- story: '{epic}.{story}'
2828
- gate: PASS|CONCERNS|FAIL|WAIVED
2829
- status_reason: '1-2 sentence explanation of gate decision'
2830
- reviewer: 'Quinn'
2831
- updated: '{ISO-8601 timestamp}'
2832
- top_issues: [] # Empty array if no issues
2833
- waiver: { active: false } # Only set active: true if WAIVED
2834
- ```
2835
-
2836
- ## Schema with Issues
2837
-
2838
- ```yaml
2839
- schema: 1
2840
- story: '1.3'
2841
- gate: CONCERNS
2842
- status_reason: 'Missing rate limiting on auth endpoints poses security risk.'
2843
- reviewer: 'Quinn'
2844
- updated: '2025-01-12T10:15:00Z'
2845
- top_issues:
2846
- - id: 'SEC-001'
2847
- severity: high # ONLY: low|medium|high
2848
- finding: 'No rate limiting on login endpoint'
2849
- suggested_action: 'Add rate limiting middleware before production'
2850
- - id: 'TEST-001'
2851
- severity: medium
2852
- finding: 'No integration tests for auth flow'
2853
- suggested_action: 'Add integration test coverage'
2854
- waiver: { active: false }
2855
- ```
2856
-
2857
- ## Schema when Waived
2858
-
2859
- ```yaml
2860
- schema: 1
2861
- story: '1.3'
2862
- gate: WAIVED
2863
- status_reason: 'Known issues accepted for MVP release.'
2864
- reviewer: 'Quinn'
2865
- updated: '2025-01-12T10:15:00Z'
2866
- top_issues:
2867
- - id: 'PERF-001'
2868
- severity: low
2869
- finding: 'Dashboard loads slowly with 1000+ items'
2870
- suggested_action: 'Implement pagination in next sprint'
2871
- waiver:
2872
- active: true
2873
- reason: 'MVP release - performance optimization deferred'
2874
- approved_by: 'Product Owner'
2875
- ```
2876
-
2877
- ## Gate Decision Criteria
2878
-
2879
- ### PASS
2880
-
2881
- - All acceptance criteria met
2882
- - No high-severity issues
2883
- - Test coverage meets project standards
2884
-
2885
- ### CONCERNS
2886
-
2887
- - Non-blocking issues present
2888
- - Should be tracked and scheduled
2889
- - Can proceed with awareness
2890
-
2891
- ### FAIL
2892
-
2893
- - Acceptance criteria not met
2894
- - High-severity issues present
2895
- - Recommend return to InProgress
2896
-
2897
- ### WAIVED
2898
-
2899
- - Issues explicitly accepted
2900
- - Requires approval and reason
2901
- - Proceed despite known issues
2902
-
2903
- ## Severity Scale
2904
-
2905
- **FIXED VALUES - NO VARIATIONS:**
2906
-
2907
- - `low`: Minor issues, cosmetic problems
2908
- - `medium`: Should fix soon, not blocking
2909
- - `high`: Critical issues, should block release
2910
-
2911
- ## Issue ID Prefixes
2912
-
2913
- - `SEC-`: Security issues
2914
- - `PERF-`: Performance issues
2915
- - `REL-`: Reliability issues
2916
- - `TEST-`: Testing gaps
2917
- - `MNT-`: Maintainability concerns
2918
- - `ARCH-`: Architecture issues
2919
- - `DOC-`: Documentation gaps
2920
- - `REQ-`: Requirements issues
2921
-
2922
- ## Output Requirements
2923
-
2924
- 1. **ALWAYS** create gate file at: `qa.qaLocation/gates` from `.core-config.yaml`
2925
- 2. **ALWAYS** append this exact format to story's QA Results section:
2926
-
2927
- ```text
2928
- Gate: {STATUS} → qa.qaLocation/gates/{epic}.{story}-{slug}.yml
2929
- ```
2930
-
2931
- 3. Keep status_reason to 1-2 sentences maximum
2932
- 4. Use severity values exactly: `low`, `medium`, or `high`
2933
-
2934
- ## Example Story Update
2935
-
2936
- After creating gate file, append to story's QA Results section:
2937
-
2938
- ```markdown
2939
- ## qa-test-architect Results
2940
-
2941
- ### Review Date: 2025-01-12
2942
-
2943
- ### Reviewed By: Quinn (Test Architect)
2944
-
2945
- [... existing review content ...]
2946
-
2947
- ### Gate Status
2948
-
2949
- Gate: CONCERNS → qa.qaLocation/gates/{epic}.{story}-{slug}.yml
2950
- ```
2951
-
2952
- ## Key Principles
2953
-
2954
- - Keep it minimal and predictable
2955
- - Fixed severity scale (low/medium/high)
2956
- - Always write to standard path
2957
- - Always update story with gate reference
2958
- - Clear, actionable findings
2959
-
2960
-
2961
- ---
2962
-
2963
- ## Review Story {#review-story}
2964
-
2965
-
2966
- # review-story
2967
-
2968
- Perform a comprehensive test architecture review with quality gate decision. This adaptive, risk-aware review creates both a story update and a detailed gate file.
2969
-
2970
- ## Inputs
2971
-
2972
- ```yaml
2973
- required:
2974
- - story_id: '{epic}.{story}' # e.g., "1.3"
2975
- - story_path: '{devStoryLocation}/{epic}.{story}.*.md' # Path from core-config.yaml
2976
- - story_title: '{title}' # If missing, derive from story file H1
2977
- - story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)
2978
- ```
2979
-
2980
- ## Prerequisites
2981
-
2982
- - Story status must be "Review"
2983
- - Developer has completed all tasks and updated the File List
2984
- - All automated tests are passing
2985
-
2986
- ## Review Process - Adaptive Test Architecture
2987
-
2988
- ### 1. Risk Assessment (Determines Review Depth)
2989
-
2990
- **Auto-escalate to deep review when:**
2991
-
2992
- - Auth/payment/security files touched
2993
- - No tests added to story
2994
- - Diff > 500 lines
2995
- - Previous gate was FAIL/CONCERNS
2996
- - Story has > 5 acceptance criteria
2997
-
2998
- ### 2. Comprehensive Analysis
2999
-
3000
- **A. Requirements Traceability**
3001
-
3002
- - Map each acceptance criteria to its validating tests (document mapping with Given-When-Then, not test code)
3003
- - Identify coverage gaps
3004
- - Verify all requirements have corresponding test cases
3005
-
3006
- **B. Code Quality Review**
3007
-
3008
- - Architecture and design patterns
3009
- - Refactoring opportunities (and perform them)
3010
- - Code duplication or inefficiencies
3011
- - Performance optimizations
3012
- - Security vulnerabilities
3013
- - Best practices adherence
3014
-
3015
- **C. Test Architecture Assessment**
3016
-
3017
- - Test coverage adequacy at appropriate levels
3018
- - Test level appropriateness (what should be unit vs integration vs e2e)
3019
- - Test design quality and maintainability
3020
- - Test data management strategy
3021
- - Mock/stub usage appropriateness
3022
- - Edge case and error scenario coverage
3023
- - Test execution time and reliability
3024
-
3025
- **D. Non-Functional Requirements (NFRs)**
3026
-
3027
- - Security: Authentication, authorization, data protection
3028
- - Performance: Response times, resource usage
3029
- - Reliability: Error handling, recovery mechanisms
3030
- - Maintainability: Code clarity, documentation
3031
-
3032
- **E. Testability Evaluation**
3033
-
3034
- - Controllability: Can we control the inputs?
3035
- - Observability: Can we observe the outputs?
3036
- - Debuggability: Can we debug failures easily?
3037
-
3038
- **F. Technical Debt Identification**
3039
-
3040
- - Accumulated shortcuts
3041
- - Missing tests
3042
- - Outdated dependencies
3043
- - Architecture violations
3044
-
3045
- ### 3. Active Refactoring
3046
-
3047
- - Refactor code where safe and appropriate
3048
- - Run tests to ensure changes don't break functionality
3049
- - Document all changes in qa-test-architect Results section with clear WHY and HOW
3050
- - Do NOT alter story content beyond qa-test-architect Results section
3051
- - Do NOT change story Status or File List; recommend next status only
3052
-
3053
- ### 4. Standards Compliance Check
3054
-
3055
- - Verify adherence to `docs/coding-standards.md`
3056
- - Check compliance with `docs/unified-project-structure.md`
3057
- - Validate testing approach against `docs/testing-strategy.md`
3058
- - Ensure all guidelines mentioned in the story are followed
3059
-
3060
- ### 5. Acceptance Criteria Validation
3061
-
3062
- - Verify each AC is fully implemented
3063
- - Check for any missing functionality
3064
- - Validate edge cases are handled
3065
-
3066
- ### 6. Documentation and Comments
3067
-
3068
- - Verify code is self-documenting where possible
3069
- - Add comments for complex logic if missing
3070
- - Ensure any API changes are documented
3071
-
3072
- ## Output 1: Update Story File - qa-test-architect Results Section ONLY
3073
-
3074
- **CRITICAL**: You are ONLY authorized to update the "qa-test-architect Results" section of the story file. DO NOT modify any other sections.
3075
-
3076
- **qa-test-architect Results Anchor Rule:**
3077
-
3078
- - If `## qa-test-architect Results` doesn't exist, append it at end of file
3079
- - If it exists, append a new dated entry below existing entries
3080
- - Never edit other sections
3081
-
3082
- After review and any refactoring, append your results to the story file in the qa-test-architect Results section:
3083
-
3084
- ```markdown
3085
- ## qa-test-architect Results
3086
-
3087
- ### Review Date: [Date]
3088
-
3089
- ### Reviewed By: Quinn (Test Architect)
3090
-
3091
- ### Code Quality Assessment
3092
-
3093
- [Overall assessment of implementation quality]
3094
-
3095
- ### Refactoring Performed
3096
-
3097
- [List any refactoring you performed with explanations]
3098
-
3099
- - **File**: [filename]
3100
- - **Change**: [what was changed]
3101
- - **Why**: [reason for change]
3102
- - **How**: [how it improves the code]
3103
-
3104
- ### Compliance Check
3105
-
3106
- - Coding Standards: [✓/✗] [notes if any]
3107
- - Project Structure: [✓/✗] [notes if any]
3108
- - Testing Strategy: [✓/✗] [notes if any]
3109
- - All ACs Met: [✓/✗] [notes if any]
3110
-
3111
- ### Improvements Checklist
3112
-
3113
- [Check off items you handled yourself, leave unchecked for full-stack-dev to address]
3114
-
3115
- - [x] Refactored user service for better error handling (services/user.service.ts)
3116
- - [x] Added missing edge case tests (services/user.service.test.ts)
3117
- - [ ] Consider extracting validation logic to separate validator class
3118
- - [ ] Add integration test for error scenarios
3119
- - [ ] Update API documentation for new error codes
3120
-
3121
- ### Security Review
3122
-
3123
- [Any security concerns found and whether addressed]
3124
-
3125
- ### Performance Considerations
3126
-
3127
- [Any performance issues found and whether addressed]
3128
-
3129
- ### Files Modified During Review
3130
-
3131
- [If you modified files, list them here - ask full-stack-dev to update File List]
3132
-
3133
- ### Gate Status
3134
-
3135
- Gate: {STATUS} → qa.qaLocation/gates/{epic}.{story}-{slug}.yml
3136
- Risk profile: qa.qaLocation/assessments/{epic}.{story}-risk-{YYYYMMDD}.md
3137
- NFR assessment: qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
3138
-
3139
- # Note: Paths should reference core-config.yaml for custom configurations
3140
-
3141
- ### Recommended Status
3142
-
3143
- [✓ Ready for Done] / [✗ Changes Required - See unchecked items above]
3144
- (Story owner decides final status)
3145
- ```
3146
-
3147
- ## Output 2: Create Quality Gate File
3148
-
3149
- **Template and Directory:**
3150
-
3151
- - Render from `../resources/templates.yaml#/templates/qa-gate-tmpl`
3152
- - Create directory defined in `qa.qaLocation/gates` (see `.core-config.yaml`) if missing
3153
- - Save to: `qa.qaLocation/gates/{epic}.{story}-{slug}.yml`
3154
-
3155
- Gate file structure:
3156
-
3157
- ```yaml
3158
- schema: 1
3159
- story: '{epic}.{story}'
3160
- story_title: '{story title}'
3161
- gate: PASS|CONCERNS|FAIL|WAIVED
3162
- status_reason: '1-2 sentence explanation of gate decision'
3163
- reviewer: 'Quinn (Test Architect)'
3164
- updated: '{ISO-8601 timestamp}'
3165
-
3166
- top_issues: [] # Empty if no issues
3167
- waiver: { active: false } # Set active: true only if WAIVED
3168
-
3169
- # Extended fields (optional but recommended):
3170
- quality_score: 0-100 # 100 - (20*FAILs) - (10*CONCERNS) or use technical-preferences.md weights
3171
- expires: '{ISO-8601 timestamp}' # Typically 2 weeks from review
3172
-
3173
- evidence:
3174
- tests_reviewed: { count }
3175
- risks_identified: { count }
3176
- trace:
3177
- ac_covered: [1, 2, 3] # AC numbers with test coverage
3178
- ac_gaps: [4] # AC numbers lacking coverage
3179
-
3180
- nfr_validation:
3181
- security:
3182
- status: PASS|CONCERNS|FAIL
3183
- notes: 'Specific findings'
3184
- performance:
3185
- status: PASS|CONCERNS|FAIL
3186
- notes: 'Specific findings'
3187
- reliability:
3188
- status: PASS|CONCERNS|FAIL
3189
- notes: 'Specific findings'
3190
- maintainability:
3191
- status: PASS|CONCERNS|FAIL
3192
- notes: 'Specific findings'
3193
-
3194
- recommendations:
3195
- immediate: # Must fix before production
3196
- - action: 'Add rate limiting'
3197
- refs: ['api/auth/login.ts']
3198
- future: # Can be addressed later
3199
- - action: 'Consider caching'
3200
- refs: ['services/data.ts']
3201
- ```
3202
-
3203
- ### Gate Decision Criteria
3204
-
3205
- **Deterministic rule (apply in order):**
3206
-
3207
- If risk_summary exists, apply its thresholds first (≥9 → FAIL, ≥6 → CONCERNS), then NFR statuses, then top_issues severity.
3208
-
3209
- 1. **Risk thresholds (if risk_summary present):**
3210
- - If any risk score ≥ 9 → Gate = FAIL (unless waived)
3211
- - Else if any score ≥ 6 → Gate = CONCERNS
3212
-
3213
- 2. **Test coverage gaps (if trace available):**
3214
- - If any P0 test from test-design is missing → Gate = CONCERNS
3215
- - If security/data-loss P0 test missing → Gate = FAIL
3216
-
3217
- 3. **Issue severity:**
3218
- - If any `top_issues.severity == high` → Gate = FAIL (unless waived)
3219
- - Else if any `severity == medium` → Gate = CONCERNS
3220
-
3221
- 4. **NFR statuses:**
3222
- - If any NFR status is FAIL → Gate = FAIL
3223
- - Else if any NFR status is CONCERNS → Gate = CONCERNS
3224
- - Else → Gate = PASS
3225
-
3226
- - WAIVED only when waiver.active: true with reason/approver
3227
-
3228
- Detailed criteria:
3229
-
3230
- - **PASS**: All critical requirements met, no blocking issues
3231
- - **CONCERNS**: Non-critical issues found, team should review
3232
- - **FAIL**: Critical issues that should be addressed
3233
- - **WAIVED**: Issues acknowledged but explicitly waived by team
3234
-
3235
- ### Quality Score Calculation
3236
-
3237
- ```text
3238
- quality_score = 100 - (20 × number of FAILs) - (10 × number of CONCERNS)
3239
- Bounded between 0 and 100
3240
- ```
3241
-
3242
- If `technical-preferences.md` defines custom weights, use those instead.
3243
-
3244
- ### Suggested Owner Convention
3245
-
3246
- For each issue in `top_issues`, include a `suggested_owner`:
3247
-
3248
- - `full-stack-dev`: Code changes needed
3249
- - `scrum-master`: Requirements clarification needed
3250
- - `product-owner`: Business decision needed
3251
-
3252
- ## Key Principles
3253
-
3254
- - You are a Test Architect providing comprehensive quality assessment
3255
- - You have the authority to improve code directly when appropriate
3256
- - Always explain your changes for learning purposes
3257
- - Balance between perfection and pragmatism
3258
- - Focus on risk-based prioritization
3259
- - Provide actionable recommendations with clear ownership
3260
-
3261
- ## Blocking Conditions
3262
-
3263
- Stop the review and request clarification if:
3264
-
3265
- - Story file is incomplete or missing critical sections
3266
- - File List is empty or clearly incomplete
3267
- - No tests exist when they were required
3268
- - Code changes don't align with story requirements
3269
- - Critical architectural issues that require discussion
3270
-
3271
- ## Completion
3272
-
3273
- After review:
3274
-
3275
- 1. Update the QA Results section in the story file
3276
- 2. Create the gate file in directory from `qa.qaLocation/gates`
3277
- 3. Recommend status: "Ready for Done" or "Changes Required" (owner decides)
3278
- 4. If files were modified, list them in QA Results and ask full-stack-dev to update File List
3279
- 5. Always provide constructive feedback and actionable recommendations
3280
-
3281
-
3282
- ---
3283
-
3284
- ## Risk Profile {#risk-profile}
3285
-
3286
-
3287
- # risk-profile
3288
-
3289
- Generate a comprehensive risk assessment matrix for a story implementation using probability × impact analysis.
3290
-
3291
- ## Inputs
3292
-
3293
- ```yaml
3294
- required:
3295
- - story_id: '{epic}.{story}' # e.g., "1.3"
3296
- - story_path: 'docs/stories/{epic}.{story}.*.md'
3297
- - story_title: '{title}' # If missing, derive from story file H1
3298
- - story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)
3299
- ```
3300
-
3301
- ## Purpose
3302
-
3303
- Identify, assess, and prioritize risks in the story implementation. Provide risk mitigation strategies and testing focus areas based on risk levels.
3304
-
3305
- ## Risk Assessment Framework
3306
-
3307
- ### Risk Categories
3308
-
3309
- **Category Prefixes:**
3310
-
3311
- - `TECH`: Technical Risks
3312
- - `SEC`: Security Risks
3313
- - `PERF`: Performance Risks
3314
- - `DATA`: Data Risks
3315
- - `BUS`: Business Risks
3316
- - `OPS`: Operational Risks
3317
-
3318
- 1. **Technical Risks (TECH)**
3319
- - Architecture complexity
3320
- - Integration challenges
3321
- - Technical debt
3322
- - Scalability concerns
3323
- - System dependencies
3324
-
3325
- 2. **Security Risks (SEC)**
3326
- - Authentication/authorization flaws
3327
- - Data exposure vulnerabilities
3328
- - Injection attacks
3329
- - Session management issues
3330
- - Cryptographic weaknesses
3331
-
3332
- 3. **Performance Risks (PERF)**
3333
- - Response time degradation
3334
- - Throughput bottlenecks
3335
- - Resource exhaustion
3336
- - Database query optimization
3337
- - Caching failures
3338
-
3339
- 4. **Data Risks (DATA)**
3340
- - Data loss potential
3341
- - Data corruption
3342
- - Privacy violations
3343
- - Compliance issues
3344
- - Backup/recovery gaps
3345
-
3346
- 5. **Business Risks (BUS)**
3347
- - Feature doesn't meet user needs
3348
- - Revenue impact
3349
- - Reputation damage
3350
- - Regulatory non-compliance
3351
- - Market timing
3352
-
3353
- 6. **Operational Risks (OPS)**
3354
- - Deployment failures
3355
- - Monitoring gaps
3356
- - Incident response readiness
3357
- - Documentation inadequacy
3358
- - Knowledge transfer issues
3359
-
3360
- ## Risk Analysis Process
3361
-
3362
- ### 1. Risk Identification
3363
-
3364
- For each category, identify specific risks:
3365
-
3366
- ```yaml
3367
- risk:
3368
- id: 'SEC-001' # Use prefixes: SEC, PERF, DATA, BUS, OPS, TECH
3369
- category: security
3370
- title: 'Insufficient input validation on user forms'
3371
- description: 'Form inputs not properly sanitized could lead to XSS attacks'
3372
- affected_components:
3373
- - 'UserRegistrationForm'
3374
- - 'ProfileUpdateForm'
3375
- detection_method: 'Code review revealed missing validation'
3376
- ```
3377
-
3378
- ### 2. Risk Assessment
3379
-
3380
- Evaluate each risk using probability × impact:
3381
-
3382
- **Probability Levels:**
3383
-
3384
- - `High (3)`: Likely to occur (>70% chance)
3385
- - `Medium (2)`: Possible occurrence (30-70% chance)
3386
- - `Low (1)`: Unlikely to occur (<30% chance)
3387
-
3388
- **Impact Levels:**
3389
-
3390
- - `High (3)`: Severe consequences (data breach, system down, major financial loss)
3391
- - `Medium (2)`: Moderate consequences (degraded performance, minor data issues)
3392
- - `Low (1)`: Minor consequences (cosmetic issues, slight inconvenience)
3393
-
3394
- ### Risk Score = Probability × Impact
3395
-
3396
- - 9: Critical Risk (Red)
3397
- - 6: High Risk (Orange)
3398
- - 4: Medium Risk (Yellow)
3399
- - 2-3: Low Risk (Green)
3400
- - 1: Minimal Risk (Blue)
3401
-
3402
- ### 3. Risk Prioritization
3403
-
3404
- Create risk matrix:
3405
-
3406
- ```markdown
3407
- ## Risk Matrix
3408
-
3409
- | Risk ID | Description | Probability | Impact | Score | Priority |
3410
- | -------- | ----------------------- | ----------- | ---------- | ----- | -------- |
3411
- | SEC-001 | XSS vulnerability | High (3) | High (3) | 9 | Critical |
3412
- | PERF-001 | Slow query on dashboard | Medium (2) | Medium (2) | 4 | Medium |
3413
- | DATA-001 | Backup failure | Low (1) | High (3) | 3 | Low |
3414
- ```
3415
-
3416
- ### 4. Risk Mitigation Strategies
3417
-
3418
- For each identified risk, provide mitigation:
3419
-
3420
- ```yaml
3421
- mitigation:
3422
- risk_id: 'SEC-001'
3423
- strategy: 'preventive' # preventive|detective|corrective
3424
- actions:
3425
- - 'Implement input validation library (e.g., validator.js)'
3426
- - 'Add CSP headers to prevent XSS execution'
3427
- - 'Sanitize all user inputs before storage'
3428
- - 'Escape all outputs in templates'
3429
- testing_requirements:
3430
- - 'Security testing with OWASP ZAP'
3431
- - 'Manual penetration testing of forms'
3432
- - 'Unit tests for validation functions'
3433
- residual_risk: 'Low - Some zero-day vulnerabilities may remain'
3434
- owner: 'full-stack-dev'
3435
- timeline: 'Before deployment'
3436
- ```
3437
-
3438
- ## Outputs
3439
-
3440
- ### Output 1: Gate YAML Block
3441
-
3442
- Generate for pasting into gate file under `risk_summary`:
3443
-
3444
- **Output rules:**
3445
-
3446
- - Only include assessed risks; do not emit placeholders
3447
- - Sort risks by score (desc) when emitting highest and any tabular lists
3448
- - If no risks: totals all zeros, omit highest, keep recommendations arrays empty
3449
-
3450
- ```yaml
3451
- # risk_summary (paste into gate file):
3452
- risk_summary:
3453
- totals:
3454
- critical: X # score 9
3455
- high: Y # score 6
3456
- medium: Z # score 4
3457
- low: W # score 2-3
3458
- highest:
3459
- id: SEC-001
3460
- score: 9
3461
- title: 'XSS on profile form'
3462
- recommendations:
3463
- must_fix:
3464
- - 'Add input sanitization & CSP'
3465
- monitor:
3466
- - 'Add security alerts for auth endpoints'
3467
- ```
3468
-
3469
- ### Output 2: Markdown Report
3470
-
3471
- **Save to:** `qa.qaLocation/assessments/{epic}.{story}-risk-{YYYYMMDD}.md`
3472
-
3473
- ```markdown
3474
- # Risk Profile: Story {epic}.{story}
3475
-
3476
- Date: {date}
3477
- Reviewer: Quinn (Test Architect)
3478
-
3479
- ## Executive Summary
3480
-
3481
- - Total Risks Identified: X
3482
- - Critical Risks: Y
3483
- - High Risks: Z
3484
- - Risk Score: XX/100 (calculated)
3485
-
3486
- ## Critical Risks Requiring Immediate Attention
3487
-
3488
- ### 1. [ID]: Risk Title
3489
-
3490
- **Score: 9 (Critical)**
3491
- **Probability**: High - Detailed reasoning
3492
- **Impact**: High - Potential consequences
3493
- **Mitigation**:
3494
-
3495
- - Immediate action required
3496
- - Specific steps to take
3497
- **Testing Focus**: Specific test scenarios needed
3498
-
3499
- ## Risk Distribution
3500
-
3501
- ### By Category
3502
-
3503
- - Security: X risks (Y critical)
3504
- - Performance: X risks (Y critical)
3505
- - Data: X risks (Y critical)
3506
- - Business: X risks (Y critical)
3507
- - Operational: X risks (Y critical)
3508
-
3509
- ### By Component
3510
-
3511
- - Frontend: X risks
3512
- - Backend: X risks
3513
- - Database: X risks
3514
- - Infrastructure: X risks
3515
-
3516
- ## Detailed Risk Register
3517
-
3518
- [Full table of all risks with scores and mitigations]
3519
-
3520
- ## Risk-Based Testing Strategy
3521
-
3522
- ### Priority 1: Critical Risk Tests
3523
-
3524
- - Test scenarios for critical risks
3525
- - Required test types (security, load, chaos)
3526
- - Test data requirements
3527
-
3528
- ### Priority 2: High Risk Tests
3529
-
3530
- - Integration test scenarios
3531
- - Edge case coverage
3532
-
3533
- ### Priority 3: Medium/Low Risk Tests
3534
-
3535
- - Standard functional tests
3536
- - Regression test suite
3537
-
3538
- ## Risk Acceptance Criteria
3539
-
3540
- ### Must Fix Before Production
3541
-
3542
- - All critical risks (score 9)
3543
- - High risks affecting security/data
3544
-
3545
- ### Can Deploy with Mitigation
3546
-
3547
- - Medium risks with compensating controls
3548
- - Low risks with monitoring in place
3549
-
3550
- ### Accepted Risks
3551
-
3552
- - Document any risks team accepts
3553
- - Include sign-off from appropriate authority
3554
-
3555
- ## Monitoring Requirements
3556
-
3557
- Post-deployment monitoring for:
3558
-
3559
- - Performance metrics for PERF risks
3560
- - Security alerts for SEC risks
3561
- - Error rates for operational risks
3562
- - Business KPIs for business risks
3563
-
3564
- ## Risk Review Triggers
3565
-
3566
- Review and update risk profile when:
3567
-
3568
- - Architecture changes significantly
3569
- - New integrations added
3570
- - Security vulnerabilities discovered
3571
- - Performance issues reported
3572
- - Regulatory requirements change
3573
- ```
3574
-
3575
- ## Risk Scoring Algorithm
3576
-
3577
- Calculate overall story risk score:
3578
-
3579
- ```text
3580
- Base Score = 100
3581
- For each risk:
3582
- - Critical (9): Deduct 20 points
3583
- - High (6): Deduct 10 points
3584
- - Medium (4): Deduct 5 points
3585
- - Low (2-3): Deduct 2 points
3586
-
3587
- Minimum score = 0 (extremely risky)
3588
- Maximum score = 100 (minimal risk)
3589
- ```
3590
-
3591
- ## Risk-Based Recommendations
3592
-
3593
- Based on risk profile, recommend:
3594
-
3595
- 1. **Testing Priority**
3596
- - Which tests to run first
3597
- - Additional test types needed
3598
- - Test environment requirements
3599
-
3600
- 2. **Development Focus**
3601
- - Code review emphasis areas
3602
- - Additional validation needed
3603
- - Security controls to implement
3604
-
3605
- 3. **Deployment Strategy**
3606
- - Phased rollout for high-risk changes
3607
- - Feature flags for risky features
3608
- - Rollback procedures
3609
-
3610
- 4. **Monitoring Setup**
3611
- - Metrics to track
3612
- - Alerts to configure
3613
- - Dashboard requirements
3614
-
3615
- ## Integration with Quality Gates
3616
-
3617
- **Deterministic gate mapping:**
3618
-
3619
- - Any risk with score ≥ 9 → Gate = FAIL (unless waived)
3620
- - Else if any score ≥ 6 → Gate = CONCERNS
3621
- - Else → Gate = PASS
3622
- - Unmitigated risks → Document in gate
3623
-
3624
- ### Output 3: Story Hook Line
3625
-
3626
- **Print this line for review task to quote:**
3627
-
3628
- ```text
3629
- Risk profile: qa.qaLocation/assessments/{epic}.{story}-risk-{YYYYMMDD}.md
3630
- ```
3631
-
3632
- ## Key Principles
3633
-
3634
- - Identify risks early and systematically
3635
- - Use consistent probability × impact scoring
3636
- - Provide actionable mitigation strategies
3637
- - Link risks to specific test requirements
3638
- - Track residual risk after mitigation
3639
- - Update risk profile as story evolves
3640
-
3641
-
3642
- ---
3643
-
3644
- ## Shard Doc {#shard-doc}
3645
-
3646
-
3647
- # Document Sharding Task
3648
-
3649
- ## Purpose
3650
-
3651
- - Split a large document into multiple smaller documents based on level 2 sections
3652
- - Create a folder structure to organize the sharded documents
3653
- - Maintain all content integrity including code blocks, diagrams, and markdown formatting
3654
-
3655
- ## Primary Method: Automatic with markdown-tree
3656
-
3657
- [[LLM: First, check if markdownExploder is set to true in {root}/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
3658
-
3659
- If the command succeeds, inform the user that the document has been sharded successfully and STOP - do not proceed further.
3660
-
3661
- If the command fails (especially with an error indicating the command is not found or not available), inform the user: "The markdownExploder setting is enabled but the md-tree command is not available. Please either:
3662
-
3663
- 1. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
3664
- 2. Or set markdownExploder to false in {root}/core-config.yaml
3665
-
3666
- **IMPORTANT: STOP HERE - do not proceed with manual sharding until one of the above actions is taken.**"
3667
-
3668
- If markdownExploder is set to false, inform the user: "The markdownExploder setting is currently false. For better performance and reliability, you should:
3669
-
3670
- 1. Set markdownExploder to true in {root}/core-config.yaml
3671
- 2. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
3672
-
3673
- I will now proceed with the manual sharding process."
3674
-
3675
- Then proceed with the manual method below ONLY if markdownExploder is false.]]
3676
-
3677
- ### Installation and Usage
3678
-
3679
- 1. **Install globally**:
3680
-
3681
- ```bash
3682
- npm install -g @kayvan/markdown-tree-parser
3683
- ```
3684
-
3685
- 2. **Use the explode command**:
3686
-
3687
- ```bash
3688
- # For PRD
3689
- md-tree explode docs/prd.md docs/prd
3690
-
3691
- # For Architecture
3692
- md-tree explode docs/architecture.md docs/architecture
3693
-
3694
- # For any document
3695
- md-tree explode [source-document] [destination-folder]
3696
- ```
3697
-
3698
- 3. **What it does**:
3699
- - Automatically splits the document by level 2 sections
3700
- - Creates properly named files
3701
- - Adjusts heading levels appropriately
3702
- - Handles all edge cases with code blocks and special markdown
3703
-
3704
- If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
3705
-
3706
- ---
3707
-
3708
- ## Manual Method (if @kayvan/markdown-tree-parser is not available or user indicated manual method)
3709
-
3710
- ### Task Instructions
3711
-
3712
- 1. Identify Document and Target Location
3713
-
3714
- - Determine which document to shard (user-provided path)
3715
- - Create a new folder under `docs/` with the same name as the document (without extension)
3716
- - Example: `docs/prd.md` → create folder `docs/prd/`
3717
-
3718
- 2. Parse and Extract Sections
3719
-
3720
- CRITICAL AEGNT SHARDING RULES:
3721
-
3722
- 1. Read the entire document content
3723
- 2. Identify all level 2 sections (## headings)
3724
- 3. For each level 2 section:
3725
- - Extract the section heading and ALL content until the next level 2 section
3726
- - Include all subsections, code blocks, diagrams, lists, tables, etc.
3727
- - Be extremely careful with:
3728
- - Fenced code blocks (```) - ensure you capture the full block including closing backticks and account for potential misleading level 2's that are actually part of a fenced section example
3729
- - Mermaid diagrams - preserve the complete diagram syntax
3730
- - Nested markdown elements
3731
- - Multi-line content that might contain ## inside code blocks
3732
-
3733
- CRITICAL: Use proper parsing that understands markdown context. A ## inside a code block is NOT a section header.]]
3734
-
3735
- ### 3. Create Individual Files
3736
-
3737
- For each extracted section:
3738
-
3739
- 1. **Generate filename**: Convert the section heading to lowercase-dash-case
3740
- - Remove special characters
3741
- - Replace spaces with dashes
3742
- - Example: "## Tech Stack" → `tech-stack.md`
3743
-
3744
- 2. **Adjust heading levels**:
3745
- - The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
3746
- - All subsection levels decrease by 1:
3747
-
3748
- ```txt
3749
- - ### → ##
3750
- - #### → ###
3751
- - ##### → ####
3752
- - etc.
3753
- ```
3754
-
3755
- 3. **Write content**: Save the adjusted content to the new file
3756
-
3757
- ### 4. Create Index File
3758
-
3759
- Create an `index.md` file in the sharded folder that:
3760
-
3761
- 1. Contains the original level 1 heading and any content before the first level 2 section
3762
- 2. Lists all the sharded files with links:
3763
-
3764
- ```markdown
3765
- # Original Document Title
3766
-
3767
- [Original introduction content if any]
3768
-
3769
- ## Sections
3770
-
3771
- - [Section Name 1](./section-name-1.md)
3772
- - [Section Name 2](./section-name-2.md)
3773
- - [Section Name 3](./section-name-3.md)
3774
- ...
3775
- ```
3776
-
3777
- ### 5. Preserve Special Content
3778
-
3779
- 1. **Code blocks**: Must capture complete blocks including:
3780
-
3781
- ```language
3782
- content
3783
- ```
3784
-
3785
- 2. **Mermaid diagrams**: Preserve complete syntax:
3786
-
3787
- ```mermaid
3788
- graph TD
3789
- ...
3790
- ```
3791
-
3792
- 3. **Tables**: Maintain proper markdown table formatting
3793
-
3794
- 4. **Lists**: Preserve indentation and nesting
3795
-
3796
- 5. **Inline code**: Preserve backticks
3797
-
3798
- 6. **Links and references**: Keep all markdown links intact
3799
-
3800
- 7. **Template markup**: If documents contain {{placeholders}} ,preserve exactly
3801
-
3802
- ### 6. Validation
3803
-
3804
- After sharding:
3805
-
3806
- 1. Verify all sections were extracted
3807
- 2. Check that no content was lost
3808
- 3. Ensure heading levels were properly adjusted
3809
- 4. Confirm all files were created successfully
3810
-
3811
- ### 7. Report Results
3812
-
3813
- Provide a summary:
3814
-
3815
- ```text
3816
- Document sharded successfully:
3817
- - Source: [original document path]
3818
- - Destination: docs/[folder-name]/
3819
- - Files created: [count]
3820
- - Sections:
3821
- - section-name-1.md: "Section Title 1"
3822
- - section-name-2.md: "Section Title 2"
3823
- ...
3824
- ```
3825
-
3826
- ## Important Notes
3827
-
3828
- - Never modify the actual content, only adjust heading levels
3829
- - Preserve ALL formatting, including whitespace where significant
3830
- - Handle edge cases like sections with code blocks containing ## symbols
3831
- - Ensure the sharding is reversible (could reconstruct the original from shards)
3832
-
3833
-
3834
- ---
3835
-
3836
- ## Test Design {#test-design}
3837
-
3838
-
3839
- # test-design
3840
-
3841
- Create comprehensive test scenarios with appropriate test level recommendations for story implementation.
3842
-
3843
- ## Inputs
3844
-
3845
- ```yaml
3846
- required:
3847
- - story_id: '{epic}.{story}' # e.g., "1.3"
3848
- - story_path: '{devStoryLocation}/{epic}.{story}.*.md' # Path from core-config.yaml
3849
- - story_title: '{title}' # If missing, derive from story file H1
3850
- - story_slug: '{slug}' # If missing, derive from title (lowercase, hyphenated)
3851
- ```
3852
-
3853
- ## Purpose
3854
-
3855
- Design a complete test strategy that identifies what to test, at which level (unit/integration/e2e), and why. This ensures efficient test coverage without redundancy while maintaining appropriate test boundaries.
3856
-
3857
- ## Dependencies
3858
-
3859
- ```yaml
3860
- data:
3861
- - test-levels-framework.md # Unit/Integration/E2E decision criteria
3862
- - test-priorities-matrix.md # P0/P1/P2/P3 classification system
3863
- ```
3864
-
3865
- ## Process
3866
-
3867
- ### 1. Analyze Story Requirements
3868
-
3869
- Break down each acceptance criterion into testable scenarios. For each AC:
3870
-
3871
- - Identify the core functionality to test
3872
- - Determine data variations needed
3873
- - Consider error conditions
3874
- - Note edge cases
3875
-
3876
- ### 2. Apply Test Level Framework
3877
-
3878
- **Reference:** Load `test-levels-framework.md` for detailed criteria
3879
-
3880
- Quick rules:
3881
-
3882
- - **Unit**: Pure logic, algorithms, calculations
3883
- - **Integration**: Component interactions, DB operations
3884
- - **E2E**: Critical user journeys, compliance
3885
-
3886
- ### 3. Assign Priorities
3887
-
3888
- **Reference:** Load `test-priorities-matrix.md` for classification
3889
-
3890
- Quick priority assignment:
3891
-
3892
- - **P0**: Revenue-critical, security, compliance
3893
- - **P1**: Core user journeys, frequently used
3894
- - **P2**: Secondary features, admin functions
3895
- - **P3**: Nice-to-have, rarely used
3896
-
3897
- ### 4. Design Test Scenarios
3898
-
3899
- For each identified test need, create:
3900
-
3901
- ```yaml
3902
- test_scenario:
3903
- id: '{epic}.{story}-{LEVEL}-{SEQ}'
3904
- requirement: 'AC reference'
3905
- priority: P0|P1|P2|P3
3906
- level: unit|integration|e2e
3907
- description: 'What is being tested'
3908
- justification: 'Why this level was chosen'
3909
- mitigates_risks: ['RISK-001'] # If risk profile exists
3910
- ```
3911
-
3912
- ### 5. Validate Coverage
3913
-
3914
- Ensure:
3915
-
3916
- - Every AC has at least one test
3917
- - No duplicate coverage across levels
3918
- - Critical paths have multiple levels
3919
- - Risk mitigations are addressed
3920
-
3921
- ## Outputs
3922
-
3923
- ### Output 1: Test Design Document
3924
-
3925
- **Save to:** `qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md`
3926
-
3927
- ```markdown
3928
- # Test Design: Story {epic}.{story}
3929
-
3930
- Date: {date}
3931
- Designer: Quinn (Test Architect)
3932
-
3933
- ## Test Strategy Overview
3934
-
3935
- - Total test scenarios: X
3936
- - Unit tests: Y (A%)
3937
- - Integration tests: Z (B%)
3938
- - E2E tests: W (C%)
3939
- - Priority distribution: P0: X, P1: Y, P2: Z
3940
-
3941
- ## Test Scenarios by Acceptance Criteria
3942
-
3943
- ### AC1: {description}
3944
-
3945
- #### Scenarios
3946
-
3947
- | ID | Level | Priority | Test | Justification |
3948
- | ------------ | ----------- | -------- | ------------------------- | ------------------------ |
3949
- | 1.3-UNIT-001 | Unit | P0 | Validate input format | Pure validation logic |
3950
- | 1.3-INT-001 | Integration | P0 | Service processes request | Multi-component flow |
3951
- | 1.3-E2E-001 | E2E | P1 | User completes journey | Critical path validation |
3952
-
3953
- [Continue for all ACs...]
3954
-
3955
- ## Risk Coverage
3956
-
3957
- [Map test scenarios to identified risks if risk profile exists]
3958
-
3959
- ## Recommended Execution Order
3960
-
3961
- 1. P0 Unit tests (fail fast)
3962
- 2. P0 Integration tests
3963
- 3. P0 E2E tests
3964
- 4. P1 tests in order
3965
- 5. P2+ as time permits
3966
- ```
3967
-
3968
- ### Output 2: Gate YAML Block
3969
-
3970
- Generate for inclusion in quality gate:
3971
-
3972
- ```yaml
3973
- test_design:
3974
- scenarios_total: X
3975
- by_level:
3976
- unit: Y
3977
- integration: Z
3978
- e2e: W
3979
- by_priority:
3980
- p0: A
3981
- p1: B
3982
- p2: C
3983
- coverage_gaps: [] # List any ACs without tests
3984
- ```
3985
-
3986
- ### Output 3: Trace References
3987
-
3988
- Print for use by trace-requirements task:
3989
-
3990
- ```text
3991
- Test design matrix: qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
3992
- P0 tests identified: {count}
3993
- ```
3994
-
3995
- ## Quality Checklist
3996
-
3997
- Before finalizing, verify:
3998
-
3999
- - [ ] Every AC has test coverage
4000
- - [ ] Test levels are appropriate (not over-testing)
4001
- - [ ] No duplicate coverage across levels
4002
- - [ ] Priorities align with business risk
4003
- - [ ] Test IDs follow naming convention
4004
- - [ ] Scenarios are atomic and independent
4005
-
4006
- ## Key Principles
4007
-
4008
- - **Shift left**: Prefer unit over integration, integration over E2E
4009
- - **Risk-based**: Focus on what could go wrong
4010
- - **Efficient coverage**: Test once at the right level
4011
- - **Maintainability**: Consider long-term test maintenance
4012
- - **Fast feedback**: Quick tests run first
4013
-
4014
-
4015
- ---
4016
-
4017
- ## Trace Requirements {#trace-requirements}
4018
-
4019
-
4020
- # trace-requirements
4021
-
4022
- Map story requirements to test cases using Given-When-Then patterns for comprehensive traceability.
4023
-
4024
- ## Purpose
4025
-
4026
- Create a requirements traceability matrix that ensures every acceptance criterion has corresponding test coverage. This task helps identify gaps in testing and ensures all requirements are validated.
4027
-
4028
- **IMPORTANT**: Given-When-Then is used here for documenting the mapping between requirements and tests, NOT for writing the actual test code. Tests should follow your project's testing standards (no BDD syntax in test code).
4029
-
4030
- ## Prerequisites
4031
-
4032
- - Story file with clear acceptance criteria
4033
- - Access to test files or test specifications
4034
- - Understanding of the implementation
4035
-
4036
- ## Traceability Process
4037
-
4038
- ### 1. Extract Requirements
4039
-
4040
- Identify all testable requirements from:
4041
-
4042
- - Acceptance Criteria (primary source)
4043
- - User story statement
4044
- - Tasks/subtasks with specific behaviors
4045
- - Non-functional requirements mentioned
4046
- - Edge cases documented
4047
-
4048
- ### 2. Map to Test Cases
4049
-
4050
- For each requirement, document which tests validate it. Use Given-When-Then to describe what the test validates (not how it's written):
4051
-
4052
- ```yaml
4053
- requirement: 'AC1: User can login with valid credentials'
4054
- test_mappings:
4055
- - test_file: 'auth/login.test.ts'
4056
- test_case: 'should successfully login with valid email and password'
4057
- # Given-When-Then describes WHAT the test validates, not HOW it's coded
4058
- given: 'A registered user with valid credentials'
4059
- when: 'They submit the login form'
4060
- then: 'They are redirected to dashboard and session is created'
4061
- coverage: full
4062
-
4063
- - test_file: 'e2e/auth-flow.test.ts'
4064
- test_case: 'complete login flow'
4065
- given: 'User on login page'
4066
- when: 'Entering valid credentials and submitting'
4067
- then: 'Dashboard loads with user data'
4068
- coverage: integration
4069
- ```
4070
-
4071
- ### 3. Coverage Analysis
4072
-
4073
- Evaluate coverage for each requirement:
4074
-
4075
- **Coverage Levels:**
4076
-
4077
- - `full`: Requirement completely tested
4078
- - `partial`: Some aspects tested, gaps exist
4079
- - `none`: No test coverage found
4080
- - `integration`: Covered in integration/e2e tests only
4081
- - `unit`: Covered in unit tests only
4082
-
4083
- ### 4. Gap Identification
4084
-
4085
- Document any gaps found:
4086
-
4087
- ```yaml
4088
- coverage_gaps:
4089
- - requirement: 'AC3: Password reset email sent within 60 seconds'
4090
- gap: 'No test for email delivery timing'
4091
- severity: medium
4092
- suggested_test:
4093
- type: integration
4094
- description: 'Test email service SLA compliance'
4095
-
4096
- - requirement: 'AC5: Support 1000 concurrent users'
4097
- gap: 'No load testing implemented'
4098
- severity: high
4099
- suggested_test:
4100
- type: performance
4101
- description: 'Load test with 1000 concurrent connections'
4102
- ```
4103
-
4104
- ## Outputs
4105
-
4106
- ### Output 1: Gate YAML Block
4107
-
4108
- **Generate for pasting into gate file under `trace`:**
4109
-
4110
- ```yaml
4111
- trace:
4112
- totals:
4113
- requirements: X
4114
- full: Y
4115
- partial: Z
4116
- none: W
4117
- planning_ref: 'qa.qaLocation/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md'
4118
- uncovered:
4119
- - ac: 'AC3'
4120
- reason: 'No test found for password reset timing'
4121
- notes: 'See qa.qaLocation/assessments/{epic}.{story}-trace-{YYYYMMDD}.md'
4122
- ```
4123
-
4124
- ### Output 2: Traceability Report
4125
-
4126
- **Save to:** `qa.qaLocation/assessments/{epic}.{story}-trace-{YYYYMMDD}.md`
4127
-
4128
- Create a traceability report with:
4129
-
4130
- ```markdown
4131
- # Requirements Traceability Matrix
4132
-
4133
- ## Story: {epic}.{story} - {title}
4134
-
4135
- ### Coverage Summary
4136
-
4137
- - Total Requirements: X
4138
- - Fully Covered: Y (Z%)
4139
- - Partially Covered: A (B%)
4140
- - Not Covered: C (D%)
4141
-
4142
- ### Requirement Mappings
4143
-
4144
- #### AC1: {Acceptance Criterion 1}
4145
-
4146
- **Coverage: FULL**
4147
-
4148
- Given-When-Then Mappings:
4149
-
4150
- - **Unit Test**: `auth.service.test.ts::validateCredentials`
4151
- - Given: Valid user credentials
4152
- - When: Validation method called
4153
- - Then: Returns true with user object
4154
-
4155
- - **Integration Test**: `auth.integration.test.ts::loginFlow`
4156
- - Given: User with valid account
4157
- - When: Login API called
4158
- - Then: JWT token returned and session created
4159
-
4160
- #### AC2: {Acceptance Criterion 2}
4161
-
4162
- **Coverage: PARTIAL**
4163
-
4164
- [Continue for all ACs...]
4165
-
4166
- ### Critical Gaps
4167
-
4168
- 1. **Performance Requirements**
4169
- - Gap: No load testing for concurrent users
4170
- - Risk: High - Could fail under production load
4171
- - Action: Implement load tests using k6 or similar
4172
-
4173
- 2. **Security Requirements**
4174
- - Gap: Rate limiting not tested
4175
- - Risk: Medium - Potential DoS vulnerability
4176
- - Action: Add rate limit tests to integration suite
4177
-
4178
- ### Test Design Recommendations
4179
-
4180
- Based on gaps identified, recommend:
4181
-
4182
- 1. Additional test scenarios needed
4183
- 2. Test types to implement (unit/integration/e2e/performance)
4184
- 3. Test data requirements
4185
- 4. Mock/stub strategies
4186
-
4187
- ### Risk Assessment
4188
-
4189
- - **High Risk**: Requirements with no coverage
4190
- - **Medium Risk**: Requirements with only partial coverage
4191
- - **Low Risk**: Requirements with full unit + integration coverage
4192
- ```
4193
-
4194
- ## Traceability Best Practices
4195
-
4196
- ### Given-When-Then for Mapping (Not Test Code)
4197
-
4198
- Use Given-When-Then to document what each test validates:
4199
-
4200
- **Given**: The initial context the test sets up
4201
-
4202
- - What state/data the test prepares
4203
- - User context being simulated
4204
- - System preconditions
4205
-
4206
- **When**: The action the test performs
4207
-
4208
- - What the test executes
4209
- - API calls or user actions tested
4210
- - Events triggered
4211
-
4212
- **Then**: What the test asserts
4213
-
4214
- - Expected outcomes verified
4215
- - State changes checked
4216
- - Values validated
4217
-
4218
- **Note**: This is for documentation only. Actual test code follows your project's standards (e.g., describe/it blocks, no BDD syntax).
4219
-
4220
- ### Coverage Priority
4221
-
4222
- Prioritize coverage based on:
4223
-
4224
- 1. Critical business flows
4225
- 2. Security-related requirements
4226
- 3. Data integrity requirements
4227
- 4. User-facing features
4228
- 5. Performance SLAs
4229
-
4230
- ### Test Granularity
4231
-
4232
- Map at appropriate levels:
4233
-
4234
- - Unit tests for business logic
4235
- - Integration tests for component interaction
4236
- - E2E tests for user journeys
4237
- - Performance tests for NFRs
4238
-
4239
- ## Quality Indicators
4240
-
4241
- Good traceability shows:
4242
-
4243
- - Every AC has at least one test
4244
- - Critical paths have multiple test levels
4245
- - Edge cases are explicitly covered
4246
- - NFRs have appropriate test types
4247
- - Clear Given-When-Then for each test
4248
-
4249
- ## Red Flags
4250
-
4251
- Watch for:
4252
-
4253
- - ACs with no test coverage
4254
- - Tests that don't map to requirements
4255
- - Vague test descriptions
4256
- - Missing edge case coverage
4257
- - NFRs without specific tests
4258
-
4259
- ## Integration with Gates
4260
-
4261
- This traceability feeds into quality gates:
4262
-
4263
- - Critical gaps → FAIL
4264
- - Minor gaps → CONCERNS
4265
- - Missing P0 tests from test-design → CONCERNS
4266
-
4267
- ### Output 3: Story Hook Line
4268
-
4269
- **Print this line for review task to quote:**
4270
-
4271
- ```text
4272
- Trace matrix: qa.qaLocation/assessments/{epic}.{story}-trace-{YYYYMMDD}.md
4273
- ```
4274
-
4275
- - Full coverage → PASS contribution
4276
-
4277
- ## Key Principles
4278
-
4279
- - Every requirement must be testable
4280
- - Use Given-When-Then for clarity
4281
- - Identify both presence and absence
4282
- - Prioritize based on risk
4283
- - Make recommendations actionable
4284
-
4285
-
4286
- ---
4287
-
4288
- ## Validate Next Story {#validate-next-story}
4289
-
4290
-
4291
- # Validate Next Story Task
4292
-
4293
- ## Purpose
4294
-
4295
- To comprehensively validate a story draft before implementation begins, ensuring it is complete, accurate, and provides sufficient context for successful development. This task identifies issues and gaps that need to be addressed, preventing hallucinations and ensuring implementation readiness.
4296
-
4297
- ## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
4298
-
4299
- ### 0. Load Core Configuration and Inputs
4300
-
4301
- - Load `.core-config.yaml`
4302
- - If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story validation."
4303
- - Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`
4304
- - Identify and load the following inputs:
4305
- - **Story file**: The drafted story to validate (provided by user or discovered in `devStoryLocation`)
4306
- - **Parent epic**: The epic containing this story's requirements
4307
- - **Architecture documents**: Based on configuration (sharded or monolithic)
4308
- - **Story template**: `templates/story-tmpl.md` for completeness validation
4309
-
4310
- ### 1. Template Completeness Validation
4311
-
4312
- - Load `.templates/story-tmpl.yaml` and extract all section headings from the template
4313
- - **Missing sections check**: Compare story sections against template sections to verify all required sections are present
4314
- - **Placeholder validation**: Ensure no template placeholders remain unfilled (e.g., `{{EpicNum}}`, `{{role}}`, `_TBD_`)
4315
- - **Agent section verification**: Confirm all sections from template exist for future agent use
4316
- - **Structure compliance**: Verify story follows template structure and formatting
4317
-
4318
- ### 2. File Structure and Source Tree Validation
4319
-
4320
- - **File paths clarity**: Are new/existing files to be created/modified clearly specified?
4321
- - **Source tree relevance**: Is relevant project structure included in full-stack-dev Notes?
4322
- - **Directory structure**: Are new directories/components properly located according to project structure?
4323
- - **File creation sequence**: Do tasks specify where files should be created in logical order?
4324
- - **Path accuracy**: Are file paths consistent with project structure from architecture docs?
4325
-
4326
- ### 3. UI/Frontend Completeness Validation (if applicable)
4327
-
4328
- - **Component specifications**: Are UI components sufficiently detailed for implementation?
4329
- - **Styling/design guidance**: Is visual implementation guidance clear?
4330
- - **User interaction flows**: Are UX patterns and behaviors specified?
4331
- - **Responsive/accessibility**: Are these considerations addressed if required?
4332
- - **Integration points**: Are frontend-backend integration points clear?
4333
-
4334
- ### 4. Acceptance Criteria Satisfaction Assessment
4335
-
4336
- - **AC coverage**: Will all acceptance criteria be satisfied by the listed tasks?
4337
- - **AC testability**: Are acceptance criteria measurable and verifiable?
4338
- - **Missing scenarios**: Are edge cases or error conditions covered?
4339
- - **Success definition**: Is "done" clearly defined for each AC?
4340
- - **Task-AC mapping**: Are tasks properly linked to specific acceptance criteria?
4341
-
4342
- ### 5. Validation and Testing Instructions Review
4343
-
4344
- - **Test approach clarity**: Are testing methods clearly specified?
4345
- - **Test scenarios**: Are key test cases identified?
4346
- - **Validation steps**: Are acceptance criteria validation steps clear?
4347
- - **Testing tools/frameworks**: Are required testing tools specified?
4348
- - **Test data requirements**: Are test data needs identified?
4349
-
4350
- ### 6. Security Considerations Assessment (if applicable)
4351
-
4352
- - **Security requirements**: Are security needs identified and addressed?
4353
- - **Authentication/authorization**: Are access controls specified?
4354
- - **Data protection**: Are sensitive data handling requirements clear?
4355
- - **Vulnerability prevention**: Are common security issues addressed?
4356
- - **Compliance requirements**: Are regulatory/compliance needs addressed?
4357
-
4358
- ### 7. Tasks/Subtasks Sequence Validation
4359
-
4360
- - **Logical order**: Do tasks follow proper implementation sequence?
4361
- - **Dependencies**: Are task dependencies clear and correct?
4362
- - **Granularity**: Are tasks appropriately sized and actionable?
4363
- - **Completeness**: Do tasks cover all requirements and acceptance criteria?
4364
- - **Blocking issues**: Are there any tasks that would block others?
4365
-
4366
- ### 8. Anti-Hallucination Verification
4367
-
4368
- - **Source verification**: Every technical claim must be traceable to source documents
4369
- - **Architecture alignment**: full-stack-dev Notes content matches architecture specifications
4370
- - **No invented details**: Flag any technical decisions not supported by source documents
4371
- - **Reference accuracy**: Verify all source references are correct and accessible
4372
- - **Fact checking**: Cross-reference claims against epic and architecture documents
4373
-
4374
- ### 9. full-stack-dev Agent Implementation Readiness
4375
-
4376
- - **Self-contained context**: Can the story be implemented without reading external docs?
4377
- - **Clear instructions**: Are implementation steps unambiguous?
4378
- - **Complete technical context**: Are all required technical details present in full-stack-dev Notes?
4379
- - **Missing information**: Identify any critical information gaps
4380
- - **Actionability**: Are all tasks actionable by a development agent?
4381
-
4382
- ### 10. Generate Validation Report
4383
-
4384
- Provide a structured validation report including:
4385
-
4386
- #### Template Compliance Issues
4387
-
4388
- - Missing sections from story template
4389
- - Unfilled placeholders or template variables
4390
- - Structural formatting issues
4391
-
4392
- #### Critical Issues (Must Fix - Story Blocked)
4393
-
4394
- - Missing essential information for implementation
4395
- - Inaccurate or unverifiable technical claims
4396
- - Incomplete acceptance criteria coverage
4397
- - Missing required sections
4398
-
4399
- #### Should-Fix Issues (Important Quality Improvements)
4400
-
4401
- - Unclear implementation guidance
4402
- - Missing security considerations
4403
- - Task sequencing problems
4404
- - Incomplete testing instructions
4405
-
4406
- #### Nice-to-Have Improvements (Optional Enhancements)
4407
-
4408
- - Additional context that would help implementation
4409
- - Clarifications that would improve efficiency
4410
- - Documentation improvements
4411
-
4412
- #### Anti-Hallucination Findings
4413
-
4414
- - Unverifiable technical claims
4415
- - Missing source references
4416
- - Inconsistencies with architecture documents
4417
- - Invented libraries, patterns, or standards
4418
-
4419
- #### Final Assessment
4420
-
4421
- - **GO**: Story is ready for implementation
4422
- - **NO-GO**: Story requires fixes before implementation
4423
- - **Implementation Readiness Score**: 1-10 scale
4424
- - **Confidence Level**: High/Medium/Low for successful implementation
4425
-
4426
-
4427
- ---
4428
-