@zeyue0329/xiaoma-cli 1.9.0 → 1.10.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.
Files changed (2) hide show
  1. package/README.md +89 -70
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,109 +1,128 @@
1
- ![XiaoMa Method](banner-xiaoma-cli.png)
1
+ # XiaoMa CLI
2
2
 
3
- [![Version](https://img.shields.io/npm/v/xiaoma-cli?color=blue&label=version)](https://www.npmjs.com/package/xiaoma-cli)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
- [![Node.js Version](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen)](https://nodejs.org)
6
- [![Discord](https://img.shields.io/badge/Discord-Join%20Community-7289da?logo=discord&logoColor=white)](https://discord.gg/gk8jAdXWmj)
3
+ XiaoMa CLI 是一个 AI 驱动的敏捷开发框架工具。它将专业的 AI 智能体、结构化工作流和可复用技能安装到你的项目中,配合 AI IDE(Claude Code、Cursor 等)使用,实现从需求分析到交付的全生命周期敏捷开发。
7
4
 
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.
5
+ ## 能力边界
9
6
 
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.
7
+ ### XiaoMa CLI 能做什么
11
8
 
12
- ## Why the XiaoMa Method?
9
+ **智能体协作**
13
10
 
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.
11
+ XiaoMa 提供 8 个专业智能体,覆盖敏捷开发的核心角色:
15
12
 
16
- - **AI Intelligent Help** Invoke the `xiaoma-help` skill anytime for guidance on what's next
17
- - **Scale-Domain-Adaptive** — Automatically adjusts planning depth based on project complexity
18
- - **Structured Workflows** Grounded in agile best practices across analysis, planning, architecture, and implementation
19
- - **Specialized Agents** — 12+ domain experts (PM, Architect, Developer, UX, Scrum Master, and more)
20
- - **Party Mode** Bring multiple agent personas into one session to collaborate and discuss
21
- - **Complete Lifecycle** From brainstorming to deployment
13
+ | 智能体 | 角色 | 职责 |
14
+ |--------|------|------|
15
+ | Analyst | 分析师 | 需求调研、产品简报、竞品分析 |
16
+ | PM | 产品经理 | PRD 编写、需求验证、产品规划 |
17
+ | UX Designer | UX 设计师 | 用户体验设计、交互方案 |
18
+ | Architect | 架构师 | 技术架构设计、方案评审 |
19
+ | Dev | 开发者 | 故事实现、代码编写 |
20
+ | QA | 测试工程师 | 测试策略、端到端测试生成 |
21
+ | SM | Scrum Master | Sprint 规划、进度跟踪、回顾 |
22
+ | Quick Flow Solo Dev | 独立开发者 | 快速流程,适合小型项目 |
22
23
 
23
- [Learn more at **docs.xiaoma-cli.org**](https://docs.xiaoma-cli.org)
24
+ **结构化工作流(34+)**
24
25
 
25
- ---
26
+ 按开发阶段组织,覆盖完整的软件交付生命周期:
26
27
 
27
- ## 🚀 What's Next for XiaoMa?
28
+ - **分析阶段** 需求管道、产品简报创建、市场调研
29
+ - **规划阶段** — PRD 创建/编辑/验证、UX 设计
30
+ - **方案阶段** — 架构设计、Epic 和 Story 拆分、实施就绪检查
31
+ - **实施阶段** — Sprint 规划、Story 开发、代码评审、回顾、Sprint 状态跟踪
32
+ - **全流程管道** — 端到端自动化,从需求到交付一键执行
28
33
 
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.
34
+ **可复用技能(11 个)**
30
35
 
31
- **[📍 Check out the complete Roadmap →](https://docs.xiaoma-cli.org/roadmap/)**
36
+ | 技能 | 用途 |
37
+ |------|------|
38
+ | `xiaoma-help` | 智能导航,告诉你下一步该做什么 |
39
+ | `xiaoma-brainstorming` | 结构化头脑风暴 |
40
+ | `xiaoma-party-mode` | 多智能体协作讨论 |
41
+ | `xiaoma-distillator` | 信息提炼和摘要 |
42
+ | `xiaoma-editorial-review-prose` | 文案内容审校 |
43
+ | `xiaoma-editorial-review-structure` | 文档结构审校 |
44
+ | `xiaoma-review-adversarial-general` | 对抗性审查 |
45
+ | `xiaoma-review-edge-case-hunter` | 边界场景审查 |
46
+ | `xiaoma-advanced-elicitation` | 高级需求引导 |
47
+ | `xiaoma-index-docs` | 文档索引 |
48
+ | `xiaoma-shard-doc` | 文档分片处理 |
32
49
 
33
- ---
50
+ **规模自适应**
34
51
 
35
- ## Quick Start
52
+ 根据项目复杂度自动调整规划深度——从小型 Bug 修复到企业级系统,无需手动配置。
36
53
 
37
- **Prerequisites**: [Node.js](https://nodejs.org) v20+
54
+ ### XiaoMa CLI 不能做什么
38
55
 
39
- ```bash
40
- npx xiaoma-cli install
41
- ```
56
+ - **不是代码生成器** — 不会直接生成完整的应用代码,而是通过结构化流程引导你和 AI 协作产出高质量代码
57
+ - **不替代 AI IDE** — 需要配合 Claude Code、Cursor 等 AI IDE 使用,本身不提供代码编辑能力
58
+ - **不是项目管理工具** — 不替代 Jira、Linear 等,而是补充敏捷流程中的 AI 协作环节
59
+ - **不处理部署运维** — 聚焦于开发生命周期,不涉及 CI/CD 管道配置、服务器部署等运维任务
60
+ - **不支持非 Node.js 环境** — 安装工具本身需要 Node.js v20+(但生成的工作产物不限语言)
61
+
62
+ ## 安装与使用
42
63
 
43
- > Want the newest prerelease build? Use `npx xiaoma-cli@next install`. Expect higher churn than the default install.
64
+ ### 环境要求
44
65
 
45
- Follow the installer prompts, then open your AI IDE (Claude Code, Cursor, etc.) in your project folder.
66
+ - [Node.js](https://nodejs.org) v20 或更高版本
46
67
 
47
- **Non-Interactive Installation** (for CI/CD):
68
+ ### 快速安装
48
69
 
49
70
  ```bash
50
- npx xiaoma-cli install --directory /path/to/project --modules xmc --tools claude-code --yes
71
+ npx xiaoma-cli install
51
72
  ```
52
73
 
53
- [See all installation options](https://docs.xiaoma-cli.org/how-to/non-interactive-installation/)
54
-
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
-
57
- ## Modules
74
+ 按照交互式提示选择模块和目标 IDE,安装完成后在项目目录中打开你的 AI IDE 即可开始使用。
58
75
 
59
- XiaoMa Method extends with official modules for specialized domains. Available during installation or anytime after.
76
+ ### 非交互式安装(CI/CD)
60
77
 
61
- | Module | Purpose |
62
- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
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
-
69
- ## Documentation
70
-
71
- [XiaoMa Method Docs Site](https://docs.xiaoma-cli.org) — Tutorials, guides, concepts, and reference
78
+ ```bash
79
+ npx xiaoma-cli install --directory /path/to/project --modules xmc --tools claude-code --yes
80
+ ```
72
81
 
73
- **Quick links:**
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/)
82
+ ### CLI 命令
77
83
 
84
+ | 命令 | 说明 |
85
+ |------|------|
86
+ | `npx xiaoma-cli install` | 安装 XiaoMa 到目标项目 |
87
+ | `npx xiaoma-cli status` | 查看当前安装状态 |
88
+ | `npx xiaoma-cli uninstall` | 卸载 XiaoMa |
78
89
 
79
- ## Community
90
+ ### 使用流程
80
91
 
81
- - [Discord](https://discord.gg/gk8jAdXWmj)Get help, share ideas, collaborate
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
92
+ 1. **安装** 在项目中运行 `npx xiaoma-cli install`
93
+ 2. **启动 AI IDE**打开 Claude Code、Cursor 等,进入项目目录
94
+ 3. **获取指引**使用 `xiaoma-help` 了解当前可用的工作流和下一步操作
95
+ 4. **按阶段推进** 从分析到实施,按工作流引导逐步完成开发
85
96
 
86
- ## Support XiaoMa
97
+ ### 使用示例
87
98
 
88
- XiaoMa is free for everyone — and always will be. If you'd like to support development:
99
+ ```
100
+ # 在 AI IDE 中使用以下命令
89
101
 
90
- - ⭐ Please click the star project icon near the top right of this page
91
- - ☕ [Buy Me a Coffee](https://buymeacoffee.com/xiaoma) — Fuel the development
92
- - 🏢 Corporate sponsorship — DM on Discord
93
- - 🎤 Speaking & Media — Available for conferences, podcasts, interviews (BM on Discord)
102
+ # 获取帮助
103
+ xiaoma-help
94
104
 
95
- ## Contributing
105
+ # 获取特定场景的帮助
106
+ xiaoma-help 我刚完成了架构设计,接下来该做什么?
96
107
 
97
- We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
108
+ # 创建产品简报
109
+ @analyst create-product-brief
98
110
 
99
- ## License
111
+ # 创建 PRD
112
+ @pm create-prd
100
113
 
101
- MIT License — see [LICENSE](LICENSE) for details.
114
+ # 架构设计
115
+ @architect create-architecture
102
116
 
103
- ---
117
+ # Sprint 规划
118
+ @sm sprint-planning
104
119
 
105
- **XiaoMa** and **XiaoMa-CLI** are trademarks of XiaoMa Code, LLC. See [TRADEMARK.md](TRADEMARK.md) for details.
120
+ # 开发 Story
121
+ @dev dev-story
106
122
 
107
- [![Contributors](https://contrib.rocks/image?repo=zqyl-xiaoma/XiaoMa-CLI)](https://github.com/zqyl-xiaoma/XiaoMa-CLI/graphs/contributors)
123
+ # 代码评审
124
+ @dev code-review
108
125
 
109
- See [CONTRIBUTORS.md](CONTRIBUTORS.md) for contributor information.
126
+ # 多智能体协作讨论
127
+ xiaoma-party-mode
128
+ ```
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.9.0",
4
+ "version": "1.10.1",
5
5
  "description": "XiaoMa Universal AI Agent Framework",
6
6
  "keywords": [
7
7
  "agile",