@zeyue0329/xiaoma-cli 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/README.md +33 -33
  2. package/package.json +3 -8
  3. package/pipeline-optimization-report.md +331 -564
  4. package/src/core/module-help.csv +10 -10
  5. package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md +2 -2
  6. package/src/core/skills/xiaoma-advanced-elicitation/workflow.md +2 -2
  7. package/src/core/skills/xiaoma-brainstorming/SKILL.md +1 -1
  8. package/src/core/skills/xiaoma-brainstorming/steps/step-01-session-setup.md +4 -0
  9. package/src/core/skills/xiaoma-brainstorming/steps/step-01b-continue.md +3 -1
  10. package/src/core/skills/xiaoma-brainstorming/steps/step-02a-user-selected.md +5 -1
  11. package/src/core/skills/xiaoma-brainstorming/steps/step-02b-ai-recommended.md +3 -1
  12. package/src/core/skills/xiaoma-brainstorming/steps/step-02c-random-selection.md +3 -1
  13. package/src/core/skills/xiaoma-brainstorming/steps/step-02d-progressive-flow.md +3 -1
  14. package/src/core/skills/xiaoma-brainstorming/steps/step-03-technique-execution.md +2 -0
  15. package/src/core/skills/xiaoma-brainstorming/steps/step-04-idea-organization.md +2 -0
  16. package/src/core/skills/xiaoma-brainstorming/workflow.md +1 -2
  17. package/src/core/skills/xiaoma-distillator/SKILL.md +1 -1
  18. package/src/core/skills/xiaoma-distillator/agents/distillate-compressor.md +4 -4
  19. package/src/core/skills/xiaoma-distillator/resources/distillate-format-reference.md +34 -34
  20. package/src/core/skills/xiaoma-distillator/xiaoma-skill-manifest.yaml +1 -1
  21. package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md +1 -1
  22. package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md +1 -1
  23. package/src/core/skills/xiaoma-editorial-review-structure/workflow.md +1 -1
  24. package/src/core/skills/xiaoma-help/SKILL.md +2 -2
  25. package/src/core/skills/xiaoma-index-docs/SKILL.md +1 -1
  26. package/src/core/skills/xiaoma-party-mode/SKILL.md +2 -2
  27. package/src/core/skills/xiaoma-party-mode/steps/step-01-agent-loading.md +3 -3
  28. package/src/core/skills/xiaoma-party-mode/steps/step-02-discussion-orchestration.md +2 -2
  29. package/src/core/skills/xiaoma-party-mode/steps/step-03-graceful-exit.md +5 -5
  30. package/src/core/skills/xiaoma-party-mode/workflow.md +4 -4
  31. package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md +1 -1
  32. package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md +2 -2
  33. package/src/core/skills/xiaoma-shard-doc/SKILL.md +1 -1
  34. package/src/core/tasks/xiaoma-create-prd/SKILL.md +1 -1
  35. package/src/core/tasks/xiaoma-create-prd/data/prd-purpose.md +4 -4
  36. package/src/core/tasks/xiaoma-create-prd/data/project-types.csv +1 -1
  37. package/src/core/tasks/xiaoma-create-prd/steps-c/step-11-polish.md +1 -1
  38. package/src/xmc/agents/analyst.agent.yaml +3 -3
  39. package/src/xmc/agents/qa.agent.yaml +1 -1
  40. package/src/xmc/agents/sm.agent.yaml +3 -3
  41. package/src/xmc/agents/tech-writer/tech-writer-sidecar/documentation-standards.md +2 -2
  42. package/src/xmc/agents/tech-writer/xiaoma-skill-manifest.yaml +1 -1
  43. package/src/xmc/agents/xiaoma-skill-manifest.yaml +8 -8
  44. package/src/xmc/module-help.csv +31 -31
  45. package/src/xmc/module.yaml +2 -2
  46. package/src/xmc/teams/default-party.csv +14 -14
  47. package/src/xmc/teams/team-fullstack.yaml +1 -1
  48. package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-04-create-prd.md +2 -1
  49. package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-05-validate-prd.md +3 -2
  50. package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-06-create-epics.md +14 -5
  51. package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-08-finalize.md +3 -3
  52. package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/workflow.md +1 -0
  53. package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md +1 -1
  54. package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md +1 -1
  55. package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md +1 -1
  56. package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md +1 -1
  57. package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-02-vision.md +1 -0
  58. package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-03-users.md +1 -0
  59. package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-04-metrics.md +1 -0
  60. package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-05-scope.md +1 -0
  61. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/SKILL.md +1 -1
  62. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/contextual-discovery.md +7 -7
  63. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/draft-and-review.md +5 -5
  64. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/finalize.md +1 -1
  65. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/guided-elicitation.md +2 -2
  66. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/xiaoma-manifest.json +2 -2
  67. package/src/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +4 -4
  68. package/src/xmc/workflows/2-plan-workflows/create-prd/data/project-types.csv +1 -1
  69. package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +1 -1
  70. package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +16 -16
  71. package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +9 -9
  72. package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +1 -1
  73. package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +8 -8
  74. package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +1 -1
  75. package/src/xmc/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +2 -2
  76. package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md +1 -1
  77. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md +1 -1
  78. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01-discovery.md +13 -17
  79. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01b-legacy-conversion.md +9 -13
  80. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-02-review.md +4 -8
  81. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-03-edit.md +9 -13
  82. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-04-complete.md +2 -5
  83. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/workflow.md +1 -2
  84. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md +1 -1
  85. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/prd-purpose.md +4 -4
  86. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/project-types.csv +1 -1
  87. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-01-discovery.md +1 -4
  88. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02-format-detection.md +16 -19
  89. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02b-parity-check.md +8 -11
  90. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-03-density-validation.md +1 -4
  91. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -3
  92. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-05-measurability-validation.md +0 -3
  93. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-06-traceability-validation.md +0 -3
  94. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -3
  95. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -3
  96. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-09-project-type-validation.md +0 -3
  97. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-10-smart-validation.md +0 -3
  98. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +8 -11
  99. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-12-completeness-validation.md +0 -3
  100. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-13-report-complete.md +2 -5
  101. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/workflow.md +2 -2
  102. package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md +1 -1
  103. package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md +1 -1
  104. package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md +1 -1
  105. package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-01-init-and-validate.md +6 -3
  106. package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-05-code-review.md +5 -6
  107. package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-07-fix-and-retest.md +14 -7
  108. package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-09-cycle-check.md +11 -2
  109. package/src/xmc/workflows/4-implementation/auto-story-pipeline/workflow.md +9 -8
  110. package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md +2 -2
  111. package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-01-gather-context.md +61 -0
  112. package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-02-review.md +41 -0
  113. package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-03-triage.md +50 -0
  114. package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-04-present.md +38 -0
  115. package/src/xmc/workflows/4-implementation/xiaoma-code-review/workflow.md +33 -240
  116. package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md +1 -1
  117. package/src/xmc/workflows/4-implementation/xiaoma-correct-course/workflow.md +1 -1
  118. package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md +1 -1
  119. package/src/xmc/workflows/4-implementation/xiaoma-create-story/workflow.md +3 -3
  120. package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md +1 -1
  121. package/src/xmc/workflows/4-implementation/xiaoma-dev-story/workflow.md +1 -1
  122. package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md +1 -1
  123. package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md +1 -1
  124. package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/workflow.md +2 -2
  125. package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md +1 -1
  126. package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/workflow.md +5 -5
  127. package/src/xmc/workflows/xiaoma-document-project/SKILL.md +1 -1
  128. package/src/xmc/workflows/xiaoma-document-project/templates/index-template.md +1 -1
  129. package/src/xmc/workflows/xiaoma-document-project/templates/project-overview-template.md +1 -1
  130. package/src/xmc/workflows/xiaoma-document-project/templates/source-tree-template.md +1 -1
  131. package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md +1 -1
  132. package/src/xmc/workflows/xiaoma-generate-project-context/steps/step-01-discover.md +3 -1
  133. package/src/xmc/workflows/xiaoma-generate-project-context/steps/step-02-generate.md +2 -0
  134. package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md +1 -1
  135. package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/checklist.md +1 -1
  136. package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/workflow.md +2 -2
  137. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md +1 -1
  138. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-01-mode-detection.md +2 -2
  139. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/SKILL.md +1 -1
  140. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/SKILL.md +1 -1
  141. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/workflow.md +1 -0
  142. package/tools/cli/README.md +4 -4
  143. package/tools/cli/commands/install.js +1 -1
  144. package/tools/cli/commands/status.js +4 -4
  145. package/tools/cli/commands/uninstall.js +9 -9
  146. package/tools/cli/external-official-modules.yaml +2 -54
  147. package/tools/cli/installers/install-messages.yaml +5 -5
  148. package/tools/cli/installers/lib/core/config-collector.js +2 -2
  149. package/tools/cli/installers/lib/core/dependency-resolver.js +2 -2
  150. package/tools/cli/installers/lib/core/detector.js +9 -9
  151. package/tools/cli/installers/lib/core/ide-config-manager.js +7 -7
  152. package/tools/cli/installers/lib/core/installer.js +51 -51
  153. package/tools/cli/installers/lib/core/manifest-generator.js +6 -6
  154. package/tools/cli/installers/lib/core/manifest.js +3 -3
  155. package/tools/cli/installers/lib/custom/handler.js +5 -5
  156. package/tools/cli/installers/lib/ide/_base-ide.js +15 -15
  157. package/tools/cli/installers/lib/ide/_config-driven.js +31 -31
  158. package/tools/cli/installers/lib/ide/manager.js +8 -8
  159. package/tools/cli/installers/lib/ide/platform-codes.yaml +3 -3
  160. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +3 -3
  161. package/tools/cli/installers/lib/ide/shared/path-utils.js +3 -3
  162. package/tools/cli/installers/lib/ide/shared/skill-manifest.js +2 -2
  163. package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +13 -13
  164. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +2 -2
  165. package/tools/cli/installers/lib/ide/shared/xiaoma-artifacts.js +1 -1
  166. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
  167. package/tools/cli/installers/lib/ide/templates/combined/antigravity.md +1 -1
  168. package/tools/cli/installers/lib/ide/templates/combined/default-agent.md +1 -1
  169. package/tools/cli/installers/lib/ide/templates/combined/default-task.md +1 -1
  170. package/tools/cli/installers/lib/ide/templates/combined/default-tool.md +1 -1
  171. package/tools/cli/installers/lib/ide/templates/combined/default-workflow.md +1 -1
  172. package/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md +1 -1
  173. package/tools/cli/installers/lib/ide/templates/combined/kiro-task.md +1 -1
  174. package/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md +1 -1
  175. package/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md +1 -1
  176. package/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md +1 -1
  177. package/tools/cli/installers/lib/ide/templates/combined/opencode-task.md +3 -3
  178. package/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md +3 -3
  179. package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md +3 -3
  180. package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md +3 -3
  181. package/tools/cli/installers/lib/ide/templates/combined/rovodev.md +1 -1
  182. package/tools/cli/installers/lib/ide/templates/combined/trae.md +1 -1
  183. package/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md +1 -1
  184. package/tools/cli/installers/lib/modules/manager.js +22 -22
  185. package/tools/cli/lib/agent/compiler.js +3 -3
  186. package/tools/cli/lib/agent/installer.js +9 -9
  187. package/tools/cli/lib/agent/template-engine.js +1 -1
  188. package/tools/cli/lib/agent-party-generator.js +3 -3
  189. package/tools/cli/lib/cli-utils.js +1 -1
  190. package/tools/cli/lib/project-root.js +5 -5
  191. package/tools/cli/lib/prompts.js +1 -1
  192. package/tools/cli/lib/ui.js +27 -27
  193. package/tools/cli/lib/xml-handler.js +1 -1
  194. package/tools/cli/lib/yaml-format.js +1 -1
  195. package/tools/cli/lib/yaml-xml-builder.js +2 -2
  196. package/tools/cli/xiaoma-cli.js +3 -3
  197. package/tools/platform-codes.yaml +2 -2
  198. package/tools/schema/agent.js +1 -1
  199. package/tools/xiaoma-npx-wrapper.js +1 -1
  200. package/.idea/codeStyles/Project.xml +0 -60
  201. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  202. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  203. package/.idea/jsLibraryMappings.xml +0 -6
  204. package/.idea/modules.xml +0 -8
  205. package/.idea/prettier.xml +0 -6
  206. package/.idea/vcs.xml +0 -6
  207. package/.idea/workspace.xml +0 -146
  208. package/AGENTS.md +0 -9
  209. package/README_CN.md +0 -121
  210. package/XIAOMA-CLI-GUIDE.md +0 -512
  211. package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md.bak +0 -6
  212. package/src/core/skills/xiaoma-brainstorming/SKILL.md.bak +0 -6
  213. package/src/core/skills/xiaoma-distillator/SKILL.md.bak +0 -178
  214. package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md.bak +0 -6
  215. package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md.bak +0 -6
  216. package/src/core/skills/xiaoma-index-docs/SKILL.md.bak +0 -6
  217. package/src/core/skills/xiaoma-party-mode/SKILL.md.bak +0 -6
  218. package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md.bak +0 -6
  219. package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md.bak +0 -6
  220. package/src/core/skills/xiaoma-shard-doc/SKILL.md.bak +0 -6
  221. package/src/core/tasks/xiaoma-create-prd/SKILL.md.bak +0 -6
  222. package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md.bak +0 -6
  223. package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md.bak +0 -6
  224. package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md.bak +0 -6
  225. package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md.bak +0 -6
  226. package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/SKILL.md.bak +0 -88
  227. package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md.bak +0 -6
  228. package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md.bak +0 -6
  229. package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md.bak +0 -6
  230. package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md.bak +0 -6
  231. package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md.bak +0 -6
  232. package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md.bak +0 -6
  233. package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md.bak +0 -6
  234. package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md.bak +0 -6
  235. package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md.bak +0 -6
  236. package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md.bak +0 -6
  237. package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md.bak +0 -6
  238. package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md.bak +0 -6
  239. package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md.bak +0 -6
  240. package/src/xmc/workflows/xiaoma-document-project/SKILL.md.bak +0 -6
  241. package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md.bak +0 -6
  242. package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md.bak +0 -6
  243. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md.bak +0 -6
  244. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/SKILL.md.bak +0 -6
  245. package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/SKILL.md.bak +0 -6
  246. package/tools/format-workflow-md.js +0 -263
  247. package/tools/migrate-custom-module-paths.js +0 -124
  248. package/tools/skill-validator.md +0 -322
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## Step 1: Draft the Executive Brief
10
10
 
11
- Use `resources/brief-template.md` as a guide — adapt structure to fit the product's story.
11
+ Use `../resources/brief-template.md` as a guide — adapt structure to fit the product's story.
12
12
 
13
13
  **Writing principles:**
14
14
  - **Executive audience** — persuasive, clear, concise. 1-2 pages.
@@ -36,9 +36,9 @@ Before showing the draft to the user, run it through multiple review lenses in p
36
36
 
37
37
  **Launch in parallel:**
38
38
 
39
- 1. **Skeptic Reviewer** (`agents/skeptic-reviewer.md`) — "What's missing? What assumptions are untested? What could go wrong? Where is the brief vague or hand-wavy?"
39
+ 1. **Skeptic Reviewer** (`../agents/skeptic-reviewer.md`) — "What's missing? What assumptions are untested? What could go wrong? Where is the brief vague or hand-wavy?"
40
40
 
41
- 2. **Opportunity Reviewer** (`agents/opportunity-reviewer.md`) — "What adjacent value propositions are being missed? What market angles or partnerships could strengthen this? What's underemphasized?"
41
+ 2. **Opportunity Reviewer** (`../agents/opportunity-reviewer.md`) — "What adjacent value propositions are being missed? What market angles or partnerships could strengthen this? What's underemphasized?"
42
42
 
43
43
  3. **Contextual Reviewer** — You (the main agent) pick the most useful third lens based on THIS specific product. Choose the lens that addresses the SINGLE BIGGEST RISK that the skeptic and opportunity reviewers won't naturally catch. Examples:
44
44
  - For healthtech: "Regulatory and compliance risk reviewer"
@@ -65,7 +65,7 @@ After all reviews complete:
65
65
 
66
66
  ## Step 4: Present to User
67
67
 
68
- **Headless mode:** Skip to `prompts/finalize.md` — no user interaction. Save the improved draft directly.
68
+ **Headless mode:** Skip to `finalize.md` — no user interaction. Save the improved draft directly.
69
69
 
70
70
  **Yolo and Guided modes:**
71
71
 
@@ -83,4 +83,4 @@ Present reviewer findings with brief rationale, then offer: "Want me to dig into
83
83
 
84
84
  ## Stage Complete
85
85
 
86
- This stage is complete when: (a) the draft has been reviewed by all three lenses and improvements integrated, AND either (autonomous) save and route directly, or (guided/yolo) the user is satisfied. Route to `prompts/finalize.md`.
86
+ This stage is complete when: (a) the draft has been reviewed by all three lenses and improvements integrated, AND either (autonomous) save and route directly, or (guided/yolo) the user is satisfied. Route to `finalize.md`.
@@ -72,4 +72,4 @@ purpose: "Token-efficient context for downstream PRD creation"
72
72
 
73
73
  ## Stage Complete
74
74
 
75
- This is the terminal stage. After delivering the completion message and file paths, the workflow is done. If the user requests further revisions, loop back to `prompts/draft-and-review.md`. Otherwise, exit.
75
+ This is the terminal stage. After delivering the completion message and file paths, the workflow is done. If the user requests further revisions, loop back to `draft-and-review.md`. Otherwise, exit.
@@ -5,7 +5,7 @@
5
5
 
6
6
  **Goal:** Fill the gaps in what you know. By now you have the user's brain dump, artifact analysis, and web research. This stage is about smart, targeted questioning — not rote section-by-section interrogation.
7
7
 
8
- **Skip this stage entirely in Yolo and Autonomous modes** — go directly to `prompts/draft-and-review.md`.
8
+ **Skip this stage entirely in Yolo and Autonomous modes** — go directly to `draft-and-review.md`.
9
9
 
10
10
  ## Approach
11
11
 
@@ -67,4 +67,4 @@ If the user is providing complete, confident answers and you have solid coverage
67
67
 
68
68
  ## Stage Complete
69
69
 
70
- This stage is complete when sufficient substance exists to draft a compelling brief and the user confirms readiness. Route to `prompts/draft-and-review.md`.
70
+ This stage is complete when sufficient substance exists to draft a compelling brief and the user confirms readiness. Route to `draft-and-review.md`.
@@ -1,6 +1,6 @@
1
1
  {
2
- "module-code": "bmm",
3
- "replaces-skill": "bmad-create-product-brief",
2
+ "module-code": "xmc",
3
+ "replaces-skill": "xiaoma-create-product-brief",
4
4
  "capabilities": [
5
5
  {
6
6
  "name": "create-brief",
@@ -1,10 +1,10 @@
1
- # BMAD PRD Purpose
1
+ # XiaoMa PRD Purpose
2
2
 
3
- **The PRD is the top of the required funnel that feeds all subsequent product development work in rhw BMad Method.**
3
+ **The PRD is the top of the required funnel that feeds all subsequent product development work in rhw XiaoMa Method.**
4
4
 
5
5
  ---
6
6
 
7
- ## What is a BMAD PRD?
7
+ ## What is a XiaoMa PRD?
8
8
 
9
9
  A dual-audience document serving:
10
10
  1. **Human Product Managers and builders** - Vision, strategy, stakeholder communication
@@ -182,7 +182,7 @@ Certain industries have mandatory requirements that must be present:
182
182
 
183
183
  ---
184
184
 
185
- ## Summary: What Makes a Great BMAD PRD?
185
+ ## Summary: What Makes a Great XiaoMa PRD?
186
186
 
187
187
  ✅ **High Information Density** - Every sentence carries weight, zero fluff
188
188
  ✅ **Measurable Requirements** - All FRs and NFRs are testable with specific criteria
@@ -5,7 +5,7 @@ saas_b2b,"SaaS,B2B,platform,dashboard,teams,enterprise","Multi-tenant?;Permissio
5
5
  developer_tool,"SDK,library,package,npm,pip,framework","Language support?;Package managers?;IDE integration?;Documentation?;Examples?","language_matrix;installation_methods;api_surface;code_examples;migration_guide","visual_design;store_compliance","package manager best practices;API design patterns","New paradigm;DSL creation"
6
6
  cli_tool,"CLI,command,terminal,bash,script","Interactive or scriptable?;Output formats?;Config method?;Shell completion?","command_structure;output_formats;config_schema;scripting_support","visual_design;ux_principles;touch_interactions","CLI design patterns;shell integration","Natural language CLI;AI commands"
7
7
  web_app,"website,webapp,browser,SPA,PWA","SPA or MPA?;Browser support?;SEO needed?;Real-time?;Accessibility?","browser_matrix;responsive_design;performance_targets;seo_strategy;accessibility_level","native_features;cli_commands","web standards;WCAG guidelines","New interaction;WebAssembly use"
8
- game,"game,player,gameplay,level,character","REDIRECT TO USE THE BMad Method Game Module Agent and Workflows - HALT","game-brief;GDD","most_sections","game design patterns","Novel mechanics;Genre mixing"
8
+ game,"game,player,gameplay,level,character","REDIRECT TO USE THE XiaoMa Method Game Module Agent and Workflows - HALT","game-brief;GDD","most_sections","game design patterns","Novel mechanics;Genre mixing"
9
9
  desktop_app,"desktop,Windows,Mac,Linux,native","Cross-platform?;Auto-update?;System integration?;Offline?","platform_support;system_integration;update_strategy;offline_capabilities","web_seo;mobile_features","desktop guidelines;platform requirements","Desktop AI;System automation"
10
10
  iot_embedded,"IoT,embedded,device,sensor,hardware","Hardware specs?;Connectivity?;Power constraints?;Security?;OTA updates?","hardware_reqs;connectivity_protocol;power_profile;security_model;update_mechanism","visual_ui;browser_support","IoT standards;protocol specs","Edge AI;New sensors"
11
11
  blockchain_web3,"blockchain,crypto,DeFi,NFT,smart contract","Chain selection?;Wallet integration?;Gas optimization?;Security audit?","chain_specs;wallet_support;smart_contracts;security_audit;gas_optimization","traditional_auth;centralized_db","blockchain standards;security patterns","Novel tokenomics;DAO structure"
@@ -61,7 +61,7 @@ Handle fresh context validation by confirming PRD path, discovering and loading
61
61
  Load and read the complete file at:
62
62
  `{prdPurpose}`
63
63
 
64
- This file contains the BMAD PRD philosophy, standards, and validation criteria that will guide all validation checks. Internalize this understanding - it defines what makes a great BMAD PRD.
64
+ This file contains the XiaoMa PRD philosophy, standards, and validation criteria that will guide all validation checks. Internalize this understanding - it defines what makes a great XiaoMa PRD.
65
65
 
66
66
  ### 2. Discover PRD to Validate
67
67
 
@@ -13,7 +13,7 @@ validationReportPath: '{validation_report_path}'
13
13
 
14
14
  ## STEP GOAL:
15
15
 
16
- Detect if PRD follows BMAD format and route appropriately - classify as BMAD Standard / BMAD Variant / Non-Standard, with optional parity check for non-standard formats.
16
+ Detect if PRD follows XiaoMa format and route appropriately - classify as XiaoMa Standard / XiaoMa Variant / Non-Standard, with optional parity check for non-standard formats.
17
17
 
18
18
  ## MANDATORY EXECUTION RULES (READ FIRST):
19
19
 
@@ -72,9 +72,9 @@ Load the complete PRD file and extract:
72
72
  - Extract classification.projectType if present
73
73
  - Note any other relevant metadata
74
74
 
75
- ### 2. Check for BMAD PRD Core Sections
75
+ ### 2. Check for XiaoMa PRD Core Sections
76
76
 
77
- Check if the PRD contains the following BMAD PRD core sections:
77
+ Check if the PRD contains the following XiaoMa PRD core sections:
78
78
 
79
79
  1. **Executive Summary** (or variations: ## Executive Summary, ## Overview, ## Introduction)
80
80
  2. **Success Criteria** (or: ## Success Criteria, ## Goals, ## Objectives)
@@ -92,18 +92,18 @@ Check if the PRD contains the following BMAD PRD core sections:
92
92
 
93
93
  Based on core section count, classify:
94
94
 
95
- **BMAD Standard:**
95
+ **XiaoMa Standard:**
96
96
  - 5-6 core sections present
97
- - Follows BMAD PRD structure closely
97
+ - Follows XiaoMa PRD structure closely
98
98
 
99
- **BMAD Variant:**
99
+ **XiaoMa Variant:**
100
100
  - 3-4 core sections present
101
- - Generally follows BMAD patterns but may have structural differences
102
- - Missing some sections but recognizable as BMAD-style
101
+ - Generally follows XiaoMa patterns but may have structural differences
102
+ - Missing some sections but recognizable as XiaoMa-style
103
103
 
104
104
  **Non-Standard:**
105
105
  - Fewer than 3 core sections present
106
- - Does not follow BMAD PRD structure
106
+ - Does not follow XiaoMa PRD structure
107
107
  - May be completely custom format, legacy format, or from another framework
108
108
 
109
109
  ### 4. Report Format Findings to Validation Report
@@ -116,7 +116,7 @@ Append to validation report:
116
116
  **PRD Structure:**
117
117
  [List all ## Level 2 headers found]
118
118
 
119
- **BMAD Core Sections Present:**
119
+ **XiaoMa Core Sections Present:**
120
120
  - Executive Summary: [Present/Missing]
121
121
  - Success Criteria: [Present/Missing]
122
122
  - Product Scope: [Present/Missing]
@@ -124,13 +124,13 @@ Append to validation report:
124
124
  - Functional Requirements: [Present/Missing]
125
125
  - Non-Functional Requirements: [Present/Missing]
126
126
 
127
- **Format Classification:** [BMAD Standard / BMAD Variant / Non-Standard]
127
+ **Format Classification:** [XiaoMa Standard / XiaoMa Variant / Non-Standard]
128
128
  **Core Sections Present:** [count]/6
129
129
  ```
130
130
 
131
131
  ### 5. Route Based on Format Classification
132
132
 
133
- **IF format is BMAD Standard or BMAD Variant:**
133
+ **IF format is XiaoMa Standard or XiaoMa Variant:**
134
134
 
135
135
  Display: "**Format Detected:** {classification}
136
136
 
@@ -142,7 +142,7 @@ Without delay, read fully and follow: {nextStepFile} (step-v-03-density-validati
142
142
 
143
143
  Display: "**Format Detected:** Non-Standard PRD
144
144
 
145
- This PRD does not follow BMAD standard structure (only {count}/6 core sections present).
145
+ This PRD does not follow XiaoMa standard structure (only {count}/6 core sections present).
146
146
 
147
147
  You have options:"
148
148
 
@@ -150,7 +150,7 @@ Present MENU OPTIONS below for user selection
150
150
 
151
151
  ### 6. Present MENU OPTIONS (Non-Standard PRDs Only)
152
152
 
153
- **[A] Parity Check** - Analyze gaps and estimate effort to reach BMAD PRD parity
153
+ **[A] Parity Check** - Analyze gaps and estimate effort to reach XiaoMa PRD parity
154
154
  **[B] Validate As-Is** - Proceed with validation using current structure
155
155
  **[C] Exit** - Exit validation and review format findings
156
156
 
@@ -173,10 +173,10 @@ Present MENU OPTIONS below for user selection
173
173
  ### ✅ SUCCESS:
174
174
 
175
175
  - All ## Level 2 headers extracted successfully
176
- - BMAD core sections checked systematically
176
+ - XiaoMa core sections checked systematically
177
177
  - Format classified correctly based on section count
178
178
  - Findings reported to validation report
179
- - BMAD Standard/Variant PRDs proceed directly to next validation step
179
+ - XiaoMa Standard/Variant PRDs proceed directly to next validation step
180
180
  - Non-Standard PRDs pause and present options to user
181
181
  - User can choose parity check, validate as-is, or exit
182
182
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: 'step-v-02b-parity-check'
3
- description: 'Document Parity Check - Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity'
3
+ description: 'Document Parity Check - Analyze non-standard PRD and identify gaps to achieve XiaoMa PRD parity'
4
4
 
5
5
  # File references (ONLY variables used in this step)
6
6
  nextStepFile: './step-v-03-density-validation.md'
@@ -12,7 +12,7 @@ validationReportPath: '{validation_report_path}'
12
12
 
13
13
  ## STEP GOAL:
14
14
 
15
- Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presenting user with options for how to proceed.
15
+ Analyze non-standard PRD and identify gaps to achieve XiaoMa PRD parity, presenting user with options for how to proceed.
16
16
 
17
17
  ## MANDATORY EXECUTION RULES (READ FIRST):
18
18
 
@@ -29,7 +29,7 @@ Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presentin
29
29
  - ✅ You are a Validation Architect and Quality Assurance Specialist
30
30
  - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
31
31
  - ✅ We engage in collaborative dialogue, not command-response
32
- - ✅ You bring BMAD PRD standards expertise and gap analysis
32
+ - ✅ You bring XiaoMa PRD standards expertise and gap analysis
33
33
  - ✅ User brings domain knowledge and PRD context
34
34
 
35
35
  ### Step-Specific Rules:
@@ -41,7 +41,7 @@ Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presentin
41
41
 
42
42
  ## EXECUTION PROTOCOLS:
43
43
 
44
- - 🎯 Analyze each BMAD PRD section for gaps
44
+ - 🎯 Analyze each XiaoMa PRD section for gaps
45
45
  - 💾 Append parity analysis to validation report
46
46
  - 📖 Present options and await user decision
47
47
  - 🚫 FORBIDDEN to proceed without user selection
@@ -57,9 +57,9 @@ Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presentin
57
57
 
58
58
  **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
59
59
 
60
- ### 1. Analyze Each BMAD PRD Section
60
+ ### 1. Analyze Each XiaoMa PRD Section
61
61
 
62
- For each of the 6 BMAD PRD core sections, analyze:
62
+ For each of the 6 XiaoMa PRD core sections, analyze:
63
63
 
64
64
  **Executive Summary:**
65
65
  - Does PRD have vision/overview?
@@ -147,7 +147,7 @@ Append to validation report:
147
147
 
148
148
  ### Overall Parity Assessment
149
149
 
150
- **Overall Effort to Reach BMAD Standard:** [Quick/Moderate/Substantial]
150
+ **Overall Effort to Reach XiaoMa Standard:** [Quick/Moderate/Substantial]
151
151
  **Recommendation:** [Brief recommendation based on analysis]
152
152
  ```
153
153
 
@@ -157,7 +157,7 @@ Display:
157
157
 
158
158
  "**Parity Analysis Complete**
159
159
 
160
- Your PRD is missing {count} of 6 core BMAD PRD sections. The overall effort to reach BMAD standard is: **{effort level}**
160
+ Your PRD is missing {count} of 6 core XiaoMa PRD sections. The overall effort to reach XiaoMa standard is: **{effort level}**
161
161
 
162
162
  **Quick Summary:**
163
163
  [2-3 sentence summary of key gaps]
@@ -191,7 +191,7 @@ Your PRD is missing {count} of 6 core BMAD PRD sections. The overall effort to r
191
191
 
192
192
  ### ✅ SUCCESS:
193
193
 
194
- - All 6 BMAD PRD sections analyzed for gaps
194
+ - All 6 XiaoMa PRD sections analyzed for gaps
195
195
  - Effort estimates provided for each gap
196
196
  - Overall parity effort assessed correctly
197
197
  - Parity analysis reported to validation report
@@ -12,7 +12,7 @@ validationReportPath: '{validation_report_path}'
12
12
 
13
13
  ## STEP GOAL:
14
14
 
15
- Validate PRD meets BMAD information density standards by scanning for conversational filler, wordy phrases, and redundant expressions that violate conciseness principles.
15
+ Validate PRD meets XiaoMa information density standards by scanning for conversational filler, wordy phrases, and redundant expressions that violate conciseness principles.
16
16
 
17
17
  ## MANDATORY EXECUTION RULES (READ FIRST):
18
18
 
@@ -12,7 +12,7 @@ validationReportPath: '{validation_report_path}'
12
12
 
13
13
  ## STEP GOAL:
14
14
 
15
- Assess the PRD as a cohesive, compelling document - evaluating document flow, dual audience effectiveness (humans and LLMs), BMAD PRD principles compliance, and overall quality rating.
15
+ Assess the PRD as a cohesive, compelling document - evaluating document flow, dual audience effectiveness (humans and LLMs), XiaoMa PRD principles compliance, and overall quality rating.
16
16
 
17
17
  ## MANDATORY EXECUTION RULES (READ FIRST):
18
18
 
@@ -44,7 +44,7 @@ Assess the PRD as a cohesive, compelling document - evaluating document flow, du
44
44
  ## EXECUTION PROTOCOLS:
45
45
 
46
46
  - 🎯 Use Advanced Elicitation for multi-perspective assessment
47
- - 🎯 Evaluate document flow, dual audience, BMAD principles
47
+ - 🎯 Evaluate document flow, dual audience, XiaoMa principles
48
48
  - 💾 Append comprehensive assessment to validation report
49
49
  - 📖 Display "Proceeding to next check..." and load next step
50
50
  - 🚫 FORBIDDEN to pause or request user input
@@ -92,7 +92,7 @@ Invoke the `xiaoma-advanced-elicitation` skill
92
92
  - Architecture readiness: Can an LLM generate architecture from this?
93
93
  - Epic/Story readiness: Can an LLM break down into epics and stories?
94
94
 
95
- **3. BMAD PRD Principles Compliance:**
95
+ **3. XiaoMa PRD Principles Compliance:**
96
96
  - Information density: Every sentence carries weight?
97
97
  - Measurability: Requirements testable?
98
98
  - Traceability: Requirements trace to sources?
@@ -119,7 +119,7 @@ Return comprehensive assessment with all perspectives, rating, and top 3 improve
119
119
  - Read complete PRD
120
120
  - Evaluate document flow, coherence, transitions
121
121
  - Assess dual audience effectiveness
122
- - Check BMAD principles compliance
122
+ - Check XiaoMa principles compliance
123
123
  - Assign overall quality rating
124
124
  - Identify top 3 improvements
125
125
 
@@ -137,7 +137,7 @@ Return comprehensive assessment with all perspectives, rating, and top 3 improve
137
137
  - For LLMs: [assessment]
138
138
  - Overall dual audience score: [1-5]
139
139
 
140
- **BMAD Principles Compliance:**
140
+ **XiaoMa Principles Compliance:**
141
141
  - Principles met: [count]/7
142
142
  - Principles with issues: [list]
143
143
 
@@ -181,7 +181,7 @@ Append to validation report:
181
181
 
182
182
  **Dual Audience Score:** {score}/5
183
183
 
184
- ### BMAD PRD Principles Compliance
184
+ ### XiaoMa PRD Principles Compliance
185
185
 
186
186
  | Principle | Status | Notes |
187
187
  |-----------|--------|-------|
@@ -243,7 +243,7 @@ Without delay, read fully and follow: {nextStepFile} (step-v-12-completeness-val
243
243
  - Advanced Elicitation used for multi-perspective evaluation (or graceful degradation)
244
244
  - Document flow & coherence assessed
245
245
  - Dual audience effectiveness evaluated (humans and LLMs)
246
- - BMAD PRD principles compliance checked
246
+ - XiaoMa PRD principles compliance checked
247
247
  - Overall quality rating assigned (1-5 scale)
248
248
  - Top 3 improvements identified
249
249
  - Comprehensive assessment reported to validation report
@@ -255,7 +255,7 @@ Without delay, read fully and follow: {nextStepFile} (step-v-12-completeness-val
255
255
  - Not using Advanced Elicitation for multi-perspective evaluation
256
256
  - Missing document flow assessment
257
257
  - Missing dual audience evaluation
258
- - Not checking all BMAD principles
258
+ - Not checking all XiaoMa principles
259
259
  - Not assigning overall quality rating
260
260
  - Missing top 3 improvements
261
261
  - Not reporting comprehensive assessment to validation report
@@ -182,7 +182,7 @@ Display:
182
182
  - **IF E (Use Edit Workflow):**
183
183
  - Explain: "The Edit workflow (steps-e/) can use this validation report to systematically address issues. Edit mode will guide you through discovering what to edit, reviewing the PRD, and applying targeted improvements."
184
184
  - Offer: "Would you like to launch Edit mode now? It will help you fix validation findings systematically."
185
- - If yes: Read fully and follow: steps-e/step-e-01-discovery.md
185
+ - If yes: Read fully and follow: `./steps-e/step-e-01-discovery.md`
186
186
  - If no: Return to menu
187
187
 
188
188
  - **IF F (Fix Simpler Items):**
@@ -8,7 +8,7 @@ validateWorkflow: './steps-v/step-v-01-discovery.md'
8
8
 
9
9
  # PRD Validate Workflow
10
10
 
11
- **Goal:** Validate existing PRDs against BMAD standards through comprehensive review.
11
+ **Goal:** Validate existing PRDs against XiaoMa standards through comprehensive review.
12
12
 
13
13
  **Your Role:** Validation Architect and Quality Assurance Specialist.
14
14
 
@@ -60,6 +60,6 @@ Load and read full config from {main_config} and resolve:
60
60
 
61
61
  ### 2. Route to Validate Workflow
62
62
 
63
- "**Validate Mode: Validating an existing PRD against BMAD standards.**"
63
+ "**Validate Mode: Validating an existing PRD against XiaoMa standards.**"
64
64
 
65
65
  Then read fully and follow: `{validateWorkflow}` (steps-v/step-v-01-discovery.md)
@@ -3,4 +3,4 @@ name: xiaoma-create-ux-design
3
3
  description: 'Plan UX patterns and design specifications. Use when the user says "lets create UX design" or "create UX specifications" or "help me plan the UX"'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -3,4 +3,4 @@ name: xiaoma-edit-prd
3
3
  description: 'Edit an existing PRD. Use when the user says "edit this PRD".'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -1,9 +1,5 @@
1
1
  ---
2
- name: 'step-e-01-discovery'
3
- description: 'Discovery & Understanding - Understand what user wants to edit and detect PRD format'
4
-
5
2
  # File references (ONLY variables used in this step)
6
- altStepFile: './step-e-01b-legacy-conversion.md'
7
3
  prdPurpose: '{project-root}/_xiaoma/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md'
8
4
  ---
9
5
 
@@ -44,7 +40,7 @@ Understand what the user wants to edit in the PRD, detect PRD format/type, check
44
40
  - 🎯 Discover user's edit requirements
45
41
  - 🎯 Auto-detect validation reports in PRD folder (use as guide)
46
42
  - 🎯 Load validation report if provided (use as guide)
47
- - 🎯 Detect PRD format (BMAD/legacy)
43
+ - 🎯 Detect PRD format (XiaoMa/legacy)
48
44
  - 🎯 Route appropriately based on format
49
45
  - 💾 Document discoveries for next step
50
46
  - 🚫 FORBIDDEN to proceed without understanding requirements
@@ -65,7 +61,7 @@ Understand what the user wants to edit in the PRD, detect PRD format/type, check
65
61
  Load and read the complete file at:
66
62
  `{prdPurpose}` (data/prd-purpose.md)
67
63
 
68
- This file defines what makes a great BMAD PRD. Internalize this understanding - it will guide improvement recommendations.
64
+ This file defines what makes a great XiaoMa PRD. Internalize this understanding - it will guide improvement recommendations.
69
65
 
70
66
  ### 2. Discover PRD to Edit
71
67
 
@@ -149,7 +145,7 @@ Please describe the changes you want to make. For example:
149
145
  - Fix specific issues (information density, implementation leakage, etc.)
150
146
  - Add missing sections or content
151
147
  - Improve structure and flow
152
- - Convert to BMAD format (if legacy PRD)
148
+ - Convert to XiaoMa format (if legacy PRD)
153
149
  - General improvements
154
150
  - Other changes
155
151
 
@@ -163,7 +159,7 @@ Analyze the loaded PRD:
163
159
 
164
160
  **Extract all ## Level 2 headers** from PRD
165
161
 
166
- **Check for BMAD PRD core sections:**
162
+ **Check for XiaoMa PRD core sections:**
167
163
  1. Executive Summary
168
164
  2. Success Criteria
169
165
  3. Product Scope
@@ -172,13 +168,13 @@ Analyze the loaded PRD:
172
168
  6. Non-Functional Requirements
173
169
 
174
170
  **Classify format:**
175
- - **BMAD Standard:** 5-6 core sections present
176
- - **BMAD Variant:** 3-4 core sections present, generally follows BMAD patterns
177
- - **Legacy (Non-Standard):** Fewer than 3 core sections, does not follow BMAD structure
171
+ - **XiaoMa Standard:** 5-6 core sections present
172
+ - **XiaoMa Variant:** 3-4 core sections present, generally follows XiaoMa patterns
173
+ - **Legacy (Non-Standard):** Fewer than 3 core sections, does not follow XiaoMa structure
178
174
 
179
175
  ### 8. Route Based on Format and Context
180
176
 
181
- **IF validation report provided OR PRD is BMAD Standard/Variant:**
177
+ **IF validation report provided OR PRD is XiaoMa Standard/Variant:**
182
178
 
183
179
  Display: "**Edit Requirements Understood**
184
180
 
@@ -188,13 +184,13 @@ Display: "**Edit Requirements Understood**
188
184
 
189
185
  **Proceeding to deep review and analysis...**"
190
186
 
191
- Read fully and follow: next step (step-e-02-review.md)
187
+ Read fully and follow: `./step-e-02-review.md`
192
188
 
193
189
  **IF PRD is Legacy (Non-Standard) AND no validation report:**
194
190
 
195
191
  Display: "**Format Detected:** Legacy PRD
196
192
 
197
- This PRD does not follow BMAD standard structure (only {count}/6 core sections present).
193
+ This PRD does not follow XiaoMa standard structure (only {count}/6 core sections present).
198
194
 
199
195
  **Your edit goals:** {user's requirements}
200
196
 
@@ -204,7 +200,7 @@ Present MENU OPTIONS below for user selection
204
200
 
205
201
  ### 9. Present MENU OPTIONS (Legacy PRDs Only)
206
202
 
207
- **[C] Convert to BMAD Format** - Convert PRD to BMAD standard structure, then apply your edits
203
+ **[C] Convert to XiaoMa Format** - Convert PRD to XiaoMa standard structure, then apply your edits
208
204
  **[E] Edit As-Is** - Apply your edits without converting the format
209
205
  **[X] Exit** - Exit and review conversion options
210
206
 
@@ -215,7 +211,7 @@ Present MENU OPTIONS below for user selection
215
211
 
216
212
  #### Menu Handling Logic:
217
213
 
218
- - IF C (Convert): Read fully and follow: {altStepFile} (step-e-01b-legacy-conversion.md)
214
+ - IF C (Convert): Read fully and follow: `./step-e-01b-legacy-conversion.md`
219
215
  - IF E (Edit As-Is): Display "Proceeding with edits..." then load next step
220
216
  - IF X (Exit): Display summary and exit
221
217
  - IF Any other: help user, then redisplay menu
@@ -230,7 +226,7 @@ Present MENU OPTIONS below for user selection
230
226
  - Auto-detected validation reports loaded and analyzed (when found)
231
227
  - Manual validation report loaded and analyzed (if provided)
232
228
  - PRD format detected correctly
233
- - BMAD PRDs proceed directly to review step
229
+ - XiaoMa PRDs proceed directly to review step
234
230
  - Legacy PRDs pause and present conversion options
235
231
  - User can choose conversion path or edit as-is
236
232
 
@@ -1,9 +1,5 @@
1
1
  ---
2
- name: 'step-e-01b-legacy-conversion'
3
- description: 'Legacy PRD Conversion Assessment - Analyze legacy PRD and propose conversion strategy'
4
-
5
2
  # File references (ONLY variables used in this step)
6
- nextStepFile: './step-e-02-review.md'
7
3
  prdFile: '{prd_file_path}'
8
4
  prdPurpose: '{project-root}/_xiaoma/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md'
9
5
  ---
@@ -12,7 +8,7 @@ prdPurpose: '{project-root}/_xiaoma/xmc/workflows/2-plan-workflows/create-prd/da
12
8
 
13
9
  ## STEP GOAL:
14
10
 
15
- Analyze legacy PRD against BMAD standards, identify gaps, propose conversion strategy, and let user choose how to proceed.
11
+ Analyze legacy PRD against XiaoMa standards, identify gaps, propose conversion strategy, and let user choose how to proceed.
16
12
 
17
13
  ## MANDATORY EXECUTION RULES (READ FIRST):
18
14
 
@@ -29,7 +25,7 @@ Analyze legacy PRD against BMAD standards, identify gaps, propose conversion str
29
25
  - ✅ You are a Validation Architect and PRD Improvement Specialist
30
26
  - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
31
27
  - ✅ We engage in collaborative dialogue, not command-response
32
- - ✅ You bring BMAD standards expertise and conversion guidance
28
+ - ✅ You bring XiaoMa standards expertise and conversion guidance
33
29
  - ✅ User brings domain knowledge and edit requirements
34
30
 
35
31
  ### Step-Specific Rules:
@@ -41,7 +37,7 @@ Analyze legacy PRD against BMAD standards, identify gaps, propose conversion str
41
37
 
42
38
  ## EXECUTION PROTOCOLS:
43
39
 
44
- - 🎯 Analyze legacy PRD against BMAD standard
40
+ - 🎯 Analyze legacy PRD against XiaoMa standard
45
41
  - 💾 Identify gaps and estimate conversion effort
46
42
  - 📖 Present conversion options with effort estimates
47
43
  - 🚫 FORBIDDEN to proceed without user selection
@@ -65,7 +61,7 @@ Analyze legacy PRD against BMAD standards, identify gaps, propose conversion str
65
61
 
66
62
  **Load the PRD and prd-purpose.md**
67
63
 
68
- **For each BMAD PRD section, analyze:**
64
+ **For each XiaoMa PRD section, analyze:**
69
65
  1. Does PRD have this section? (Executive Summary, Success Criteria, Product Scope, User Journeys, Functional Requirements, Non-Functional Requirements)
70
66
  2. If present: Is it complete and well-structured?
71
67
  3. If missing: What content exists that could migrate to this section?
@@ -80,14 +76,14 @@ Analyze legacy PRD against BMAD standards, identify gaps, propose conversion str
80
76
  Return conversion assessment with gap analysis and effort estimate."
81
77
 
82
78
  **Graceful degradation (if no Task tool):**
83
- - Manually check PRD for each BMAD section
79
+ - Manually check PRD for each XiaoMa section
84
80
  - Note what's present and what's missing
85
81
  - Estimate conversion effort
86
82
  - Identify best conversion approach
87
83
 
88
84
  ### 2. Build Gap Analysis
89
85
 
90
- **For each BMAD core section:**
86
+ **For each XiaoMa core section:**
91
87
 
92
88
  **Executive Summary:**
93
89
  - Present: [Yes/No/Partial]
@@ -150,7 +146,7 @@ Display:
150
146
 
151
147
  ### 4. Present MENU OPTIONS
152
148
 
153
- **[R] Restructure to BMAD** - Full conversion to BMAD format, then apply your edits
149
+ **[R] Restructure to XiaoMa** - Full conversion to XiaoMa format, then apply your edits
154
150
  **[I] Targeted Improvements** - Apply your edits to existing structure without restructuring
155
151
  **[E] Edit & Restructure** - Do both: convert format AND apply your edits
156
152
  **[X] Exit** - Review assessment and decide
@@ -182,7 +178,7 @@ Edit goals: {summary}
182
178
 
183
179
  **Proceeding to deep review...**"
184
180
 
185
- Read fully and follow: {nextStepFile} (step-e-02-review.md)
181
+ Read fully and follow: `./step-e-02-review.md`
186
182
 
187
183
  ---
188
184
 
@@ -190,7 +186,7 @@ Read fully and follow: {nextStepFile} (step-e-02-review.md)
190
186
 
191
187
  ### ✅ SUCCESS:
192
188
 
193
- - All 6 BMAD core sections analyzed for gaps
189
+ - All 6 XiaoMa core sections analyzed for gaps
194
190
  - Effort estimates provided for each section
195
191
  - Overall conversion effort assessed correctly
196
192
  - Clear recommendation provided based on effort and user goals
@@ -1,9 +1,5 @@
1
1
  ---
2
- name: 'step-e-02-review'
3
- description: 'Deep Review & Analysis - Thoroughly review existing PRD and prepare detailed change plan'
4
-
5
2
  # File references (ONLY variables used in this step)
6
- nextStepFile: './step-e-03-edit.md'
7
3
  prdFile: '{prd_file_path}'
8
4
  validationReport: '{validation_report_path}' # If provided
9
5
  prdPurpose: '{project-root}/_xiaoma/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md'
@@ -69,7 +65,7 @@ Thoroughly review the existing PRD, analyze validation report findings (if provi
69
65
 
70
66
  **Context from step e-01:**
71
67
  - User's edit requirements: {user_requirements}
72
- - PRD format: {BMAD/legacy}
68
+ - PRD format: {XiaoMa/legacy}
73
69
  - Validation report provided: {yes/no}
74
70
  - Conversion mode: {restructure/targeted/both} (if legacy)
75
71
 
@@ -82,7 +78,7 @@ Thoroughly review the existing PRD, analyze validation report findings (if provi
82
78
 
83
79
  **IF no validation report:**
84
80
  1. Read entire PRD thoroughly
85
- 2. Analyze against BMAD standards (from prd-purpose.md)
81
+ 2. Analyze against XiaoMa standards (from prd-purpose.md)
86
82
  3. Identify issues in:
87
83
  - Information density (anti-patterns)
88
84
  - Structure and flow
@@ -204,7 +200,7 @@ Display: "**Change Plan Approved**
204
200
 
205
201
  **Proceeding to edit step...**"
206
202
 
207
- Read fully and follow: {nextStepFile} (step-e-03-edit.md)
203
+ Read fully and follow: `./step-e-03-edit.md`
208
204
 
209
205
  ### 7. Present MENU OPTIONS (If User Wants Discussion)
210
206
 
@@ -221,7 +217,7 @@ Read fully and follow: {nextStepFile} (step-e-03-edit.md)
221
217
 
222
218
  - IF A: Invoke the `xiaoma-advanced-elicitation` skill, then return to discussion
223
219
  - IF P: Invoke the `xiaoma-party-mode` skill, then return to discussion
224
- - IF C: Document approval, then load {nextStepFile}
220
+ - IF C: Document approval, then load step-e-03-edit.md
225
221
  - IF Any other: discuss, then redisplay menu
226
222
 
227
223
  ---