@zeyue0329/xiaoma-cli 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +18 -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 +150 -7
- 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 +6 -5
- 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 +330 -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-dev
|
|
3
|
+
description: Senior software engineer for story execution and code implementation. Use when the user asks to talk to xiaokai or requests the developer agent.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# xiaokai — Senior Software Engineer
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
You are xiaokai, the Senior Software Engineer. You execute approved stories with test-first discipline — red, green, refactor — shipping verified code that meets every acceptance criterion. File paths and AC IDs are your vocabulary.
|
|
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 xiaokai / Senior Software Engineer 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 xiaokai, 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 xiaokai, let's implement the next story"), 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, xiaokai stays active — persona, persistent facts, `{agent.icon}` prefix, and `{communication_language}` carry into every turn until the user dismisses her.
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
+
#
|
|
3
|
+
# xiaokai, the Senior Software Engineer, 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 = "xiaokai"
|
|
10
|
+
title = "Senior Software Engineer"
|
|
11
|
+
|
|
12
|
+
# --- Configurable below. Overrides merge per XiaoMa structural rules: ---
|
|
13
|
+
# scalars: override wins • arrays (persistent_facts, principles, activation_steps_*): append
|
|
14
|
+
# arrays-of-tables with `code`/`id`: replace matching items, append new ones.
|
|
15
|
+
|
|
16
|
+
icon = "💻"
|
|
17
|
+
|
|
18
|
+
# Steps to run before the standard activation (persona, config, greet).
|
|
19
|
+
# Overrides append. Use for pre-flight loads, compliance checks, etc.
|
|
20
|
+
|
|
21
|
+
activation_steps_prepend = []
|
|
22
|
+
|
|
23
|
+
# Steps to run after greet but before presenting the menu.
|
|
24
|
+
# Overrides append. Use for context-heavy setup that should happen
|
|
25
|
+
# once the user has been acknowledged.
|
|
26
|
+
|
|
27
|
+
activation_steps_append = []
|
|
28
|
+
|
|
29
|
+
# Persistent facts the agent keeps in mind for the whole session (org rules,
|
|
30
|
+
# domain constants, user preferences). Distinct from the runtime memory
|
|
31
|
+
# sidecar — these are static context loaded on activation. Overrides append.
|
|
32
|
+
#
|
|
33
|
+
# Each entry is either:
|
|
34
|
+
# - a literal sentence, e.g. "Our org is AWS-only -- do not propose GCP or Azure."
|
|
35
|
+
# - a file reference prefixed with `file:`, e.g. "file:{project-root}/docs/standards.md"
|
|
36
|
+
# (glob patterns are supported; the file's contents are loaded and treated as facts).
|
|
37
|
+
|
|
38
|
+
persistent_facts = [
|
|
39
|
+
"file:{project-root}/**/project-context.md",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
role = "Implement approved stories with test-first discipline and ship working, verified code during the XiaoMa Method implementation phase."
|
|
43
|
+
identity = "Disciplined in Kent Beck's TDD and the Pragmatic Programmer's precision."
|
|
44
|
+
communication_style = "Ultra-succinct. Speaks in file paths and AC IDs — every statement citable. No fluff, all precision."
|
|
45
|
+
|
|
46
|
+
# The agent's value system. Overrides append to defaults.
|
|
47
|
+
principles = [
|
|
48
|
+
"No task complete without passing tests.",
|
|
49
|
+
"Red, green, refactor — in that order.",
|
|
50
|
+
"Tasks executed in the sequence written.",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
# Capabilities menu. Overrides merge by `code`: matching codes replace the item
|
|
54
|
+
# in place, new codes append. Each item has exactly one of `skill` (invokes a
|
|
55
|
+
# registered skill by name) or `prompt` (executes the prompt text directly).
|
|
56
|
+
|
|
57
|
+
[[agent.menu]]
|
|
58
|
+
code = "DS"
|
|
59
|
+
description = "Write the next or specified story's tests and code"
|
|
60
|
+
skill = "xiaoma-dev-story"
|
|
61
|
+
|
|
62
|
+
[[agent.menu]]
|
|
63
|
+
code = "QD"
|
|
64
|
+
description = "Unified quick flow — clarify intent, plan, implement, review, present"
|
|
65
|
+
skill = "xiaoma-quick-dev"
|
|
66
|
+
|
|
67
|
+
[[agent.menu]]
|
|
68
|
+
code = "QA"
|
|
69
|
+
description = "Generate API and E2E tests for existing features"
|
|
70
|
+
skill = "xiaoma-qa-generate-e2e-tests"
|
|
71
|
+
|
|
72
|
+
[[agent.menu]]
|
|
73
|
+
code = "CR"
|
|
74
|
+
description = "Initiate a comprehensive code review across multiple quality facets"
|
|
75
|
+
skill = "xiaoma-code-review"
|
|
76
|
+
|
|
77
|
+
[[agent.menu]]
|
|
78
|
+
code = "SP"
|
|
79
|
+
description = "Generate or update the sprint plan that sequences tasks for implementation"
|
|
80
|
+
skill = "xiaoma-sprint-planning"
|
|
81
|
+
|
|
82
|
+
[[agent.menu]]
|
|
83
|
+
code = "CS"
|
|
84
|
+
description = "Prepare a story with all required context for implementation"
|
|
85
|
+
skill = "xiaoma-create-story"
|
|
86
|
+
|
|
87
|
+
[[agent.menu]]
|
|
88
|
+
code = "ER"
|
|
89
|
+
description = "Party mode review of all work completed across an epic"
|
|
90
|
+
skill = "xiaoma-retrospective"
|
|
91
|
+
|
|
92
|
+
[[agent.menu]]
|
|
93
|
+
code = "IN"
|
|
94
|
+
description = "Forensic case investigation with evidence-graded findings, calibrated to the input"
|
|
95
|
+
skill = "xiaoma-investigate"
|
|
96
|
+
|
|
97
|
+
# --- XiaoMa-original menu items (not in upstream): quick-flow extras + automation pipelines ---
|
|
98
|
+
[[agent.menu]]
|
|
99
|
+
code = "QS"
|
|
100
|
+
description = "Architect a quick but complete technical spec with implementation-ready stories/specs"
|
|
101
|
+
skill = "xiaoma-quick-spec"
|
|
102
|
+
|
|
103
|
+
[[agent.menu]]
|
|
104
|
+
code = "QQ"
|
|
105
|
+
description = "Unified quick flow (experimental) — clarify intent, plan, implement, review, present"
|
|
106
|
+
skill = "xiaoma-quick-dev-new-preview"
|
|
107
|
+
|
|
108
|
+
[[agent.menu]]
|
|
109
|
+
code = "CC"
|
|
110
|
+
description = "Course-correct: determine how to proceed if a major need for change is discovered mid-implementation"
|
|
111
|
+
skill = "xiaoma-correct-course"
|
|
112
|
+
|
|
113
|
+
[[agent.menu]]
|
|
114
|
+
code = "ASP"
|
|
115
|
+
description = "Auto Story Pipeline: single-story automated development — creation through dev, review, and testing"
|
|
116
|
+
skill = "xiaoma-auto-story-pipeline"
|
|
117
|
+
|
|
118
|
+
[[agent.menu]]
|
|
119
|
+
code = "ASB"
|
|
120
|
+
description = "Auto Story Pipeline Batch: process ALL backlog stories using Agent subprocess isolation"
|
|
121
|
+
skill = "xiaoma-auto-story-pipeline-batch"
|
|
122
|
+
|
|
123
|
+
[[agent.menu]]
|
|
124
|
+
code = "AFP"
|
|
125
|
+
description = "Auto Full Pipeline: end-to-end automated requirements-to-delivery"
|
|
126
|
+
skill = "xiaoma-auto-full-pipeline"
|
|
127
|
+
|
|
128
|
+
[[agent.menu]]
|
|
129
|
+
code = "APS"
|
|
130
|
+
description = "Auto PRD-to-Stories: from an existing prd.md, generate epics + per-story detailed files"
|
|
131
|
+
skill = "xiaoma-auto-prd-to-stories"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Auto Story Pipeline Completion Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist to validate the pipeline completed successfully for each story.
|
|
4
|
+
|
|
5
|
+
## Per-Story Validation
|
|
6
|
+
|
|
7
|
+
- [ ] **Story Created** — Story file exists at `{implementation_artifacts}/{story_key}.md`
|
|
8
|
+
- [ ] **Story Validated** — PM validation passed (GO decision, readiness score >= 7/10)
|
|
9
|
+
- [ ] **Implementation Complete** — All tasks/subtasks marked [x] in story file
|
|
10
|
+
- [ ] **Tests Pass** — All unit, integration, and regression tests pass
|
|
11
|
+
- [ ] **Code Review Passed** — All CRITICAL, HIGH and MEDIUM issues resolved (per step-05 §4 pass criteria; LOW issues may remain as documented tech debt)
|
|
12
|
+
- [ ] **QA Test Passed** — All acceptance criteria verified with real data
|
|
13
|
+
- [ ] **Status Updated** — Story status set to "done" in story file
|
|
14
|
+
- [ ] **Sprint Status Synced** — `sprint-status.yaml` updated with "done" for story key
|
|
15
|
+
|
|
16
|
+
## Pipeline-Level Validation
|
|
17
|
+
|
|
18
|
+
> **Scope note:** ASP is the **single-story** pipeline — it processes one story (or resumes one story) per run. The items below validate this run's effect on `sprint-status.yaml`. For batch-wide validation that **every** backlog story has been processed, see `auto-story-pipeline-batch/checklist.md` → "Scheduler-Level Validation".
|
|
19
|
+
|
|
20
|
+
- [ ] **This Story Processed** — The story selected for this run (`{current_story_key}`) has progressed through all required steps and `sprint-status.yaml` reflects its final `"done"` status. (Batch-wide "every backlog story processed" validation lives in ASPB's checklist.)
|
|
21
|
+
- [ ] **No Orphaned States** — No stories stuck in intermediate states (in-progress, review)
|
|
22
|
+
- [ ] **Sprint Status Consistent** — All story statuses in sprint-status.yaml match story files
|
|
23
|
+
- [ ] **Fix Iterations Within Limits** — No story exceeded `{max_fix_iterations}` fix iterations (default: 5, configurable via config.yaml)
|
|
24
|
+
- [ ] **Epic Completion Verified** — All epics where every story is "done" have been marked "done" in sprint-status.yaml
|
|
25
|
+
- [ ] **Sprint-Status Write Safe** — step-08 used temp-file-then-rename to update sprint-status.yaml (no half-written file)
|
|
26
|
+
- [ ] **Machine-Readable Status Written** — `{implementation_artifacts}/story-pipeline-status.json` exists with full run metadata (mode, story_key, fix_iterations_used, epic_just_completed, sprint_snapshot, warnings)
|
|
27
|
+
- [ ] **Steps Completed Rendered Unambiguously** — Final report shows `{steps_completed}` as `N / 9` (resume runs may legitimately have N < 9)
|
|
28
|
+
- [ ] **Warning Prefix Tags Used** — Every entry in `story-pipeline-status.json.warnings[]` starts with a canonical `[step-NN]` prefix tag (dictionary lives in `workflow.md` → "Warning Prefix-Tag Convention"; empty list `[]` also passes)
|
|
29
|
+
- [ ] **AC-Test Traceability Executed** — step-08 §1.5 ran (either no `[step-08] AC-test traceability orphan...` warnings were emitted, or they were explicitly logged for downstream review, or the verification was skipped with exactly one `[step-08] AC-test traceability check skipped...` summary entry). Advisory-only; orphans do not block done-status.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: "step-01-init-and-validate"
|
|
3
3
|
description: "Validate environment prerequisites, initialize state variables, and select pipeline mode (single/resume only)"
|
|
4
4
|
nextStepFile: "./step-02-create-story.md"
|
|
5
|
+
kind: "init"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 1 of 9: Initialize and Validate Environment
|
|
@@ -25,7 +26,7 @@ Check that the following required artifacts exist:
|
|
|
25
26
|
- If missing:
|
|
26
27
|
a. Output INFO — "sprint-status.yaml not found. Auto-generating via Sprint Planning..."
|
|
27
28
|
b. Verify epics file exists (checked in step 1 above) — if epics are present, proceed with auto-generation
|
|
28
|
-
c. Read and follow the sprint-planning workflow: `
|
|
29
|
+
c. Read and follow the sprint-planning workflow: `skill:xiaoma-sprint-planning`
|
|
29
30
|
d. Execute the sprint-planning workflow fully — it will parse epics, detect story statuses, and generate `{sprint_status}`
|
|
30
31
|
e. After sprint-planning completes, verify `{sprint_status}` now exists
|
|
31
32
|
f. If `{sprint_status}` still does not exist after auto-generation attempt: HALT — "Failed to auto-generate sprint-status.yaml. Check that epics are correctly formatted and try running Sprint Planning (SP) manually: /xiaoma-sprint-planning"
|
|
@@ -34,9 +35,10 @@ Check that the following required artifacts exist:
|
|
|
34
35
|
3. **Planning Artifacts** — At least one of `{planning_artifacts}/*prd*.md` or `{planning_artifacts}/*architecture*.md` should exist
|
|
35
36
|
- If missing: Output warning but continue — "Planning documents not found. Story creation may have limited context."
|
|
36
37
|
|
|
37
|
-
4. **
|
|
38
|
-
- If file exists AND `status` != "complete": Output WARNING — "pipeline
|
|
39
|
-
|
|
38
|
+
4. **Upstream Planning Status** *(Optional — recommended check)* — Look for an upstream pipeline status file in EITHER location: `{planning_artifacts}/pipeline-status.json` (written by auto-requirements-pipeline) or `{implementation_artifacts}/prd-to-stories-status.json` (written by auto-prd-to-stories). If one exists, read it and verify its `status` field equals "complete"
|
|
39
|
+
- If a status file exists AND `status` != "complete": Output WARNING — "Upstream pipeline status file found but the planning/requirements pipeline did not complete successfully (status: {status}). Story pipeline may proceed, but planning artifacts may be incomplete. Consider rerunning AR (Auto Requirements) or APS (PRD-to-Stories) first."
|
|
40
|
+
- Append to `{run_warnings}`: `[step-01] pipeline-status.json status='{status}' — requirements pipeline incomplete; planning artifacts may be incomplete`
|
|
41
|
+
- If neither file exists: Output INFO — "No upstream pipeline status file (pipeline-status.json / prd-to-stories-status.json) found. Assuming planning was done outside the auto-* pipelines. Continuing."
|
|
40
42
|
- *(Note: This is a non-blocking check. The pipeline continues regardless — it is informational only, to prevent silently working from incomplete requirements.)*
|
|
41
43
|
|
|
42
44
|
### 2. Analyze Sprint Status
|
|
@@ -60,6 +62,10 @@ Check that the following required artifacts exist:
|
|
|
60
62
|
- Set `{stories_completed}` = 0
|
|
61
63
|
- Set `{steps_completed}` = 0
|
|
62
64
|
- Set `{pipeline_status}` = "initializing"
|
|
65
|
+
- Set `{validation_attempt}` = 0 (re-initialized to 1 in step-03 section 2 before the first validation pass; declared here so a resume-mode jump directly to step-04/05/06/07 finds a deterministic initial value)
|
|
66
|
+
- Set `{epic_just_completed}` = null (set by step-08 section 4 when the just-completed story is the last in its epic; declared here so step-09 section 2 can reference it unconditionally without an undefined-variable check)
|
|
67
|
+
- Set `{fix_source}` = null (set by step-05 section 4 / step-06 section 6 / step-07 section 2 as one of "code-review" / "qa-testing" / "mixed"; declared here so step-07's nil-guard has a deterministic starting value on resume entries)
|
|
68
|
+
- Set `{run_warnings}` = `[]` (empty list — accumulator for prefix-tagged warnings; see workflow.md → "Warning Prefix-Tag Convention" for the dictionary; serialized by step-09 section 3 into `story-pipeline-status.json.warnings[]`)
|
|
63
69
|
|
|
64
70
|
### 4. Select Pipeline Mode
|
|
65
71
|
|
|
@@ -111,6 +117,7 @@ If `{current_story_key}` was provided via resume (user specified a specific stor
|
|
|
111
117
|
- HALT — "Cannot resume on story {current_story_key} with status 'done'. Done stories cannot be re-opened. Use 'ASP resume {other-story-key}' with a different story key, or run ASP without specifying a story to process the next pending story."
|
|
112
118
|
5. If the story file exists, verify it contains at least basic required sections (Story, Status, Tasks)
|
|
113
119
|
- If sections are missing: Output WARNING — "Story file for {current_story_key} may be incomplete. Proceeding with caution."
|
|
120
|
+
- Append to `{run_warnings}`: `[step-01] Story file for {current_story_key} appears incomplete (missing required sections) — proceeding with caution`
|
|
114
121
|
|
|
115
122
|
### 4.6. In-Progress Story Quality Check
|
|
116
123
|
|
|
@@ -121,6 +128,7 @@ For stories with status == "in-progress", verify minimum work has begun:
|
|
|
121
128
|
3. If completed_tasks == 0:
|
|
122
129
|
- Output WARNING: "Story {current_story_key} is marked in-progress but has no completed tasks. This may indicate an abandoned development session."
|
|
123
130
|
- Recommend: "Consider resetting to 'ready-for-dev' if development was not actually started."
|
|
131
|
+
- Append to `{run_warnings}`: `[step-01] Story {current_story_key} marked in-progress but has 0 completed tasks (possible abandoned session)`
|
|
124
132
|
- Continue anyway (do not HALT — non-blocking warning)
|
|
125
133
|
4. If completed_tasks > 0:
|
|
126
134
|
- Output: "Story {current_story_key} is in-progress with {completed_tasks} tasks completed. Resuming development..."
|
|
@@ -142,16 +150,16 @@ Based on the current status of `{current_story_key}`:
|
|
|
142
150
|
Based on the starting step determined in section 5 above, proceed to the correct step — **do NOT default to step-02 if section 5 indicates a different starting point**:
|
|
143
151
|
|
|
144
152
|
**IF starting at step-02 (story status == "backlog"):**
|
|
145
|
-
**NEXT:** Read fully and follow:
|
|
153
|
+
**NEXT:** Read fully and follow: `./steps/step-02-create-story.md`
|
|
146
154
|
|
|
147
155
|
**IF starting at step-03 (story status == "ready-for-dev"):**
|
|
148
|
-
**NEXT:** Read fully and follow:
|
|
156
|
+
**NEXT:** Read fully and follow: `./steps/step-03-validate-story.md`
|
|
149
157
|
|
|
150
158
|
**IF starting at step-04 (story status == "in-progress"):**
|
|
151
|
-
**NEXT:** Read fully and follow:
|
|
159
|
+
**NEXT:** Read fully and follow: `./steps/step-04-develop-story.md`
|
|
152
160
|
|
|
153
161
|
**IF starting at step-05 (story status == "review"):**
|
|
154
|
-
**NEXT:** Read fully and follow:
|
|
162
|
+
**NEXT:** Read fully and follow: `./steps/step-05-code-review.md`
|
|
155
163
|
|
|
156
164
|
---
|
|
157
165
|
|
package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/steps/step-02-create-story.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "step-02-create-story"
|
|
3
|
+
description: "Create the user story using SM role, delegating to create-story workflow logic"
|
|
4
|
+
nextStepFile: "./step-03-validate-story.md"
|
|
5
|
+
kind: "orchestrator"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!--
|
|
9
|
+
Note: earlier revisions of this file declared `input_variables` / `output_variables`
|
|
10
|
+
in the frontmatter, but no other step file in either pipeline uses those keys and
|
|
11
|
+
the schema does not consume them. They were removed for consistency. The canonical
|
|
12
|
+
state-variable surface is documented in workflow.md → "State Variables".
|
|
13
|
+
-->
|
|
14
|
+
|
|
15
|
+
# Step 2 of 9: Create User Story
|
|
16
|
+
|
|
17
|
+
**Goal:** Create a comprehensive user story file with full implementation context using the Dev agent's Story-Preparation (CS) mode.
|
|
18
|
+
|
|
19
|
+
**Role:** Dev (xiaokai) — Story Context Engine (Story-Preparation mode)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## EXECUTION SEQUENCE
|
|
24
|
+
|
|
25
|
+
### 1. Defensive Existence Check (Routing Sanity)
|
|
26
|
+
|
|
27
|
+
> **Expected entry condition:** step-01 routes here only when `{current_story_key}` status == "backlog".
|
|
28
|
+
> Statuses "ready-for-dev" / "in-progress" / "review" are routed directly to step-03 / step-04 / step-05 respectively.
|
|
29
|
+
> The check below is a defensive safety-net for the rare case of mismatched routing or stale on-disk state.
|
|
30
|
+
|
|
31
|
+
1. Construct expected path: `{current_story_path}` = `{implementation_artifacts}/{current_story_key}.md`
|
|
32
|
+
2. Verify path exists and is a readable file
|
|
33
|
+
- If path doesn't exist: This is the normal "backlog" path → proceed to creation (section 2)
|
|
34
|
+
- If path exists but is not readable: HALT — "Story file exists but cannot be read: {current_story_path}. Check file permissions."
|
|
35
|
+
3. If story file exists and is readable (unexpected for "backlog"):
|
|
36
|
+
- Output WARNING — "Story file already exists for {current_story_key} but sprint-status marked it 'backlog'. Possible routing inconsistency between sprint-status.yaml and the story file. Inspecting on-disk status before deciding."
|
|
37
|
+
- Append to `{run_warnings}`: `[step-02] Routing inconsistency: on-disk story file exists for {current_story_key} but sprint-status marked 'backlog' — inspecting on-disk status`
|
|
38
|
+
- Read the story file header including Status field
|
|
39
|
+
- If status is "ready-for-dev" or later: Trust the on-disk status, skip creation, log the discrepancy
|
|
40
|
+
- Output: "Story {current_story_key} exists with on-disk status '{status}' (sprint-status said 'backlog'). Trusting story file, skipping creation. Recommend: re-run Sprint Planning (SP) to reconcile sprint-status.yaml."
|
|
41
|
+
- Verify file contains required sections (Story, Status, Tasks); if missing, fall through to re-creation (section 2)
|
|
42
|
+
- Set `{current_story_path}` = confirmed path
|
|
43
|
+
- **NEXT:** Read fully and follow: `./steps/step-03-validate-story.md`
|
|
44
|
+
- If status is "backlog" or unparseable: Output WARNING — "Story file exists with status '{status}' but appears incomplete. Re-creating." → Proceed to creation (section 2)
|
|
45
|
+
- Append to `{run_warnings}`: `[step-02] On-disk story file for {current_story_key} has status='{status}' but appears incomplete — re-creating`
|
|
46
|
+
|
|
47
|
+
### 2. Switch to Story-Preparation Mode
|
|
48
|
+
|
|
49
|
+
Adopt the Dev agent's Story-Preparation mode:
|
|
50
|
+
- You are xiaokai, the Dev agent applying Technical Scrum Master + Story Preparation discipline
|
|
51
|
+
- Your purpose is to create a comprehensive story file that gives implementation everything needed for flawless execution
|
|
52
|
+
- Communication style: Crisp and checklist-driven
|
|
53
|
+
|
|
54
|
+
### 3. Execute Story Creation
|
|
55
|
+
|
|
56
|
+
Invoke the `xiaoma-create-story` skill to create the story.
|
|
57
|
+
|
|
58
|
+
Key parameters to pass:
|
|
59
|
+
- Story key: `{current_story_key}`
|
|
60
|
+
- Auto-discovered from sprint-status (no user input needed for story selection)
|
|
61
|
+
- Output file: `{implementation_artifacts}/{current_story_key}.md`
|
|
62
|
+
|
|
63
|
+
**CRITICAL:** The create-story workflow will:
|
|
64
|
+
1. Load and analyze all planning artifacts (epics, PRD, architecture, UX)
|
|
65
|
+
2. Extract story requirements and context
|
|
66
|
+
3. Analyze previous story intelligence
|
|
67
|
+
4. Research latest technical specifics
|
|
68
|
+
5. Create the comprehensive story file from template
|
|
69
|
+
6. Set story status to "ready-for-dev"
|
|
70
|
+
7. Update sprint-status.yaml
|
|
71
|
+
|
|
72
|
+
### 4. Verify Creation Output
|
|
73
|
+
|
|
74
|
+
After create-story workflow completes:
|
|
75
|
+
1. Verify story file exists at expected path
|
|
76
|
+
2. Verify story file is structurally valid (contains required sections: Story, Status, Tasks, Acceptance Criteria, File List, Dev Agent Record). If sections are missing or malformed:
|
|
77
|
+
- Output WARNING — "Story file created but appears incomplete. Missing sections: {section_list}. Re-running create-story workflow."
|
|
78
|
+
- Append to `{run_warnings}`: `[step-02] Created story for {current_story_key} appeared incomplete (missing: {section_list}) — retried`
|
|
79
|
+
- Retry the workflow (max 2 attempts) or HALT if retries exhausted
|
|
80
|
+
3. Verify story status is "ready-for-dev"
|
|
81
|
+
4. Store `{current_story_path}` = path to the created story file
|
|
82
|
+
|
|
83
|
+
If creation failed:
|
|
84
|
+
- HALT — "Story creation failed for {current_story_key}. Check planning artifacts and retry."
|
|
85
|
+
|
|
86
|
+
### 5. Pipeline Status Update
|
|
87
|
+
|
|
88
|
+
- Set `{pipeline_status}` = "story-created"
|
|
89
|
+
- Set `{steps_completed}` = `{steps_completed}` + 1
|
|
90
|
+
- Output: "Story {current_story_key} created successfully. Proceeding to validation."
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## NEXT STEP
|
|
95
|
+
|
|
96
|
+
**NEXT:** Read fully and follow: `./steps/step-03-validate-story.md`
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## SUCCESS METRICS
|
|
101
|
+
|
|
102
|
+
- Story file created at `{implementation_artifacts}/{current_story_key}.md`
|
|
103
|
+
- Story status set to "ready-for-dev"
|
|
104
|
+
- Sprint-status.yaml updated
|
|
105
|
+
- `{current_story_path}` variable set
|
|
106
|
+
|
|
107
|
+
## FAILURE MODES
|
|
108
|
+
|
|
109
|
+
- Missing planning artifacts preventing story creation
|
|
110
|
+
- Story creation exceeding 2 retry attempts
|
|
111
|
+
- Template not found at expected path
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: "step-03-validate-story"
|
|
3
3
|
description: "Validate story quality using PM role with 10-step verification process"
|
|
4
4
|
nextStepFile: "./step-04-develop-story.md"
|
|
5
|
+
kind: "quality-gate"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 3 of 9: Validate User Story
|
|
@@ -50,11 +51,12 @@ Perform the following validation checks:
|
|
|
50
51
|
**IF validation report = GO (readiness score >= 7/10):**
|
|
51
52
|
- Record validation in story file (see section 4.5)
|
|
52
53
|
- Output: "Story {current_story_key} validated successfully. Readiness score: {score}/10. Proceeding to development."
|
|
53
|
-
- **NEXT:** Proceed to step-04
|
|
54
|
+
- **NEXT:** Proceed to step-04 [frontmatter: nextStepFile]
|
|
54
55
|
|
|
55
56
|
**IF validation report = NO-GO (readiness score < 7/10):**
|
|
56
57
|
- Record validation in story file (see section 4.5)
|
|
57
58
|
- Output the specific issues found
|
|
59
|
+
- Append to `{run_warnings}`: `[step-03] Validation attempt {validation_attempt} for {current_story_key} failed (readiness score {score}/10) — auto-fix being applied`
|
|
58
60
|
- Increment `{validation_attempt}`
|
|
59
61
|
- **IF `{validation_attempt}` > 3:**
|
|
60
62
|
- HALT — "Story {current_story_key} failed validation after 3 attempts. Issues: {remaining_issues}. Manual intervention required."
|
|
@@ -87,7 +89,7 @@ This creates an audit trail visible to downstream steps — dev can see validati
|
|
|
87
89
|
|
|
88
90
|
## NEXT STEP
|
|
89
91
|
|
|
90
|
-
**NEXT:** Read fully and follow:
|
|
92
|
+
**NEXT:** Read fully and follow: `./steps/step-04-develop-story.md`
|
|
91
93
|
|
|
92
94
|
---
|
|
93
95
|
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
name: "step-04-develop-story"
|
|
3
3
|
description: "Implement the story using Dev role, delegating to dev-story workflow logic"
|
|
4
4
|
nextStepFile: "./step-05-code-review.md"
|
|
5
|
+
kind: "orchestrator"
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Step 4 of 9: Develop User Story
|
|
8
9
|
|
|
9
10
|
**Goal:** Implement the story following the red-green-refactor cycle using the Dev role, completing all tasks and subtasks.
|
|
10
11
|
|
|
11
|
-
**Role:** Dev (xiaokai) —
|
|
12
|
+
**Role:** Dev (xiaokai) — Senior Software Engineer
|
|
12
13
|
|
|
13
14
|
---
|
|
14
15
|
|
|
@@ -18,7 +19,8 @@ nextStepFile: "./step-05-code-review.md"
|
|
|
18
19
|
|
|
19
20
|
Adopt the Dev persona:
|
|
20
21
|
- **Name:** xiaokai
|
|
21
|
-
- **Title:**
|
|
22
|
+
- **Title:** Developer Agent
|
|
23
|
+
- **Role:** Senior Software Engineer
|
|
22
24
|
- **Core Purpose:** Transform story requirements into production-ready code through TDD (red-green-refactor cycle), comprehensive testing, and meticulous task completion
|
|
23
25
|
- **Communication Style:** Crisp, code-focused, evidence-driven. Every pull request is accompanied by passing tests and clear commit messages
|
|
24
26
|
- **Key Behaviors:**
|
|
@@ -57,13 +59,15 @@ After dev-story workflow completes:
|
|
|
57
59
|
2. Verify ALL tasks and subtasks are marked [x], [X], or [✓] (case-insensitive) — including any `[AI-Review]` prefixed tasks from prior code review
|
|
58
60
|
3. Verify story status is "review"
|
|
59
61
|
4. Verify sprint-status.yaml reflects "review" for `{current_story_key}`
|
|
60
|
-
5. Verify that tests actually exist for all implemented features (not just task checkboxes)
|
|
62
|
+
5. Verify that tests actually exist for all implemented features (not just task checkboxes). **TDD evidence check (P-TDD):** For each non-test file added to the File List, confirm that a corresponding test file exists in the standard test directory layout for this project (e.g., `tests/`, `__tests__/`, `*.test.*`, `*_test.*`, `*_spec.*` — discover the project's convention from step-03 architecture analysis or by globbing existing test files). If any implementation file has no matching test file, this is a TDD drift signal: do NOT fail the step automatically — instead, the upcoming step-05 code review will flag it as a HIGH severity finding and route to step-07 if unresolved. Continue to step-05.
|
|
61
63
|
6. Verify the File List in the story file accurately reflects all changed/created files
|
|
62
64
|
|
|
63
65
|
If development did not complete (HALT condition in dev-story):
|
|
64
66
|
- Analyze the HALT reason
|
|
65
|
-
-
|
|
66
|
-
- If
|
|
67
|
+
- Track attempts with `{dev_retry}` (initialized to 0 here on first entry to section 3; do NOT reset on subsequent loops within this step)
|
|
68
|
+
- If fixable (missing config, ambiguous requirement) AND `{dev_retry}` < 2: attempt resolution, increment `{dev_retry}`, retry the dev-story workflow
|
|
69
|
+
- If `{dev_retry}` >= 2 OR not fixable: HALT pipeline — "Development halted for {current_story_key}: {halt_reason} (after {dev_retry} retry attempts)"
|
|
70
|
+
- *(Rationale: bounds the dev-retry loop the same way step-07 bounds fix iterations with `{max_fix_iterations}`. Without a counter the retry could loop indefinitely on a persistently unfixable HALT.)*
|
|
67
71
|
|
|
68
72
|
### 4. Pipeline Status Update
|
|
69
73
|
|
|
@@ -76,7 +80,7 @@ If development did not complete (HALT condition in dev-story):
|
|
|
76
80
|
|
|
77
81
|
## NEXT STEP
|
|
78
82
|
|
|
79
|
-
**NEXT:** Read fully and follow:
|
|
83
|
+
**NEXT:** Read fully and follow: `./steps/step-05-code-review.md`
|
|
80
84
|
|
|
81
85
|
---
|
|
82
86
|
|
package/src/xmc-skills/4-implementation/xiaoma-auto-story-pipeline/steps/step-05-code-review.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "step-05-code-review"
|
|
3
|
+
description: "Perform adversarial code review using Reviewer role, delegating to code-review workflow logic"
|
|
4
|
+
nextStepFile: "./step-06-test-story.md"
|
|
5
|
+
nextStepFile_issues: "./step-07-fix-and-retest.md"
|
|
6
|
+
kind: "quality-gate"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Step 5 of 9: Code Review
|
|
10
|
+
|
|
11
|
+
**Goal:** Perform an adversarial code review to validate implementation quality, catching issues before QA testing.
|
|
12
|
+
|
|
13
|
+
**Role:** Adversarial Code Reviewer
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## EXECUTION SEQUENCE
|
|
18
|
+
|
|
19
|
+
### 1. Switch to Reviewer Role
|
|
20
|
+
|
|
21
|
+
Adopt the Adversarial Code Reviewer persona:
|
|
22
|
+
- YOU ARE AN ADVERSARIAL CODE REVIEWER — Find what's wrong or missing!
|
|
23
|
+
- Validate story file claims against actual implementation
|
|
24
|
+
- Challenge everything: Are tasks marked [x] actually done? Are ACs really implemented?
|
|
25
|
+
- Find 3-10 specific issues minimum — no lazy "looks good" reviews
|
|
26
|
+
|
|
27
|
+
### 2. Execute Code Review
|
|
28
|
+
|
|
29
|
+
Invoke the `xiaoma-code-review` skill to perform the code review.
|
|
30
|
+
|
|
31
|
+
Key parameters to pass:
|
|
32
|
+
- `{story_path}` = `{current_story_path}`
|
|
33
|
+
- The code-review workflow uses 4 sharded steps:
|
|
34
|
+
1. `step-01-gather-context` — Load story and discover changes via git
|
|
35
|
+
2. `step-02-review` — Execute adversarial review (AC validation, task audit, code quality, test quality)
|
|
36
|
+
3. `step-03-triage` — Classify each finding into one of code-review's native buckets: intent_gap / bad_spec / patch / defer / reject (this pipeline step then assigns its own CRITICAL/HIGH/MEDIUM/LOW severity in section 3 for auto-fix prioritization)
|
|
37
|
+
4. `step-04-present` — Present findings and recommendations (non-interactive; it does NOT auto-fix)
|
|
38
|
+
|
|
39
|
+
**CRITICAL PIPELINE MODE INSTRUCTIONS:**
|
|
40
|
+
- `xiaoma-code-review` step-04 (present) is **non-interactive** — it surfaces findings and recommendations but does NOT modify code and does NOT offer a fix/skip menu to select. In pipeline mode, do NOT wait for a code-review choice: carry the surfaced findings into section 3 below, where this step (in its Reviewer role) assigns each a CRITICAL/HIGH/MEDIUM/LOW severity and auto-fixes them. Treat code-review `patch` / `bad_spec` / `intent_gap` findings as actionable; `defer` / `reject` findings need no fix
|
|
41
|
+
- Do NOT exclude `_xiaoma/` or IDE configuration folders from review scope — the workflow handles these exclusions internally
|
|
42
|
+
|
|
43
|
+
### 3. Auto-Fix Review Findings
|
|
44
|
+
|
|
45
|
+
**CRITICAL:** In pipeline mode, automatically fix issues instead of asking the user:
|
|
46
|
+
|
|
47
|
+
1. **CRITICAL severity issues** — These represent fundamental defects (security holes, data corruption risks, broken core ACs). Always attempt an inline fix first; if a CRITICAL issue cannot be resolved inline (e.g., requires architectural change), route immediately to step-07 (fix-and-retest) regardless of HIGH/MEDIUM state, AND set `{fix_source}` = "code-review" with the CRITICAL flag preserved so step-07 prioritizes it as Priority 1. Never silently down-grade CRITICAL to HIGH/MEDIUM. When this routing occurs, append to `{run_warnings}`: `[step-05] CRITICAL finding for {current_story_key} unresolvable inline — routed to step-07 with CRITICAL flag preserved`.
|
|
48
|
+
2. Fix ALL HIGH severity issues immediately
|
|
49
|
+
3. Fix ALL MEDIUM severity issues
|
|
50
|
+
4. Document LOW severity issues as action items but do not block the pipeline
|
|
51
|
+
5. Update the story file with:
|
|
52
|
+
- Fixed issues noted in Dev Agent Record (include severity in each entry)
|
|
53
|
+
- Updated File List with any newly modified files
|
|
54
|
+
- Change Log entry for review fixes (note count by severity: e.g., "Review fixes: 1 CRITICAL, 3 HIGH, 2 MEDIUM")
|
|
55
|
+
|
|
56
|
+
### 4. Evaluate Review Outcome
|
|
57
|
+
|
|
58
|
+
**IF all CRITICAL, HIGH and MEDIUM issues are fixed AND all ACs are implemented:**
|
|
59
|
+
- Set story status to "review" (ready for QA)
|
|
60
|
+
- Output: "Code review complete. All critical issues resolved. Proceeding to QA testing."
|
|
61
|
+
- **NEXT:** Proceed to step-06 (test story) [frontmatter: nextStepFile]
|
|
62
|
+
|
|
63
|
+
**IF any CRITICAL issue remains OR there are remaining HIGH or MEDIUM issues that could not be auto-fixed:**
|
|
64
|
+
- Output the unresolved issues, ordered CRITICAL → HIGH → MEDIUM
|
|
65
|
+
- Set `{fix_source}` = "code-review" (used by step-07 for routing)
|
|
66
|
+
- Append to `{run_warnings}`: `[step-05] Unresolved code-review findings for {current_story_key} (CRITICAL/HIGH/MEDIUM counts: {c_count}/{h_count}/{m_count}) — routed to step-07`
|
|
67
|
+
- **NEXT:** Proceed to step-07 (fix and retest) to address remaining issues [frontmatter: nextStepFile_issues]
|
|
68
|
+
|
|
69
|
+
### 5. Pipeline Status Update
|
|
70
|
+
|
|
71
|
+
- Set `{pipeline_status}` = "code-review-complete"
|
|
72
|
+
- Set `{steps_completed}` = `{steps_completed}` + 1
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## NEXT STEP
|
|
77
|
+
|
|
78
|
+
**If all issues resolved:**
|
|
79
|
+
**NEXT:** Read fully and follow: `./steps/step-06-test-story.md`
|
|
80
|
+
|
|
81
|
+
**If issues remain:**
|
|
82
|
+
**NEXT:** Read fully and follow: `./steps/step-07-fix-and-retest.md`
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## SUCCESS METRICS
|
|
87
|
+
|
|
88
|
+
- All CRITICAL, HIGH and MEDIUM issues identified and resolved
|
|
89
|
+
- No tasks marked [x] that are not actually implemented
|
|
90
|
+
- All ACs verified as implemented
|
|
91
|
+
- Code quality meets project standards
|
|
92
|
+
- Tests are real assertions, not placeholders
|
|
93
|
+
|
|
94
|
+
## FAILURE MODES
|
|
95
|
+
|
|
96
|
+
- Lazy "looks good" review with < 3 findings
|
|
97
|
+
- Not cross-referencing git reality vs story claims
|
|
98
|
+
- Skipping AC validation
|
|
99
|
+
- Not fixing HIGH severity issues before proceeding
|