@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.
- package/README.md +33 -33
- package/package.json +3 -8
- package/pipeline-optimization-report.md +331 -564
- package/src/core/module-help.csv +10 -10
- package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md +2 -2
- package/src/core/skills/xiaoma-advanced-elicitation/workflow.md +2 -2
- package/src/core/skills/xiaoma-brainstorming/SKILL.md +1 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-01-session-setup.md +4 -0
- package/src/core/skills/xiaoma-brainstorming/steps/step-01b-continue.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02a-user-selected.md +5 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02b-ai-recommended.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02c-random-selection.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02d-progressive-flow.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-03-technique-execution.md +2 -0
- package/src/core/skills/xiaoma-brainstorming/steps/step-04-idea-organization.md +2 -0
- package/src/core/skills/xiaoma-brainstorming/workflow.md +1 -2
- package/src/core/skills/xiaoma-distillator/SKILL.md +1 -1
- package/src/core/skills/xiaoma-distillator/agents/distillate-compressor.md +4 -4
- package/src/core/skills/xiaoma-distillator/resources/distillate-format-reference.md +34 -34
- package/src/core/skills/xiaoma-distillator/xiaoma-skill-manifest.yaml +1 -1
- package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md +1 -1
- package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md +1 -1
- package/src/core/skills/xiaoma-editorial-review-structure/workflow.md +1 -1
- package/src/core/skills/xiaoma-help/SKILL.md +2 -2
- package/src/core/skills/xiaoma-index-docs/SKILL.md +1 -1
- package/src/core/skills/xiaoma-party-mode/SKILL.md +2 -2
- package/src/core/skills/xiaoma-party-mode/steps/step-01-agent-loading.md +3 -3
- package/src/core/skills/xiaoma-party-mode/steps/step-02-discussion-orchestration.md +2 -2
- package/src/core/skills/xiaoma-party-mode/steps/step-03-graceful-exit.md +5 -5
- package/src/core/skills/xiaoma-party-mode/workflow.md +4 -4
- package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md +1 -1
- package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md +2 -2
- package/src/core/skills/xiaoma-shard-doc/SKILL.md +1 -1
- package/src/core/tasks/xiaoma-create-prd/SKILL.md +1 -1
- package/src/core/tasks/xiaoma-create-prd/data/prd-purpose.md +4 -4
- package/src/core/tasks/xiaoma-create-prd/data/project-types.csv +1 -1
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-11-polish.md +1 -1
- package/src/xmc/agents/analyst.agent.yaml +3 -3
- package/src/xmc/agents/qa.agent.yaml +1 -1
- package/src/xmc/agents/sm.agent.yaml +3 -3
- package/src/xmc/agents/tech-writer/tech-writer-sidecar/documentation-standards.md +2 -2
- package/src/xmc/agents/tech-writer/xiaoma-skill-manifest.yaml +1 -1
- package/src/xmc/agents/xiaoma-skill-manifest.yaml +8 -8
- package/src/xmc/module-help.csv +31 -31
- package/src/xmc/module.yaml +2 -2
- package/src/xmc/teams/default-party.csv +14 -14
- package/src/xmc/teams/team-fullstack.yaml +1 -1
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-04-create-prd.md +2 -1
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-05-validate-prd.md +3 -2
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-06-create-epics.md +14 -5
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-08-finalize.md +3 -3
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/workflow.md +1 -0
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-02-vision.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-03-users.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-04-metrics.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-05-scope.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/contextual-discovery.md +7 -7
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/draft-and-review.md +5 -5
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/finalize.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/guided-elicitation.md +2 -2
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/xiaoma-manifest.json +2 -2
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +4 -4
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/project-types.csv +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +16 -16
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +9 -9
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +8 -8
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +2 -2
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01-discovery.md +13 -17
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01b-legacy-conversion.md +9 -13
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-02-review.md +4 -8
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-03-edit.md +9 -13
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-04-complete.md +2 -5
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/workflow.md +1 -2
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/prd-purpose.md +4 -4
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/project-types.csv +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-01-discovery.md +1 -4
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02-format-detection.md +16 -19
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02b-parity-check.md +8 -11
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-03-density-validation.md +1 -4
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-05-measurability-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-06-traceability-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-09-project-type-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-10-smart-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +8 -11
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-12-completeness-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-13-report-complete.md +2 -5
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/workflow.md +2 -2
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md +1 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md +1 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-01-init-and-validate.md +6 -3
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-05-code-review.md +5 -6
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-07-fix-and-retest.md +14 -7
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-09-cycle-check.md +11 -2
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/workflow.md +9 -8
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md +2 -2
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-01-gather-context.md +61 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-02-review.md +41 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-03-triage.md +50 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-04-present.md +38 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/workflow.md +33 -240
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/workflow.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/workflow.md +3 -3
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/workflow.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/workflow.md +2 -2
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/workflow.md +5 -5
- package/src/xmc/workflows/xiaoma-document-project/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-document-project/templates/index-template.md +1 -1
- package/src/xmc/workflows/xiaoma-document-project/templates/project-overview-template.md +1 -1
- package/src/xmc/workflows/xiaoma-document-project/templates/source-tree-template.md +1 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/steps/step-01-discover.md +3 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/steps/step-02-generate.md +2 -0
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/checklist.md +1 -1
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/workflow.md +2 -2
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-01-mode-detection.md +2 -2
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/workflow.md +1 -0
- package/tools/cli/README.md +4 -4
- package/tools/cli/commands/install.js +1 -1
- package/tools/cli/commands/status.js +4 -4
- package/tools/cli/commands/uninstall.js +9 -9
- package/tools/cli/external-official-modules.yaml +2 -54
- package/tools/cli/installers/install-messages.yaml +5 -5
- package/tools/cli/installers/lib/core/config-collector.js +2 -2
- package/tools/cli/installers/lib/core/dependency-resolver.js +2 -2
- package/tools/cli/installers/lib/core/detector.js +9 -9
- package/tools/cli/installers/lib/core/ide-config-manager.js +7 -7
- package/tools/cli/installers/lib/core/installer.js +51 -51
- package/tools/cli/installers/lib/core/manifest-generator.js +6 -6
- package/tools/cli/installers/lib/core/manifest.js +3 -3
- package/tools/cli/installers/lib/custom/handler.js +5 -5
- package/tools/cli/installers/lib/ide/_base-ide.js +15 -15
- package/tools/cli/installers/lib/ide/_config-driven.js +31 -31
- package/tools/cli/installers/lib/ide/manager.js +8 -8
- package/tools/cli/installers/lib/ide/platform-codes.yaml +3 -3
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +3 -3
- package/tools/cli/installers/lib/ide/shared/path-utils.js +3 -3
- package/tools/cli/installers/lib/ide/shared/skill-manifest.js +2 -2
- package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +13 -13
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +2 -2
- package/tools/cli/installers/lib/ide/shared/xiaoma-artifacts.js +1 -1
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/antigravity.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-agent.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-task.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-tool.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-workflow.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-task.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/opencode-task.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/rovodev.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/trae.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md +1 -1
- package/tools/cli/installers/lib/modules/manager.js +22 -22
- package/tools/cli/lib/agent/compiler.js +3 -3
- package/tools/cli/lib/agent/installer.js +9 -9
- package/tools/cli/lib/agent/template-engine.js +1 -1
- package/tools/cli/lib/agent-party-generator.js +3 -3
- package/tools/cli/lib/cli-utils.js +1 -1
- package/tools/cli/lib/project-root.js +5 -5
- package/tools/cli/lib/prompts.js +1 -1
- package/tools/cli/lib/ui.js +27 -27
- package/tools/cli/lib/xml-handler.js +1 -1
- package/tools/cli/lib/yaml-format.js +1 -1
- package/tools/cli/lib/yaml-xml-builder.js +2 -2
- package/tools/cli/xiaoma-cli.js +3 -3
- package/tools/platform-codes.yaml +2 -2
- package/tools/schema/agent.js +1 -1
- package/tools/xiaoma-npx-wrapper.js +1 -1
- package/.idea/codeStyles/Project.xml +0 -60
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -146
- package/AGENTS.md +0 -9
- package/README_CN.md +0 -121
- package/XIAOMA-CLI-GUIDE.md +0 -512
- package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-brainstorming/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-distillator/SKILL.md.bak +0 -178
- package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-index-docs/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-party-mode/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-shard-doc/SKILL.md.bak +0 -6
- package/src/core/tasks/xiaoma-create-prd/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/SKILL.md.bak +0 -88
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md.bak +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md.bak +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md.bak +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md.bak +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md.bak +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-document-project/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/SKILL.md.bak +0 -6
- package/tools/format-workflow-md.js +0 -263
- package/tools/migrate-custom-module-paths.js +0 -124
- package/tools/skill-validator.md +0 -322
|
@@ -344,7 +344,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
344
344
|
</step>
|
|
345
345
|
|
|
346
346
|
<step n="6" goal="Update sprint status and finalize">
|
|
347
|
-
<action>Validate the newly created story file {
|
|
347
|
+
<action>Validate the newly created story file {default_output_file} against `./checklist.md` and apply any required fixes before finalizing</action>
|
|
348
348
|
<action>Save story document unconditionally</action>
|
|
349
349
|
|
|
350
350
|
<!-- Update sprint status -->
|
|
@@ -359,7 +359,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
359
359
|
</check>
|
|
360
360
|
|
|
361
361
|
<action>Report completion</action>
|
|
362
|
-
<output>**🎯 ULTIMATE
|
|
362
|
+
<output>**🎯 ULTIMATE XiaoMa Method STORY CONTEXT CREATED, {user_name}!**
|
|
363
363
|
|
|
364
364
|
**Story Details:**
|
|
365
365
|
- Story ID: {{story_id}}
|
|
@@ -371,7 +371,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
371
371
|
1. Review the comprehensive story in {{story_file}}
|
|
372
372
|
2. Run dev agents `dev-story` for optimized implementation
|
|
373
373
|
3. Run `code-review` when complete (auto-marks done)
|
|
374
|
-
4. Optional: If Test Architect module installed, run `/
|
|
374
|
+
4. Optional: If Test Architect module installed, run `/xiaoma:tea:automate` after `dev-story` to generate guardrail tests
|
|
375
375
|
|
|
376
376
|
**The developer now has everything needed for flawless implementation!**
|
|
377
377
|
</output>
|
|
@@ -3,4 +3,4 @@ name: xiaoma-dev-story
|
|
|
3
3
|
description: 'Execute story implementation following a context filled story spec file. Use when the user says "dev this story [story file]" or "implement the next story in the sprint plan"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -437,7 +437,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
437
437
|
- Verify all acceptance criteria are met
|
|
438
438
|
- Ensure deployment readiness if applicable
|
|
439
439
|
- Run `code-review` workflow for peer review
|
|
440
|
-
- Optional: If Test Architect module installed, run `/
|
|
440
|
+
- Optional: If Test Architect module installed, run `/xiaoma:tea:automate` to expand guardrail tests
|
|
441
441
|
</action>
|
|
442
442
|
|
|
443
443
|
<output>💡 **Tip:** For best results, run `code-review` using a **different** LLM than the one that implemented this story.</output>
|
|
@@ -3,4 +3,4 @@ name: xiaoma-retrospective
|
|
|
3
3
|
description: 'Post-epic review to extract lessons and assess success. Use when the user says "run a retrospective" or "lets retro the epic [epic]"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -49,7 +49,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
49
49
|
|
|
50
50
|
**Epic Discovery Process:**
|
|
51
51
|
|
|
52
|
-
1. **Search for whole document first** - Look for `epics.md`, `
|
|
52
|
+
1. **Search for whole document first** - Look for `epics.md`, `xmc-epics.md`, or any `*epic*.md` file
|
|
53
53
|
2. **Check for sharded version** - If whole document not found, look for `epics/index.md`
|
|
54
54
|
3. **If sharded version found**:
|
|
55
55
|
- Read `index.md` to understand the document structure
|
|
@@ -58,7 +58,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
58
58
|
- This ensures complete sprint status coverage
|
|
59
59
|
4. **Priority**: If both whole and sharded versions exist, use the whole document
|
|
60
60
|
|
|
61
|
-
**Fuzzy matching**: Be flexible with document names - users may use variations like `epics.md`, `
|
|
61
|
+
**Fuzzy matching**: Be flexible with document names - users may use variations like `epics.md`, `xmc-epics.md`, `user-stories.md`, etc.
|
|
62
62
|
|
|
63
63
|
<workflow>
|
|
64
64
|
|
|
@@ -59,7 +59,7 @@ Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
|
59
59
|
<action>Try {sprint_status_file}</action>
|
|
60
60
|
<check if="file not found">
|
|
61
61
|
<output>❌ sprint-status.yaml not found.
|
|
62
|
-
Run `/
|
|
62
|
+
Run `/xiaoma:xmc:workflows:sprint-planning` to generate it, then rerun sprint-status.</output>
|
|
63
63
|
<action>Exit workflow</action>
|
|
64
64
|
</check>
|
|
65
65
|
<action>Continue to Step 2</action>
|
|
@@ -112,9 +112,9 @@ Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue witho
|
|
|
112
112
|
|
|
113
113
|
<action>Detect risks:</action>
|
|
114
114
|
|
|
115
|
-
- IF any story has status "review": suggest `/
|
|
115
|
+
- IF any story has status "review": suggest `/xiaoma:xmc:workflows:code-review`
|
|
116
116
|
- IF any story has status "in-progress" AND no stories have status "ready-for-dev": recommend staying focused on active story
|
|
117
|
-
- IF all epics have status "backlog" AND no stories have status "ready-for-dev": prompt `/
|
|
117
|
+
- IF all epics have status "backlog" AND no stories have status "ready-for-dev": prompt `/xiaoma:xmc:workflows:create-story`
|
|
118
118
|
- IF `last_updated` timestamp is more than 7 days old (or `last_updated` is missing, fall back to `generated`): warn "sprint-status.yaml may be stale"
|
|
119
119
|
- IF any story key doesn't match an epic pattern (e.g., story "5-1-..." but no "epic-5"): warn "orphaned story detected"
|
|
120
120
|
- IF any epic has status in-progress but has no associated stories: warn "in-progress epic has no stories"
|
|
@@ -144,7 +144,7 @@ Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue witho
|
|
|
144
144
|
|
|
145
145
|
**Epics:** backlog {{epic_backlog}}, in-progress {{epic_in_progress}}, done {{epic_done}}
|
|
146
146
|
|
|
147
|
-
**Next Recommendation:** /
|
|
147
|
+
**Next Recommendation:** /xiaoma:xmc:workflows:{{next_workflow_id}} ({{next_story_id}})
|
|
148
148
|
|
|
149
149
|
{{#if risks}}
|
|
150
150
|
**Risks:**
|
|
@@ -166,7 +166,7 @@ Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue witho
|
|
|
166
166
|
Choice:</ask>
|
|
167
167
|
|
|
168
168
|
<check if="choice == 1">
|
|
169
|
-
<output>Run `/
|
|
169
|
+
<output>Run `/xiaoma:xmc:workflows:{{next_workflow_id}}`.
|
|
170
170
|
If the command targets a story, set `story_key={{next_story_id}}` when prompted.</output>
|
|
171
171
|
</check>
|
|
172
172
|
|
|
@@ -3,4 +3,4 @@ name: xiaoma-document-project
|
|
|
3
3
|
description: 'Document brownfield projects for AI context. Use when the user says "document this project" or "generate project docs"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -3,4 +3,4 @@ name: xiaoma-generate-project-context
|
|
|
3
3
|
description: 'Create project-context.md with AI rules. Use when the user says "generate project context" or "create project context"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -123,7 +123,7 @@ Based on discovery, create or update the context document:
|
|
|
123
123
|
|
|
124
124
|
#### A. Fresh Document Setup (if no existing context)
|
|
125
125
|
|
|
126
|
-
Copy template from
|
|
126
|
+
Copy template from `../project-context-template.md` to `{output_folder}/project-context.md`
|
|
127
127
|
Initialize frontmatter fields.
|
|
128
128
|
|
|
129
129
|
#### B. Existing Document Update
|
|
@@ -160,6 +160,8 @@ Ready to create/update your project context. This will help AI agents implement
|
|
|
160
160
|
|
|
161
161
|
[C] Continue to context generation"
|
|
162
162
|
|
|
163
|
+
**HALT — wait for user selection before proceeding.**
|
|
164
|
+
|
|
163
165
|
## SUCCESS METRICS:
|
|
164
166
|
|
|
165
167
|
✅ Existing project context properly detected and handled
|
|
@@ -264,6 +264,8 @@ After each category, show the generated rules and present choices:
|
|
|
264
264
|
[P] Party Mode - Review from different implementation perspectives
|
|
265
265
|
[C] Continue - Save these rules and move to next category"
|
|
266
266
|
|
|
267
|
+
**HALT — wait for user selection before proceeding.**
|
|
268
|
+
|
|
267
269
|
### 10. Handle Menu Selection
|
|
268
270
|
|
|
269
271
|
#### If 'A' (Advanced Elicitation):
|
|
@@ -3,4 +3,4 @@ name: xiaoma-qa-generate-e2e-tests
|
|
|
3
3
|
description: 'Generate end to end automated tests for existing features. Use when the user says "create qa automated tests for [feature]"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -30,4 +30,4 @@ Run the tests using your project's test command.
|
|
|
30
30
|
|
|
31
31
|
---
|
|
32
32
|
|
|
33
|
-
**Need more comprehensive testing?** Install [Test Architect (TEA)](https://
|
|
33
|
+
**Need more comprehensive testing?** Install [Test Architect (TEA)](https://xiaoma-code-org.github.io/xiaoma-cli-test-architecture-enterprise/) for advanced workflows.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Goal:** Generate automated API and E2E tests for implemented code.
|
|
4
4
|
|
|
5
|
-
**Your Role:** You are a QA automation engineer. You generate tests ONLY — no code review or story validation (use
|
|
5
|
+
**Your Role:** You are a QA automation engineer. You generate tests ONLY — no code review or story validation (use the `xiaoma-code-review` skill for that).
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -127,7 +127,7 @@ If the project needs:
|
|
|
127
127
|
- Comprehensive coverage analysis
|
|
128
128
|
- Advanced testing patterns and utilities
|
|
129
129
|
|
|
130
|
-
> **Install Test Architect (TEA) module**: <https://
|
|
130
|
+
> **Install Test Architect (TEA) module**: <https://xiaoma-code-org.github.io/xiaoma-cli-test-architecture-enterprise/>
|
|
131
131
|
|
|
132
132
|
## Output
|
|
133
133
|
|
|
@@ -3,4 +3,4 @@ name: xiaoma-quick-dev
|
|
|
3
3
|
description: 'Implement a Quick Tech Spec for small changes or features. Use when the user provides a quick tech spec and says "implement this quick spec" or "proceed with implementation of [quick tech spec]"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-01-mode-detection.md
CHANGED
|
@@ -102,7 +102,7 @@ Present: "This looks like a focused feature with multiple components."
|
|
|
102
102
|
Display:
|
|
103
103
|
|
|
104
104
|
**[P] Plan first (tech-spec)** (recommended)
|
|
105
|
-
**[W] Seems bigger than quick-dev** - Recommend the Full
|
|
105
|
+
**[W] Seems bigger than quick-dev** - Recommend the Full XiaoMa Flow PRD Process
|
|
106
106
|
**[E] Execute directly**
|
|
107
107
|
|
|
108
108
|
#### Menu Handling Logic:
|
|
@@ -124,7 +124,7 @@ Present: "This sounds like platform/system work."
|
|
|
124
124
|
|
|
125
125
|
Display:
|
|
126
126
|
|
|
127
|
-
**[W] Start
|
|
127
|
+
**[W] Start XiaoMa Method** (recommended)
|
|
128
128
|
**[P] Plan first (tech-spec)** (lighter planning)
|
|
129
129
|
**[E] Execute directly** - feeling lucky
|
|
130
130
|
|
|
@@ -3,4 +3,4 @@ name: xiaoma-quick-dev-new-preview
|
|
|
3
3
|
description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -3,4 +3,4 @@ name: xiaoma-quick-spec
|
|
|
3
3
|
description: 'Very quick process to create implementation-ready quick specs for small changes or features. Use when the user says "create a quick spec" or "generate a quick tech spec"'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Follow the instructions in
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
package/tools/cli/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# XiaoMa CLI Tool
|
|
2
2
|
|
|
3
|
-
## Installing external repo
|
|
3
|
+
## Installing external repo XiaoMa official modules
|
|
4
4
|
|
|
5
5
|
For external official modules to be discoverable during install, ensure an entry for the external repo is added to external-official-modules.yaml.
|
|
6
6
|
|
|
7
|
-
For community modules - this will be handled in a different way. This file is only for registration of modules under the
|
|
7
|
+
For community modules - this will be handled in a different way. This file is only for registration of modules under the xiaoma-code-org.
|
|
8
8
|
|
|
9
9
|
## Post-Install Notes
|
|
10
10
|
|
|
11
|
-
Modules can display setup guidance to users after configuration is collected during `npx
|
|
11
|
+
Modules can display setup guidance to users after configuration is collected during `npx xiaoma-cli install`. Notes are defined in the module's own `module.yaml` — no changes to the installer are needed.
|
|
12
12
|
|
|
13
13
|
### Simple Format
|
|
14
14
|
|
|
@@ -29,7 +29,7 @@ module.exports = {
|
|
|
29
29
|
try {
|
|
30
30
|
// Set debug flag as environment variable for all components
|
|
31
31
|
if (options.debug) {
|
|
32
|
-
process.env.
|
|
32
|
+
process.env.XiaoMa_DEBUG_MANIFEST = 'true';
|
|
33
33
|
await prompts.log.info('Debug mode enabled');
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -10,7 +10,7 @@ const ui = new UI();
|
|
|
10
10
|
|
|
11
11
|
module.exports = {
|
|
12
12
|
command: 'status',
|
|
13
|
-
description: 'Display
|
|
13
|
+
description: 'Display XiaoMa installation status and module versions',
|
|
14
14
|
options: [],
|
|
15
15
|
action: async (options) => {
|
|
16
16
|
try {
|
|
@@ -21,7 +21,7 @@ module.exports = {
|
|
|
21
21
|
// Check if xiaoma directory exists
|
|
22
22
|
const fs = require('fs-extra');
|
|
23
23
|
if (!(await fs.pathExists(xiaomaDir))) {
|
|
24
|
-
await prompts.log.warn('No
|
|
24
|
+
await prompts.log.warn('No XiaoMa installation found in the current directory.');
|
|
25
25
|
await prompts.log.message(`Expected location: ${xiaomaDir}`);
|
|
26
26
|
await prompts.log.message('Run "xiaoma install" to set up a new installation.');
|
|
27
27
|
process.exit(0);
|
|
@@ -32,7 +32,7 @@ module.exports = {
|
|
|
32
32
|
const manifestData = await manifest._readRaw(xiaomaDir);
|
|
33
33
|
|
|
34
34
|
if (!manifestData) {
|
|
35
|
-
await prompts.log.warn('No
|
|
35
|
+
await prompts.log.warn('No XiaoMa installation manifest found.');
|
|
36
36
|
await prompts.log.message('Run "xiaoma install" to set up a new installation.');
|
|
37
37
|
process.exit(0);
|
|
38
38
|
return;
|
|
@@ -56,7 +56,7 @@ module.exports = {
|
|
|
56
56
|
process.exit(0);
|
|
57
57
|
} catch (error) {
|
|
58
58
|
await prompts.log.error(`Status check failed: ${error.message}`);
|
|
59
|
-
if (process.env.
|
|
59
|
+
if (process.env.XiaoMa_DEBUG) {
|
|
60
60
|
await prompts.log.message(error.stack);
|
|
61
61
|
}
|
|
62
62
|
process.exit(1);
|
|
@@ -7,9 +7,9 @@ const installer = new Installer();
|
|
|
7
7
|
|
|
8
8
|
module.exports = {
|
|
9
9
|
command: 'uninstall',
|
|
10
|
-
description: 'Remove
|
|
10
|
+
description: 'Remove XiaoMa installation from the current project',
|
|
11
11
|
options: [
|
|
12
|
-
['-y, --yes', 'Remove all
|
|
12
|
+
['-y, --yes', 'Remove all XiaoMa components without prompting (preserves user artifacts)'],
|
|
13
13
|
['--directory <path>', 'Project directory (default: current directory)'],
|
|
14
14
|
],
|
|
15
15
|
action: async (options) => {
|
|
@@ -26,7 +26,7 @@ module.exports = {
|
|
|
26
26
|
// Interactive: ask user which directory to uninstall from
|
|
27
27
|
// select() handles cancellation internally (exits process)
|
|
28
28
|
const dirChoice = await prompts.select({
|
|
29
|
-
message: 'Where do you want to uninstall
|
|
29
|
+
message: 'Where do you want to uninstall XiaoMa from?',
|
|
30
30
|
choices: [
|
|
31
31
|
{ value: 'cwd', name: `Current directory (${process.cwd()})` },
|
|
32
32
|
{ value: 'other', name: 'Another directory...' },
|
|
@@ -57,7 +57,7 @@ module.exports = {
|
|
|
57
57
|
const { xiaomaDir } = await installer.findXiaomaDir(projectDir);
|
|
58
58
|
|
|
59
59
|
if (!(await fs.pathExists(xiaomaDir))) {
|
|
60
|
-
await prompts.log.warn('No
|
|
60
|
+
await prompts.log.warn('No XiaoMa installation found.');
|
|
61
61
|
process.exit(0);
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -68,7 +68,7 @@ module.exports = {
|
|
|
68
68
|
|
|
69
69
|
const outputFolder = await installer.getOutputFolder(projectDir);
|
|
70
70
|
|
|
71
|
-
await prompts.intro('
|
|
71
|
+
await prompts.intro('XiaoMa Uninstall');
|
|
72
72
|
await prompts.note(`Version: ${version}\nModules: ${modules}\nIDE integrations: ${ides}`, 'Current Installation');
|
|
73
73
|
|
|
74
74
|
let removeModules = true;
|
|
@@ -82,7 +82,7 @@ module.exports = {
|
|
|
82
82
|
options: [
|
|
83
83
|
{
|
|
84
84
|
value: 'modules',
|
|
85
|
-
label: `
|
|
85
|
+
label: `XiaoMa Modules & data (${installer.xiaomaFolderName}/)`,
|
|
86
86
|
hint: 'Core installation, agents, workflows, config',
|
|
87
87
|
},
|
|
88
88
|
{ value: 'ide', label: 'IDE integrations', hint: ides || 'No IDEs configured' },
|
|
@@ -133,10 +133,10 @@ module.exports = {
|
|
|
133
133
|
s.stop('User artifacts removed');
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// Phase 3:
|
|
136
|
+
// Phase 3: XiaoMa modules & data (last — other phases may need _xiaoma/)
|
|
137
137
|
if (removeModules) {
|
|
138
138
|
const s = await prompts.spinner();
|
|
139
|
-
s.start(`Removing
|
|
139
|
+
s.start(`Removing XiaoMa modules & data (${installer.xiaomaFolderName}/)...`);
|
|
140
140
|
await installer.uninstallModules(projectDir);
|
|
141
141
|
s.stop('Modules & data removed');
|
|
142
142
|
}
|
|
@@ -148,7 +148,7 @@ module.exports = {
|
|
|
148
148
|
if (!removeOutputFolder) summary.push(`User artifacts preserved in ${outputFolder}/`);
|
|
149
149
|
|
|
150
150
|
await prompts.note(summary.join('\n'), 'Summary');
|
|
151
|
-
await prompts.outro('To reinstall, run: npx
|
|
151
|
+
await prompts.outro('To reinstall, run: npx xiaoma-cli install');
|
|
152
152
|
|
|
153
153
|
process.exit(0);
|
|
154
154
|
} catch (error) {
|
|
@@ -1,56 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# External modules are not applicable for XiaoMa-CLI
|
|
2
|
+
# These were upstream XiaoMa modules that are not forked
|
|
3
3
|
|
|
4
4
|
modules: {}
|
|
5
|
-
# External modules are disabled because they require GitHub access to clone.
|
|
6
|
-
# To re-enable, uncomment the module entries below and ensure GitHub is accessible.
|
|
7
|
-
#
|
|
8
|
-
# xiaoma-builder:
|
|
9
|
-
# url: https://github.com/xiaoma-code-org/xiaoma-builder
|
|
10
|
-
# module-definition: src/module.yaml
|
|
11
|
-
# code: bmb
|
|
12
|
-
# name: "XiaoMa Builder"
|
|
13
|
-
# description: "Agent and Builder"
|
|
14
|
-
# defaultSelected: false
|
|
15
|
-
# type: xiaoma-org
|
|
16
|
-
# npmPackage: xiaoma-builder
|
|
17
|
-
#
|
|
18
|
-
# xiaoma-creative-intelligence-suite:
|
|
19
|
-
# url: https://github.com/xiaoma-code-org/xiaoma-module-creative-intelligence-suite
|
|
20
|
-
# module-definition: src/module.yaml
|
|
21
|
-
# code: cis
|
|
22
|
-
# name: "XiaoMa Creative Intelligence Suite"
|
|
23
|
-
# description: "Creative tools for writing, brainstorming, and more"
|
|
24
|
-
# defaultSelected: false
|
|
25
|
-
# type: xiaoma-org
|
|
26
|
-
# npmPackage: xiaoma-creative-intelligence-suite
|
|
27
|
-
#
|
|
28
|
-
# xiaoma-game-dev-studio:
|
|
29
|
-
# url: https://github.com/xiaoma-code-org/xiaoma-module-game-dev-studio.git
|
|
30
|
-
# module-definition: src/module.yaml
|
|
31
|
-
# code: gds
|
|
32
|
-
# name: "XiaoMa Game Dev Studio"
|
|
33
|
-
# description: "Game development agents and workflows"
|
|
34
|
-
# defaultSelected: false
|
|
35
|
-
# type: xiaoma-org
|
|
36
|
-
# npmPackage: xiaoma-game-dev-studio
|
|
37
|
-
#
|
|
38
|
-
# xiaoma-method-test-architecture-enterprise:
|
|
39
|
-
# url: https://github.com/xiaoma-code-org/xiaoma-method-test-architecture-enterprise
|
|
40
|
-
# module-definition: src/module.yaml
|
|
41
|
-
# code: tea
|
|
42
|
-
# name: "Test Architect"
|
|
43
|
-
# description: "Master Test Architect for quality strategy, test automation, and release gates"
|
|
44
|
-
# defaultSelected: false
|
|
45
|
-
# type: xiaoma-org
|
|
46
|
-
# npmPackage: xiaoma-method-test-architecture-enterprise
|
|
47
|
-
#
|
|
48
|
-
# whiteport-design-studio:
|
|
49
|
-
# url: https://github.com/xiaoma-code-org/xiaoma-method-wds-expansion
|
|
50
|
-
# module-definition: src/module.yaml
|
|
51
|
-
# code: wds
|
|
52
|
-
# name: "Whiteport Design Studio (For UX Professionals)"
|
|
53
|
-
# description: "Whiteport Design Studio (For UX Professionals)"
|
|
54
|
-
# defaultSelected: false
|
|
55
|
-
# type: community
|
|
56
|
-
# npmPackage: xiaoma-method-wds-expansion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# XiaoMa Installer Messages
|
|
2
2
|
# These messages are displayed during installation
|
|
3
3
|
# Edit this file to change what users see during the install process
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ startMessage: |
|
|
|
12
12
|
- Select and install modules during setup - customize your experience
|
|
13
13
|
- New XiaoMa Method for Agile AI-Driven Development (the evolution of V4)
|
|
14
14
|
- Exciting new modules available during installation, with community modules coming soon
|
|
15
|
-
- Documentation: https://docs.xiaoma.org
|
|
15
|
+
- Documentation: https://docs.xiaoma-cli.org
|
|
16
16
|
|
|
17
17
|
🌟 XiaoMa is 100% free and open source.
|
|
18
18
|
- No gated Discord. No paywalls. No gated content.
|
|
@@ -25,13 +25,13 @@ startMessage: |
|
|
|
25
25
|
- For speaking inquiries or interviews, reach out to XiaoMa on Discord!
|
|
26
26
|
|
|
27
27
|
⭐ HELP US GROW:
|
|
28
|
-
- Star us on GitHub: https://github.com/xiaoma-code-org/XiaoMa-
|
|
28
|
+
- Star us on GitHub: https://github.com/xiaoma-code-org/XiaoMa-CLI/
|
|
29
29
|
- Subscribe on YouTube: https://www.youtube.com/@XiaoMaCode
|
|
30
30
|
- Free Community and Support: https://discord.gg/gk8jAdXWmj
|
|
31
|
-
- Donate: https://buymeacoffee.com/
|
|
31
|
+
- Donate: https://buymeacoffee.com/xiaoma
|
|
32
32
|
- Corporate Sponsorship available
|
|
33
33
|
|
|
34
|
-
Latest updates: https://github.com/xiaoma-code-org/XiaoMa-
|
|
34
|
+
Latest updates: https://github.com/xiaoma-code-org/XiaoMa-CLI/blob/main/CHANGELOG.md
|
|
35
35
|
|
|
36
36
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
37
|
|
|
@@ -61,11 +61,11 @@ class ConfigCollector {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Detect the existing
|
|
64
|
+
* Detect the existing XiaoMa folder name in a project
|
|
65
65
|
* @param {string} projectDir - Project directory
|
|
66
66
|
* @returns {Promise<string|null>} Folder name (just the name, not full path) or null if not found
|
|
67
67
|
*/
|
|
68
|
-
async
|
|
68
|
+
async detectExistingXiaomaFolder(projectDir) {
|
|
69
69
|
// Check if project directory exists
|
|
70
70
|
if (!(await fs.pathExists(projectDir))) {
|
|
71
71
|
return null;
|
|
@@ -5,7 +5,7 @@ const yaml = require('yaml');
|
|
|
5
5
|
const prompts = require('../../../lib/prompts');
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Dependency Resolver for
|
|
8
|
+
* Dependency Resolver for XiaoMa modules
|
|
9
9
|
* Handles cross-module dependencies and ensures all required files are included
|
|
10
10
|
*/
|
|
11
11
|
class DependencyResolver {
|
|
@@ -17,7 +17,7 @@ class DependencyResolver {
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Resolve all dependencies for selected modules
|
|
20
|
-
* @param {string} xiaomaDir -
|
|
20
|
+
* @param {string} xiaomaDir - XiaoMa installation directory
|
|
21
21
|
* @param {Array} selectedModules - Modules explicitly selected by user
|
|
22
22
|
* @param {Object} options - Resolution options
|
|
23
23
|
* @returns {Object} Resolution results with all required files
|
|
@@ -5,7 +5,7 @@ const { Manifest } = require('./manifest');
|
|
|
5
5
|
|
|
6
6
|
class Detector {
|
|
7
7
|
/**
|
|
8
|
-
* Detect existing
|
|
8
|
+
* Detect existing XiaoMa installation
|
|
9
9
|
* @param {string} xiaomaDir - Path to xiaoma directory
|
|
10
10
|
* @returns {Object} Installation status and details
|
|
11
11
|
*/
|
|
@@ -135,7 +135,7 @@ class Detector {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* Detect legacy installation (_xiaoma-
|
|
138
|
+
* Detect legacy installation (_xiaoma-cli, .xmc, .cis)
|
|
139
139
|
* @param {string} projectDir - Project directory to check
|
|
140
140
|
* @returns {Object} Legacy installation details
|
|
141
141
|
*/
|
|
@@ -147,8 +147,8 @@ class Detector {
|
|
|
147
147
|
paths: [],
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
// Check for legacy core (_xiaoma-
|
|
151
|
-
const legacyCorePath = path.join(projectDir, '_xiaoma-
|
|
150
|
+
// Check for legacy core (_xiaoma-cli)
|
|
151
|
+
const legacyCorePath = path.join(projectDir, '_xiaoma-cli');
|
|
152
152
|
if (await fs.pathExists(legacyCorePath)) {
|
|
153
153
|
result.hasLegacy = true;
|
|
154
154
|
result.legacyCore = true;
|
|
@@ -161,7 +161,7 @@ class Detector {
|
|
|
161
161
|
if (
|
|
162
162
|
entry.isDirectory() &&
|
|
163
163
|
entry.name.startsWith('.') &&
|
|
164
|
-
entry.name !== '_xiaoma-
|
|
164
|
+
entry.name !== '_xiaoma-cli' &&
|
|
165
165
|
!entry.name.startsWith('.git') &&
|
|
166
166
|
!entry.name.startsWith('.vscode') &&
|
|
167
167
|
!entry.name.startsWith('.idea')
|
|
@@ -169,7 +169,7 @@ class Detector {
|
|
|
169
169
|
const modulePath = path.join(projectDir, entry.name);
|
|
170
170
|
const moduleManifestPath = path.join(modulePath, 'install-manifest.yaml');
|
|
171
171
|
|
|
172
|
-
// Check if it's likely a
|
|
172
|
+
// Check if it's likely a XiaoMa module
|
|
173
173
|
if ((await fs.pathExists(moduleManifestPath)) || (await fs.pathExists(path.join(modulePath, 'config.yaml')))) {
|
|
174
174
|
result.hasLegacy = true;
|
|
175
175
|
result.legacyModules.push({
|
|
@@ -203,15 +203,15 @@ class Detector {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
|
-
* Detect legacy
|
|
206
|
+
* Detect legacy XiaoMa v4 .xiaoma-cli folder
|
|
207
207
|
* @param {string} projectDir - Project directory to check
|
|
208
208
|
* @returns {{ hasLegacyV4: boolean, offenders: string[] }}
|
|
209
209
|
*/
|
|
210
210
|
async detectLegacyV4(projectDir) {
|
|
211
211
|
const offenders = [];
|
|
212
212
|
|
|
213
|
-
// Check for .xiaoma-
|
|
214
|
-
const xiaomaMethodPath = path.join(projectDir, '.xiaoma-
|
|
213
|
+
// Check for .xiaoma-cli folder
|
|
214
|
+
const xiaomaMethodPath = path.join(projectDir, '.xiaoma-cli');
|
|
215
215
|
if (await fs.pathExists(xiaomaMethodPath)) {
|
|
216
216
|
offenders.push(xiaomaMethodPath);
|
|
217
217
|
}
|