@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
@@ -1,11 +1,11 @@
1
1
  module,phase,name,code,sequence,workflow-file,command,required,agent,options,description,output-location,outputs
2
- core,anytime,Brainstorming,BSP,,skill:bmad-brainstorming,bmad-brainstorming,false,analyst,,"Generate diverse ideas through interactive techniques. Use early in ideation phase or when stuck generating ideas.",{output_folder}/brainstorming/brainstorming-session-{{date}}.md,,
3
- core,anytime,Party Mode,PM,,skill:bmad-party-mode,bmad-party-mode,false,party-mode facilitator,,"Orchestrate multi-agent discussions. Use when you need multiple agent perspectives or want agents to collaborate.",,
4
- core,anytime,bmad-help,BH,,skill:bmad-help,bmad-help,false,,,"Get unstuck by showing what workflow steps come next or answering BMad Method questions.",,
5
- core,anytime,Index Docs,ID,,skill:bmad-index-docs,bmad-index-docs,false,,,"Create lightweight index for quick LLM scanning. Use when LLM needs to understand available docs without loading everything.",,
6
- core,anytime,Shard Document,SD,,skill:bmad-shard-doc,bmad-shard-doc,false,,,"Split large documents into smaller files by sections. Use when doc becomes too large (>500 lines) to manage effectively.",,
7
- core,anytime,Editorial Review - Prose,EP,,skill:bmad-editorial-review-prose,bmad-editorial-review-prose,false,,,"Review prose for clarity, tone, and communication issues. Use after drafting to polish written content.",report located with target document,"three-column markdown table with suggested fixes",
8
- core,anytime,Editorial Review - Structure,ES,,skill:bmad-editorial-review-structure,bmad-editorial-review-structure,false,,,"Propose cuts, reorganization, and simplification while preserving comprehension. Use when doc produced from multiple subprocesses or needs structural improvement.",report located with target document,
9
- core,anytime,Adversarial Review (General),AR,,skill:bmad-review-adversarial-general,bmad-review-adversarial-general,false,,,"Review content critically to find issues and weaknesses. Use for quality assurance or before finalizing deliverables. Code Review in other modules run this automatically, but its useful also for document reviews",,
10
- core,anytime,Edge Case Hunter Review,ECH,,skill:bmad-review-edge-case-hunter,bmad-review-edge-case-hunter,false,,,"Walk every branching path and boundary condition in code, report only unhandled edge cases. Use alongside adversarial review for orthogonal coverage - method-driven not attitude-driven.",,
11
- core,anytime,Distillator,DG,,skill:bmad-distillator,bmad-distillator,false,,,"Lossless LLM-optimized compression of source documents. Use when you need token-efficient distillates that preserve all information for downstream LLM consumption.",adjacent to source document or specified output_path,distillate markdown file(s)
2
+ core,anytime,Brainstorming,BSP,,skill:xiaoma-brainstorming,xiaoma-brainstorming,false,analyst,,"Generate diverse ideas through interactive techniques. Use early in ideation phase or when stuck generating ideas.",{output_folder}/brainstorming/brainstorming-session-{{date}}.md,,
3
+ core,anytime,Party Mode,PM,,skill:xiaoma-party-mode,xiaoma-party-mode,false,party-mode facilitator,,"Orchestrate multi-agent discussions. Use when you need multiple agent perspectives or want agents to collaborate.",,
4
+ core,anytime,xiaoma-help,BH,,skill:xiaoma-help,xiaoma-help,false,,,"Get unstuck by showing what workflow steps come next or answering XiaoMa Method questions.",,
5
+ core,anytime,Index Docs,ID,,skill:xiaoma-index-docs,xiaoma-index-docs,false,,,"Create lightweight index for quick LLM scanning. Use when LLM needs to understand available docs without loading everything.",,
6
+ core,anytime,Shard Document,SD,,skill:xiaoma-shard-doc,xiaoma-shard-doc,false,,,"Split large documents into smaller files by sections. Use when doc becomes too large (>500 lines) to manage effectively.",,
7
+ core,anytime,Editorial Review - Prose,EP,,skill:xiaoma-editorial-review-prose,xiaoma-editorial-review-prose,false,,,"Review prose for clarity, tone, and communication issues. Use after drafting to polish written content.",report located with target document,"three-column markdown table with suggested fixes",
8
+ core,anytime,Editorial Review - Structure,ES,,skill:xiaoma-editorial-review-structure,xiaoma-editorial-review-structure,false,,,"Propose cuts, reorganization, and simplification while preserving comprehension. Use when doc produced from multiple subprocesses or needs structural improvement.",report located with target document,
9
+ core,anytime,Adversarial Review (General),AR,,skill:xiaoma-review-adversarial-general,xiaoma-review-adversarial-general,false,,,"Review content critically to find issues and weaknesses. Use for quality assurance or before finalizing deliverables. Code Review in other modules run this automatically, but its useful also for document reviews",,
10
+ core,anytime,Edge Case Hunter Review,ECH,,skill:xiaoma-review-edge-case-hunter,xiaoma-review-edge-case-hunter,false,,,"Walk every branching path and boundary condition in code, report only unhandled edge cases. Use alongside adversarial review for orthogonal coverage - method-driven not attitude-driven.",,
11
+ core,anytime,Distillator,DG,,skill:xiaoma-distillator,xiaoma-distillator,false,,,"Lossless LLM-optimized compression of source documents. Use when you need token-efficient distillates that preserve all information for downstream LLM consumption.",adjacent to source document or specified output_path,distillate markdown file(s)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: xiaoma-advanced-elicitation
3
- description: 'Push the LLM to reconsider refine and improve its recent output.'
3
+ description: 'Push the LLM to reconsider, refine, and improve its recent output.'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -96,9 +96,9 @@ x. Proceed / No Further Actions
96
96
  **Case x (Proceed):**
97
97
 
98
98
  - Complete elicitation and proceed
99
- - Return the fully enhanced content back to create-doc.md
99
+ - Return the fully enhanced content back to the invoking skill
100
100
  - The enhanced content becomes the final version for that section
101
- - Signal completion back to create-doc.md to continue with next section
101
+ - Signal completion back to the invoking skill to continue with next section
102
102
 
103
103
  **Case a (List All):**
104
104
 
@@ -3,4 +3,4 @@ name: xiaoma-brainstorming
3
3
  description: 'Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods. Use when the user says help me brainstorm or help me ideate.'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -48,6 +48,8 @@ If existing session files are found:
48
48
  **[2]** Start a new session
49
49
  **[3]** See all existing sessions"
50
50
 
51
+ **HALT — wait for user selection before proceeding.**
52
+
51
53
  - If user selects **[1]** (continue): Set `{brainstorming_session_output_file}` to that file path and load `./step-01b-continue.md`
52
54
  - If user selects **[2]** (new): Generate new filename with current date/time and proceed to step 3
53
55
  - If user selects **[3]** (see all): List all session filenames and ask which to continue or if new
@@ -155,6 +157,8 @@ When user selects approach, append the session overview content directly to `{br
155
157
 
156
158
  Which approach appeals to you most? (Enter 1-4)"
157
159
 
160
+ **HALT — wait for user selection before proceeding.**
161
+
158
162
  ### 4. Handle User Selection and Initial Document Append
159
163
 
160
164
  #### When user selects approach number:
@@ -63,7 +63,9 @@ Based on session analysis, provide appropriate options:
63
63
  **Options:**
64
64
  [1] Review Results - Go through your documented ideas and insights
65
65
  [2] Start New Session - Begin brainstorming on a new topic
66
- [3) Extend Session - Add more techniques or explore new angles"
66
+ [3] Extend Session - Add more techniques or explore new angles"
67
+
68
+ **HALT — wait for user selection before proceeding.**
67
69
 
68
70
  **If Session In Progress:**
69
71
  "Let's continue where we left off!
@@ -40,7 +40,7 @@ Load techniques from CSV on-demand:
40
40
 
41
41
  **Load CSV and parse:**
42
42
 
43
- - Read `brain-methods.csv`
43
+ - Read `../brain-methods.csv`
44
44
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
45
45
  - Organize by categories for browsing
46
46
 
@@ -87,6 +87,8 @@ Show available categories with brief descriptions:
87
87
 
88
88
  **Which category interests you most? Enter 1-7, or tell me what type of thinking you're drawn to.**"
89
89
 
90
+ **HALT — wait for user selection before proceeding.**
91
+
90
92
  ### 3. Handle Category Selection
91
93
 
92
94
  After user selects category:
@@ -154,6 +156,8 @@ This combination will take approximately [total_time] and focus on [expected out
154
156
  [C] Continue - Begin technique execution
155
157
  [Back] - Modify technique selection"
156
158
 
159
+ **HALT — wait for user selection before proceeding.**
160
+
157
161
  ### 6. Update Frontmatter and Continue
158
162
 
159
163
  If user confirms:
@@ -47,7 +47,7 @@ Load techniques from CSV for analysis:
47
47
 
48
48
  **Load CSV and parse:**
49
49
 
50
- - Read `brain-methods.csv`
50
+ - Read `../brain-methods.csv`
51
51
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
52
52
 
53
53
  ### 2. Context Analysis for Technique Matching
@@ -152,6 +152,8 @@ Provide deeper insight into each recommended technique:
152
152
  [Details] - Tell me more about any specific technique
153
153
  [Back] - Return to approach selection
154
154
 
155
+ **HALT — wait for user selection before proceeding.**
156
+
155
157
  ### 6. Handle User Response
156
158
 
157
159
  #### If [C] Continue:
@@ -47,7 +47,7 @@ Create anticipation for serendipitous technique discovery:
47
47
 
48
48
  **Load CSV and parse:**
49
49
 
50
- - Read `brain-methods.csv`
50
+ - Read `../brain-methods.csv`
51
51
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
52
52
  - Prepare for intelligent random selection
53
53
 
@@ -124,6 +124,8 @@ You're about to experience brainstorming in a completely new way. These unexpect
124
124
  [Details] - Tell me more about any specific technique
125
125
  [Back] - Return to approach selection
126
126
 
127
+ **HALT — wait for user selection before proceeding.**
128
+
127
129
  ### 5. Handle User Response
128
130
 
129
131
  #### If [C] Continue:
@@ -66,7 +66,7 @@ Explain the value of systematic creative progression:
66
66
 
67
67
  **Load CSV and parse:**
68
68
 
69
- - Read `brain-methods.csv`
69
+ - Read `../brain-methods.csv`
70
70
  - Parse: category, technique_name, description, facilitation_prompts, best_for, energy_level, typical_duration
71
71
  - Map techniques to each phase of the creative journey
72
72
 
@@ -176,6 +176,8 @@ Show the full progressive flow with timing and transitions:
176
176
  [Details] - Tell me more about any specific phase or technique
177
177
  [Back] - Return to approach selection
178
178
 
179
+ **HALT — wait for user selection before proceeding.**
180
+
179
181
  ### 4. Handle Customization Requests
180
182
 
181
183
  If user wants customization:
@@ -290,6 +290,8 @@ After final technique element:
290
290
  [B] **Take a quick break** - Pause and return with fresh energy
291
291
  [C] **Move to organization** - Only when you feel we've thoroughly explored
292
292
 
293
+ **HALT — wait for user selection before proceeding.**
294
+
293
295
  **Default recommendation:** Unless you feel we've generated at least 100+ ideas, I suggest we keep exploring! The best insights often come after the obvious ideas are exhausted.
294
296
 
295
297
  ### 8. Handle Menu Selection
@@ -249,6 +249,8 @@ Provide final session wrap-up and forward guidance:
249
249
  **Ready to complete your session documentation?**
250
250
  [C] Complete - Generate final brainstorming session document
251
251
 
252
+ **HALT — wait for user selection before proceeding.**
253
+
252
254
  ### 8. Handle Completion Selection
253
255
 
254
256
  #### If [C] Complete:
@@ -44,11 +44,10 @@ Load config from `{project-root}/_xiaoma/core/config.yaml` and resolve:
44
44
 
45
45
  All steps MUST reference `{brainstorming_session_output_file}` instead of the full path pattern.
46
46
  - `context_file` = Optional context file path from workflow invocation for project-specific guidance
47
-
48
47
  ---
49
48
 
50
49
  ## EXECUTION
51
50
 
52
- Read fully and follow: `steps/step-01-session-setup.md` to begin the workflow.
51
+ Read fully and follow: `./steps/step-01-session-setup.md` to begin the workflow.
53
52
 
54
53
  **Note:** Session setup, technique discovery, and continuation detection happen in step-01-session-setup.md.
@@ -75,7 +75,7 @@ After the compressor (or merge compressor) returns:
75
75
 
76
76
  ```yaml
77
77
  ---
78
- type: bmad-distillate
78
+ type: xiaoma-distillate
79
79
  sources:
80
80
  - "{relative path to source file 1}"
81
81
  - "{relative path to source file 2}"
@@ -4,7 +4,7 @@ Act as an information extraction and compression specialist. Your sole purpose i
4
4
 
5
5
  You receive: source document file paths, an optional downstream_consumer context, and a splitting decision.
6
6
 
7
- You must load and apply `resources/compression-rules.md` before producing output. Reference `resources/distillate-format-reference.md` for the expected output format.
7
+ You must load and apply `../resources/compression-rules.md` before producing output. Reference `../resources/distillate-format-reference.md` for the expected output format.
8
8
 
9
9
  ## Compression Process
10
10
 
@@ -31,7 +31,7 @@ Treat this as entity extraction — pull out every distinct piece of information
31
31
 
32
32
  ### Step 3: Deduplicate
33
33
 
34
- Apply the deduplication rules from `resources/compression-rules.md`.
34
+ Apply the deduplication rules from `../resources/compression-rules.md`.
35
35
 
36
36
  ### Step 4: Filter (only if downstream_consumer is specified)
37
37
 
@@ -58,7 +58,7 @@ Common groupings (use what fits, omit what doesn't, add what's needed):
58
58
 
59
59
  ### Step 6: Compress Language
60
60
 
61
- For each item, apply the compression rules from `resources/compression-rules.md`:
61
+ For each item, apply the compression rules from `../resources/compression-rules.md`:
62
62
  - Strip prose transitions and connective tissue
63
63
  - Remove hedging and rhetoric
64
64
  - Remove explanations of common knowledge
@@ -80,7 +80,7 @@ Do NOT include frontmatter — the calling skill handles that.
80
80
 
81
81
  ## Semantic Splitting
82
82
 
83
- If the splitting decision indicates splitting is needed, load `resources/splitting-strategy.md` and follow it.
83
+ If the splitting decision indicates splitting is needed, load `../resources/splitting-strategy.md` and follow it.
84
84
 
85
85
  When splitting:
86
86
 
@@ -8,7 +8,7 @@ Every distillate includes YAML frontmatter. Source paths are relative to the dis
8
8
 
9
9
  ```yaml
10
10
  ---
11
- type: bmad-distillate
11
+ type: xiaoma-distillate
12
12
  sources:
13
13
  - "product-brief-example.md"
14
14
  - "product-brief-example-discovery-notes.md"
@@ -28,11 +28,11 @@ parts: 1
28
28
  ## What Makes This Different
29
29
 
30
30
  **The anti-fragmentation layer.** The AI tooling space is fracturing across 40+
31
- platforms with no shared methodology layer. BMAD is uniquely positioned to be the
31
+ platforms with no shared methodology layer. XiaoMa is uniquely positioned to be the
32
32
  cross-platform constant — the structured approach that works the same in Cursor,
33
33
  Claude Code, Windsurf, Copilot, and whatever launches next month. Every other
34
34
  methodology or skill framework maintains its own platform support matrix. By
35
- building on the open-source skills CLI ecosystem, BMAD offloads the highest-churn
35
+ building on the open-source skills CLI ecosystem, XiaoMa offloads the highest-churn
36
36
  maintenance burden and focuses on what actually differentiates it: the methodology
37
37
  itself.
38
38
  ```
@@ -40,8 +40,8 @@ itself.
40
40
  **After** (distillate):
41
41
  ```
42
42
  ## Differentiation
43
- - Anti-fragmentation positioning: BMAD = cross-platform constant across 40+ fragmenting AI tools; no competitor provides shared methodology layer
44
- - Platform complexity delegated to Vercel skills CLI ecosystem (MIT); BMAD maintains methodology, not platform configs
43
+ - Anti-fragmentation positioning: XiaoMa = cross-platform constant across 40+ fragmenting AI tools; no competitor provides shared methodology layer
44
+ - Platform complexity delegated to Vercel skills CLI ecosystem (MIT); XiaoMa maintains methodology, not platform configs
45
45
  ```
46
46
 
47
47
  ### Technical Details to Compressed Facts
@@ -62,7 +62,7 @@ itself.
62
62
  - **Make/Zapier AI**: Workflow automation adding AI agents — workflow-centric,
63
63
  not methodology-centric
64
64
  - **Key gap**: NO competitor combines structured methodology with plugin
65
- marketplace — this is BMAD's whitespace
65
+ marketplace — this is XiaoMa's whitespace
66
66
  ```
67
67
 
68
68
  **After** (distillate):
@@ -81,18 +81,18 @@ When the same fact appears in both a brief and discovery notes:
81
81
 
82
82
  **Brief says:**
83
83
  ```
84
- bmad-init must always be included as a base skill in every bundle
84
+ xiaoma-init must always be included as a base skill in every bundle
85
85
  ```
86
86
 
87
87
  **Discovery notes say:**
88
88
  ```
89
- bmad-init must always be included as a base skill in every bundle/install
89
+ xiaoma-init must always be included as a base skill in every bundle/install
90
90
  (solves bootstrapping problem)
91
91
  ```
92
92
 
93
93
  **Distillate keeps the more contextual version:**
94
94
  ```
95
- - bmad-init: always included as base skill in every bundle (solves bootstrapping)
95
+ - xiaoma-init: always included as base skill in every bundle (solves bootstrapping)
96
96
  ```
97
97
 
98
98
  ### Decision/Rationale Compression
@@ -116,10 +116,10 @@ A complete distillate produced from a product brief and its discovery notes, tar
116
116
 
117
117
  ```markdown
118
118
  ---
119
- type: bmad-distillate
119
+ type: xiaoma-distillate
120
120
  sources:
121
- - "product-brief-bmad-next-gen-installer.md"
122
- - "product-brief-bmad-next-gen-installer-discovery-notes.md"
121
+ - "product-brief-xiaoma-next-gen-installer.md"
122
+ - "product-brief-xiaoma-next-gen-installer-discovery-notes.md"
123
123
  downstream_consumer: "PRD creation"
124
124
  created: "2026-03-13"
125
125
  token_estimate: 1450
@@ -127,9 +127,9 @@ parts: 1
127
127
  ---
128
128
 
129
129
  ## Core Concept
130
- - BMAD Next-Gen Installer: replaces monolithic Node.js CLI with skill-based plugin architecture for distributing BMAD methodology across 40+ AI platforms
131
- - Three layers: self-describing plugins (bmad-manifest.json), cross-platform install via Vercel skills CLI (MIT), runtime registration via bmad-init skill
132
- - Transforms BMAD from dev-only methodology into open platform for any domain (creative, therapeutic, educational, personal)
130
+ - XiaoMa Next-Gen Installer: replaces monolithic Node.js CLI with skill-based plugin architecture for distributing XiaoMa methodology across 40+ AI platforms
131
+ - Three layers: self-describing plugins (xiaoma-manifest.json), cross-platform install via Vercel skills CLI (MIT), runtime registration via xiaoma-init skill
132
+ - Transforms XiaoMa from dev-only methodology into open platform for any domain (creative, therapeutic, educational, personal)
133
133
 
134
134
  ## Problem
135
135
  - Current installer maintains ~20 platform configs manually; each platform convention change requires installer update, test, release — largest maintenance burden on team
@@ -138,47 +138,47 @@ parts: 1
138
138
  - Unsustainable at 40+ platforms; new tools launching weekly
139
139
 
140
140
  ## Solution Architecture
141
- - Plugins: skill bundles with Anthropic plugin standard as base format + bmad-manifest.json extending for BMAD-specific metadata (installer options, capabilities, help integration, phase ordering, dependencies)
142
- - Existing manifest example: `{"module-code":"bmm","replaces-skill":"bmad-create-product-brief","capabilities":[{"name":"create-brief","menu-code":"CB","supports-headless":true,"phase-name":"1-analysis","after":["brainstorming"],"before":["create-prd"],"is-required":true}]}`
141
+ - Plugins: skill bundles with Anthropic plugin standard as base format + xiaoma-manifest.json extending for XiaoMa-specific metadata (installer options, capabilities, help integration, phase ordering, dependencies)
142
+ - Existing manifest example: `{"module-code":"xmc","replaces-skill":"xiaoma-create-product-brief","capabilities":[{"name":"create-brief","menu-code":"CB","supports-headless":true,"phase-name":"1-analysis","after":["brainstorming"],"before":["create-prd"],"is-required":true}]}`
143
143
  - Vercel skills CLI handles platform translation; integration pattern (wrap/fork/call) is PRD decision
144
- - bmad-init: global skill scanning installed bmad-manifest.json files, registering capabilities, configuring project settings; always included as base skill in every bundle (solves bootstrapping)
145
- - bmad-update: plugin update path without full reinstall; technical approach (diff/replace/preserve customizations) is PRD decision
144
+ - xiaoma-init: global skill scanning installed xiaoma-manifest.json files, registering capabilities, configuring project settings; always included as base skill in every bundle (solves bootstrapping)
145
+ - xiaoma-update: plugin update path without full reinstall; technical approach (diff/replace/preserve customizations) is PRD decision
146
146
  - Distribution tiers: (1) NPX installer wrapping skills CLI for technical users, (2) zip bundle + platform-specific README for non-technical users, (3) future marketplace
147
147
  - Non-technical path has honest friction: "copy to right folder" requires knowing where; per-platform README instructions; improves over time as low-code space matures
148
148
 
149
149
  ## Differentiation
150
- - Anti-fragmentation: BMAD = cross-platform constant; no competitor provides shared methodology layer across AI tools
151
- - Curated quality: all submissions gated, human-reviewed by BMad + core team; 13.4% of community skills have critical vulnerabilities (Snyk 2026); quality gate value increases as ecosystem gets noisier
152
- - Domain-agnostic: no competitor builds beyond software dev workflows; same plugin system powers any domain via BMAD Builder (separate initiative)
150
+ - Anti-fragmentation: XiaoMa = cross-platform constant; no competitor provides shared methodology layer across AI tools
151
+ - Curated quality: all submissions gated, human-reviewed by XiaoMa + core team; 13.4% of community skills have critical vulnerabilities (Snyk 2026); quality gate value increases as ecosystem gets noisier
152
+ - Domain-agnostic: no competitor builds beyond software dev workflows; same plugin system powers any domain via XiaoMa Builder (separate initiative)
153
153
 
154
154
  ## Users (ordered by v1 priority)
155
155
  - Module authors (primary v1): package/test/distribute plugins independently without installer changes
156
156
  - Developers: single-command install on any of 40+ platforms via NPX
157
157
  - Non-technical users: install without Node/Git/terminal; emerging segment including PMs, designers, educators
158
- - Future plugin creators: non-dev authors using BMAD Builder; need distribution without building own installer
158
+ - Future plugin creators: non-dev authors using XiaoMa Builder; need distribution without building own installer
159
159
 
160
160
  ## Success Criteria
161
161
  - Zero (or near-zero) custom platform directory code; delegated to skills CLI ecosystem
162
162
  - Installation verified on top platforms by volume; skills CLI handles long tail
163
163
  - Non-technical install path validated with non-developer users
164
- - bmad-init discovers/registers all plugins from manifests; clear errors for malformed manifests
164
+ - xiaoma-init discovers/registers all plugins from manifests; clear errors for malformed manifests
165
165
  - At least one external module author successfully publishes plugin using manifest system
166
- - bmad-update works without full reinstall
166
+ - xiaoma-update works without full reinstall
167
167
  - Existing CLI users have documented migration path
168
168
 
169
169
  ## Scope
170
- - In: manifest spec, bmad-init, bmad-update, Vercel CLI integration, NPX installer, zip bundles, migration path
171
- - Out: BMAD Builder, marketplace web platform, skill conversion (prerequisite, separate), one-click install for all platforms, monetization, quality certification process (gated-submission principle is architectural requirement; process defined separately)
170
+ - In: manifest spec, xiaoma-init, xiaoma-update, Vercel CLI integration, NPX installer, zip bundles, migration path
171
+ - Out: XiaoMa Builder, marketplace web platform, skill conversion (prerequisite, separate), one-click install for all platforms, monetization, quality certification process (gated-submission principle is architectural requirement; process defined separately)
172
172
  - Deferred: CI/CD integration, telemetry for module authors, air-gapped enterprise install, zip bundle integrity verification (checksums/signing), deeper non-technical platform integrations
173
173
 
174
174
  ## Current Installer (migration context)
175
- - Entry: `tools/cli/bmad-cli.js` (Commander.js) → `tools/cli/installers/lib/core/installer.js`
175
+ - Entry: `tools/cli/xiaoma-cli.js` (Commander.js) → `tools/cli/installers/lib/core/installer.js`
176
176
  - Platforms: `platform-codes.yaml` (~20 platforms with target dirs, legacy dirs, template types, special flags)
177
177
  - Manifests: CSV files (skill/workflow/agent-manifest.csv) are current source of truth, not JSON
178
178
  - External modules: `external-official-modules.yaml` (CIS, GDS, TEA, WDS) from npm with semver
179
179
  - Dependencies: 4-pass resolver (collect → parse → resolve → transitive); YAML-declared only
180
180
  - Config: prompts for name, communication language, document output language, output folder
181
- - Skills already use directory-per-skill layout; bmad-manifest.json sidecars exist but are not source of truth
181
+ - Skills already use directory-per-skill layout; xiaoma-manifest.json sidecars exist but are not source of truth
182
182
  - Key shift: CSV-based static manifests → JSON-based runtime scanning
183
183
 
184
184
  ## Vercel Skills CLI
@@ -204,19 +204,19 @@ parts: 1
204
204
 
205
205
  ## Open Questions
206
206
  - Vercel CLI integration pattern: wrap/fork/call/peer dependency?
207
- - bmad-update mechanics: diff/replace? Preserve user customizations?
207
+ - xiaoma-update mechanics: diff/replace? Preserve user customizations?
208
208
  - Migration story: command/manual reinstall/compatibility shim?
209
209
  - Cross-platform testing: CI matrix for top N? Community testing for rest?
210
- - bmad-manifest.json as open standard submission to Agent Skills governance?
210
+ - xiaoma-manifest.json as open standard submission to Agent Skills governance?
211
211
  - Platforms NOT supported by Vercel skills CLI?
212
212
  - Manifest versioning strategy for backward compatibility?
213
213
  - Plugin author getting-started experience and tooling?
214
214
 
215
215
  ## Opportunities
216
- - Module authors as acquisition channel: each published plugin distributes BMAD to creator's audience
217
- - CI/CD integration: bmad-init as pipeline one-liner increases stickiness
216
+ - Module authors as acquisition channel: each published plugin distributes XiaoMa to creator's audience
217
+ - CI/CD integration: xiaoma-init as pipeline one-liner increases stickiness
218
218
  - Educational institutions: structured methodology + non-technical install → university AI curriculum
219
- - Skill composability: mixing BMAD modules with third-party skills for custom methodology stacks
219
+ - Skill composability: mixing XiaoMa modules with third-party skills for custom methodology stacks
220
220
 
221
221
  ## Risks
222
222
  - Manifest format evolution creates versioning/compatibility burden once third-party authors publish
@@ -1,7 +1,7 @@
1
1
  type: skill
2
2
  module: core
3
3
  capabilities:
4
- - name: bmad-distillator
4
+ - name: xiaoma-distillator
5
5
  menu-code: DSTL
6
6
  description: "Produces lossless LLM-optimized distillate from source documents. Use after producing large human presentable documents that will be consumed later by LLMs"
7
7
  supports-headless: true
@@ -3,4 +3,4 @@ name: xiaoma-editorial-review-prose
3
3
  description: 'Clinical copy-editor that reviews text for communication issues. Use when user says review for prose or improve the prose'
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-editorial-review-structure
3
3
  description: 'Structural editor that proposes cuts, reorganization, and simplification while preserving comprehension. Use when user requests structural review or editorial review of structure'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -72,7 +72,7 @@ When reader_type='llm', optimize for PRECISION and UNAMBIGUITY:
72
72
  - Scaffolding: Complex ideas built on established foundations
73
73
 
74
74
  ### Prompt/Task Definition (Functional)
75
- **Applicability:** BMAD tasks, prompts, system instructions, XML definitions
75
+ **Applicability:** XiaoMa tasks, prompts, system instructions, XML definitions
76
76
  - Meta-first: Inputs, usage constraints, and context defined before instructions
77
77
  - Separation of Concerns: Instructions (logic) separate from Data (content)
78
78
  - Step-by-step: Execution flow must be explicit and ordered
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: xiaoma-help
3
- description: 'Analyzes what is done and the users query and offers advice on what to do next. Use if user says what should I do next or what do I do now'
3
+ description: 'Analyzes current state and user query to answer XiaoMa questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about XiaoMa'
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-index-docs
3
3
  description: 'Generates or updates an index.md to reference all docs in the folder. Use if user requests to create or update an index of all files in a specific folder'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: xiaoma-party-mode
3
- description: 'Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations. Use when user requests party mode.'
3
+ description: 'Orchestrates group discussions between all installed XiaoMa agents, enabling natural multi-agent conversations. Use when user requests party mode.'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.
@@ -34,7 +34,7 @@ Load the complete agent roster from manifest and initialize party mode with enga
34
34
 
35
35
  Begin agent loading process:
36
36
 
37
- "Now initializing **Party Mode** with our complete BMAD agent roster! Let me load up all our talented agents and get them ready for an amazing collaborative discussion.
37
+ "Now initializing **Party Mode** with our complete XiaoMa agent roster! Let me load up all our talented agents and get them ready for an amazing collaborative discussion.
38
38
 
39
39
  **Agent Manifest Loading:**"
40
40
 
@@ -74,7 +74,7 @@ Generate enthusiastic party mode introduction:
74
74
 
75
75
  "🎉 PARTY MODE ACTIVATED! 🎉
76
76
 
77
- Welcome {{user_name}}! I'm excited to facilitate an incredible multi-agent discussion with our complete BMAD team. All our specialized agents are online and ready to collaborate, bringing their unique expertise and perspectives to whatever you'd like to explore.
77
+ Welcome {{user_name}}! I'm excited to facilitate an incredible multi-agent discussion with our complete XiaoMa team. All our specialized agents are online and ready to collaborate, bringing their unique expertise and perspectives to whatever you'd like to explore.
78
78
 
79
79
  **Our Collaborating Agents Include:**
80
80
 
@@ -92,7 +92,7 @@ Welcome {{user_name}}! I'm excited to facilitate an incredible multi-agent discu
92
92
 
93
93
  After agent loading and introduction:
94
94
 
95
- "**Agent roster loaded successfully!** All our BMAD experts are excited to collaborate with you.
95
+ "**Agent roster loaded successfully!** All our XiaoMa experts are excited to collaborate with you.
96
96
 
97
97
  **Ready to start the discussion?**
98
98
  [C] Continue - Begin multi-agent conversation
@@ -74,7 +74,7 @@ Generate authentic responses for each selected agent:
74
74
 
75
75
  "[Icon Emoji] **[Agent Name]**: [Authentic in-character response]
76
76
 
77
- [Bash: .claude/hooks/bmad-speak.sh \"[Agent Name]\" \"[Their response]\"]"
77
+ [Bash: .claude/hooks/xiaoma-speak.sh \"[Agent Name]\" \"[Their response]\"]"
78
78
 
79
79
  ### 4. Natural Cross-Talk Integration
80
80
 
@@ -168,7 +168,7 @@ Check for exit conditions before continuing:
168
168
 
169
169
  **Quality Control:**
170
170
 
171
- - If discussion becomes circular, have bmad-master summarize and redirect
171
+ - If discussion becomes circular, have xiaoma-master summarize and redirect
172
172
  - Ensure all agents stay true to their merged personalities
173
173
  - Handle disagreements constructively and professionally
174
174
  - Maintain respectful and inclusive conversation environment
@@ -34,7 +34,7 @@ Provide satisfying agent farewells and conclude the party mode session with grat
34
34
 
35
35
  Begin exit process with warm acknowledgment:
36
36
 
37
- "What an incredible collaborative session! Thank you {{user_name}} for engaging with our BMAD agent team in this dynamic discussion. Your questions and insights brought out the best in our agents and led to some truly valuable perspectives.
37
+ "What an incredible collaborative session! Thank you {{user_name}} for engaging with our XiaoMa agent team in this dynamic discussion. Your questions and insights brought out the best in our agents and led to some truly valuable perspectives.
38
38
 
39
39
  **Before we wrap up, let a few of our agents say goodbye...**"
40
40
 
@@ -55,7 +55,7 @@ For each selected agent:
55
55
 
56
56
  "[Icon Emoji] **[Agent Name]**: [Characteristic farewell reflecting their personality, communication style, and role. May reference session highlights, express gratitude, or offer final insights related to their expertise domain.]
57
57
 
58
- [Bash: .claude/hooks/bmad-speak.sh \"[Agent Name]\" \"[Their farewell message]\"]"
58
+ [Bash: .claude/hooks/xiaoma-speak.sh \"[Agent Name]\" \"[Their farewell message]\"]"
59
59
 
60
60
  **Example Farewells:**
61
61
 
@@ -76,7 +76,7 @@ End with enthusiastic and appreciative closure:
76
76
 
77
77
  "🎊 **Party Mode Session Complete!** 🎊
78
78
 
79
- Thank you for bringing our BMAD agents together in this unique collaborative experience. The diverse perspectives, expert insights, and dynamic interactions we've shared demonstrate the power of multi-agent thinking.
79
+ Thank you for bringing our XiaoMa agents together in this unique collaborative experience. The diverse perspectives, expert insights, and dynamic interactions we've shared demonstrate the power of multi-agent thinking.
80
80
 
81
81
  **Our agents learned from each other and from you** - that's what makes these collaborative sessions so valuable!
82
82
 
@@ -113,7 +113,7 @@ Execute final workflow termination:
113
113
 
114
114
  "[PARTY MODE WORKFLOW COMPLETE]
115
115
 
116
- Thank you for using BMAD Party Mode for collaborative multi-agent discussions!"
116
+ Thank you for using XiaoMa Party Mode for collaborative multi-agent discussions!"
117
117
 
118
118
  ## SUCCESS METRICS:
119
119
 
@@ -162,6 +162,6 @@ After farewell sequence and final closure:
162
162
  - Multi-agent collaboration demonstrated value and effectiveness
163
163
  - Workflow ready for next party mode session activation
164
164
 
165
- Congratulations on facilitating a successful multi-agent collaborative discussion through BMAD Party Mode! 🎉
165
+ Congratulations on facilitating a successful multi-agent collaborative discussion through XiaoMa Party Mode! 🎉
166
166
 
167
167
  The user has experienced the power of bringing diverse expert perspectives together to tackle complex topics through intelligent conversation orchestration and authentic agent interactions.
@@ -3,9 +3,9 @@
3
3
 
4
4
  # Party Mode Workflow
5
5
 
6
- **Goal:** Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations
6
+ **Goal:** Orchestrates group discussions between all installed XiaoMa agents, enabling natural multi-agent conversations
7
7
 
8
- **Your Role:** You are a party mode facilitator and multi-agent conversation orchestrator. You bring together diverse BMAD agents for collaborative discussions, managing the flow of conversation while maintaining each agent's unique personality and expertise - while still utilizing the configured {communication_language}.
8
+ **Your Role:** You are a party mode facilitator and multi-agent conversation orchestrator. You bring together diverse XiaoMa agents for collaborative discussions, managing the flow of conversation while maintaining each agent's unique personality and expertise - while still utilizing the configured {communication_language}.
9
9
 
10
10
  ---
11
11
 
@@ -74,7 +74,7 @@ Execute party mode activation and conversation orchestration:
74
74
 
75
75
  "🎉 PARTY MODE ACTIVATED! 🎉
76
76
 
77
- Welcome {{user_name}}! All BMAD agents are here and ready for a dynamic group discussion. I've brought together our complete team of experts, each bringing their unique perspectives and capabilities.
77
+ Welcome {{user_name}}! All XiaoMa agents are here and ready for a dynamic group discussion. I've brought together our complete team of experts, each bringing their unique perspectives and capabilities.
78
78
 
79
79
  **Let me introduce our collaborating agents:**
80
80
 
@@ -178,7 +178,7 @@ If conversation naturally concludes:
178
178
 
179
179
  **Quality Control:**
180
180
 
181
- - If discussion becomes circular, have bmad-master summarize and redirect
181
+ - If discussion becomes circular, have xiaoma-master summarize and redirect
182
182
  - Balance fun and productivity based on conversation tone
183
183
  - Ensure all agents stay true to their merged personalities
184
184
  - Exit gracefully when user indicates completion
@@ -3,4 +3,4 @@ name: xiaoma-review-adversarial-general
3
3
  description: 'Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something'
4
4
  ---
5
5
 
6
- Follow the instructions in [workflow.md](workflow.md).
6
+ Follow the instructions in ./workflow.md.