@zeyue0329/xiaoma-cli 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/XiaoMa-Cli.iml +9 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +1 -1
- package/CLAUDE.md +93 -0
- package/README.md +33 -33
- package/TECH-STACK.md +62 -0
- package/package.json +3 -8
- package/pipeline-optimization-report.md +390 -570
- package/run-5-analysis-report.md +436 -0
- package/src/core/module-help.csv +10 -10
- package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md +2 -2
- package/src/core/skills/xiaoma-advanced-elicitation/workflow.md +2 -2
- package/src/core/skills/xiaoma-brainstorming/SKILL.md +1 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-01-session-setup.md +4 -0
- package/src/core/skills/xiaoma-brainstorming/steps/step-01b-continue.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02a-user-selected.md +5 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02b-ai-recommended.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02c-random-selection.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-02d-progressive-flow.md +3 -1
- package/src/core/skills/xiaoma-brainstorming/steps/step-03-technique-execution.md +2 -0
- package/src/core/skills/xiaoma-brainstorming/steps/step-04-idea-organization.md +2 -0
- package/src/core/skills/xiaoma-brainstorming/workflow.md +1 -2
- package/src/core/skills/xiaoma-distillator/SKILL.md +1 -1
- package/src/core/skills/xiaoma-distillator/agents/distillate-compressor.md +4 -4
- package/src/core/skills/xiaoma-distillator/resources/distillate-format-reference.md +34 -34
- package/src/core/skills/xiaoma-distillator/xiaoma-skill-manifest.yaml +1 -1
- package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md +1 -1
- package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md +1 -1
- package/src/core/skills/xiaoma-editorial-review-structure/workflow.md +1 -1
- package/src/core/skills/xiaoma-help/SKILL.md +2 -2
- package/src/core/skills/xiaoma-index-docs/SKILL.md +1 -1
- package/src/core/skills/xiaoma-party-mode/SKILL.md +2 -2
- package/src/core/skills/xiaoma-party-mode/steps/step-01-agent-loading.md +3 -3
- package/src/core/skills/xiaoma-party-mode/steps/step-02-discussion-orchestration.md +2 -2
- package/src/core/skills/xiaoma-party-mode/steps/step-03-graceful-exit.md +5 -5
- package/src/core/skills/xiaoma-party-mode/workflow.md +4 -4
- package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md +1 -1
- package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md +2 -2
- package/src/core/skills/xiaoma-shard-doc/SKILL.md +1 -1
- package/src/core/tasks/xiaoma-create-prd/SKILL.md +1 -1
- package/src/core/tasks/xiaoma-create-prd/data/prd-purpose.md +4 -4
- package/src/core/tasks/xiaoma-create-prd/data/project-types.csv +1 -1
- package/src/core/tasks/xiaoma-create-prd/steps-c/step-11-polish.md +1 -1
- package/src/xmc/agents/analyst.agent.yaml +3 -3
- package/src/xmc/agents/qa.agent.yaml +1 -1
- package/src/xmc/agents/sm.agent.yaml +3 -3
- package/src/xmc/agents/tech-writer/tech-writer-sidecar/documentation-standards.md +2 -2
- package/src/xmc/agents/tech-writer/xiaoma-skill-manifest.yaml +1 -1
- package/src/xmc/agents/xiaoma-skill-manifest.yaml +8 -8
- package/src/xmc/module-help.csv +31 -31
- package/src/xmc/module.yaml +2 -2
- package/src/xmc/teams/default-party.csv +14 -14
- package/src/xmc/teams/team-fullstack.yaml +1 -1
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-04-create-prd.md +2 -1
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-05-validate-prd.md +56 -2
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-06-create-epics.md +14 -5
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/steps/step-08-finalize.md +3 -3
- package/src/xmc/workflows/1-analysis/auto-requirements-pipeline/workflow.md +1 -0
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-02-vision.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-03-users.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-04-metrics.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/steps/step-05-scope.md +1 -0
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/SKILL.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/contextual-discovery.md +7 -7
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/draft-and-review.md +5 -5
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/finalize.md +1 -1
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/prompts/guided-elicitation.md +2 -2
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/xiaoma-manifest.json +2 -2
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +4 -4
- package/src/xmc/workflows/2-plan-workflows/create-prd/data/project-types.csv +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +16 -16
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +9 -9
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +8 -8
- package/src/xmc/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +2 -2
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01-discovery.md +13 -17
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-01b-legacy-conversion.md +9 -13
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-02-review.md +4 -8
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-03-edit.md +9 -13
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/steps-e/step-e-04-complete.md +2 -5
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/workflow.md +1 -2
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/prd-purpose.md +4 -4
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/data/project-types.csv +1 -1
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-01-discovery.md +1 -4
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02-format-detection.md +16 -19
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-02b-parity-check.md +8 -11
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-03-density-validation.md +1 -4
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-05-measurability-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-06-traceability-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-09-project-type-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-10-smart-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +8 -11
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-12-completeness-validation.md +0 -3
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/steps-v/step-v-13-report-complete.md +2 -5
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/workflow.md +2 -2
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md +1 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md +1 -1
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-01-init-and-validate.md +12 -4
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-02-create-story.md +13 -2
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-03-validate-story.md +3 -1
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-04-develop-story.md +14 -7
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-05-code-review.md +7 -8
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-06-test-story.md +111 -2
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-07-fix-and-retest.md +123 -7
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-08-complete-story.md +2 -2
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/steps/step-09-cycle-check.md +14 -2
- package/src/xmc/workflows/4-implementation/auto-story-pipeline/workflow.md +12 -9
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md +2 -2
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-01-gather-context.md +61 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-02-review.md +41 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-03-triage.md +50 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/steps/step-04-present.md +38 -0
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/workflow.md +33 -240
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/workflow.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/workflow.md +3 -3
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/workflow.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/workflow.md +2 -2
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md +1 -1
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/workflow.md +5 -5
- package/src/xmc/workflows/xiaoma-document-project/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-document-project/templates/index-template.md +1 -1
- package/src/xmc/workflows/xiaoma-document-project/templates/project-overview-template.md +1 -1
- package/src/xmc/workflows/xiaoma-document-project/templates/source-tree-template.md +1 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/steps/step-01-discover.md +3 -1
- package/src/xmc/workflows/xiaoma-generate-project-context/steps/step-02-generate.md +2 -0
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/checklist.md +1 -1
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/workflow.md +2 -2
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/steps/step-01-mode-detection.md +2 -2
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/SKILL.md +1 -1
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/workflow.md +1 -0
- package/tools/cli/README.md +4 -4
- package/tools/cli/commands/install.js +1 -1
- package/tools/cli/commands/status.js +4 -4
- package/tools/cli/commands/uninstall.js +9 -9
- package/tools/cli/external-official-modules.yaml +2 -54
- package/tools/cli/installers/install-messages.yaml +5 -5
- package/tools/cli/installers/lib/core/config-collector.js +2 -2
- package/tools/cli/installers/lib/core/dependency-resolver.js +2 -2
- package/tools/cli/installers/lib/core/detector.js +9 -9
- package/tools/cli/installers/lib/core/ide-config-manager.js +7 -7
- package/tools/cli/installers/lib/core/installer.js +51 -51
- package/tools/cli/installers/lib/core/manifest-generator.js +6 -6
- package/tools/cli/installers/lib/core/manifest.js +3 -3
- package/tools/cli/installers/lib/custom/handler.js +5 -5
- package/tools/cli/installers/lib/ide/_base-ide.js +15 -15
- package/tools/cli/installers/lib/ide/_config-driven.js +31 -31
- package/tools/cli/installers/lib/ide/manager.js +8 -8
- package/tools/cli/installers/lib/ide/platform-codes.yaml +3 -3
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +3 -3
- package/tools/cli/installers/lib/ide/shared/path-utils.js +3 -3
- package/tools/cli/installers/lib/ide/shared/skill-manifest.js +2 -2
- package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +13 -13
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +2 -2
- package/tools/cli/installers/lib/ide/shared/xiaoma-artifacts.js +1 -1
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/antigravity.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-agent.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-task.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-tool.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/default-workflow.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml +2 -2
- package/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml +2 -2
- package/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-task.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/opencode-task.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md +3 -3
- package/tools/cli/installers/lib/ide/templates/combined/rovodev.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/trae.md +1 -1
- package/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md +1 -1
- package/tools/cli/installers/lib/modules/manager.js +22 -22
- package/tools/cli/lib/agent/compiler.js +3 -3
- package/tools/cli/lib/agent/installer.js +9 -9
- package/tools/cli/lib/agent/template-engine.js +1 -1
- package/tools/cli/lib/agent-party-generator.js +3 -3
- package/tools/cli/lib/cli-utils.js +8 -8
- package/tools/cli/lib/project-root.js +5 -5
- package/tools/cli/lib/prompts.js +1 -1
- package/tools/cli/lib/ui.js +27 -27
- package/tools/cli/lib/xml-handler.js +1 -1
- package/tools/cli/lib/yaml-format.js +1 -1
- package/tools/cli/lib/yaml-xml-builder.js +2 -2
- package/tools/cli/xiaoma-cli.js +3 -3
- package/tools/platform-codes.yaml +2 -2
- package/tools/schema/agent.js +1 -1
- package/tools/xiaoma-npx-wrapper.js +1 -1
- package//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/345/210/266/345/223/201/347/232/204/345/244/232/351/200/232/351/201/223/344/276/235/350/265/226_20260318.docx +0 -0
- 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.docx +0 -0
- 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.docx +0 -0
- 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.docx +0 -0
- 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.docx +0 -0
- package/.idea/codeStyles/Project.xml +0 -60
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/workspace.xml +0 -146
- package/AGENTS.md +0 -9
- package/README_CN.md +0 -121
- package/XIAOMA-CLI-GUIDE.md +0 -512
- package/src/core/skills/xiaoma-advanced-elicitation/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-brainstorming/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-distillator/SKILL.md.bak +0 -178
- package/src/core/skills/xiaoma-editorial-review-prose/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-editorial-review-structure/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-index-docs/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-party-mode/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-review-adversarial-general/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-review-edge-case-hunter/SKILL.md.bak +0 -6
- package/src/core/skills/xiaoma-shard-doc/SKILL.md.bak +0 -6
- package/src/core/tasks/xiaoma-create-prd/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-domain-research/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-market-research/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/research/xiaoma-technical-research/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/xiaoma-create-product-brief/SKILL.md.bak +0 -6
- package/src/xmc/workflows/1-analysis/xiaoma-product-brief-preview/SKILL.md.bak +0 -88
- package/src/xmc/workflows/2-plan-workflows/xiaoma-create-ux-design/SKILL.md.bak +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-edit-prd/SKILL.md.bak +0 -6
- package/src/xmc/workflows/2-plan-workflows/xiaoma-validate-prd/SKILL.md.bak +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-check-implementation-readiness/SKILL.md.bak +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-create-architecture/SKILL.md.bak +0 -6
- package/src/xmc/workflows/3-solutioning/xiaoma-create-epics-and-stories/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-code-review/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-correct-course/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-create-story/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-dev-story/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-retrospective/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-planning/SKILL.md.bak +0 -6
- package/src/xmc/workflows/4-implementation/xiaoma-sprint-status/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-document-project/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-generate-project-context/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-qa-generate-e2e-tests/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-dev-new-preview/SKILL.md.bak +0 -6
- package/src/xmc/workflows/xiaoma-quick-flow/xiaoma-quick-spec/SKILL.md.bak +0 -6
- package/tools/format-workflow-md.js +0 -263
- package/tools/migrate-custom-module-paths.js +0 -124
- package/tools/skill-validator.md +0 -322
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_24" default="true" project-jdk-name="24" project-jdk-type="JavaSDK">
|
|
4
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
5
|
+
</component>
|
|
6
|
+
</project>
|
package/.idea/modules.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ProjectModuleManager">
|
|
4
4
|
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/XiaoMa-Cli.iml" filepath="$PROJECT_DIR$/.idea/XiaoMa-Cli.iml" />
|
|
6
6
|
</modules>
|
|
7
7
|
</component>
|
|
8
8
|
</project>
|
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## Project Overview
|
|
6
|
+
|
|
7
|
+
XiaoMa-CLI (`@zeyue0329/xiaoma-cli`) is an AI-driven agile development framework/CLI tool. It installs specialized AI agent personas, workflows, and skills into a user's project directory for use with AI IDEs (Claude Code, Cursor, etc.). Node.js v20+ required.
|
|
8
|
+
|
|
9
|
+
## Common Commands
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Quality gate (run before commits)
|
|
13
|
+
npm run quality
|
|
14
|
+
|
|
15
|
+
# Individual checks
|
|
16
|
+
npm run test:schemas # Agent YAML schema validation (Zod-based)
|
|
17
|
+
npm run test:install # Installation component tests
|
|
18
|
+
npm run test:refs # Cross-file reference validation
|
|
19
|
+
npm run validate:schemas # Schema validation (separate from test)
|
|
20
|
+
npm run validate:refs # File reference validation (strict mode)
|
|
21
|
+
npm run lint # ESLint (JS + YAML), zero warnings allowed
|
|
22
|
+
npm run lint:md # Markdown linting
|
|
23
|
+
npm run format:check # Prettier check
|
|
24
|
+
npm run format:fix # Prettier auto-fix
|
|
25
|
+
|
|
26
|
+
# Test coverage
|
|
27
|
+
npm run test:coverage # c8 coverage report for schema tests
|
|
28
|
+
|
|
29
|
+
# Run the CLI locally
|
|
30
|
+
npm run install:xiaoma # Run install command
|
|
31
|
+
npm run xiaoma:uninstall # Run uninstall command
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The full `npm test` runs: test:schemas → test:refs → test:install → validate:schemas → lint → lint:md → format:check.
|
|
35
|
+
|
|
36
|
+
## Architecture
|
|
37
|
+
|
|
38
|
+
### Two-Layer Structure
|
|
39
|
+
|
|
40
|
+
1. **`src/`** — Content modules (YAML agents, Markdown workflows, skills)
|
|
41
|
+
2. **`tools/`** — CLI implementation (Node.js/CommonJS, installer, validators)
|
|
42
|
+
|
|
43
|
+
### Module System
|
|
44
|
+
|
|
45
|
+
Modules are defined by `module.yaml` files with configuration variables, prompts, and directory declarations:
|
|
46
|
+
- **`src/core/`** — Shared skills and tasks (module code: `core`)
|
|
47
|
+
- **`src/xmc/`** — XiaoMa Method module, the primary agile framework (module code: `xmc`)
|
|
48
|
+
|
|
49
|
+
### Agent System (`src/xmc/agents/`)
|
|
50
|
+
|
|
51
|
+
Agents are YAML files validated against a Zod schema (`tools/schema/`). Each agent defines:
|
|
52
|
+
- `metadata` — id, name, title, icon, module, capabilities
|
|
53
|
+
- `persona` — role, identity, communication_style, principles
|
|
54
|
+
- `menu` — trigger commands pointing to workflow exec targets
|
|
55
|
+
- `prompts` / `critical_actions` — optional
|
|
56
|
+
|
|
57
|
+
### Workflow System (`src/xmc/workflows/`)
|
|
58
|
+
|
|
59
|
+
Organized by development phase:
|
|
60
|
+
- `1-analysis/` — Brainstorming, research, product brief
|
|
61
|
+
- `2-plan-workflows/` — PRD creation/validation, UX design
|
|
62
|
+
- `3-solutioning/` — Architecture, epics/stories, implementation readiness
|
|
63
|
+
- `4-implementation/` — Sprint planning, story execution, code review, retros
|
|
64
|
+
|
|
65
|
+
Each workflow has: `workflow.md` (entry point with metadata), `steps/` or `steps-{variant}/` directories, and optional `templates/` and `data/` directories.
|
|
66
|
+
|
|
67
|
+
### CLI (`tools/cli/`)
|
|
68
|
+
|
|
69
|
+
- **Entry**: `xiaoma-cli.js` (Commander.js) → wrapped by `xiaoma-npx-wrapper.js`
|
|
70
|
+
- **Commands**: `install`, `status`, `uninstall`
|
|
71
|
+
- **Installer** (`tools/cli/installers/`): Core orchestration class (~8K LOC), module manager, IDE config manager, manifest generator
|
|
72
|
+
- **UI**: `@clack/prompts` for interactive terminal prompts
|
|
73
|
+
|
|
74
|
+
### Skills (`src/core/skills/`)
|
|
75
|
+
|
|
76
|
+
Reusable capabilities: `xiaoma-help`, `xiaoma-brainstorming`, `xiaoma-distillator`, `xiaoma-party-mode`, editorial review skills, etc.
|
|
77
|
+
|
|
78
|
+
## Code Conventions
|
|
79
|
+
|
|
80
|
+
- **JS**: CommonJS (`require`/`module.exports`) for all CLI/tool code
|
|
81
|
+
- **YAML**: `.yaml` extension enforced by ESLint (not `.yml`); double quotes preferred
|
|
82
|
+
- **Formatting**: Prettier with 140 char print width, 2-space indent, double quotes in YAML, single quotes in JS
|
|
83
|
+
- **Linting**: ESLint flat config with unicorn, node, yml plugins; `--max-warnings=0`
|
|
84
|
+
- **Schema validation**: Zod for agent YAML validation at `tools/schema/`
|
|
85
|
+
- **Git hooks**: Husky + lint-staged (runs lint:fix and format:fix on staged files)
|
|
86
|
+
|
|
87
|
+
## Testing
|
|
88
|
+
|
|
89
|
+
Tests are plain Node.js scripts (no test framework), located in `test/`:
|
|
90
|
+
- `test-agent-schema.js` — Validates all agent YAML against Zod schema; 50 fixtures (18 valid, 32 invalid); targets 100% coverage
|
|
91
|
+
- `test-installation-components.js` — Installation flow verification
|
|
92
|
+
- `test-file-refs-csv.js` — Validates cross-file references in CSV data files
|
|
93
|
+
- Fixtures in `test/fixtures/agent-schema/{valid,invalid}/`
|
package/README.md
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/xiaoma-cli)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
[](https://nodejs.org)
|
|
6
6
|
[](https://discord.gg/gk8jAdXWmj)
|
|
7
7
|
|
|
8
|
-
**Build More Architect Dreams** — An AI-driven agile development module for the
|
|
8
|
+
**Build More Architect Dreams** — An AI-driven agile development module for the XiaoMa Method Module Ecosystem, the best and most comprehensive Agile AI Driven Development framework that has true scale-adaptive intelligence that adjusts from bug fixes to enterprise systems.
|
|
9
9
|
|
|
10
10
|
**100% free and open source.** No paywalls. No gated content. No gated Discord. We believe in empowering everyone, not just those who can pay for a gated community or courses.
|
|
11
11
|
|
|
12
|
-
## Why the
|
|
12
|
+
## Why the XiaoMa Method?
|
|
13
13
|
|
|
14
|
-
Traditional AI tools do the thinking for you, producing average results.
|
|
14
|
+
Traditional AI tools do the thinking for you, producing average results. XiaoMa agents and facilitated workflows act as expert collaborators who guide you through a structured process to bring out your best thinking in partnership with the AI.
|
|
15
15
|
|
|
16
|
-
- **AI Intelligent Help** — Invoke the `
|
|
16
|
+
- **AI Intelligent Help** — Invoke the `xiaoma-help` skill anytime for guidance on what's next
|
|
17
17
|
- **Scale-Domain-Adaptive** — Automatically adjusts planning depth based on project complexity
|
|
18
18
|
- **Structured Workflows** — Grounded in agile best practices across analysis, planning, architecture, and implementation
|
|
19
19
|
- **Specialized Agents** — 12+ domain experts (PM, Architect, Developer, UX, Scrum Master, and more)
|
|
20
20
|
- **Party Mode** — Bring multiple agent personas into one session to collaborate and discuss
|
|
21
21
|
- **Complete Lifecycle** — From brainstorming to deployment
|
|
22
22
|
|
|
23
|
-
[Learn more at **docs.
|
|
23
|
+
[Learn more at **docs.xiaoma-cli.org**](https://docs.xiaoma-cli.org)
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## 🚀 What's Next for
|
|
27
|
+
## 🚀 What's Next for XiaoMa?
|
|
28
28
|
|
|
29
|
-
**V6 is here and we're just getting started!** The
|
|
29
|
+
**V6 is here and we're just getting started!** The XiaoMa Method is evolving rapidly with optimizations including Cross Platform Agent Team and Sub Agent inclusion, Skills Architecture, XiaoMa Builder v1, Dev Loop Automation, and so much more in the works.
|
|
30
30
|
|
|
31
|
-
**[📍 Check out the complete Roadmap →](https://docs.
|
|
31
|
+
**[📍 Check out the complete Roadmap →](https://docs.xiaoma-cli.org/roadmap/)**
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
@@ -37,58 +37,58 @@ Traditional AI tools do the thinking for you, producing average results. BMad ag
|
|
|
37
37
|
**Prerequisites**: [Node.js](https://nodejs.org) v20+
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
npx
|
|
40
|
+
npx xiaoma-cli install
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
> Want the newest prerelease build? Use `npx
|
|
43
|
+
> Want the newest prerelease build? Use `npx xiaoma-cli@next install`. Expect higher churn than the default install.
|
|
44
44
|
|
|
45
45
|
Follow the installer prompts, then open your AI IDE (Claude Code, Cursor, etc.) in your project folder.
|
|
46
46
|
|
|
47
47
|
**Non-Interactive Installation** (for CI/CD):
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
npx
|
|
50
|
+
npx xiaoma-cli install --directory /path/to/project --modules xmc --tools claude-code --yes
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
[See all installation options](https://docs.
|
|
53
|
+
[See all installation options](https://docs.xiaoma-cli.org/how-to/non-interactive-installation/)
|
|
54
54
|
|
|
55
|
-
> **Not sure what to do?** Ask `
|
|
55
|
+
> **Not sure what to do?** Ask `xiaoma-help` — it tells you exactly what's next and what's optional. You can also ask questions like `xiaoma-help I just finished the architecture, what do I do next?`
|
|
56
56
|
|
|
57
57
|
## Modules
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
XiaoMa Method extends with official modules for specialized domains. Available during installation or anytime after.
|
|
60
60
|
|
|
61
61
|
| Module | Purpose |
|
|
62
62
|
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
|
|
63
|
-
| **[
|
|
64
|
-
| **[
|
|
65
|
-
| **[Test Architect (TEA)](https://github.com/
|
|
66
|
-
| **[Game Dev Studio (BMGD)](https://github.com/
|
|
67
|
-
| **[Creative Intelligence Suite (CIS)](https://github.com/
|
|
63
|
+
| **[XiaoMa Method (BMM)](https://github.com/zqyl-xiaoma/XiaoMa-CLI)** | Core framework with 34+ workflows |
|
|
64
|
+
| **[XiaoMa Builder (BMB)](https://github.com/zqyl-xiaoma/xiaoma-builder)** | Create custom XiaoMa agents and workflows |
|
|
65
|
+
| **[Test Architect (TEA)](https://github.com/zqyl-xiaoma/xiaoma-cli-test-architecture-enterprise)** | Risk-based test strategy and automation |
|
|
66
|
+
| **[Game Dev Studio (BMGD)](https://github.com/zqyl-xiaoma/xiaoma-module-game-dev-studio)** | Game development workflows (Unity, Unreal, Godot) |
|
|
67
|
+
| **[Creative Intelligence Suite (CIS)](https://github.com/zqyl-xiaoma/xiaoma-module-creative-intelligence-suite)** | Innovation, brainstorming, design thinking |
|
|
68
68
|
|
|
69
69
|
## Documentation
|
|
70
70
|
|
|
71
|
-
[
|
|
71
|
+
[XiaoMa Method Docs Site](https://docs.xiaoma-cli.org) — Tutorials, guides, concepts, and reference
|
|
72
72
|
|
|
73
73
|
**Quick links:**
|
|
74
|
-
- [Getting Started Tutorial](https://docs.
|
|
75
|
-
- [Upgrading from Previous Versions](https://docs.
|
|
76
|
-
- [Test Architect Documentation](https://
|
|
74
|
+
- [Getting Started Tutorial](https://docs.xiaoma-cli.org/tutorials/getting-started/)
|
|
75
|
+
- [Upgrading from Previous Versions](https://docs.xiaoma-cli.org/how-to/upgrade-to-v6/)
|
|
76
|
+
- [Test Architect Documentation](https://zqyl-xiaoma.github.io/xiaoma-cli-test-architecture-enterprise/)
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
## Community
|
|
80
80
|
|
|
81
81
|
- [Discord](https://discord.gg/gk8jAdXWmj) — Get help, share ideas, collaborate
|
|
82
|
-
- [Subscribe on YouTube](https://www.youtube.com/@
|
|
83
|
-
- [GitHub Issues](https://github.com/
|
|
84
|
-
- [Discussions](https://github.com/
|
|
82
|
+
- [Subscribe on YouTube](https://www.youtube.com/@XiaoMaCode) — Tutorials, master class, and podcast (launching Feb 2025)
|
|
83
|
+
- [GitHub Issues](https://github.com/zqyl-xiaoma/XiaoMa-CLI/issues) — Bug reports and feature requests
|
|
84
|
+
- [Discussions](https://github.com/zqyl-xiaoma/XiaoMa-CLI/discussions) — Community conversations
|
|
85
85
|
|
|
86
|
-
## Support
|
|
86
|
+
## Support XiaoMa
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
XiaoMa is free for everyone — and always will be. If you'd like to support development:
|
|
89
89
|
|
|
90
90
|
- ⭐ Please click the star project icon near the top right of this page
|
|
91
|
-
- ☕ [Buy Me a Coffee](https://buymeacoffee.com/
|
|
91
|
+
- ☕ [Buy Me a Coffee](https://buymeacoffee.com/xiaoma) — Fuel the development
|
|
92
92
|
- 🏢 Corporate sponsorship — DM on Discord
|
|
93
93
|
- 🎤 Speaking & Media — Available for conferences, podcasts, interviews (BM on Discord)
|
|
94
94
|
|
|
@@ -102,8 +102,8 @@ MIT License — see [LICENSE](LICENSE) for details.
|
|
|
102
102
|
|
|
103
103
|
---
|
|
104
104
|
|
|
105
|
-
**
|
|
105
|
+
**XiaoMa** and **XiaoMa-CLI** are trademarks of XiaoMa Code, LLC. See [TRADEMARK.md](TRADEMARK.md) for details.
|
|
106
106
|
|
|
107
|
-
[](https://github.com/zqyl-xiaoma/XiaoMa-CLI/graphs/contributors)
|
|
108
108
|
|
|
109
109
|
See [CONTRIBUTORS.md](CONTRIBUTORS.md) for contributor information.
|
package/TECH-STACK.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# XiaoMa-CLI 技术栈清单
|
|
2
|
+
|
|
3
|
+
## 运行环境
|
|
4
|
+
|
|
5
|
+
| 技术 | 版本 | 用途 |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| Node.js | >= 20.0.0 | 运行环境 |
|
|
8
|
+
| npm | - | 包管理 |
|
|
9
|
+
|
|
10
|
+
## 运行时依赖
|
|
11
|
+
|
|
12
|
+
| 库 | 用途 |
|
|
13
|
+
|---|---|
|
|
14
|
+
| **commander** | CLI 命令行参数解析 |
|
|
15
|
+
| **@clack/prompts** + **@clack/core** | 交互式终端提示 UI |
|
|
16
|
+
| **chalk** | 终端颜色输出 |
|
|
17
|
+
| **picocolors** | 轻量终端颜色(配合 clack) |
|
|
18
|
+
| **ora** | 终端 loading 动画 |
|
|
19
|
+
| **zod** | YAML schema 运行时校验 |
|
|
20
|
+
| **yaml** + **js-yaml** | YAML 解析(两个库并存) |
|
|
21
|
+
| **csv-parse** | CSV 文件解析 |
|
|
22
|
+
| **xml2js** | XML 解析 |
|
|
23
|
+
| **glob** | 文件路径模式匹配 |
|
|
24
|
+
| **fs-extra** | 增强的文件系统操作 |
|
|
25
|
+
| **semver** | 语义化版本号比较 |
|
|
26
|
+
| **ignore** | .gitignore 风格的文件过滤 |
|
|
27
|
+
| **@kayvan/markdown-tree-parser** | Markdown 结构解析 |
|
|
28
|
+
|
|
29
|
+
## 开发依赖
|
|
30
|
+
|
|
31
|
+
| 库 | 用途 |
|
|
32
|
+
|---|---|
|
|
33
|
+
| **eslint** (v9, flat config) | JS/YAML 代码检查 |
|
|
34
|
+
| **eslint-plugin-n** | Node.js 规则 |
|
|
35
|
+
| **eslint-plugin-unicorn** | 现代 JS 最佳实践 |
|
|
36
|
+
| **eslint-plugin-yml** | YAML 文件检查 |
|
|
37
|
+
| **yaml-eslint-parser** | YAML ESLint 解析器 |
|
|
38
|
+
| **prettier** | 代码格式化 |
|
|
39
|
+
| **prettier-plugin-packagejson** | package.json 排序格式化 |
|
|
40
|
+
| **eslint-config-prettier** | ESLint/Prettier 冲突处理 |
|
|
41
|
+
| **markdownlint-cli2** | Markdown 检查 |
|
|
42
|
+
| **yaml-lint** | YAML 语法检查 |
|
|
43
|
+
| **jest** (v30) | 测试框架(已引入,当前测试为纯 Node 脚本) |
|
|
44
|
+
| **c8** | 代码覆盖率(Istanbul 兼容) |
|
|
45
|
+
| **husky** | Git hooks 管理 |
|
|
46
|
+
| **lint-staged** | 暂存文件自动检查 |
|
|
47
|
+
|
|
48
|
+
## 内容/配置格式
|
|
49
|
+
|
|
50
|
+
| 格式 | 用途 |
|
|
51
|
+
|---|---|
|
|
52
|
+
| **YAML** | Agent 定义、模块配置、CI/CD |
|
|
53
|
+
| **Markdown** | 工作流步骤、模板、文档 |
|
|
54
|
+
| **CSV** | 数据文件、交叉引用 |
|
|
55
|
+
| **JSON** | 包配置、IDE 配置输出 |
|
|
56
|
+
|
|
57
|
+
## CI/CD
|
|
58
|
+
|
|
59
|
+
| 技术 | 用途 |
|
|
60
|
+
|---|---|
|
|
61
|
+
| **GitHub Actions** | 质量门禁 + 发布自动化 |
|
|
62
|
+
| **npm publish** | 包发布(public scope) |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@zeyue0329/xiaoma-cli",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.1",
|
|
5
5
|
"description": "XiaoMa Universal AI Agent Framework",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"agile",
|
|
@@ -24,11 +24,6 @@
|
|
|
24
24
|
"xiaoma-cli": "tools/xiaoma-npx-wrapper.js"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"docs:build": "node tools/build-docs.mjs",
|
|
28
|
-
"docs:dev": "astro dev --root website",
|
|
29
|
-
"docs:fix-links": "node tools/fix-doc-links.js",
|
|
30
|
-
"docs:preview": "astro preview --root website",
|
|
31
|
-
"docs:validate-links": "node tools/validate-doc-links.js",
|
|
32
27
|
"flatten": "node tools/flattener/main.js",
|
|
33
28
|
"format:check": "prettier --check \"**/*.{js,cjs,mjs,json,yaml}\"",
|
|
34
29
|
"format:fix": "prettier --write \"**/*.{js,cjs,mjs,json,yaml}\"",
|
|
@@ -38,7 +33,7 @@
|
|
|
38
33
|
"lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
|
|
39
34
|
"lint:md": "markdownlint-cli2 \"**/*.md\"",
|
|
40
35
|
"prepare": "command -v husky >/dev/null 2>&1 && husky || exit 0",
|
|
41
|
-
"quality": "npm run format:check && npm run lint && npm run lint:md && npm run
|
|
36
|
+
"quality": "npm run format:check && npm run lint && npm run lint:md && npm run validate:schemas && npm run test:schemas && npm run test:install && npm run validate:refs",
|
|
42
37
|
"rebundle": "node tools/cli/bundlers/bundle-web.js rebundle",
|
|
43
38
|
"test": "npm run test:schemas && npm run test:refs && npm run test:install && npm run validate:schemas && npm run lint && npm run lint:md && npm run format:check",
|
|
44
39
|
"test:coverage": "c8 --reporter=text --reporter=html npm run test:schemas",
|
|
@@ -82,7 +77,7 @@
|
|
|
82
77
|
"semver": "^7.6.3",
|
|
83
78
|
"xml2js": "^0.6.2",
|
|
84
79
|
"yaml": "^2.7.0",
|
|
85
|
-
"zod": "^
|
|
80
|
+
"zod": "^3.23.0"
|
|
86
81
|
},
|
|
87
82
|
"devDependencies": {
|
|
88
83
|
"@eslint/js": "^9.33.0",
|