ardfw 0.1.0 → 0.1.2

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 (332) hide show
  1. package/package.json +3 -2
  2. package/src/project_config/AGENTICS.md +476 -13
  3. package/src/workflows/parent/_docs/architecture.md +220 -0
  4. package/src/workflows/parent/_docs/common-workflow-tools.csv +19 -0
  5. package/src/workflows/parent/_docs/csv-data-file-standards.md +206 -0
  6. package/src/workflows/parent/_docs/index.md +45 -0
  7. package/src/workflows/parent/_docs/intent-vs-prescriptive-spectrum.md +220 -0
  8. package/src/workflows/parent/_docs/kb.csv +0 -0
  9. package/src/workflows/parent/_docs/templates/step-01-init-continuable-template.md +241 -0
  10. package/src/workflows/parent/_docs/templates/step-1b-template.md +223 -0
  11. package/src/workflows/parent/_docs/templates/step-file.md +139 -0
  12. package/src/workflows/parent/_docs/templates/step-template.md +290 -0
  13. package/src/workflows/parent/_docs/templates/workflow-template.md +104 -0
  14. package/src/workflows/parent/_docs/templates/workflow.md +58 -0
  15. package/src/workflows/parent/_docs/terms.md +97 -0
  16. package/src/workflows/parent/_reference/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  17. package/src/workflows/parent/_reference/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  18. package/src/workflows/parent/_reference/meal-prep-nutrition/data/recipe-database.csv +28 -0
  19. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-01-init.md +177 -0
  20. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-01b-continue.md +121 -0
  21. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-02-profile.md +165 -0
  22. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-03-assessment.md +154 -0
  23. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-04-strategy.md +183 -0
  24. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-05-shopping.md +168 -0
  25. package/src/workflows/parent/_reference/meal-prep-nutrition/steps/step-06-prep-schedule.md +195 -0
  26. package/src/workflows/parent/_reference/meal-prep-nutrition/templates/assessment-section.md +25 -0
  27. package/src/workflows/parent/_reference/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  28. package/src/workflows/parent/_reference/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  29. package/src/workflows/parent/_reference/meal-prep-nutrition/templates/profile-section.md +47 -0
  30. package/src/workflows/parent/_reference/meal-prep-nutrition/templates/shopping-section.md +37 -0
  31. package/src/workflows/parent/_reference/meal-prep-nutrition/templates/strategy-section.md +18 -0
  32. package/src/workflows/parent/_reference/meal-prep-nutrition/workflow.md +59 -0
  33. package/src/workflows/parent/analysis/create-product-brief/product-brief.template.md +10 -0
  34. package/src/workflows/parent/analysis/create-product-brief/steps/step-01-init.md +182 -0
  35. package/src/workflows/parent/analysis/create-product-brief/steps/step-01b-continue.md +166 -0
  36. package/src/workflows/parent/analysis/create-product-brief/steps/step-02-vision.md +204 -0
  37. package/src/workflows/parent/analysis/create-product-brief/steps/step-03-users.md +207 -0
  38. package/src/workflows/parent/analysis/create-product-brief/steps/step-04-metrics.md +210 -0
  39. package/src/workflows/parent/analysis/create-product-brief/steps/step-05-scope.md +224 -0
  40. package/src/workflows/parent/analysis/create-product-brief/steps/step-06-complete.md +199 -0
  41. package/src/workflows/parent/analysis/create-product-brief/workflow.md +58 -0
  42. package/src/workflows/parent/analysis/research/domain-steps/step-01-init.md +137 -0
  43. package/src/workflows/parent/analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
  44. package/src/workflows/parent/analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
  45. package/src/workflows/parent/analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
  46. package/src/workflows/parent/analysis/research/domain-steps/step-05-technical-trends.md +234 -0
  47. package/src/workflows/parent/analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  48. package/src/workflows/parent/analysis/research/market-steps/step-01-init.md +182 -0
  49. package/src/workflows/parent/analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  50. package/src/workflows/parent/analysis/research/market-steps/step-02-customer-insights.md +200 -0
  51. package/src/workflows/parent/analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  52. package/src/workflows/parent/analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  53. package/src/workflows/parent/analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  54. package/src/workflows/parent/analysis/research/market-steps/step-06-research-completion.md +475 -0
  55. package/src/workflows/parent/analysis/research/research.template.md +29 -0
  56. package/src/workflows/parent/analysis/research/technical-steps/step-01-init.md +137 -0
  57. package/src/workflows/parent/analysis/research/technical-steps/step-02-technical-overview.md +239 -0
  58. package/src/workflows/parent/analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
  59. package/src/workflows/parent/analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
  60. package/src/workflows/parent/analysis/research/technical-steps/step-05-implementation-research.md +239 -0
  61. package/src/workflows/parent/analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  62. package/src/workflows/parent/analysis/research/workflow.md +173 -0
  63. package/src/workflows/parent/architecture/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
  64. package/src/workflows/parent/architecture/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  65. package/src/workflows/parent/architecture/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  66. package/src/workflows/parent/architecture/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  67. package/src/workflows/parent/architecture/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  68. package/src/workflows/parent/architecture/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
  69. package/src/workflows/parent/architecture/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  70. package/src/workflows/parent/architecture/check-implementation-readiness/workflow.md +55 -0
  71. package/src/workflows/parent/architecture/create-architecture/architecture-decision-template.md +12 -0
  72. package/src/workflows/parent/architecture/create-architecture/data/domain-complexity.csv +11 -0
  73. package/src/workflows/parent/architecture/create-architecture/data/project-types.csv +7 -0
  74. package/src/workflows/parent/architecture/create-architecture/steps/step-01-init.md +153 -0
  75. package/src/workflows/parent/architecture/create-architecture/steps/step-01b-continue.md +164 -0
  76. package/src/workflows/parent/architecture/create-architecture/steps/step-02-context.md +224 -0
  77. package/src/workflows/parent/architecture/create-architecture/steps/step-03-starter.md +331 -0
  78. package/src/workflows/parent/architecture/create-architecture/steps/step-04-decisions.md +318 -0
  79. package/src/workflows/parent/architecture/create-architecture/steps/step-05-patterns.md +359 -0
  80. package/src/workflows/parent/architecture/create-architecture/steps/step-06-structure.md +379 -0
  81. package/src/workflows/parent/architecture/create-architecture/steps/step-07-validation.md +359 -0
  82. package/src/workflows/parent/architecture/create-architecture/steps/step-08-complete.md +352 -0
  83. package/src/workflows/parent/architecture/create-architecture/workflow.md +50 -0
  84. package/src/workflows/parent/architecture/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
  85. package/src/workflows/parent/architecture/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
  86. package/src/workflows/parent/architecture/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
  87. package/src/workflows/parent/architecture/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
  88. package/src/workflows/parent/architecture/create-epics-and-stories/templates/epics-template.md +57 -0
  89. package/src/workflows/parent/architecture/create-epics-and-stories/workflow.md +59 -0
  90. package/src/workflows/parent/core/tasks/review-adversarial-general.xml +41 -0
  91. package/src/workflows/parent/core/tasks/validate-workflow.xml +89 -0
  92. package/src/workflows/parent/core/tasks/workflow.xml +235 -0
  93. package/src/workflows/parent/core/workflows/advanced-elicitation/methods.csv +51 -0
  94. package/src/workflows/parent/core/workflows/advanced-elicitation/workflow.xml +117 -0
  95. package/src/workflows/parent/core/workflows/brainstorming/brain-methods.csv +62 -0
  96. package/src/workflows/parent/core/workflows/brainstorming/steps/step-01-session-setup.md +197 -0
  97. package/src/workflows/parent/core/workflows/brainstorming/steps/step-01b-continue.md +122 -0
  98. package/src/workflows/parent/core/workflows/brainstorming/steps/step-02a-user-selected.md +225 -0
  99. package/src/workflows/parent/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +237 -0
  100. package/src/workflows/parent/core/workflows/brainstorming/steps/step-02c-random-selection.md +209 -0
  101. package/src/workflows/parent/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +264 -0
  102. package/src/workflows/parent/core/workflows/brainstorming/steps/step-03-technique-execution.md +340 -0
  103. package/src/workflows/parent/core/workflows/brainstorming/steps/step-04-idea-organization.md +303 -0
  104. package/src/workflows/parent/core/workflows/brainstorming/template.md +15 -0
  105. package/src/workflows/parent/core/workflows/brainstorming/workflow.md +51 -0
  106. package/src/workflows/parent/core/workflows/party-mode/steps/step-01-agent-loading.md +139 -0
  107. package/src/workflows/parent/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +204 -0
  108. package/src/workflows/parent/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  109. package/src/workflows/parent/core/workflows/party-mode/workflow.md +206 -0
  110. package/src/workflows/parent/create-module/steps/step-01-init.md +156 -0
  111. package/src/workflows/parent/create-module/steps/step-01b-continue.md +170 -0
  112. package/src/workflows/parent/create-module/steps/step-02-concept.md +218 -0
  113. package/src/workflows/parent/create-module/steps/step-03-components.md +268 -0
  114. package/src/workflows/parent/create-module/steps/step-04-structure.md +229 -0
  115. package/src/workflows/parent/create-module/steps/step-05-config.md +234 -0
  116. package/src/workflows/parent/create-module/steps/step-06-agents.md +297 -0
  117. package/src/workflows/parent/create-module/steps/step-07-workflows.md +229 -0
  118. package/src/workflows/parent/create-module/steps/step-08-installer.md +187 -0
  119. package/src/workflows/parent/create-module/steps/step-09-documentation.md +310 -0
  120. package/src/workflows/parent/create-module/steps/step-10-roadmap.md +338 -0
  121. package/src/workflows/parent/create-module/steps/step-11-validate.md +336 -0
  122. package/src/workflows/parent/create-module/templates/agent.template.md +313 -0
  123. package/src/workflows/parent/create-module/templates/installer.template.js +47 -0
  124. package/src/workflows/parent/create-module/templates/module-plan.template.md +5 -0
  125. package/src/workflows/parent/create-module/templates/module.template.yaml +53 -0
  126. package/src/workflows/parent/create-module/templates/workflow-plan-template.md +23 -0
  127. package/src/workflows/parent/create-module/validation.md +126 -0
  128. package/src/workflows/parent/create-module/workflow.md +88 -0
  129. package/src/workflows/parent/create-workflow/steps/step-01-init.md +158 -0
  130. package/src/workflows/parent/create-workflow/steps/step-02-gather.md +212 -0
  131. package/src/workflows/parent/create-workflow/steps/step-03-tools-configuration.md +251 -0
  132. package/src/workflows/parent/create-workflow/steps/step-04-plan-review.md +217 -0
  133. package/src/workflows/parent/create-workflow/steps/step-05-output-format-design.md +290 -0
  134. package/src/workflows/parent/create-workflow/steps/step-06-design.md +272 -0
  135. package/src/workflows/parent/create-workflow/steps/step-07-build.md +323 -0
  136. package/src/workflows/parent/create-workflow/steps/step-08-review.md +285 -0
  137. package/src/workflows/parent/create-workflow/steps/step-09-complete.md +188 -0
  138. package/src/workflows/parent/create-workflow/workflow.md +86 -0
  139. package/src/workflows/parent/document-project/checklist.md +245 -0
  140. package/src/workflows/parent/document-project/documentation-requirements.csv +12 -0
  141. package/src/workflows/parent/document-project/instructions.md +221 -0
  142. package/src/workflows/parent/document-project/templates/deep-dive-template.md +345 -0
  143. package/src/workflows/parent/document-project/templates/index-template.md +169 -0
  144. package/src/workflows/parent/document-project/templates/project-overview-template.md +103 -0
  145. package/src/workflows/parent/document-project/templates/project-scan-report-schema.json +160 -0
  146. package/src/workflows/parent/document-project/templates/source-tree-template.md +135 -0
  147. package/src/workflows/parent/document-project/workflow.yaml +30 -0
  148. package/src/workflows/parent/document-project/workflows/deep-dive-instructions.md +298 -0
  149. package/src/workflows/parent/document-project/workflows/deep-dive.yaml +31 -0
  150. package/src/workflows/parent/document-project/workflows/full-scan-instructions.md +1106 -0
  151. package/src/workflows/parent/document-project/workflows/full-scan.yaml +31 -0
  152. package/src/workflows/parent/edit-workflow/steps/step-01-analyze.md +217 -0
  153. package/src/workflows/parent/edit-workflow/steps/step-02-discover.md +254 -0
  154. package/src/workflows/parent/edit-workflow/steps/step-03-improve.md +218 -0
  155. package/src/workflows/parent/edit-workflow/steps/step-04-validate.md +194 -0
  156. package/src/workflows/parent/edit-workflow/steps/step-05-compliance-check.md +246 -0
  157. package/src/workflows/parent/edit-workflow/templates/completion-summary.md +75 -0
  158. package/src/workflows/parent/edit-workflow/templates/improvement-goals.md +68 -0
  159. package/src/workflows/parent/edit-workflow/templates/improvement-log.md +40 -0
  160. package/src/workflows/parent/edit-workflow/templates/validation-results.md +51 -0
  161. package/src/workflows/parent/edit-workflow/templates/workflow-analysis.md +56 -0
  162. package/src/workflows/parent/edit-workflow/workflow.md +59 -0
  163. package/src/workflows/parent/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
  164. package/src/workflows/parent/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
  165. package/src/workflows/parent/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
  166. package/src/workflows/parent/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
  167. package/src/workflows/parent/excalidraw-diagrams/create-dataflow/workflow.yaml +27 -0
  168. package/src/workflows/parent/excalidraw-diagrams/create-diagram/checklist.md +43 -0
  169. package/src/workflows/parent/excalidraw-diagrams/create-diagram/instructions.md +141 -0
  170. package/src/workflows/parent/excalidraw-diagrams/create-diagram/workflow.yaml +27 -0
  171. package/src/workflows/parent/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
  172. package/src/workflows/parent/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
  173. package/src/workflows/parent/excalidraw-diagrams/create-flowchart/workflow.yaml +27 -0
  174. package/src/workflows/parent/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
  175. package/src/workflows/parent/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
  176. package/src/workflows/parent/excalidraw-diagrams/create-wireframe/workflow.yaml +27 -0
  177. package/src/workflows/parent/generate-project-context/project-context-template.md +21 -0
  178. package/src/workflows/parent/generate-project-context/steps/step-01-discover.md +184 -0
  179. package/src/workflows/parent/generate-project-context/steps/step-02-generate.md +318 -0
  180. package/src/workflows/parent/generate-project-context/steps/step-03-complete.md +278 -0
  181. package/src/workflows/parent/generate-project-context/workflow.md +49 -0
  182. package/src/workflows/parent/parent.yaml +168 -0
  183. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
  184. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
  185. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
  186. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
  187. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
  188. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
  189. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
  190. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
  191. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
  192. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
  193. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
  194. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
  195. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
  196. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
  197. package/src/workflows/parent/plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
  198. package/src/workflows/parent/plan-workflows/create-ux-design/ux-design-template.md +13 -0
  199. package/src/workflows/parent/plan-workflows/create-ux-design/workflow.md +43 -0
  200. package/src/workflows/parent/plan-workflows/prd/domain-complexity.csv +13 -0
  201. package/src/workflows/parent/plan-workflows/prd/prd-template.md +11 -0
  202. package/src/workflows/parent/plan-workflows/prd/project-types.csv +11 -0
  203. package/src/workflows/parent/plan-workflows/prd/steps/step-01-init.md +197 -0
  204. package/src/workflows/parent/plan-workflows/prd/steps/step-01b-continue.md +166 -0
  205. package/src/workflows/parent/plan-workflows/prd/steps/step-02-discovery.md +421 -0
  206. package/src/workflows/parent/plan-workflows/prd/steps/step-03-success.md +290 -0
  207. package/src/workflows/parent/plan-workflows/prd/steps/step-04-journeys.md +291 -0
  208. package/src/workflows/parent/plan-workflows/prd/steps/step-05-domain.md +271 -0
  209. package/src/workflows/parent/plan-workflows/prd/steps/step-06-innovation.md +262 -0
  210. package/src/workflows/parent/plan-workflows/prd/steps/step-07-project-type.md +258 -0
  211. package/src/workflows/parent/plan-workflows/prd/steps/step-08-scoping.md +299 -0
  212. package/src/workflows/parent/plan-workflows/prd/steps/step-09-functional.md +270 -0
  213. package/src/workflows/parent/plan-workflows/prd/steps/step-10-nonfunctional.md +294 -0
  214. package/src/workflows/parent/plan-workflows/prd/steps/step-11-complete.md +186 -0
  215. package/src/workflows/parent/plan-workflows/prd/workflow.md +63 -0
  216. package/src/workflows/parent/quick-flow/create-tech-spec/steps/step-01-understand.md +189 -0
  217. package/src/workflows/parent/quick-flow/create-tech-spec/steps/step-02-investigate.md +144 -0
  218. package/src/workflows/parent/quick-flow/create-tech-spec/steps/step-03-generate.md +128 -0
  219. package/src/workflows/parent/quick-flow/create-tech-spec/steps/step-04-review.md +173 -0
  220. package/src/workflows/parent/quick-flow/create-tech-spec/tech-spec-template.md +74 -0
  221. package/src/workflows/parent/quick-flow/create-tech-spec/workflow.md +79 -0
  222. package/src/workflows/parent/quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  223. package/src/workflows/parent/quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  224. package/src/workflows/parent/quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  225. package/src/workflows/parent/quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  226. package/src/workflows/parent/quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  227. package/src/workflows/parent/quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  228. package/src/workflows/parent/quick-flow/quick-dev/workflow.md +52 -0
  229. package/src/workflows/parent/workflow-status/init/instructions.md +346 -0
  230. package/src/workflows/parent/workflow-status/init/workflow.yaml +30 -0
  231. package/src/workflows/parent/workflow-status/instructions.md +395 -0
  232. package/src/workflows/parent/workflow-status/paths/enterprise-brownfield.yaml +103 -0
  233. package/src/workflows/parent/workflow-status/paths/enterprise-greenfield.yaml +100 -0
  234. package/src/workflows/parent/workflow-status/paths/method-brownfield.yaml +103 -0
  235. package/src/workflows/parent/workflow-status/paths/method-greenfield.yaml +100 -0
  236. package/src/workflows/parent/workflow-status/project-levels.yaml +59 -0
  237. package/src/workflows/parent/workflow-status/workflow-status-template.yaml +24 -0
  238. package/src/workflows/parent/workflow-status/workflow.yaml +32 -0
  239. package/src/workflows/subagent/_templates/step.template.md +50 -0
  240. package/src/workflows/subagent/_templates/workflow.template.md +63 -0
  241. package/src/workflows/subagent/agent-dev/agent-capability-assessment/workflow.md +87 -0
  242. package/src/workflows/subagent/agent-dev/create-agent-spec/steps/step-01-analyze.md +48 -0
  243. package/src/workflows/subagent/agent-dev/create-agent-spec/steps/step-02-design.md +52 -0
  244. package/src/workflows/subagent/agent-dev/create-agent-spec/steps/step-03-define.md +53 -0
  245. package/src/workflows/subagent/agent-dev/create-agent-spec/steps/step-04-document.md +52 -0
  246. package/src/workflows/subagent/agent-dev/create-agent-spec/workflow.md +115 -0
  247. package/src/workflows/subagent/agent-dev/create-custom-skill/workflow.md +96 -0
  248. package/src/workflows/subagent/agent-dev/design-agent-workflow/steps/step-01-analyze.md +47 -0
  249. package/src/workflows/subagent/agent-dev/design-agent-workflow/steps/step-02-design.md +52 -0
  250. package/src/workflows/subagent/agent-dev/design-agent-workflow/workflow.md +101 -0
  251. package/src/workflows/subagent/agent-dev/update-agent-definition/workflow.md +81 -0
  252. package/src/workflows/subagent/analyst/analyze-requirements/steps/step-01-gather.md +48 -0
  253. package/src/workflows/subagent/analyst/analyze-requirements/steps/step-02-analyze.md +53 -0
  254. package/src/workflows/subagent/analyst/analyze-requirements/steps/step-03-prioritize.md +55 -0
  255. package/src/workflows/subagent/analyst/analyze-requirements/steps/step-04-document.md +57 -0
  256. package/src/workflows/subagent/analyst/analyze-requirements/workflow.md +92 -0
  257. package/src/workflows/subagent/analyst/competitive-analysis/steps/step-01-identify.md +46 -0
  258. package/src/workflows/subagent/analyst/competitive-analysis/steps/step-02-research.md +51 -0
  259. package/src/workflows/subagent/analyst/competitive-analysis/steps/step-03-analyze.md +51 -0
  260. package/src/workflows/subagent/analyst/competitive-analysis/workflow.md +90 -0
  261. package/src/workflows/subagent/analyst/define-metrics/workflow.md +94 -0
  262. package/src/workflows/subagent/analyst/gap-analysis/workflow.md +120 -0
  263. package/src/workflows/subagent/analyst/impact-assessment/workflow.md +98 -0
  264. package/src/workflows/subagent/architect/create-adr/workflow.md +109 -0
  265. package/src/workflows/subagent/architect/define-api-contracts/workflow.md +125 -0
  266. package/src/workflows/subagent/architect/design-component/steps/step-01-analyze.md +50 -0
  267. package/src/workflows/subagent/architect/design-component/steps/step-02-design.md +60 -0
  268. package/src/workflows/subagent/architect/design-component/steps/step-03-document.md +61 -0
  269. package/src/workflows/subagent/architect/design-component/workflow.md +84 -0
  270. package/src/workflows/subagent/architect/review-architecture/workflow.md +84 -0
  271. package/src/workflows/subagent/architect/select-technology/workflow.md +91 -0
  272. package/src/workflows/subagent/data-science/data-quality-assessment/workflow.md +97 -0
  273. package/src/workflows/subagent/data-science/design-ab-test/steps/step-01-hypothesis.md +48 -0
  274. package/src/workflows/subagent/data-science/design-ab-test/steps/step-02-design.md +55 -0
  275. package/src/workflows/subagent/data-science/design-ab-test/steps/step-03-analysis-plan.md +51 -0
  276. package/src/workflows/subagent/data-science/design-ab-test/workflow.md +116 -0
  277. package/src/workflows/subagent/data-science/design-metrics/steps/step-01-understand.md +48 -0
  278. package/src/workflows/subagent/data-science/design-metrics/steps/step-02-design.md +51 -0
  279. package/src/workflows/subagent/data-science/design-metrics/workflow.md +99 -0
  280. package/src/workflows/subagent/data-science/model-selection/workflow.md +108 -0
  281. package/src/workflows/subagent/data-science/statistical-analysis/workflow.md +105 -0
  282. package/src/workflows/subagent/dev/code-review/workflow.md +91 -0
  283. package/src/workflows/subagent/dev/fix-bug/workflow.md +82 -0
  284. package/src/workflows/subagent/dev/implement-feature/steps/step-01-analyze.md +48 -0
  285. package/src/workflows/subagent/dev/implement-feature/steps/step-02-implement.md +53 -0
  286. package/src/workflows/subagent/dev/implement-feature/steps/step-03-test.md +53 -0
  287. package/src/workflows/subagent/dev/implement-feature/steps/step-04-document.md +52 -0
  288. package/src/workflows/subagent/dev/implement-feature/workflow.md +93 -0
  289. package/src/workflows/subagent/dev/refactor-code/workflow.md +100 -0
  290. package/src/workflows/subagent/dev/write-tests/workflow.md +87 -0
  291. package/src/workflows/subagent/meta-agent/agent-consistency-check/workflow.md +89 -0
  292. package/src/workflows/subagent/meta-agent/agent-deprecation-plan/workflow.md +120 -0
  293. package/src/workflows/subagent/meta-agent/agent-ecosystem-audit/steps/step-01-inventory.md +48 -0
  294. package/src/workflows/subagent/meta-agent/agent-ecosystem-audit/steps/step-02-analyze.md +53 -0
  295. package/src/workflows/subagent/meta-agent/agent-ecosystem-audit/steps/step-03-recommend.md +51 -0
  296. package/src/workflows/subagent/meta-agent/agent-ecosystem-audit/workflow.md +108 -0
  297. package/src/workflows/subagent/meta-agent/create-agent-cluster/workflow.md +102 -0
  298. package/src/workflows/subagent/meta-agent/design-agent-orchestration/steps/step-01-analyze.md +49 -0
  299. package/src/workflows/subagent/meta-agent/design-agent-orchestration/steps/step-02-design.md +51 -0
  300. package/src/workflows/subagent/meta-agent/design-agent-orchestration/workflow.md +108 -0
  301. package/src/workflows/subagent/pm/define-acceptance-criteria/workflow.md +92 -0
  302. package/src/workflows/subagent/pm/prioritize-features/steps/step-01-analyze.md +51 -0
  303. package/src/workflows/subagent/pm/prioritize-features/steps/step-02-prioritize.md +49 -0
  304. package/src/workflows/subagent/pm/prioritize-features/workflow.md +91 -0
  305. package/src/workflows/subagent/pm/release-planning/workflow.md +105 -0
  306. package/src/workflows/subagent/pm/scope-feature/workflow.md +95 -0
  307. package/src/workflows/subagent/pm/write-user-story/workflow.md +89 -0
  308. package/src/workflows/subagent/sm/facilitate-retrospective/steps/step-01-prepare.md +49 -0
  309. package/src/workflows/subagent/sm/facilitate-retrospective/steps/step-02-facilitate.md +53 -0
  310. package/src/workflows/subagent/sm/facilitate-retrospective/workflow.md +96 -0
  311. package/src/workflows/subagent/sm/identify-blockers/workflow.md +97 -0
  312. package/src/workflows/subagent/sm/process-improvement/workflow.md +109 -0
  313. package/src/workflows/subagent/sm/sprint-planning-support/workflow.md +100 -0
  314. package/src/workflows/subagent/sm/team-health-check/workflow.md +109 -0
  315. package/src/workflows/subagent/subagent.yaml +252 -0
  316. package/src/workflows/subagent/tech-writer/create-guide/steps/step-01-research.md +48 -0
  317. package/src/workflows/subagent/tech-writer/create-guide/steps/step-02-write.md +51 -0
  318. package/src/workflows/subagent/tech-writer/create-guide/workflow.md +84 -0
  319. package/src/workflows/subagent/tech-writer/document-api/workflow.md +115 -0
  320. package/src/workflows/subagent/tech-writer/document-feature/workflow.md +115 -0
  321. package/src/workflows/subagent/tech-writer/write-readme/workflow.md +116 -0
  322. package/src/workflows/subagent/tech-writer/write-release-notes/workflow.md +109 -0
  323. package/src/workflows/subagent/ux-designer/accessibility-audit/workflow.md +100 -0
  324. package/src/workflows/subagent/ux-designer/create-wireframes/workflow.md +113 -0
  325. package/src/workflows/subagent/ux-designer/design-component/steps/step-01-research.md +48 -0
  326. package/src/workflows/subagent/ux-designer/design-component/steps/step-02-design.md +56 -0
  327. package/src/workflows/subagent/ux-designer/design-component/workflow.md +100 -0
  328. package/src/workflows/subagent/ux-designer/design-review/workflow.md +88 -0
  329. package/src/workflows/subagent/ux-designer/user-flow-analysis/workflow.md +99 -0
  330. package/tools/cli/commands/install.js +7 -1
  331. package/tools/cli/lib/config.js +54 -4
  332. package/tools/cli/lib/installer.js +211 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ardfw",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Agentics Framework CLI - Multi-agent system for Claude Code and OpenCode",
5
5
  "bin": {
6
6
  "ardfw": "tools/ard-npx-wrapper.js",
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "files": [
10
10
  "tools/",
11
- "src/project_config/"
11
+ "src/project_config/",
12
+ "src/workflows/"
12
13
  ],
13
14
  "scripts": {
14
15
  "test": "echo \"No tests yet\"",
@@ -1,19 +1,482 @@
1
- # Project: {{PROJECT_NAME}}
1
+ # AGENTICS Framework Reference
2
2
 
3
- ## Overview
4
- <!-- Describe your project here -->
3
+ > Agent-facing documentation for the Agentics multi-agent framework.
5
4
 
6
- ## Tech Stack
7
- <!-- List key technologies, frameworks, and tools -->
5
+ This document consolidates prompt engineering guidelines, subagent specifications, and workflow patterns into a single reference for agents operating within the framework.
8
6
 
9
- ## Project Structure
10
- <!-- Describe directory layout and organization -->
7
+ ---
11
8
 
12
- ## Conventions
13
- <!-- Document coding conventions, naming patterns, etc. -->
9
+ ## Table of Contents
14
10
 
15
- ## Development Commands
16
- <!-- Common dev commands for building, testing, running -->
11
+ 1. [Prompt Engineering Framework](#1-prompt-engineering-framework)
12
+ 2. [Subagent Reference](#2-subagent-reference)
13
+ 3. [Workflow Categories](#3-workflow-categories)
14
+ 4. [When to Use Parent vs Subagent Workflows](#4-when-to-use-parent-vs-subagent-workflows)
15
+ 5. [Invocation Patterns](#5-invocation-patterns)
17
16
 
18
- ## Notes for AI Agents
19
- <!-- Special instructions, constraints, or context for AI assistance -->
17
+ ---
18
+
19
+ ## 1. Prompt Engineering Framework
20
+
21
+ > Scale your compute to scale your impact. Each agentic prompt you write can be used, reused, and chained.
22
+
23
+ ### 1.1 Prompt Levels
24
+
25
+ Prompts are structured at four levels of complexity:
26
+
27
+ | Level | Name | Description | Difficulty |
28
+ |-------|------|-------------|------------|
29
+ | **L1** | Metadata | Frontmatter: description, tools, arguments, model | C Tier |
30
+ | **L2** | Workflow | Sequential numbered steps | C Tier |
31
+ | **L3** | Control Flow | Conditions and loops with `<loop>` XML blocks | B Tier |
32
+ | **L4** | Delegation | Sub-agent invocation via Task tool | A Tier |
33
+
34
+ ### 1.2 Prompt Sections & Tier System
35
+
36
+ Include sections based on prompt complexity:
37
+
38
+ | Section | Description | Tier |
39
+ |---------|-------------|------|
40
+ | **Metadata** | Frontmatter with description, allowed-tools, argument-hints, model | C |
41
+ | **Workflow** | Sequential activities to perform | C |
42
+ | **Report** | Output format specification | C |
43
+ | **Information** | System context and structure (precedes workflow) | B |
44
+ | **Variables** | What the agent works with (inputs, paths, configs) | A |
45
+ | **Context Map** | Files/resources to fetch before execution | A |
46
+ | **Quality Checklist** | Validation criteria for output | S |
47
+
48
+ **Tier Progression:**
49
+ - **C Tier**: Metadata + Workflow + Report (simple commands)
50
+ - **B Tier**: + Information (contextual commands)
51
+ - **A Tier**: + Variables + Context Map (complex commands)
52
+ - **S Tier**: + Quality Checklist (production-grade)
53
+
54
+ ### 1.3 Metadata Fields
55
+
56
+ ```yaml
57
+ ---
58
+ name: command-name
59
+ description: When to invoke and what it does
60
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
61
+ argument-hints: [arg1] [arg2]
62
+ model: sonnet | opus | haiku
63
+ ---
64
+ ```
65
+
66
+ ### 1.4 Control Flow with XML Blocks
67
+
68
+ For repeating operations, use XML loop blocks:
69
+
70
+ ```markdown
71
+ ## Workflow
72
+
73
+ 1. Initialize environment
74
+ 2. For each item, execute the processing loop:
75
+
76
+ <process-loop>
77
+ - Load item from queue
78
+ - Transform data
79
+ - Validate output
80
+ - Save results
81
+ </process-loop>
82
+
83
+ 3. Generate summary report
84
+ ```
85
+
86
+ ### 1.5 Step-File Architecture
87
+
88
+ Workflows use micro-file design with strict execution rules:
89
+
90
+ **Principles:**
91
+ - **Micro-file design**: One step per file
92
+ - **Just-in-time loading**: Only current step in memory
93
+ - **Sequential enforcement**: No skipping or optimization
94
+ - **State tracking**: Progress in frontmatter `stepsCompleted` array
95
+ - **Append-only building**: Documents grow through steps
96
+
97
+ **Execution Rules:**
98
+ - NEVER load multiple step files simultaneously
99
+ - ALWAYS read entire step file before execution
100
+ - NEVER skip steps or optimize sequence
101
+ - ALWAYS update frontmatter when completing steps
102
+ - For parent workflows: HALT at menus for user input
103
+ - For subagent workflows: AUTO-PROCEED through all steps
104
+
105
+ ---
106
+
107
+ ## 2. Subagent Reference
108
+
109
+ > Subagents execute delegated tasks without parent context. They are prompted by the parent agent, not the user.
110
+
111
+ ### 2.1 Context Engineering Principles
112
+
113
+ - **Reduce Context**: Less context = better focus = predictable responses
114
+ - **Delegate**: Offload work without polluting parent context window
115
+ - **Isolate**: Subagents have no awareness of each other
116
+
117
+ ### 2.2 Agent Registry
118
+
119
+ | Agent | Role | Model | Tools | Access |
120
+ |-------|------|-------|-------|--------|
121
+ | **architect** | System design, tech stack decisions | opus | Read, Glob, Grep, WebFetch, WebSearch | read-only |
122
+ | **analyst** | Business analysis, requirements, metrics | sonnet | Read, Glob, Grep, WebFetch, WebSearch | read-only |
123
+ | **dev** | Implementation, debugging, testing | sonnet | Read, Write, Edit, Bash, Grep, Glob | write |
124
+ | **pm** | Product management, PRDs, priorities | opus | Read, Glob, Grep, WebFetch, WebSearch | read-only |
125
+ | **ux-designer** | UI/UX design, accessibility | sonnet | Read, Glob, Grep, WebFetch | read-only |
126
+ | **tech-writer** | Documentation, guides, API docs | sonnet | Read, Glob, Grep, WebFetch | read-only |
127
+ | **data-science** | Analytics, ML, A/B testing | sonnet | Read, Glob, Grep, WebFetch, WebSearch | read-only |
128
+ | **sm** | Process coordination, blockers | sonnet | Read, Glob, Grep | read-only |
129
+ | **agent-dev** | Agent specifications, workflows | opus | Read, Write, Edit, Glob, Grep, Bash | write |
130
+ | **meta-agent** | Ecosystem management, audits | opus | Read, Write, Edit, Glob, Grep, Bash | write |
131
+
132
+ ### 2.3 When to Invoke Each Agent
133
+
134
+ | Agent | Delegate When | Use Proactively |
135
+ |-------|---------------|-----------------|
136
+ | **architect** | PRD needs technical translation, tech stack decisions | Designing new systems, reviewing architectures |
137
+ | **analyst** | Business questions need data-driven answers | Requirements elicitation, impact assessment |
138
+ | **dev** | Implementing features from specs, fixing bugs | After bug reports, code review requests |
139
+ | **pm** | Translating user needs into PRDs | New feature requests, prioritization needed |
140
+ | **ux-designer** | Designing interfaces, accessibility audits | Frontend UX quality review |
141
+ | **tech-writer** | APIs need documentation | After dev completes implementation |
142
+ | **data-science** | Metrics definition, A/B test design | Compute optimization, statistical validation |
143
+ | **sm** | Multi-agent coordination needed, blockers arise | Process improvement, workflow optimization |
144
+ | **agent-dev** | Creating new agents, updating definitions | Agent capability assessment |
145
+ | **meta-agent** | Ecosystem audit, orchestration design | Agent consistency checks |
146
+
147
+ ### 2.4 Isolation Protocol
148
+
149
+ All subagents follow strict isolation rules:
150
+
151
+ 1. **Cannot communicate** directly with other sub-agents
152
+ 2. **Cannot spawn** or invoke other sub-agents
153
+ 3. **All outputs** return exclusively to the parent agent
154
+ 4. **No cross-agent awareness** - each operates independently
155
+ 5. **Sequential chaining** managed only by parent agent
156
+
157
+ ### 2.5 Agent Definition Structure
158
+
159
+ Agent files in `src/system_config/agents/*.md` follow this structure:
160
+
161
+ ```markdown
162
+ ---
163
+ name: agent-name
164
+ description: Trigger condition and purpose
165
+ tools: Read, Glob, Grep
166
+ model: sonnet
167
+ ---
168
+
169
+ # Agent Name
170
+
171
+ ## Use Cases
172
+ - Delegate when...
173
+ - Use proactively when...
174
+
175
+ ## Objectives
176
+ - Primary goals
177
+
178
+ ## Constraints
179
+ - Boundaries and limitations
180
+
181
+ ## Communication Protocol
182
+ [Standard isolation rules]
183
+
184
+ ## Report Format
185
+ [Output structure]
186
+ ```
187
+
188
+ ---
189
+
190
+ ## 3. Workflow Organization
191
+
192
+ ### 3.1 Workflow Modules
193
+
194
+ **Workflow Modules** are top-level organizational folders that group related workflows together. Each module:
195
+ - Contains one or more related workflows
196
+ - Has a dedicated artifact output folder in `_ard/artifacts/{module-name}/`
197
+ - Is registered in `src/workflows/parent/parent.yaml`
198
+
199
+ **Parent Workflow Modules:**
200
+
201
+ | Module | Description | Workflows | Artifact Path |
202
+ |--------|-------------|-----------|---------------|
203
+ | `analysis` | Discovery and research | create-product-brief, research | `{artifacts.analysis}` |
204
+ | `plan-workflows` | Requirements and UX | prd, create-ux-design | `{artifacts.plan-workflows}` |
205
+ | `architecture` | System design | create-architecture, create-epics-and-stories, check-implementation-readiness | `{artifacts.architecture}` |
206
+ | `quick-flow` | Rapid development | create-tech-spec, quick-dev | `{artifacts.quick-flow}` |
207
+ | `core` | Support workflows | party-mode, brainstorming | - |
208
+
209
+ **Standalone Workflows** (no module):
210
+ - `create-workflow`, `edit-workflow`, `create-module` - Meta/framework extension
211
+ - `document-project`, `generate-project-context` - Utility
212
+
213
+ ### 3.2 Creating New Workflows & Modules
214
+
215
+ When creating new workflows or modules:
216
+
217
+ 1. **New Workflow in Existing Module:**
218
+ - Add workflow folder to `src/workflows/parent/{module-name}/{workflow-name}/`
219
+ - Register in `parent.yaml` under the module's `workflows:` section
220
+
221
+ 2. **New Module:**
222
+ - Create folder `src/workflows/parent/{module-name}/`
223
+ - Add module definition to `parent.yaml`
224
+ - Add artifact path to `config.js`: `artifacts.{module-name}`
225
+
226
+ Use `/create-workflow` to create a new workflow, or `/create-module` to create a new module.
227
+
228
+ ### 3.3 Parent Workflows (Interactive)
229
+
230
+ Parent workflows require **user collaboration** at decision points. They use menu gates where users select options to proceed.
231
+
232
+ *Full inventory: `src/workflows/parent/parent.yaml`*
233
+
234
+ ### 3.4 Subagent Workflows (Non-interactive)
235
+
236
+ Subagent workflows execute **autonomously** without user gates. They have defined input/output contracts.
237
+
238
+ | Agent | Example Workflows | Complexity | Total |
239
+ |-------|-------------------|------------|-------|
240
+ | **architect** | design-component, review-architecture, select-technology, create-adr, define-api-contracts | 1 multi-step, 4 simple | 5 |
241
+ | **analyst** | analyze-requirements, competitive-analysis, define-metrics, impact-assessment, gap-analysis | 2 multi-step, 3 simple | 5 |
242
+ | **dev** | implement-feature, fix-bug, code-review, write-tests, refactor-code | 1 multi-step, 4 simple | 5 |
243
+ | **pm** | write-user-story, prioritize-features, scope-feature, define-acceptance-criteria, release-planning | 1 multi-step, 4 simple | 5 |
244
+ | **ux-designer** | design-component, accessibility-audit, user-flow-analysis, design-review, create-wireframes | 1 multi-step, 4 simple | 5 |
245
+ | **tech-writer** | document-api, write-readme, create-guide, document-feature, write-release-notes | 1 multi-step, 4 simple | 5 |
246
+ | **data-science** | design-metrics, design-ab-test, model-selection, data-quality-assessment, statistical-analysis | 2 multi-step, 3 simple | 5 |
247
+ | **sm** | identify-blockers, facilitate-retrospective, process-improvement, sprint-planning-support, team-health-check | 1 multi-step, 4 simple | 5 |
248
+ | **agent-dev** | create-agent-spec, design-agent-workflow, update-agent-definition, agent-capability-assessment, create-custom-skill | 2 multi-step, 3 simple | 5 |
249
+ | **meta-agent** | agent-ecosystem-audit, design-agent-orchestration, agent-consistency-check, create-agent-cluster, agent-deprecation-plan | 2 multi-step, 3 simple | 5 |
250
+
251
+ **Totals:** 10 agents, 50 workflows (15 multi-step, 35 simple)
252
+
253
+ *Full inventory: `src/workflows/subagent/subagent.yaml`*
254
+
255
+ ---
256
+
257
+ ## 4. When to Use Parent vs Subagent Workflows
258
+
259
+ ### 4.1 Use Parent Workflows When:
260
+
261
+ - **User collaboration required** at decision points
262
+ - **Discovery-driven work** - exploring product vision, requirements, architecture
263
+ - **Sequential human decisions** needed throughout the process
264
+ - **Multi-step facilitation** requiring guidance at each stage
265
+ - **Building planning artifacts** through dialogue (PRDs, specs, architecture docs)
266
+ - **Strategic planning** with multiple options to evaluate
267
+
268
+ **Key Indicator:** If the task requires "what do you think?" or "which option?" questions, use a parent workflow.
269
+
270
+ ### 4.2 Use Subagent Workflows When:
271
+
272
+ - **Task can execute autonomously** without user gates
273
+ - **Clear input contract** leads to **predictable output**
274
+ - **Specialist expertise** needed (data science analysis, UX audit, code review)
275
+ - **Re-usable building block** within larger parent workflows
276
+ - **Delegated work** that doesn't need human review per step
277
+ - **Context isolation** is beneficial (reduce parent context pollution)
278
+
279
+ **Key Indicator:** If you can fully specify the task upfront with clear inputs and expected outputs, use a subagent workflow.
280
+
281
+ ### 4.3 Decision Matrix
282
+
283
+ | Scenario | Use |
284
+ |----------|-----|
285
+ | "Help me figure out the product requirements" | Parent: prd |
286
+ | "Analyze these requirements and document gaps" | Subagent: analyst/analyze-requirements |
287
+ | "Design the system architecture" | Parent: create-architecture |
288
+ | "Review this architecture for issues" | Subagent: architect/review-architecture |
289
+ | "Implement user authentication" | Subagent: dev/implement-feature |
290
+ | "Create a tech spec for this feature" | Parent: create-tech-spec |
291
+ | "Write tests for this module" | Subagent: dev/write-tests |
292
+ | "Help me prioritize the backlog" | Parent (if discussion needed) OR Subagent: pm/prioritize-features |
293
+
294
+ ---
295
+
296
+ ## 5. Invocation Patterns
297
+
298
+ ### 5.1 Task Tool - Subagent Delegation
299
+
300
+ Use the Task tool to delegate work to a subagent:
301
+
302
+ ```markdown
303
+ Use Task tool:
304
+ subagent_type: dev
305
+ prompt: |
306
+ Execute workflow: implement-feature
307
+
308
+ Input:
309
+ specification: |
310
+ Add user authentication with JWT tokens.
311
+ - Login endpoint POST /auth/login
312
+ - Register endpoint POST /auth/register
313
+ - Protected routes require Bearer token
314
+ target_files:
315
+ - src/routes/auth.ts
316
+ - src/middleware/auth.ts
317
+ ```
318
+
319
+ ### 5.2 Parent Workflow Loading
320
+
321
+ To execute a parent workflow:
322
+
323
+ ```markdown
324
+ Load workflow: src/workflows/parent/bmad-quick-flow/create-tech-spec/workflow.md
325
+
326
+ Execute following step-file rules:
327
+ 1. Read entire step file before taking action
328
+ 2. Execute step instructions in order
329
+ 3. HALT at menu options and wait for user selection
330
+ 4. Update stepsCompleted array in frontmatter on completion
331
+ 5. Load next step file only after current step completes
332
+ ```
333
+
334
+ ### 5.3 Subagent Workflow from Parent
335
+
336
+ When a parent workflow delegates to a subagent with a specific workflow:
337
+
338
+ ```markdown
339
+ <delegate>
340
+ Use Task tool:
341
+ subagent_type: analyst
342
+ prompt: |
343
+ Execute workflow: analyze-requirements
344
+
345
+ Input:
346
+ project_context: "E-commerce platform redesign for mobile-first experience"
347
+ stakeholders:
348
+ - product team
349
+ - engineering leads
350
+ - design team
351
+ existing_docs:
352
+ - docs/current-requirements.md
353
+ - docs/user-research.md
354
+ </delegate>
355
+ ```
356
+
357
+ ### 5.4 Parallel Subagent Execution
358
+
359
+ For independent tasks, invoke multiple subagents in parallel:
360
+
361
+ ```markdown
362
+ <delegate-parallel>
363
+ 1. Use Task tool:
364
+ subagent_type: architect
365
+ prompt: Execute workflow: review-architecture
366
+ Input: { architecture_docs: ["docs/system-design.md"] }
367
+
368
+ 2. Use Task tool:
369
+ subagent_type: analyst
370
+ prompt: Execute workflow: impact-assessment
371
+ Input: { change_description: "Migrating to microservices" }
372
+
373
+ 3. Use Task tool:
374
+ subagent_type: data-science
375
+ prompt: Execute workflow: design-metrics
376
+ Input: { business_objective: "Improve checkout conversion" }
377
+ </delegate-parallel>
378
+ ```
379
+
380
+ ---
381
+
382
+ ## Quick Reference
383
+
384
+ ### Prompt Tier Quick Selection
385
+
386
+ | Complexity | Tier | Include |
387
+ |------------|------|---------|
388
+ | Simple command | C | Metadata, Workflow, Report |
389
+ | Context-aware | B | + Information |
390
+ | Complex with inputs | A | + Variables, Context Map |
391
+ | Production-grade | S | + Quality Checklist |
392
+
393
+ ### Agent Quick Selection
394
+
395
+ | Need | Agent |
396
+ |------|-------|
397
+ | Design systems | architect |
398
+ | Analyze data/requirements | analyst |
399
+ | Write code | dev |
400
+ | Define product | pm |
401
+ | Design UI | ux-designer |
402
+ | Write docs | tech-writer |
403
+ | Design experiments | data-science |
404
+ | Coordinate work | sm |
405
+ | Create agents | agent-dev |
406
+ | Manage ecosystem | meta-agent |
407
+
408
+ ### Workflow Quick Selection
409
+
410
+ | Interactive? | User decisions? | Use |
411
+ |--------------|-----------------|-----|
412
+ | Yes | Multiple | Parent workflow |
413
+ | No | Upfront only | Subagent workflow |
414
+
415
+ ---
416
+
417
+ ## Configuration
418
+
419
+ Framework configuration: `_ard/config.yaml`
420
+
421
+ ```yaml
422
+ # Artifact output paths by module
423
+ artifacts:
424
+ base: _ard/artifacts
425
+ # Parent workflow modules
426
+ analysis: _ard/artifacts/analysis
427
+ plan-workflows: _ard/artifacts/plan-workflows
428
+ architecture: _ard/artifacts/architecture
429
+ quick-flow: _ard/artifacts/quick-flow
430
+ # Subagent categories
431
+ analyst: _ard/artifacts/analyst
432
+ architect: _ard/artifacts/architect
433
+ # ... (one per agent type)
434
+
435
+ # Workflow locations (system vs project separation)
436
+ workflows:
437
+ system:
438
+ parent: _ard/workflows/system/parent
439
+ subagent: _ard/workflows/system/subagent
440
+ project:
441
+ parent: _ard/workflows/project/parent
442
+ subagent: _ard/workflows/project/subagent
443
+ ```
444
+
445
+ ### Workflow Directory Structure
446
+
447
+ ```
448
+ _ard/workflows/
449
+ system/ # Framework-provided workflows
450
+ parent/ # Interactive parent workflows
451
+ parent.yaml # Registry of parent workflows
452
+ analysis/ # Category folder
453
+ create-product-brief.md
454
+ research.md
455
+ quick-flow/
456
+ quick-dev.md
457
+ create-tech-spec.md
458
+ create-module.md # Single workflows at root
459
+ create-workflow.md
460
+ subagent/ # Autonomous subagent workflows
461
+ subagent.yaml # Registry of subagent workflows
462
+ dev/ # Agent folder
463
+ implement-feature.md
464
+ fix-bug.md
465
+ analyst/
466
+ analyze-requirements.md
467
+ project/ # User-customizable workflows
468
+ parent/ # Custom parent workflows
469
+ .gitkeep
470
+ subagent/ # Custom subagent workflows
471
+ .gitkeep
472
+ ```
473
+
474
+ **IDE Access:**
475
+ - `.claude/commands/workflows/system/parent/` - System parent workflows
476
+ - `.claude/commands/workflows/system/subagent/` - System subagent workflows
477
+ - `.claude/commands/workflows/project/parent/` - Custom parent workflows
478
+ - `.claude/commands/workflows/project/subagent/` - Custom subagent workflows
479
+
480
+ ---
481
+
482
+ *Last updated: 2026-01-02*