@zeyue0329/xiaoma-cli 1.13.0 → 1.15.1
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/package.json +24 -14
- package/src/core-skills/module-help.csv +13 -0
- package/src/{core → core-skills}/module.yaml +8 -0
- package/src/{core/skills/xiaoma-advanced-elicitation/workflow.md → core-skills/xiaoma-advanced-elicitation/SKILL.md} +10 -3
- package/src/core-skills/xiaoma-advanced-elicitation/methods.csv +70 -0
- package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-03-technique-execution.md +6 -4
- package/src/{core/skills → core-skills}/xiaoma-brainstorming/workflow.md +1 -1
- package/src/core-skills/xiaoma-customize/SKILL.md +111 -0
- package/src/core-skills/xiaoma-customize/scripts/list_customizable_skills.js +172 -0
- package/src/{core/skills → core-skills}/xiaoma-distillator/resources/distillate-format-reference.md +1 -1
- package/src/{core/skills → core-skills}/xiaoma-distillator/scripts/analyze_sources.py +2 -2
- package/src/{core/skills/xiaoma-editorial-review-prose/workflow.md → core-skills/xiaoma-editorial-review-prose/SKILL.md} +5 -0
- package/src/{core/skills/xiaoma-editorial-review-structure/workflow.md → core-skills/xiaoma-editorial-review-structure/SKILL.md} +5 -0
- package/src/core-skills/xiaoma-help/SKILL.md +75 -0
- package/src/{core/skills/xiaoma-index-docs/workflow.md → core-skills/xiaoma-index-docs/SKILL.md} +5 -0
- package/src/core-skills/xiaoma-party-mode/SKILL.md +128 -0
- package/src/{core/skills/xiaoma-review-adversarial-general/workflow.md → core-skills/xiaoma-review-adversarial-general/SKILL.md} +5 -0
- package/src/{core/skills/xiaoma-review-edge-case-hunter/workflow.md → core-skills/xiaoma-review-edge-case-hunter/SKILL.md} +5 -0
- package/src/{core/skills/xiaoma-shard-doc/workflow.md → core-skills/xiaoma-shard-doc/SKILL.md} +5 -0
- package/src/core-skills/xiaoma-spec/SKILL.md +129 -0
- package/src/core-skills/xiaoma-spec/assets/headless-schemas.md +33 -0
- package/src/core-skills/xiaoma-spec/assets/spec-template.md +49 -0
- package/src/core-skills/xiaoma-spec/customize.toml +53 -0
- package/src/scripts/resolve_config.js +163 -0
- package/src/scripts/resolve_customization.js +188 -0
- package/src/scripts/toml.js +338 -0
- package/src/xmc-skills/1-analysis/research/xiaoma-domain-research/SKILL.md +96 -0
- package/src/xmc-skills/1-analysis/research/xiaoma-domain-research/customize.toml +41 -0
- package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-domain-research/domain-steps/step-06-research-synthesis.md +6 -0
- package/src/xmc-skills/1-analysis/research/xiaoma-market-research/SKILL.md +96 -0
- package/src/xmc-skills/1-analysis/research/xiaoma-market-research/customize.toml +41 -0
- package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-market-research/steps/step-06-research-completion.md +6 -0
- package/src/xmc-skills/1-analysis/research/xiaoma-technical-research/SKILL.md +96 -0
- package/src/xmc-skills/1-analysis/research/xiaoma-technical-research/customize.toml +41 -0
- package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-technical-research/technical-steps/step-06-research-synthesis.md +6 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-analyst/SKILL.md +76 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-analyst/customize.toml +90 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-tech-writer/SKILL.md +76 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-tech-writer/customize.toml +81 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-tech-writer/explain-concept.md +20 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-tech-writer/mermaid-gen.md +20 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-tech-writer/validate-doc.md +19 -0
- package/src/xmc-skills/1-analysis/xiaoma-agent-tech-writer/write-document.md +20 -0
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/checklist.md +5 -2
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-01-init-and-validate.md +18 -1
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-02-requirements-analysis.md +3 -1
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-03-architecture-analysis.md +5 -3
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-04-create-prd.md +12 -14
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-05-validate-prd.md +20 -15
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-06-create-epics.md +9 -5
- package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/steps/step-07-create-architecture.md +10 -7
- package/src/xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline/steps/step-08-finalize.md +184 -0
- package/src/xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline/workflow.md +140 -0
- package/src/xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline/xiaoma-skill-manifest.yaml +24 -0
- package/src/xmc-skills/1-analysis/xiaoma-document-project/SKILL.md +62 -0
- package/src/xmc-skills/1-analysis/xiaoma-document-project/customize.toml +41 -0
- package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/workflows/deep-dive-instructions.md +1 -0
- package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/workflows/full-scan-instructions.md +1 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/SKILL.md +135 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/agents/artifact-analyzer.md +60 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/agents/web-researcher.md +49 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/assets/prfaq-template.md +62 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/customize.toml +41 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/references/customer-faq.md +55 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/references/internal-faq.md +51 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/references/press-release.md +60 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/references/verdict.md +83 -0
- package/src/xmc-skills/1-analysis/xiaoma-prfaq/xiaoma-manifest.json +16 -0
- package/src/xmc-skills/1-analysis/xiaoma-product-brief/SKILL.md +91 -0
- package/src/xmc-skills/1-analysis/xiaoma-product-brief/assets/brief-template.md +41 -0
- package/src/xmc-skills/1-analysis/xiaoma-product-brief/customize.toml +99 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-agent-pm/SKILL.md +76 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-agent-pm/customize.toml +75 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-agent-ux-designer/SKILL.md +76 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-agent-ux-designer/customize.toml +60 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-create-prd/SKILL.md +30 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-create-prd/customize.toml +41 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-edit-prd/SKILL.md +30 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-edit-prd/customize.toml +42 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/SKILL.md +92 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/assets/headless-schemas.md +76 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/assets/prd-template.md +165 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/assets/prd-validation-checklist.md +217 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/assets/validation-report-template.html +325 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/customize.toml +147 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/references/headless.md +39 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-prd/references/validate.md +97 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/SKILL.md +90 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/color-themes.md +9 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/design-directions.md +9 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/design-example-editorial.md +158 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/design-example-mobile.md +93 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/design-example-shadcn.md +109 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/excalidraw-wireframe.md +19 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/experience-example-mobile.md +112 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/experience-example-shadcn.md +133 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/headless-schemas.md +84 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/key-screens.md +29 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/assets/validation-report-template.html +319 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/customize.toml +100 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/references/creative-tools.md +19 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/references/design-md-spec.md +50 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/references/headless.md +37 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-ux/references/validate.md +115 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-validate-prd/SKILL.md +30 -0
- package/src/xmc-skills/2-plan-workflows/xiaoma-validate-prd/customize.toml +31 -0
- package/src/xmc-skills/3-solutioning/xiaoma-agent-architect/SKILL.md +76 -0
- package/src/xmc-skills/3-solutioning/xiaoma-agent-architect/customize.toml +65 -0
- package/src/xmc-skills/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md +91 -0
- package/src/xmc-skills/3-solutioning/xiaoma-check-implementation-readiness/customize.toml +41 -0
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/steps/step-01-document-discovery.md +1 -1
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/steps/step-02-prd-analysis.md +1 -1
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +1 -1
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/steps/step-06-final-assessment.md +6 -0
- package/src/xmc-skills/3-solutioning/xiaoma-create-architecture/SKILL.md +74 -0
- package/src/xmc-skills/3-solutioning/xiaoma-create-architecture/customize.toml +41 -0
- package/src/xmc-skills/3-solutioning/xiaoma-create-architecture/references/headless.md +37 -0
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-07-validation.md +23 -21
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-08-complete.md +6 -0
- package/src/xmc-skills/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md +93 -0
- package/src/xmc-skills/3-solutioning/xiaoma-create-epics-and-stories/customize.toml +41 -0
- package/src/xmc-skills/3-solutioning/xiaoma-create-epics-and-stories/references/headless.md +35 -0
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-epics-and-stories/steps/step-02-design-epics.md +34 -4
- package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-epics-and-stories/steps/step-04-final-validation.md +12 -0
- package/src/xmc-skills/3-solutioning/xiaoma-generate-project-context/SKILL.md +81 -0
- package/src/xmc-skills/3-solutioning/xiaoma-generate-project-context/customize.toml +41 -0
- package/src/{xmc/workflows → xmc-skills/3-solutioning}/xiaoma-generate-project-context/steps/step-03-complete.md +6 -0
- package/src/xmc-skills/4-implementation/xiaoma-agent-dev/SKILL.md +76 -0
- package/src/xmc-skills/4-implementation/xiaoma-agent-dev/customize.toml +131 -0
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/checklist.md +29 -0
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline → xmc-skills/4-implementation/xiaoma-auto-story-pipeline}/steps/step-01-init-and-validate.md +16 -8
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/steps/step-02-create-story.md +111 -0
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline → xmc-skills/4-implementation/xiaoma-auto-story-pipeline}/steps/step-03-validate-story.md +4 -2
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline → xmc-skills/4-implementation/xiaoma-auto-story-pipeline}/steps/step-04-develop-story.md +10 -6
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/steps/step-05-code-review.md +99 -0
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline → xmc-skills/4-implementation/xiaoma-auto-story-pipeline}/steps/step-06-test-story.md +25 -12
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline → xmc-skills/4-implementation/xiaoma-auto-story-pipeline}/steps/step-07-fix-and-retest.md +28 -13
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/steps/step-08-complete-story.md +174 -0
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/steps/step-09-finalize.md +145 -0
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/workflow.md +127 -0
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/xiaoma-skill-manifest.yaml +27 -0
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline-batch → xmc-skills/4-implementation/xiaoma-auto-story-pipeline-batch}/SKILL.md +2 -2
- package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline-batch/checklist.md +45 -0
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline-batch → xmc-skills/4-implementation/xiaoma-auto-story-pipeline-batch}/workflow.md +152 -9
- package/src/{xmc/workflows/4-implementation/auto-story-pipeline-batch → xmc-skills/4-implementation/xiaoma-auto-story-pipeline-batch}/xiaoma-skill-manifest.yaml +2 -2
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/SKILL.md +68 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/generate-trail.md +38 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/step-01-orientation.md +105 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/step-02-walkthrough.md +89 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/step-03-detail-pass.md +106 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/step-04-testing.md +74 -0
- package/src/xmc-skills/4-implementation/xiaoma-checkpoint-preview/step-05-wrapup.md +30 -0
- package/src/xmc-skills/4-implementation/xiaoma-code-review/SKILL.md +90 -0
- package/src/xmc-skills/4-implementation/xiaoma-code-review/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-code-review/steps/step-01-gather-context.md +85 -0
- package/src/xmc-skills/4-implementation/xiaoma-code-review/steps/step-02-review.md +35 -0
- package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-code-review/steps/step-03-triage.md +7 -8
- package/src/xmc-skills/4-implementation/xiaoma-code-review/steps/step-04-present.md +132 -0
- package/src/{xmc/workflows/4-implementation/xiaoma-correct-course/workflow.md → xmc-skills/4-implementation/xiaoma-correct-course/SKILL.md} +65 -31
- package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-correct-course/checklist.md +2 -2
- package/src/xmc-skills/4-implementation/xiaoma-correct-course/customize.toml +41 -0
- package/src/{xmc/workflows/4-implementation/xiaoma-create-story/workflow.md → xmc-skills/4-implementation/xiaoma-create-story/SKILL.md} +60 -11
- package/src/xmc-skills/4-implementation/xiaoma-create-story/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-create-story/references/headless.md +32 -0
- package/src/{xmc/workflows/4-implementation/xiaoma-dev-story/workflow.md → xmc-skills/4-implementation/xiaoma-dev-story/SKILL.md} +70 -20
- package/src/xmc-skills/4-implementation/xiaoma-dev-story/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-investigate/SKILL.md +196 -0
- package/src/xmc-skills/4-implementation/xiaoma-investigate/customize.toml +62 -0
- package/src/xmc-skills/4-implementation/xiaoma-investigate/references/case-file-template.md +127 -0
- package/src/{xmc/workflows/xiaoma-qa-generate-e2e-tests/workflow.md → xmc-skills/4-implementation/xiaoma-qa-generate-e2e-tests/SKILL.md} +51 -23
- package/src/{xmc/workflows → xmc-skills/4-implementation}/xiaoma-qa-generate-e2e-tests/checklist.md +1 -5
- package/src/xmc-skills/4-implementation/xiaoma-qa-generate-e2e-tests/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/SKILL.md +111 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/compile-epic-context.md +62 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/spec-template.md +88 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/step-01-clarify-and-route.md +100 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/step-02-plan.md +47 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/step-03-implement.md +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/step-04-review.md +50 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/step-05-present.md +78 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/step-oneshot.md +71 -0
- package/src/xmc-skills/4-implementation/xiaoma-quick-dev/sync-sprint-status.md +19 -0
- package/src/{xmc/workflows/4-implementation/xiaoma-retrospective/workflow.md → xmc-skills/4-implementation/xiaoma-retrospective/SKILL.md} +185 -152
- package/src/xmc-skills/4-implementation/xiaoma-retrospective/customize.toml +41 -0
- package/src/{xmc/workflows/4-implementation/xiaoma-sprint-planning/workflow.md → xmc-skills/4-implementation/xiaoma-sprint-planning/SKILL.md} +59 -15
- package/src/xmc-skills/4-implementation/xiaoma-sprint-planning/customize.toml +41 -0
- package/src/xmc-skills/4-implementation/xiaoma-sprint-planning/references/headless.md +28 -0
- package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-sprint-planning/sprint-status-template.yaml +3 -3
- package/src/{xmc/workflows/4-implementation/xiaoma-sprint-status/workflow.md → xmc-skills/4-implementation/xiaoma-sprint-status/SKILL.md} +57 -20
- package/src/xmc-skills/4-implementation/xiaoma-sprint-status/customize.toml +41 -0
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/checklist.md +6 -0
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/steps/step-01-init-and-validate.md +28 -4
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/steps/step-02-run-requirements-pipeline.md +2 -1
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/steps/step-03-bridge-sprint-planning.md +63 -9
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/steps/step-04-run-story-pipeline.md +2 -1
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/steps/step-05-finalize.md +30 -3
- package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/workflow.md +7 -8
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/checklist.md +4 -0
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/steps/step-01-init-and-validate.md +8 -7
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/steps/step-02-create-epics.md +3 -2
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/steps/step-03-bridge-sprint-planning.md +68 -14
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/steps/step-04-batch-create-stories.md +9 -7
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/steps/step-05-finalize.md +48 -8
- package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/workflow.md +7 -8
- package/src/xmc-skills/module-help.csv +32 -0
- package/src/xmc-skills/module.yaml +95 -0
- package/src/xpm-skills/module-help.csv +3 -0
- package/src/xpm-skills/module.yaml +36 -0
- package/src/xpm-skills/xiaoma-agent-patent-advisor/SKILL.md +75 -0
- package/src/xpm-skills/xiaoma-agent-patent-advisor/customize.toml +46 -0
- package/src/xpm-skills/xiaoma-patent-mining/SKILL.md +6 -0
- package/src/xpm-skills/xiaoma-patent-mining/steps/step-01-project-analysis.md +65 -0
- package/src/xpm-skills/xiaoma-patent-mining/steps/step-02-patent-mining.md +87 -0
- package/src/xpm-skills/xiaoma-patent-mining/steps/step-03-disclosure-writing.md +110 -0
- package/src/xpm-skills/xiaoma-patent-mining/steps/step-04-ai-taste-removal.md +85 -0
- package/src/xpm-skills/xiaoma-patent-mining/steps/step-05-docx-generation.md +111 -0
- package/src/xpm-skills/xiaoma-patent-mining/workflow.md +94 -0
- package/tools/format-workflow-md.js +263 -0
- package/tools/{cli → installer}/README.md +2 -2
- package/tools/installer/cli-utils.js +57 -0
- package/tools/installer/commands/install.js +146 -0
- package/tools/{cli → installer}/commands/status.js +15 -7
- package/tools/{cli → installer}/commands/uninstall.js +7 -7
- package/tools/installer/core/config.js +73 -0
- package/tools/installer/core/existing-install.js +121 -0
- package/tools/installer/core/install-paths.js +132 -0
- package/tools/installer/core/installer.js +1624 -0
- package/tools/installer/core/legacy-warnings.js +156 -0
- package/tools/installer/core/manifest-generator.js +859 -0
- package/tools/installer/core/manifest.js +434 -0
- package/tools/{cli/lib → installer}/file-ops.js +1 -1
- package/tools/installer/fs-native.js +116 -0
- package/tools/installer/ide/_config-driven.js +972 -0
- package/tools/{cli/installers/lib → installer}/ide/manager.js +82 -62
- package/tools/installer/ide/platform-codes.js +80 -0
- package/tools/installer/ide/platform-codes.yaml +322 -0
- package/tools/installer/ide/shared/installed-skills.js +50 -0
- package/tools/{cli/installers/lib → installer}/ide/shared/path-utils.js +0 -145
- package/tools/{cli/installers/lib → installer}/ide/shared/skill-manifest.js +3 -36
- package/tools/installer/list-options.js +210 -0
- package/tools/{cli/installers/lib → installer}/message-loader.js +3 -3
- package/tools/installer/modules/channel-plan.js +203 -0
- package/tools/installer/modules/channel-resolver.js +241 -0
- package/tools/installer/modules/custom-module-manager.js +912 -0
- package/tools/installer/modules/external-manager.js +533 -0
- package/tools/installer/modules/module-help-schema.js +13 -0
- package/tools/{cli/installers/lib/core/config-collector.js → installer/modules/official-modules.js} +1052 -110
- package/tools/installer/modules/plugin-resolver.js +398 -0
- package/tools/installer/modules/version-resolver.js +336 -0
- package/tools/installer/project-root.js +230 -0
- package/tools/{cli/lib → installer}/prompts.js +143 -100
- package/tools/installer/set-overrides.js +367 -0
- package/tools/installer/ui.js +2078 -0
- package/tools/{cli → installer}/xiaoma-cli.js +9 -10
- package/tools/{cli/lib → installer}/yaml-format.js +1 -1
- package/tools/migrate-custom-module-paths.js +124 -0
- package/tools/schema/step.js +855 -0
- package/tools/skill-validator.md +323 -0
- package/tools/validate-file-refs.js +566 -0
- package/tools/validate-frontmatter-prose-routing.js +334 -0
- package/tools/validate-skills.js +702 -0
- package/tools/validate-step-schemas.js +401 -0
- package/tools/validate-svg-changes.sh +1 -1
- package/tools/validate-trigger-column-vs-emits.js +375 -0
- package/tools/validate-warnings-samples.js +261 -0
- package/tools/xiaoma/rebrand.mjs +0 -0
- package/tools/xiaoma-npx-wrapper.js +2 -2
- package/.playwright-cli/console-2026-05-13T06-36-26-793Z.log +0 -2
- package/.playwright-cli/page-2026-05-13T06-36-27-725Z.yml +0 -1
- package/CLAUDE.md +0 -111
- package/README.md +0 -128
- package/XiaoMa-CLI-2026H2-/350/277/255/344/273/243/350/247/204/345/210/222.pptx +0 -0
- package/demo/xiaoma-bug-circle-resolve/SKILL.md +0 -6
- package/demo/xiaoma-bug-circle-resolve/workflow.md +0 -254
- package/demo/xiaoma-bug-resolve/SKILL.md +0 -6
- package/demo/xiaoma-bug-resolve/workflow.md +0 -269
- package/demo/xiaoma-prd-saas-zh/README.md +0 -57
- package/demo/xiaoma-prd-saas-zh/domain-research.md +0 -128
- package/demo/xiaoma-prd-saas-zh/epics.md +0 -303
- package/demo/xiaoma-prd-saas-zh/market-research-2026-q1.md +0 -183
- package/demo/xiaoma-prd-saas-zh/prd-bad-examples.md +0 -268
- package/demo/xiaoma-prd-saas-zh/prd.md +0 -409
- package/demo/xiaoma-prd-saas-zh/product-brief.md +0 -97
- package/demo/xiaoma-prd-saas-zh/validation-report.md +0 -279
- package/docs/roadshow/01-/351/241/271/347/233/256/346/246/202/350/247/210/344/270/216/346/236/266/346/236/204.md +0 -189
- package/docs/roadshow/02-/346/231/272/350/203/275/344/275/223/347/263/273/347/273/237/350/257/246/350/247/243.md +0 -464
- package/docs/roadshow/03-/346/231/272/350/203/275/344/275/223/344/272/244/344/272/222/346/265/201/347/250/213/345/233/276.md +0 -334
- package/docs/roadshow/04-/345/267/245/344/275/234/346/265/201/346/211/247/350/241/214/350/257/246/350/247/243.md +0 -1038
- package/docs/roadshow/05-/346/212/200/346/234/257/345/256/236/347/216/260/344/270/216/345/210/233/346/226/260/344/272/256/347/202/271.md +0 -205
- package/docs/roadshow/06-/350/267/257/346/274/224/346/200/273/347/273/223/344/270/216/346/274/224/347/244/272/345/273/272/350/256/256.md +0 -167
- package/media/doc1_fig1.png +0 -0
- package/media/doc1_fig2.png +0 -0
- package/media/doc1_fig3.png +0 -0
- package/media/doc1_fig4.png +0 -0
- package/media/doc2_fig1.png +0 -0
- package/media/doc2_fig2.png +0 -0
- package/media/doc2_fig3.png +0 -0
- package/media/doc2_fig4.png +0 -0
- package/media/doc3_fig1.png +0 -0
- package/media/doc3_fig2.png +0 -0
- package/media/doc3_fig3.png +0 -0
- package/media/doc3_fig4.png +0 -0
- package/media/doc4_fig1.png +0 -0
- package/media/doc4_fig2.png +0 -0
- package/media/doc4_fig3.png +0 -0
- package/media/doc5_fig1.png +0 -0
- package/media/doc5_fig2.png +0 -0
- package/media/doc5_fig3.png +0 -0
- package/patent-disclosure-optimized/SKILL.md +0 -416
- package/src/core/module-help.csv +0 -11
- package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md +0 -6
- package/src/core/skills/xiaoma-advanced-elicitation/methods.csv +0 -51
- package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md +0 -6
- package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md +0 -6
- package/src/core/skills/xiaoma-help/SKILL.md +0 -6
- package/src/core/skills/xiaoma-help/workflow.md +0 -88
- package/src/core/skills/xiaoma-help/xiaoma-skill-manifest.yaml +0 -1
- package/src/core/skills/xiaoma-index-docs/SKILL.md +0 -6
- package/src/core/skills/xiaoma-index-docs/xiaoma-skill-manifest.yaml +0 -1
- package/src/core/skills/xiaoma-party-mode/SKILL.md +0 -6
- package/src/core/skills/xiaoma-party-mode/steps/step-01-agent-loading.md +0 -138
- package/src/core/skills/xiaoma-party-mode/steps/step-02-discussion-orchestration.md +0 -187
- package/src/core/skills/xiaoma-party-mode/steps/step-03-graceful-exit.md +0 -167
- package/src/core/skills/xiaoma-party-mode/workflow.md +0 -190
- package/src/core/skills/xiaoma-party-mode/xiaoma-skill-manifest.yaml +0 -1
- package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md +0 -6
- package/src/core/skills/xiaoma-review-adversarial-general/xiaoma-skill-manifest.yaml +0 -1
- package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md +0 -6
- package/src/core/skills/xiaoma-review-edge-case-hunter/xiaoma-skill-manifest.yaml +0 -1
- package/src/core/skills/xiaoma-shard-doc/SKILL.md +0 -6
- package/src/core/skills/xiaoma-shard-doc/xiaoma-skill-manifest.yaml +0 -1
- package/src/core/tasks/xiaoma-create-prd/SKILL.md +0 -6
- package/src/core/tasks/xiaoma-create-prd/data/prd-purpose.md +0 -354
- package/src/core/tasks/xiaoma-create-prd/data/upstream-input-contract.md +0 -168
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-01-init.md +0 -178
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-01b-continue.md +0 -161
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-02-discovery.md +0 -208
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-02b-vision.md +0 -142
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-02c-executive-summary.md +0 -158
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-03-success.md +0 -214
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-04-journeys.md +0 -201
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-05-domain.md +0 -194
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-06-innovation.md +0 -211
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-07-project-type.md +0 -222
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-08-scoping.md +0 -216
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-09-functional.md +0 -219
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-10-nonfunctional.md +0 -230
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-11-polish.md +0 -221
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-12-complete.md +0 -115
- package/src/core/tasks/xiaoma-create-prd/templates/prd-skeleton-reference.md +0 -428
- package/src/core/tasks/xiaoma-create-prd/templates/prd-template.md +0 -108
- package/src/core/tasks/xiaoma-create-prd/workflow.md +0 -62
- package/src/core/tasks/xiaoma-create-prd/xiaoma-skill-manifest.yaml +0 -1
- package/src/utility/agent-components/activation-rules.txt +0 -6
- package/src/utility/agent-components/activation-steps.txt +0 -14
- package/src/utility/agent-components/agent-command-header.md +0 -1
- package/src/utility/agent-components/agent.customize.template.yaml +0 -41
- package/src/utility/agent-components/handler-action.txt +0 -4
- package/src/utility/agent-components/handler-data.txt +0 -5
- package/src/utility/agent-components/handler-exec.txt +0 -6
- package/src/utility/agent-components/handler-multi.txt +0 -13
- package/src/utility/agent-components/handler-tmpl.txt +0 -5
- package/src/utility/agent-components/menu-handlers.txt +0 -6
- package/src/xmc/agents/analyst.agent.yaml +0 -47
- package/src/xmc/agents/architect.agent.yaml +0 -29
- package/src/xmc/agents/dev.agent.yaml +0 -38
- package/src/xmc/agents/pm.agent.yaml +0 -44
- package/src/xmc/agents/qa.agent.yaml +0 -58
- package/src/xmc/agents/quick-flow-solo-dev.agent.yaml +0 -36
- package/src/xmc/agents/sm.agent.yaml +0 -53
- package/src/xmc/agents/tech-writer/tech-writer-sidecar/documentation-standards.md +0 -224
- package/src/xmc/agents/tech-writer/tech-writer.agent.yaml +0 -46
- package/src/xmc/agents/tech-writer/xiaoma-skill-manifest.yaml +0 -3
- package/src/xmc/agents/ux-designer.agent.yaml +0 -27
- package/src/xmc/agents/xiaoma-skill-manifest.yaml +0 -39
- package/src/xmc/data/project-context-template.md +0 -26
- package/src/xmc/module-help.csv +0 -32
- package/src/xmc/module.yaml +0 -50
- package/src/xmc/teams/default-party.csv +0 -20
- package/src/xmc/teams/team-fullstack.yaml +0 -12
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-08-finalize.md +0 -124
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/workflow.md +0 -107
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/xiaoma-skill-manifest.yaml +0 -3
- package/src/xmc/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
- package/src/xmc/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
- package/src/xmc/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
- package/src/xmc/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
- package/src/xmc/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
- package/src/xmc/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -476
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/workflow.md +0 -49
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/workflow.md +0 -49
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/research.template.md +0 -29
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/workflow.md +0 -50
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md +0 -6
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/product-brief.template.md +0 -10
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-01-init.md +0 -170
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-01b-continue.md +0 -158
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-02-vision.md +0 -193
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-03-users.md +0 -196
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-04-metrics.md +0 -199
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-05-scope.md +0 -213
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-06-complete.md +0 -159
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/workflow.md +0 -55
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/project-types.csv +0 -11
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -224
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -232
- package/src/xmc/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -65
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-01-init.md +0 -135
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-01b-continue.md +0 -127
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-02-discovery.md +0 -190
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-03-core-experience.md +0 -217
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-04-emotional-response.md +0 -220
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-05-inspiration.md +0 -235
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-06-design-system.md +0 -253
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-07-defining-experience.md +0 -255
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-08-visual-foundation.md +0 -225
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-09-design-directions.md +0 -225
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-10-user-journeys.md +0 -242
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-11-component-strategy.md +0 -249
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-12-ux-patterns.md +0 -238
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-13-responsive-accessibility.md +0 -265
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/steps/step-14-complete.md +0 -171
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/ux-design-template.md +0 -13
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/workflow.md +0 -36
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01-discovery.md +0 -242
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01b-legacy-conversion.md +0 -204
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-02-review.md +0 -245
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-03-edit.md +0 -250
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-04-complete.md +0 -165
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/workflow.md +0 -63
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/domain-complexity.csv +0 -15
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/prd-purpose.md +0 -197
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/prd-quality-rubric.csv +0 -14
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/project-types.csv +0 -11
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-01-discovery.md +0 -221
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02-format-detection.md +0 -188
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02b-parity-check.md +0 -206
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-03-density-validation.md +0 -171
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -211
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-05-measurability-validation.md +0 -225
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-06-traceability-validation.md +0 -214
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -202
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -240
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-09-project-type-validation.md +0 -260
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-10-smart-validation.md +0 -206
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -261
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-12-completeness-validation.md +0 -239
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-13-report-complete.md +0 -229
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/workflow.md +0 -62
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/workflow.md +0 -49
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/workflow.md +0 -38
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/workflow.md +0 -53
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/checklist.md +0 -22
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-02-create-story.md +0 -102
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-05-code-review.md +0 -95
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-08-complete-story.md +0 -114
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-09-finalize.md +0 -69
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/workflow.md +0 -89
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/xiaoma-skill-manifest.yaml +0 -3
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/checklist.md +0 -23
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-01-gather-context.md +0 -61
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-02-review.md +0 -41
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-04-present.md +0 -38
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/workflow.md +0 -54
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/discover-inputs.md +0 -88
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-retrospective/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/xiaoma-document-project/SKILL.md +0 -6
- package/src/xmc/workflows/xiaoma-document-project/workflow.md +0 -27
- package/src/xmc/workflows/xiaoma-document-project/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md +0 -6
- package/src/xmc/workflows/xiaoma-generate-project-context/workflow.md +0 -43
- package/src/xmc/workflows/xiaoma-generate-project-context/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md +0 -6
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-01-mode-detection.md +0 -169
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-02-context-gathering.md +0 -114
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-03-execute.md +0 -107
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-04-self-check.md +0 -107
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-05-adversarial-review.md +0 -94
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-06-resolve-findings.md +0 -144
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/workflow.md +0 -38
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/xiaoma-skill-manifest.yaml +0 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/xiaoma-skill-manifest.yaml +0 -1
- package/tools/cli/commands/install.js +0 -87
- package/tools/cli/external-official-modules.yaml +0 -4
- package/tools/cli/installers/lib/core/custom-module-cache.js +0 -260
- package/tools/cli/installers/lib/core/dependency-resolver.js +0 -743
- package/tools/cli/installers/lib/core/detector.js +0 -223
- package/tools/cli/installers/lib/core/ide-config-manager.js +0 -157
- package/tools/cli/installers/lib/core/installer.js +0 -3212
- package/tools/cli/installers/lib/core/manifest-generator.js +0 -1374
- package/tools/cli/installers/lib/core/manifest.js +0 -1040
- package/tools/cli/installers/lib/custom/handler.js +0 -358
- package/tools/cli/installers/lib/ide/_base-ide.js +0 -673
- package/tools/cli/installers/lib/ide/_config-driven.js +0 -1058
- package/tools/cli/installers/lib/ide/platform-codes.js +0 -100
- package/tools/cli/installers/lib/ide/platform-codes.yaml +0 -321
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +0 -181
- package/tools/cli/installers/lib/ide/shared/module-injections.js +0 -136
- package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +0 -368
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +0 -179
- package/tools/cli/installers/lib/ide/shared/xiaoma-artifacts.js +0 -181
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +0 -14
- package/tools/cli/installers/lib/ide/templates/combined/antigravity.md +0 -8
- package/tools/cli/installers/lib/ide/templates/combined/default-agent.md +0 -15
- package/tools/cli/installers/lib/ide/templates/combined/default-task.md +0 -10
- package/tools/cli/installers/lib/ide/templates/combined/default-tool.md +0 -10
- package/tools/cli/installers/lib/ide/templates/combined/default-workflow.md +0 -6
- package/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml +0 -14
- package/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml +0 -11
- package/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml +0 -11
- package/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml +0 -16
- package/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml +0 -14
- package/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md +0 -16
- package/tools/cli/installers/lib/ide/templates/combined/kiro-task.md +0 -9
- package/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md +0 -9
- package/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md +0 -7
- package/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md +0 -15
- package/tools/cli/installers/lib/ide/templates/combined/opencode-task.md +0 -13
- package/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md +0 -13
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md +0 -16
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md +0 -16
- package/tools/cli/installers/lib/ide/templates/combined/rovodev.md +0 -9
- package/tools/cli/installers/lib/ide/templates/combined/trae.md +0 -9
- package/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md +0 -10
- package/tools/cli/installers/lib/ide/templates/split/.gitkeep +0 -0
- package/tools/cli/installers/lib/modules/external-manager.js +0 -136
- package/tools/cli/installers/lib/modules/manager.js +0 -1382
- package/tools/cli/lib/activation-builder.js +0 -165
- package/tools/cli/lib/agent/compiler.js +0 -516
- package/tools/cli/lib/agent/installer.js +0 -680
- package/tools/cli/lib/agent/template-engine.js +0 -152
- package/tools/cli/lib/agent-analyzer.js +0 -97
- package/tools/cli/lib/agent-party-generator.js +0 -194
- package/tools/cli/lib/cli-utils.js +0 -182
- package/tools/cli/lib/config.js +0 -213
- package/tools/cli/lib/platform-codes.js +0 -116
- package/tools/cli/lib/project-root.js +0 -77
- package/tools/cli/lib/ui.js +0 -1960
- package/tools/cli/lib/xml-handler.js +0 -177
- package/tools/cli/lib/xml-to-markdown.js +0 -82
- package/tools/cli/lib/yaml-xml-builder.js +0 -570
- package/tools/platform-codes.yaml +0 -157
- package/tools/schema/agent.js +0 -489
- package//344/270/223/345/210/251/344/272/244/345/272/225/344/271/246_1_/351/235/242/345/220/221AI/346/231/272/350/203/275/344/275/223/347/232/204/345/244/232/351/200/232/351/201/223/344/276/235/350/265/226_20260318.md +0 -483
- package//344/270/223/345/210/251/344/272/244/345/272/225/344/271/246_2_/345/237/272/344/272/216/351/205/215/347/275/256/351/251/261/345/212/250/347/232/204/350/267/250/345/271/263/345/217/260IDE/346/231/272/350/203/275_20260318.md +0 -592
- package//344/270/223/345/210/251/344/272/244/345/272/225/344/271/246_3_AI/346/231/272/350/203/275/344/275/223/345/243/260/346/230/216/345/274/217/345/256/232/344/271/211/347/232/204/347/274/226/350/257/221/346/265/201/346/260/264_20260318.md +0 -624
- package//344/270/223/345/210/251/344/272/244/345/272/225/344/271/246_4_/345/237/272/344/272/216/345/223/210/345/270/214/346/214/207/347/272/271/347/232/204/346/231/272/350/203/275/344/275/223/351/231/204/345/261/236/350/265/204/346/272/220/351/200/211_20260318.md +0 -628
- package//344/270/223/345/210/251/344/272/244/345/272/225/344/271/246_5_AI/346/231/272/350/203/275/344/275/223/350/247/246/345/217/221/346/214/207/344/273/244/347/232/204/345/244/215/345/220/210/346/240/274/345/274/217/346/240/241_20260318.md +0 -652
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/SKILL.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/brain-methods.csv +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-01-session-setup.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-01b-continue.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-02a-user-selected.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-02b-ai-recommended.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-02c-random-selection.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-02d-progressive-flow.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/steps/step-04-idea-organization.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-brainstorming/template.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/SKILL.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/agents/distillate-compressor.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/agents/round-trip-reconstructor.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/resources/compression-rules.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/resources/splitting-strategy.md +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/scripts/tests/test_analyze_sources.py +0 -0
- /package/src/{core/skills → core-skills}/xiaoma-distillator/xiaoma-skill-manifest.yaml +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-domain-research/domain-steps/step-01-init.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-domain-research/domain-steps/step-02-domain-analysis.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-domain-research/domain-steps/step-03-competitive-landscape.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-domain-research/domain-steps/step-04-regulatory-focus.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-domain-research/domain-steps/step-05-technical-trends.md +0 -0
- /package/src/{xmc/workflows/1-analysis/research → xmc-skills/1-analysis/research/xiaoma-domain-research}/research.template.md +0 -0
- /package/src/{xmc/workflows/1-analysis/research/xiaoma-domain-research → xmc-skills/1-analysis/research/xiaoma-market-research}/research.template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-market-research/steps/step-01-init.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-market-research/steps/step-02-customer-behavior.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-market-research/steps/step-03-customer-pain-points.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-market-research/steps/step-04-customer-decisions.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-market-research/steps/step-05-competitive-analysis.md +0 -0
- /package/src/{xmc/workflows/1-analysis/research/xiaoma-market-research → xmc-skills/1-analysis/research/xiaoma-technical-research}/research.template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-technical-research/technical-steps/step-01-init.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-technical-research/technical-steps/step-02-technical-overview.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-technical-research/technical-steps/step-03-integration-patterns.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-technical-research/technical-steps/step-04-architectural-patterns.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/research/xiaoma-technical-research/technical-steps/step-05-implementation-research.md +0 -0
- /package/src/{xmc/workflows/1-analysis/auto-requirements-pipeline → xmc-skills/1-analysis/xiaoma-auto-requirements-pipeline}/SKILL.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/checklist.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/documentation-requirements.csv +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/instructions.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/templates/deep-dive-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/templates/index-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/templates/project-overview-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/templates/project-scan-report-schema.json +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/templates/source-tree-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/workflows/deep-dive-workflow.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/1-analysis}/xiaoma-document-project/workflows/full-scan-workflow.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/SKILL.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/agents/artifact-analyzer.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/agents/opportunity-reviewer.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/agents/skeptic-reviewer.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/agents/web-researcher.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/prompts/contextual-discovery.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/prompts/draft-and-review.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/prompts/finalize.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/prompts/guided-elicitation.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/resources/brief-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/1-analysis/xiaoma-product-brief-preview/xiaoma-manifest.json +0 -0
- /package/src/{core/skills/xiaoma-advanced-elicitation → xmc-skills/1-analysis/xiaoma-product-brief-preview}/xiaoma-skill-manifest.yaml +0 -0
- /package/src/{core/tasks/xiaoma-create-prd/data → xmc-skills/2-plan-workflows/xiaoma-prd/assets}/domain-complexity.csv +0 -0
- /package/src/{core/tasks/xiaoma-create-prd/data → xmc-skills/2-plan-workflows/xiaoma-prd/assets}/project-types.csv +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/steps/step-04-ux-alignment.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-check-implementation-readiness/templates/readiness-report-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/architecture-decision-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/data/domain-complexity.csv +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/data/project-types.csv +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-01-init.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-01b-continue.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-02-context.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-03-starter.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-04-decisions.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-05-patterns.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-architecture/steps/step-06-structure.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-epics-and-stories/steps/step-03-create-stories.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/3-solutioning/xiaoma-create-epics-and-stories/templates/epics-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/3-solutioning}/xiaoma-generate-project-context/project-context-template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/3-solutioning}/xiaoma-generate-project-context/steps/step-01-discover.md +0 -0
- /package/src/{xmc/workflows → xmc-skills/3-solutioning}/xiaoma-generate-project-context/steps/step-02-generate.md +0 -0
- /package/src/{xmc/workflows/4-implementation/auto-story-pipeline → xmc-skills/4-implementation/xiaoma-auto-story-pipeline}/SKILL.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-create-story/checklist.md +0 -0
- /package/src/{xmc/workflows/4-implementation/xiaoma-code-review → xmc-skills/4-implementation/xiaoma-create-story}/discover-inputs.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-create-story/template.md +0 -0
- /package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-dev-story/checklist.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/SKILL.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/steps/step-01-clarify-and-route.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/steps/step-02-plan.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/steps/step-03-implement.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/steps/step-04-review.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/steps/step-05-present.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/tech-spec-template.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-dev-new-preview/workflow.md +0 -0
- /package/src/{core/skills/xiaoma-brainstorming → xmc-skills/4-implementation/xiaoma-quick-dev-new-preview}/xiaoma-skill-manifest.yaml +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/SKILL.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/steps/step-01-understand.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/steps/step-02-investigate.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/steps/step-03-generate.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/steps/step-04-review.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/tech-spec-template.md +0 -0
- /package/src/{xmc/workflows/xiaoma-quick-flow → xmc-skills/4-implementation}/xiaoma-quick-spec/workflow.md +0 -0
- /package/src/{core/skills/xiaoma-editorial-review-prose → xmc-skills/4-implementation/xiaoma-quick-spec}/xiaoma-skill-manifest.yaml +0 -0
- /package/src/{xmc/workflows → xmc-skills}/4-implementation/xiaoma-sprint-planning/checklist.md +0 -0
- /package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/SKILL.md +0 -0
- /package/src/{xmc/workflows/5-full-pipeline/auto-full-pipeline → xmc-skills/5-full-pipeline/xiaoma-auto-full-pipeline}/xiaoma-skill-manifest.yaml +0 -0
- /package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/SKILL.md +0 -0
- /package/src/{xmc/workflows/5-full-pipeline/auto-prd-to-stories → xmc-skills/5-full-pipeline/xiaoma-auto-prd-to-stories}/xiaoma-skill-manifest.yaml +0 -0
- /package/{patent-disclosure-optimized → src/xpm-skills/xiaoma-patent-mining}/references/disclosure-template.md +0 -0
- /package/{patent-disclosure-optimized → src/xpm-skills/xiaoma-patent-mining}/references/docx-format-spec.md +0 -0
- /package/{patent-disclosure-optimized → src/xpm-skills/xiaoma-patent-mining}/references/mining-principles.md +0 -0
- /package/{patent-disclosure-optimized → src/xpm-skills/xiaoma-patent-mining}/scripts/md2docx.js +0 -0
- /package/src/{core/skills/xiaoma-editorial-review-structure → xpm-skills/xiaoma-patent-mining}/xiaoma-skill-manifest.yaml +0 -0
- /package/tools/{cli/installers → installer}/install-messages.yaml +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: xiaoma-agent-tech-writer
|
|
3
|
+
description: Technical documentation specialist and knowledge curator. Use when the user asks to talk to xiaowen or requests the tech writer.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# xiaowen — Technical Writer
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
You are xiaowen, the Technical Writer. You transform complex concepts into accessible, structured documentation — writing for the reader's task, favoring diagrams when they carry more signal than prose, and adapting depth to audience. Master of CommonMark, DITA, OpenAPI, and Mermaid.
|
|
11
|
+
|
|
12
|
+
## Conventions
|
|
13
|
+
|
|
14
|
+
- Bare paths (e.g. `references/guide.md`) resolve from the skill root.
|
|
15
|
+
- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
|
|
16
|
+
- `{project-root}`-prefixed paths resolve from the project working directory.
|
|
17
|
+
- `{skill-name}` resolves to the skill directory's basename.
|
|
18
|
+
|
|
19
|
+
## On Activation
|
|
20
|
+
|
|
21
|
+
### Step 1: Resolve the Agent Block
|
|
22
|
+
|
|
23
|
+
Run: `node {project-root}/_xiaoma/scripts/resolve_customization.js --skill {skill-root} --key agent`
|
|
24
|
+
|
|
25
|
+
**If the script fails**, resolve the `agent` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
|
|
26
|
+
|
|
27
|
+
1. `{skill-root}/customize.toml` — defaults
|
|
28
|
+
2. `{project-root}/_xiaoma/custom/{skill-name}.toml` — team overrides
|
|
29
|
+
3. `{project-root}/_xiaoma/custom/{skill-name}.user.toml` — personal overrides
|
|
30
|
+
|
|
31
|
+
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
|
|
32
|
+
|
|
33
|
+
### Step 2: Execute Prepend Steps
|
|
34
|
+
|
|
35
|
+
Execute each entry in `{agent.activation_steps_prepend}` in order before proceeding.
|
|
36
|
+
|
|
37
|
+
### Step 3: Adopt Persona
|
|
38
|
+
|
|
39
|
+
Adopt the xiaowen / Technical Writer identity established in the Overview. Layer the customized persona on top: fill the additional role of `{agent.role}`, embody `{agent.identity}`, speak in the style of `{agent.communication_style}`, and follow `{agent.principles}`.
|
|
40
|
+
|
|
41
|
+
Fully embody this persona so the user gets the best experience. Do not break character until the user dismisses the persona. When the user calls a skill, this persona carries through and remains active.
|
|
42
|
+
|
|
43
|
+
### Step 4: Load Persistent Facts
|
|
44
|
+
|
|
45
|
+
Treat every entry in `{agent.persistent_facts}` as foundational context you carry for the rest of the session. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.
|
|
46
|
+
|
|
47
|
+
### Step 5: Load Config
|
|
48
|
+
|
|
49
|
+
Load config from `{project-root}/_xiaoma/xmc/config.yaml` and resolve:
|
|
50
|
+
- Use `{user_name}` for greeting
|
|
51
|
+
- Use `{communication_language}` for all communications
|
|
52
|
+
- Use `{document_output_language}` for output documents
|
|
53
|
+
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
54
|
+
- Use `{project_knowledge}` for additional context scanning
|
|
55
|
+
|
|
56
|
+
### Step 6: Greet the User
|
|
57
|
+
|
|
58
|
+
Greet `{user_name}` warmly by name as xiaowen, speaking in `{communication_language}`. Lead the greeting with `{agent.icon}` so the user can see at a glance which agent is speaking. Remind the user they can invoke the `xiaoma-help` skill at any time for advice.
|
|
59
|
+
|
|
60
|
+
Continue to prefix your messages with `{agent.icon}` throughout the session so the active persona stays visually identifiable.
|
|
61
|
+
|
|
62
|
+
### Step 7: Execute Append Steps
|
|
63
|
+
|
|
64
|
+
Execute each entry in `{agent.activation_steps_append}` in order.
|
|
65
|
+
|
|
66
|
+
Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
|
|
67
|
+
|
|
68
|
+
### Step 8: Dispatch or Present the Menu
|
|
69
|
+
|
|
70
|
+
If the user's initial message already names an intent that clearly maps to a menu item (e.g. "hey xiaowen, let's document this codebase"), skip the menu and dispatch that item directly after greeting.
|
|
71
|
+
|
|
72
|
+
Otherwise render `{agent.menu}` as a numbered table: `Code`, `Description`, `Action` (the item's `skill` name, or a short label derived from its `prompt` text). **Stop and wait for input.** Accept a number, menu `code`, or fuzzy description match.
|
|
73
|
+
|
|
74
|
+
Dispatch on a clear match by invoking the item's `skill` or executing its `prompt`. Only pause to clarify when two or more items are genuinely close — one short question, not a confirmation ritual. When nothing on the menu fits, just continue the conversation; chat, clarifying questions, and `xiaoma-help` are always fair game.
|
|
75
|
+
|
|
76
|
+
From here, xiaowen stays active — persona, persistent facts, `{agent.icon}` prefix, and `{communication_language}` carry into every turn until the user dismisses her.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# xiaowen, the Technical Writer, is the hardcoded identity of this agent.
|
|
4
|
+
# Customize the persona and menu below to shape behavior without
|
|
5
|
+
# changing who the agent is.
|
|
6
|
+
|
|
7
|
+
[agent]
|
|
8
|
+
# non-configurable skill frontmatter, create a custom agent if you need a new name/title
|
|
9
|
+
name = "xiaowen"
|
|
10
|
+
title = "Technical Writer"
|
|
11
|
+
|
|
12
|
+
# --- Configurable below. Overrides merge per XiaoMa structural rules: ---
|
|
13
|
+
|
|
14
|
+
# scalars: override wins • arrays (persistent_facts, principles, activation_steps_*): append
|
|
15
|
+
# arrays-of-tables with `code`/`id`: replace matching items, append new ones.
|
|
16
|
+
|
|
17
|
+
icon = "📚"
|
|
18
|
+
|
|
19
|
+
# Steps to run before the standard activation (persona, config, greet).
|
|
20
|
+
# Overrides append. Use for pre-flight loads, compliance checks, etc.
|
|
21
|
+
|
|
22
|
+
activation_steps_prepend = []
|
|
23
|
+
|
|
24
|
+
# Steps to run after greet but before presenting the menu.
|
|
25
|
+
# Overrides append. Use for context-heavy setup that should happen
|
|
26
|
+
# once the user has been acknowledged.
|
|
27
|
+
|
|
28
|
+
activation_steps_append = []
|
|
29
|
+
|
|
30
|
+
# Persistent facts the agent keeps in mind for the whole session (org rules,
|
|
31
|
+
# domain constants, user preferences). Distinct from the runtime memory
|
|
32
|
+
# sidecar — these are static context loaded on activation. Overrides append.
|
|
33
|
+
#
|
|
34
|
+
# Each entry is either:
|
|
35
|
+
# - a literal sentence, e.g. "Our org is AWS-only -- do not propose GCP or Azure."
|
|
36
|
+
# - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
|
|
37
|
+
# (glob patterns are supported; the file's contents are loaded and treated as facts).
|
|
38
|
+
|
|
39
|
+
persistent_facts = [
|
|
40
|
+
"file:{project-root}/**/project-context.md",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
role = "Capture and curate project knowledge so humans and future LLM agents stay in sync during the XiaoMa Method analysis phase."
|
|
44
|
+
identity = "Writes with Julia Evans's accessibility and Edward Tufte's visual precision."
|
|
45
|
+
communication_style = "Patient educator — explains like teaching a friend. Every analogy earns its place."
|
|
46
|
+
|
|
47
|
+
# The agent's value system. Overrides append to defaults.
|
|
48
|
+
principles = [
|
|
49
|
+
"Write for the reader's task, not the writer's checklist.",
|
|
50
|
+
"A diagram beats a thousand-word paragraph.",
|
|
51
|
+
"Audience-aware: simplify or detail as the reader needs.",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
# Capabilities menu. Overrides merge by `code`: matching codes replace the item
|
|
55
|
+
# in place, new codes append. Each item has exactly one of `skill` (invokes a
|
|
56
|
+
# registered skill by name) or `prompt` (executes the prompt text directly).
|
|
57
|
+
|
|
58
|
+
[[agent.menu]]
|
|
59
|
+
code = "DP"
|
|
60
|
+
description = "Generate comprehensive project documentation (brownfield analysis, architecture scanning)"
|
|
61
|
+
skill = "xiaoma-document-project"
|
|
62
|
+
|
|
63
|
+
[[agent.menu]]
|
|
64
|
+
code = "WD"
|
|
65
|
+
description = "Author a document following documentation best practices through guided conversation"
|
|
66
|
+
prompt = "Read and follow the instructions in {skill-root}/write-document.md"
|
|
67
|
+
|
|
68
|
+
[[agent.menu]]
|
|
69
|
+
code = "MG"
|
|
70
|
+
description = "Create a Mermaid-compliant diagram based on your description"
|
|
71
|
+
prompt = "Read and follow the instructions in {skill-root}/mermaid-gen.md"
|
|
72
|
+
|
|
73
|
+
[[agent.menu]]
|
|
74
|
+
code = "VD"
|
|
75
|
+
description = "Validate documentation against standards and best practices"
|
|
76
|
+
prompt = "Read and follow the instructions in {skill-root}/validate-doc.md"
|
|
77
|
+
|
|
78
|
+
[[agent.menu]]
|
|
79
|
+
code = "EC"
|
|
80
|
+
description = "Create clear technical explanations with examples and diagrams"
|
|
81
|
+
prompt = "Read and follow the instructions in {skill-root}/explain-concept.md"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explain-concept
|
|
3
|
+
description: Create clear technical explanations with examples
|
|
4
|
+
menu-code: EC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Explain Concept
|
|
8
|
+
|
|
9
|
+
Create a clear technical explanation with examples and diagrams for a complex concept.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Understand the concept** — Clarify what needs to be explained and the target audience
|
|
14
|
+
2. **Structure** — Break it down into digestible sections using a task-oriented approach
|
|
15
|
+
3. **Illustrate** — Include code examples and Mermaid diagrams where helpful
|
|
16
|
+
4. **Deliver** — Present the explanation in clear, accessible language appropriate for the audience
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A structured explanation with examples and diagrams that makes the complex simple.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mermaid-gen
|
|
3
|
+
description: Create Mermaid-compliant diagrams
|
|
4
|
+
menu-code: MG
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mermaid Generate
|
|
8
|
+
|
|
9
|
+
Create a Mermaid diagram based on user description through multi-turn conversation until the complete details are understood.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Understand the ask** — Clarify what needs to be visualized
|
|
14
|
+
2. **Suggest diagram type** — If not specified, suggest diagram types based on the ask (flowchart, sequence, class, state, ER, etc.)
|
|
15
|
+
3. **Generate** — Create the diagram strictly following Mermaid syntax and CommonMark fenced code block standards
|
|
16
|
+
4. **Iterate** — Refine based on user feedback
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A Mermaid diagram in a fenced code block, ready to render.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: validate-doc
|
|
3
|
+
description: Validate documentation against standards and best practices
|
|
4
|
+
menu-code: VD
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Validate Documentation
|
|
8
|
+
|
|
9
|
+
Review the specified document against documentation best practices along with anything additional the user asked you to focus on.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Load the document** — Read the specified document fully
|
|
14
|
+
2. **Analyze** — Review against documentation standards, clarity, structure, audience-appropriateness, and any user-specified focus areas
|
|
15
|
+
3. **Report** — Return specific, actionable improvement suggestions organized by priority
|
|
16
|
+
|
|
17
|
+
## Output
|
|
18
|
+
|
|
19
|
+
A prioritized list of specific, actionable improvement suggestions.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: write-document
|
|
3
|
+
description: Author a document following documentation best practices
|
|
4
|
+
menu-code: WD
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Write Document
|
|
8
|
+
|
|
9
|
+
Engage in multi-turn conversation until you fully understand the ask. Use a subprocess if available for any web search, research, or document review required to extract and return only relevant info to the parent context.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Discover intent** — Ask clarifying questions until the document scope, audience, and purpose are clear
|
|
14
|
+
2. **Research** — If the user provides references or the topic requires it, use subagents to review documents and extract relevant information
|
|
15
|
+
3. **Draft** — Author the document following documentation best practices: clear structure, task-oriented approach, diagrams where helpful
|
|
16
|
+
4. **Review** — Use a subprocess to review and revise for quality of content and standards compliance
|
|
17
|
+
|
|
18
|
+
## Output
|
|
19
|
+
|
|
20
|
+
A complete, well-structured document ready for use.
|
|
@@ -24,5 +24,8 @@ Use this checklist to validate the pipeline completed successfully.
|
|
|
24
24
|
- [ ] **All Steps Completed** — Steps 1-8 all executed successfully
|
|
25
25
|
- [ ] **No HALT Conditions** — Pipeline completed without unresolved halts
|
|
26
26
|
- [ ] **Completion Report Generated** — Final summary with all output paths listed
|
|
27
|
-
- [ ] **Status File Generated** — `{planning_artifacts}/pipeline-status.json` exists with machine-readable completion data
|
|
28
|
-
- [ ] **Workflow Prerequisites Verified** — All delegated workflows (create-prd, validate-prd, create-epics, create-architecture) were verified as accessible before delegation
|
|
27
|
+
- [ ] **Status File Generated** — `{planning_artifacts}/pipeline-status.json` exists with machine-readable completion data (including `warnings` array and `readiness_status`)
|
|
28
|
+
- [ ] **Workflow Prerequisites Verified** — All delegated workflows (create-prd, validate-prd, create-epics, create-architecture) were verified as accessible in step-01 before delegation
|
|
29
|
+
- [ ] **Implementation Readiness Verdict Recorded** — `{readiness_status}` is one of: `ready`, `gaps`, `blocked`, or `not_checked` (when the optional readiness skill is not installed)
|
|
30
|
+
- [ ] **Warning Prefix Tags Used** — Every entry in `pipeline-status.json.warnings[]` begins with a canonical `[step-NN]` prefix tag drawn from the dictionary in `workflow.md` → "Warning Prefix-Tag Convention". An empty list `[]` is also a pass. No entry omits the prefix, no entry has more than one prefix, and no entry is double-prefixed (a downstream `[phase-1]` wrap by `auto-full-pipeline/step-05-finalize` is additive — the original `[step-NN]` tag is preserved in this pipeline's own `pipeline-status.json`).
|
|
31
|
+
- [ ] **Traceability Verification Executed** — step-08 section 2.4 ran the lightweight cross-document traceability check (req → PRD → epics → architecture). Either (a) no orphans were found and no `[step-08] Traceability orphan...` warnings appear in `pipeline-status.json.warnings[]`, OR (b) orphans were found and explicitly logged with `[step-08] Traceability orphan detected: ...` entries, OR (c) the check was skipped due to inconsistent ID conventions and exactly one `[step-08] Traceability verification skipped...` summary warning is present. The check is best-effort and surfacing-only — its result is advisory, not gating.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: "step-01-init-and-validate"
|
|
3
3
|
description: "Validate environment prerequisites, verify req.md exists, initialize state variables"
|
|
4
4
|
nextStepFile: "./step-02-requirements-analysis.md"
|
|
5
|
+
kind: "init"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 1 of 8: Initialize and Validate Environment
|
|
@@ -16,6 +17,8 @@ nextStepFile: "./step-02-requirements-analysis.md"
|
|
|
16
17
|
|
|
17
18
|
### 1. Validate Prerequisites
|
|
18
19
|
|
|
20
|
+
Initialize the warnings accumulator before any checks below, so the conditional `[step-01]` appends in this section always have a target: set `{run_warnings}` = `[]` (empty list). Section 4 re-affirms this declaration but must not reset the list once entries have been appended here.
|
|
21
|
+
|
|
19
22
|
Check that the following required artifacts exist:
|
|
20
23
|
|
|
21
24
|
1. **Requirements Document** — `{planning_artifacts}/req.md` (or user-specified requirements file) must exist
|
|
@@ -23,10 +26,19 @@ Check that the following required artifacts exist:
|
|
|
23
26
|
|
|
24
27
|
2. **Project Structure** — `src/` directory must exist in project root
|
|
25
28
|
- If missing: Output warning but continue — "No `src/` directory found. Architecture analysis may be limited."
|
|
29
|
+
- Append to `{run_warnings}`: `[step-01] No src/ directory found at project root — architecture analysis (step-03) may produce a sparse current-architecture-analysis.md` (see workflow.md "Warning Prefix-Tag Convention")
|
|
26
30
|
|
|
27
31
|
3. **XiaoMa Installation** — `{project-root}/_xiaoma/xmc/config.yaml` must be readable
|
|
28
32
|
- If missing: HALT — "XiaoMa is not installed in this project. Run `xiaoma install` first."
|
|
29
33
|
|
|
34
|
+
4. **Delegated Workflow Prerequisites (fail-fast)** — Verify each delegated workflow is present before running the pipeline. This avoids late failure mid-pipeline (e.g., during step-04 or step-07). Check the following paths exist and are readable:
|
|
35
|
+
- `skill:xiaoma-prd` (used in step-04 with create intent, and step-05 with validate intent)
|
|
36
|
+
- `skill:xiaoma-create-epics-and-stories` (used in step-06)
|
|
37
|
+
- `skill:xiaoma-create-architecture` (used in step-07)
|
|
38
|
+
- If any are missing: HALT — "Required delegated workflow missing: {missing_path}. Verify XiaoMa installation is complete or reinstall the affected module before re-running the pipeline."
|
|
39
|
+
- Also probe (optional, non-blocking): `skill:xiaoma-check-implementation-readiness` — used in step-08 as a final readiness gate. If missing, output INFO — "Implementation-readiness check workflow not found; pipeline will skip the final readiness gate in step-08."
|
|
40
|
+
- If the readiness-check workflow is missing, also append to `{run_warnings}`: `[step-01] xiaoma-check-implementation-readiness workflow not installed — step-08 final readiness gate will be skipped (readiness_status will be 'not_checked')`
|
|
41
|
+
|
|
30
42
|
### 2. Load Configuration
|
|
31
43
|
|
|
32
44
|
1. Load `{project-root}/_xiaoma/xmc/config.yaml`
|
|
@@ -48,6 +60,11 @@ Scan `{planning_artifacts}/` for any pre-existing documents:
|
|
|
48
60
|
- Set `{req_file_path}` = `{planning_artifacts}/req.md`
|
|
49
61
|
- Set `{pipeline_status}` = "initializing"
|
|
50
62
|
- Set `{steps_completed}` = 0
|
|
63
|
+
- Set `{analysis_iteration}` = 0 (will be re-initialized to 1 in step-02 section 4 before the first quality self-check)
|
|
64
|
+
- Set `{architecture_iteration}` = 0 (will be re-initialized to 1 in step-03 section 8 before the first quality self-check)
|
|
65
|
+
- Set `{validation_iteration}` = 0 (will be set explicitly in step-05 section 1)
|
|
66
|
+
- Set `{readiness_status}` = "not_checked" (will be updated in step-08 section 2.5 if the readiness-check workflow is installed)
|
|
67
|
+
- Ensure `{run_warnings}` is initialized as `[]` (the accumulator for prefix-tagged warnings is first declared at the top of section 1; see workflow.md → "Warning Prefix-Tag Convention" for the dictionary; serialized by step-08 section 4 into `pipeline-status.json.warnings[]`). *Note on ordering: any `[step-01]` appends performed earlier in this step file (section 1 items 2 / 4) accrue into that same list — do NOT reset the list here if earlier appends were made.*
|
|
51
68
|
- Ensure `{planning_artifacts}/` directory exists (create if needed)
|
|
52
69
|
|
|
53
70
|
### 5. Output Environment Summary
|
|
@@ -84,7 +101,7 @@ Set `{steps_completed}` = 1
|
|
|
84
101
|
|
|
85
102
|
## NEXT STEP
|
|
86
103
|
|
|
87
|
-
**NEXT:** Read fully and follow:
|
|
104
|
+
**NEXT:** Read fully and follow: `./steps/step-02-requirements-analysis.md`
|
|
88
105
|
|
|
89
106
|
---
|
|
90
107
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: "step-02-requirements-analysis"
|
|
3
3
|
description: "Analyst role performs deep requirements analysis on req.md, producing requirements-analysis.md"
|
|
4
4
|
nextStepFile: "./step-03-architecture-analysis.md"
|
|
5
|
+
kind: "analysis"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 2 of 8: Requirements Analysis
|
|
@@ -95,6 +96,7 @@ Before writing the output, initialize `{analysis_iteration}` = 1, then verify ea
|
|
|
95
96
|
3. Increment `{analysis_iteration}`
|
|
96
97
|
4. **IF `{analysis_iteration}` ≤ 2:** Repeat this quality check
|
|
97
98
|
5. **IF `{analysis_iteration}` > 2:** Proceed to section 5 with current output; note any remaining gaps in the report's Executive Summary under "Known Limitations"
|
|
99
|
+
- Append to `{run_warnings}`: `[step-02] Requirements-analysis quality self-check exceeded max retries ({analysis_iteration} iterations) — proceeding with remaining gaps documented under 'Known Limitations' in requirements-analysis.md` (see workflow.md "Warning Prefix-Tag Convention")
|
|
98
100
|
|
|
99
101
|
**IF all criteria are checked:** Proceed to section 5 immediately.
|
|
100
102
|
|
|
@@ -126,7 +128,7 @@ The report should include:
|
|
|
126
128
|
|
|
127
129
|
## NEXT STEP
|
|
128
130
|
|
|
129
|
-
**NEXT:** Read fully and follow:
|
|
131
|
+
**NEXT:** Read fully and follow: `./steps/step-03-architecture-analysis.md`
|
|
130
132
|
|
|
131
133
|
---
|
|
132
134
|
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
name: "step-03-architecture-analysis"
|
|
3
3
|
description: "Architect role analyzes existing codebase architecture, producing current-architecture-analysis.md"
|
|
4
4
|
nextStepFile: "./step-04-create-prd.md"
|
|
5
|
+
kind: "analysis"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 3 of 8: Existing Architecture Analysis
|
|
8
9
|
|
|
9
10
|
**Goal:** Analyze the existing codebase to understand the current architecture, technology stack, patterns, and conventions. This context is critical for creating a PRD and architecture design that fits the existing system.
|
|
10
11
|
|
|
11
|
-
**Role:** Architect (xiaojia) —
|
|
12
|
+
**Role:** Architect (xiaojia) — System Architect + Technical Design Leader
|
|
12
13
|
|
|
13
14
|
---
|
|
14
15
|
|
|
@@ -18,7 +19,7 @@ nextStepFile: "./step-04-create-prd.md"
|
|
|
18
19
|
|
|
19
20
|
Adopt the Architect (xiaojia) persona:
|
|
20
21
|
|
|
21
|
-
- You are xiaojia, the
|
|
22
|
+
- You are xiaojia, the System Architect + Technical Design Leader
|
|
22
23
|
- Your purpose is to understand the existing system deeply so that new features integrate cleanly
|
|
23
24
|
- Focus on patterns, conventions, and architectural decisions already in place
|
|
24
25
|
|
|
@@ -90,6 +91,7 @@ Before writing the output, initialize `{architecture_iteration}` = 1, then verif
|
|
|
90
91
|
3. Increment `{architecture_iteration}`
|
|
91
92
|
4. **IF `{architecture_iteration}` ≤ 2:** Repeat this quality check
|
|
92
93
|
5. **IF `{architecture_iteration}` > 2:** Proceed to section 9 with current output; note any remaining gaps in the report under "Key Observations and Constraints"
|
|
94
|
+
- Append to `{run_warnings}`: `[step-03] Existing-architecture-analysis quality self-check exceeded max retries ({architecture_iteration} iterations) — proceeding with remaining gaps documented under 'Key Observations and Constraints' in current-architecture-analysis.md` (see workflow.md "Warning Prefix-Tag Convention")
|
|
93
95
|
|
|
94
96
|
**IF all criteria are checked:** Proceed to section 9 immediately.
|
|
95
97
|
|
|
@@ -121,7 +123,7 @@ The report should include:
|
|
|
121
123
|
|
|
122
124
|
## NEXT STEP
|
|
123
125
|
|
|
124
|
-
**NEXT:** Read fully and follow:
|
|
126
|
+
**NEXT:** Read fully and follow: `./steps/step-04-create-prd.md`
|
|
125
127
|
|
|
126
128
|
---
|
|
127
129
|
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
name: "step-04-create-prd"
|
|
3
3
|
description: "PM role creates PRD by delegating to create-prd workflow with pipeline context"
|
|
4
4
|
nextStepFile: "./step-05-validate-prd.md"
|
|
5
|
+
kind: "orchestrator"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 4 of 8: Create PRD
|
|
8
9
|
|
|
9
10
|
**Goal:** Create a comprehensive Product Requirements Document (PRD) by delegating to the existing create-prd workflow, enriched with requirements analysis and architecture analysis context.
|
|
10
11
|
|
|
11
|
-
**Role:** PM (xiaochan) — Product Manager
|
|
12
|
+
**Role:** PM (xiaochan) — Product Manager (collaborative PRD creation specialist)
|
|
12
13
|
|
|
13
14
|
---
|
|
14
15
|
|
|
@@ -18,7 +19,7 @@ nextStepFile: "./step-05-validate-prd.md"
|
|
|
18
19
|
|
|
19
20
|
Adopt the PM (xiaochan) persona:
|
|
20
21
|
|
|
21
|
-
- You are xiaochan, the Product Manager
|
|
22
|
+
- You are xiaochan, the Product Manager (collaborative PRD creation specialist)
|
|
22
23
|
- Your purpose is to create a comprehensive PRD that bridges business requirements and technical implementation
|
|
23
24
|
- Communication style: Precise, structured, stakeholder-aware
|
|
24
25
|
|
|
@@ -39,24 +40,21 @@ Load these artifacts in order:
|
|
|
39
40
|
|
|
40
41
|
Before delegating, verify the required workflow exists:
|
|
41
42
|
|
|
42
|
-
1. Check that `
|
|
43
|
+
1. Check that `skill:xiaoma-prd` is readable
|
|
43
44
|
2. If workflow is missing:
|
|
44
|
-
- HALT — "Required workflow not found: `
|
|
45
|
+
- HALT — "Required workflow not found: `skill:xiaoma-prd`. Verify XiaoMa installation is complete."
|
|
45
46
|
|
|
46
47
|
### 4. Execute PRD Creation (Delegate)
|
|
47
48
|
|
|
48
|
-
Invoke the `xiaoma-
|
|
49
|
+
Invoke the `skill:xiaoma-prd` skill with **create** intent to create the PRD. `xiaoma-prd` is the consolidated PRD skill (create / update / validate); state the create intent explicitly so it skips its own intent-detection step.
|
|
49
50
|
|
|
50
51
|
**CRITICAL PIPELINE MODE INSTRUCTIONS:**
|
|
51
52
|
|
|
52
|
-
- This is running in **automated pipeline mode** — do NOT pause for user input
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
- When the workflow asks for clarification, use the requirements analysis to fill in gaps
|
|
58
|
-
- Complete ALL steps of the create-prd workflow without stopping
|
|
59
|
-
- Output file MUST be: `{planning_artifacts}/prd.md`
|
|
53
|
+
- This is running in **automated pipeline mode** — invoke `xiaoma-prd` **headless** (no interactive user, per its `references/headless.md`): pre-supply all inputs, do NOT pause for user input, and do NOT open any report in a browser.
|
|
54
|
+
- Force **create** intent — do not run the Update or Validate modes here.
|
|
55
|
+
- Take `xiaoma-prd`'s **Fast path**: batch any remaining gaps and draft the full PRD with `[ASSUMPTION]` tags where inference was needed, sourcing decisions automatically from `{planning_artifacts}/requirements-analysis.md` and `{planning_artifacts}/current-architecture-analysis.md`.
|
|
56
|
+
- Run `xiaoma-prd` through its Discovery → Finalize sequence to completion without stopping; make reasonable decisions automatically and fill gaps from the requirements analysis.
|
|
57
|
+
- **Output contract (overrides `xiaoma-prd`'s default run-folder):** the canonical PRD MUST be written to `{planning_artifacts}/prd.md` (flat). `xiaoma-prd` otherwise defaults to a per-run subfolder (`{planning_artifacts}/prds/prd-<name>-<date>/prd.md`); in pipeline mode, direct it to write the PRD directly to `{planning_artifacts}/prd.md` so the downstream steps (05 validate, 06 epics, 07 architecture) find it at the contracted path. If a run-folder copy is produced regardless, copy that `prd.md` to `{planning_artifacts}/prd.md` before proceeding. In a normal pipeline run no prior `{planning_artifacts}/prd.md` exists, so creation starts fresh.
|
|
60
58
|
|
|
61
59
|
### 5. Verify PRD Output
|
|
62
60
|
|
|
@@ -82,7 +80,7 @@ If PRD creation failed:
|
|
|
82
80
|
|
|
83
81
|
## NEXT STEP
|
|
84
82
|
|
|
85
|
-
**NEXT:** Read fully and follow:
|
|
83
|
+
**NEXT:** Read fully and follow: `./steps/step-05-validate-prd.md`
|
|
86
84
|
|
|
87
85
|
---
|
|
88
86
|
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
name: "step-05-validate-prd"
|
|
3
3
|
description: "PM role validates PRD by delegating to validate-prd workflow, auto-fixing issues up to 3 iterations"
|
|
4
4
|
nextStepFile: "./step-06-create-epics.md"
|
|
5
|
+
kind: "quality-gate"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 5 of 8: Validate PRD
|
|
8
9
|
|
|
9
10
|
**Goal:** Validate the PRD against quality standards using the existing validate-prd workflow. Automatically fix any issues found, up to 3 iterations.
|
|
10
11
|
|
|
11
|
-
**Role:** PM (xiaochan) — Product Manager
|
|
12
|
+
**Role:** PM (xiaochan) — Product Manager (collaborative PRD creation specialist)
|
|
12
13
|
|
|
13
14
|
---
|
|
14
15
|
|
|
@@ -18,7 +19,7 @@ nextStepFile: "./step-06-create-epics.md"
|
|
|
18
19
|
|
|
19
20
|
- Set `{validation_iteration}` = 0
|
|
20
21
|
- Set `{max_validation_iterations}` = 3
|
|
21
|
-
*(Note: This step uses a higher limit than step-02/step-03's max 2 retries because PRD validation delegates to the full 14-step validate-prd workflow — a more complex operation that warrants additional attempts before halting.)*
|
|
22
|
+
*(Note: This step uses a higher limit than step-02/step-03's max 2 retries because PRD validation delegates to the full 14-step validate-prd workflow — a more complex operation that warrants additional attempts before halting. Concretely, `{max_validation_iterations}` = 3 budgets up to three auto-fix-and-revalidate cycles after the initial validation run; `{validation_iteration}` is post-increment, so the loop HALTs on the pass where it would reach 4 — a logged `iteration 4` advisory marks that terminal boundary, not a fourth applied fix.)*
|
|
22
23
|
|
|
23
24
|
### 2. Load Required Context
|
|
24
25
|
|
|
@@ -36,23 +37,21 @@ Load these artifacts in order:
|
|
|
36
37
|
|
|
37
38
|
Before delegating, verify the required workflow exists:
|
|
38
39
|
|
|
39
|
-
1. Check that `
|
|
40
|
+
1. Check that `skill:xiaoma-prd` is readable
|
|
40
41
|
2. If workflow is missing:
|
|
41
|
-
- HALT — "Required workflow not found: `
|
|
42
|
+
- HALT — "Required workflow not found: `skill:xiaoma-prd`. Verify XiaoMa installation is complete."
|
|
42
43
|
|
|
43
44
|
### 4. Execute PRD Validation (Delegate)
|
|
44
45
|
|
|
45
|
-
Invoke the `xiaoma-validate-prd` skill
|
|
46
|
+
Invoke the `skill:xiaoma-prd` skill with **validate** intent to critique the PRD. `xiaoma-prd` is the consolidated PRD skill; its validate intent walks the PRD against the merged PRD quality rubric (`assets/prd-validation-checklist.md` — which now folds in XiaoMa's mechanical dimensions: measurability, traceability, SMART, implementation-leakage, density, domain compliance, project-type fit, dual-audience readiness, etc.) and returns findings.
|
|
46
47
|
|
|
47
48
|
**CRITICAL PIPELINE MODE INSTRUCTIONS:**
|
|
48
49
|
|
|
49
|
-
- This is running in **automated pipeline mode** — do NOT pause for user input
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
- When
|
|
53
|
-
-
|
|
54
|
-
- After fixing, re-run validation (up to `{max_validation_iterations}` times)
|
|
55
|
-
- Make autonomous decisions on how to resolve validation failures
|
|
50
|
+
- This is running in **automated pipeline mode** — invoke `xiaoma-prd` **headless** (no interactive user, per its `references/headless.md`): do NOT pause for user input and do NOT open the validation report in a browser. Findings are consumed in-context by the validation loop below.
|
|
51
|
+
- Force **validate** intent — critique only; `xiaoma-prd`'s validate mode does not itself change the PRD. The fixes are applied by **this step's** validation loop (section 5), not by the skill.
|
|
52
|
+
- Target the PRD at `{planning_artifacts}/prd.md`.
|
|
53
|
+
- When validation surfaces issues, automatically fix them in `{planning_artifacts}/prd.md`, then re-run validation (up to `{max_validation_iterations}` times).
|
|
54
|
+
- Make autonomous decisions on how to resolve validation failures.
|
|
56
55
|
|
|
57
56
|
### 5. Validation Loop
|
|
58
57
|
|
|
@@ -62,7 +61,9 @@ For each iteration:
|
|
|
62
61
|
2. If ALL checks pass: Proceed to section 6 (Validation Passed)
|
|
63
62
|
3. If issues found:
|
|
64
63
|
- Increment `{validation_iteration}`
|
|
64
|
+
- Append to `{run_warnings}`: `[step-05] PRD validation iteration {validation_iteration} for {planning_artifacts}/prd.md surfaced issues — auto-fix being applied (non-terminal, advisory only; terminal HALT at > {max_validation_iterations} iterations is a hard stop and is recorded separately below)` (see workflow.md "Warning Prefix-Tag Convention")
|
|
65
65
|
- If `{validation_iteration}` > `{max_validation_iterations}`:
|
|
66
|
+
- Append to `{run_warnings}`: `[step-05] PRD validation failed after {max_validation_iterations} iterations — escalation A/B/C/D dispatched; pipeline HALT for manual review (forward-compatibility append per workflow.md Rules item 5)`
|
|
66
67
|
- HALT — "PRD validation failed after {max_validation_iterations} iterations. Manual review required. Issues: [list remaining issues]"
|
|
67
68
|
- Fix identified issues in `{planning_artifacts}/prd.md`
|
|
68
69
|
- Re-run validation
|
|
@@ -87,14 +88,14 @@ For each iteration:
|
|
|
87
88
|
|
|
88
89
|
## NEXT STEP
|
|
89
90
|
|
|
90
|
-
**NEXT:** Read fully and follow:
|
|
91
|
+
**NEXT:** Read fully and follow: `./steps/step-06-create-epics.md`
|
|
91
92
|
|
|
92
93
|
---
|
|
93
94
|
|
|
94
95
|
## SUCCESS METRICS
|
|
95
96
|
|
|
96
97
|
- PRD passes all validation checks
|
|
97
|
-
- All
|
|
98
|
+
- All Critical issues resolved or with documented mitigation plans, Major issues addressed (or escalated per the "Beyond 3 Iterations Escalation" section below), and ≤3 unresolved Medium issues — within iteration limit (consistent with the "Validation Pass Criteria" section below)
|
|
98
99
|
- `{planning_artifacts}/prd.md` updated with fixes (if any)
|
|
99
100
|
- Validation report generated
|
|
100
101
|
|
|
@@ -107,7 +108,9 @@ For each iteration:
|
|
|
107
108
|
|
|
108
109
|
---
|
|
109
110
|
|
|
110
|
-
##
|
|
111
|
+
## Validation Blockers Checklist (阻断性问题检查清单)
|
|
112
|
+
|
|
113
|
+
> **English summary (normative for non-Chinese readers):** The 8 blocker checks below are conditions that ALL must pass before step-06 is allowed to run. They cover (1) requirements-to-story traceability, (2) technical feasibility, (3) explicit business-value statement per epic, (4) SMART acceptance criteria, (5) identified cross-team dependencies, (6) quantified performance/scalability targets, (7) completed security review with no unmitigated CRITICAL items, and (8) compliance/legal requirements folded into stories. Any failed blocker halts the pipeline at step-05 and the auto-fix iterates. The "Validation Pass Criteria" section that follows defines the joint pass condition (all blockers + ≤3 unresolved MEDIUM + ≥85% doc-quality score + ≥5 stories for normal sprint). The "Beyond 3 Iterations Escalation" section defines the A/B/C/D handling matrix when the auto-fix loop exhausts `{max_validation_iterations}`. These checks are operative checklists — the delegated `xiaoma-prd` validate intent (its `references/validate.md` playbook walking `assets/prd-validation-checklist.md`) is responsible for performing the assertions; this file documents the gate semantics for the orchestrator and for auditors.
|
|
111
114
|
|
|
112
115
|
以下条件**必须全部通过** — 任何一个失败都阻断进度到step-06:
|
|
113
116
|
|
|
@@ -131,6 +134,8 @@ PRD验证通过的充要条件:
|
|
|
131
134
|
5. ✅ 文档质量评分 >= 85%
|
|
132
135
|
6. ✅ Story计数 >= 5个 (如果目标是正常sprint)
|
|
133
136
|
|
|
137
|
+
> **管道(headless)模式语义注:** 在自动化管道运行中,第 4 条的 stakeholder 同意由管道调用方的授权代行(用户启动管道即视为授权 PM 自动决策;无人工会签环节);第 6 条仅适用于"正常 sprint"目标——对刻意收敛范围的项目(PRD/req 中显式声明 MVP 限定 N 个故事,N < 5),按其范围声明豁免,不构成验证失败。两条豁免均不需要额外记录 `{run_warnings}`。此外,部分 Blocker(跨团队依赖、合规)对单人/本地工具类项目可按"不适用(n/a)"判定通过——以 PRD 的项目类型与风险等级为准。
|
|
138
|
+
|
|
134
139
|
## 如果验证失败后超过3次迭代 (Beyond 3 Iterations Escalation)
|
|
135
140
|
|
|
136
141
|
**步骤:**
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
name: "step-06-create-epics"
|
|
3
3
|
description: "PM role creates epics and stories by delegating to create-epics-and-stories workflow"
|
|
4
4
|
nextStepFile: "./step-07-create-architecture.md"
|
|
5
|
+
kind: "orchestrator"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 6 of 8: Create Epics and Stories
|
|
8
9
|
|
|
9
10
|
**Goal:** Break down the validated PRD into epics and user stories using the existing create-epics-and-stories workflow.
|
|
10
11
|
|
|
11
|
-
**Role:** PM (xiaochan) — Product Manager
|
|
12
|
+
**Role:** PM (xiaochan) — Product Manager (collaborative PRD creation specialist)
|
|
12
13
|
|
|
13
14
|
---
|
|
14
15
|
|
|
@@ -18,7 +19,7 @@ nextStepFile: "./step-07-create-architecture.md"
|
|
|
18
19
|
|
|
19
20
|
Adopt the PM (xiaochan) persona:
|
|
20
21
|
|
|
21
|
-
- You are xiaochan, the Product Manager
|
|
22
|
+
- You are xiaochan, the Product Manager (collaborative PRD creation specialist)
|
|
22
23
|
- Your purpose is to break down the validated PRD into well-structured epics and user stories
|
|
23
24
|
- Communication style: Precise, structured, stakeholder-aware
|
|
24
25
|
- Focus on complete feature coverage and actionable story granularity
|
|
@@ -39,9 +40,9 @@ Load these artifacts in order:
|
|
|
39
40
|
|
|
40
41
|
Before delegating, verify the required workflow exists:
|
|
41
42
|
|
|
42
|
-
1. Check that `
|
|
43
|
+
1. Check that `skill:xiaoma-create-epics-and-stories` is readable
|
|
43
44
|
2. If workflow is missing:
|
|
44
|
-
- HALT — "Required workflow not found: `
|
|
45
|
+
- HALT — "Required workflow not found: `skill:xiaoma-create-epics-and-stories`. Verify XiaoMa installation is complete."
|
|
45
46
|
|
|
46
47
|
### 4. Execute Epic and Story Creation (Delegate)
|
|
47
48
|
|
|
@@ -65,8 +66,11 @@ After create-epics-and-stories workflow completes:
|
|
|
65
66
|
|
|
66
67
|
1. Verify `{planning_artifacts}/epics.md` exists
|
|
67
68
|
2. Verify all PRD features are covered by epics
|
|
69
|
+
- If any PRD feature has no covering epic: Append to `{run_warnings}`: `[step-06] PRD feature(s) not covered by any epic: {uncovered_feature_list} — advisory; pipeline continues but epics.md may need a manual completeness pass` (see workflow.md "Warning Prefix-Tag Convention")
|
|
68
70
|
3. Verify each epic has at least one user story
|
|
71
|
+
- If any epic has zero stories: Append to `{run_warnings}`: `[step-06] Epic(s) with zero stories: {empty_epic_list} — advisory; pipeline continues but downstream story-creation in Phase 3 will skip these epics`
|
|
69
72
|
4. Verify stories have acceptance criteria
|
|
73
|
+
- If any story lacks acceptance criteria: Append to `{run_warnings}`: `[step-06] Story/stories missing acceptance criteria: {story_key_list} — advisory; downstream auto-story-pipeline step-03 validation will likely flag these`
|
|
70
74
|
|
|
71
75
|
If epic creation failed:
|
|
72
76
|
|
|
@@ -84,7 +88,7 @@ If epic creation failed:
|
|
|
84
88
|
|
|
85
89
|
## NEXT STEP
|
|
86
90
|
|
|
87
|
-
**NEXT:** Read fully and follow:
|
|
91
|
+
**NEXT:** Read fully and follow: `./steps/step-07-create-architecture.md`
|
|
88
92
|
|
|
89
93
|
---
|
|
90
94
|
|