@modus-ai/modus 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +229 -0
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/generators/claude.js +24 -24
- package/dist/generators/claude.js.map +1 -1
- package/dist/generators/codebuddy.js +24 -24
- package/dist/generators/codebuddy.js.map +1 -1
- package/dist/generators/cursor.d.ts +2 -1
- package/dist/generators/cursor.d.ts.map +1 -1
- package/dist/generators/cursor.js +46 -70
- package/dist/generators/cursor.js.map +1 -1
- package/package.json +1 -1
- package/schemas/harness-schema.yaml +7 -7
- package/templates/agents/{modus-harness-01-analysis.md → modus-analyst.md} +2 -2
- package/templates/agents/{modus-harness-07-deploy.md → modus-deployer.md} +2 -2
- package/templates/agents/{modus-harness-01-5-design.md → modus-designer.md} +3 -3
- package/templates/agents/{modus-harness-02-dev.md → modus-developer.md} +2 -2
- package/templates/agents/{modus-harness-04-perf.md → modus-perf-auditor.md} +2 -2
- package/templates/agents/{modus-harness-06-review.md → modus-reviewer.md} +2 -2
- package/templates/agents/{modus-harness-05-security.md → modus-security-auditor.md} +2 -2
- package/templates/agents/{modus-harness-00-skills-builder.md → modus-skill-creator.md} +2 -2
- package/templates/agents/{modus-harness-03-test.md → modus-tester.md} +2 -2
- package/templates/commands/vibe.md +12 -8
- package/templates/skills/{modus-harness-agents/01-analysis → modus-agents/analyst}/SKILL.md +2 -2
- package/templates/skills/{modus-harness-agents/07-deploy → modus-agents/deployer}/SKILL.md +2 -2
- package/templates/skills/{modus-harness-agents/01-5-design → modus-agents/designer}/SKILL.md +2 -2
- package/templates/skills/{modus-harness-agents/02-dev → modus-agents/developer}/SKILL.md +2 -2
- package/templates/skills/{modus-harness-agents/04-perf → modus-agents/perf-auditor}/SKILL.md +2 -2
- package/templates/skills/{modus-harness-agents/06-review → modus-agents/reviewer}/SKILL.md +2 -2
- package/templates/skills/{modus-harness-agents/05-security → modus-agents/security-auditor}/SKILL.md +2 -2
- package/templates/skills/modus-agents/skill-creator/SKILL.md +1063 -0
- package/templates/skills/{modus-harness-agents/03-test → modus-agents/tester}/SKILL.md +2 -2
- package/templates/skills/modus-design-brief/SKILL.md +1 -1
- package/templates/skills/modus-harness/SKILL.md +16 -16
- package/templates/skills/modus-init/SKILL.md +702 -84
- package/templates/skills/modus-plan/SKILL.md +1 -1
- package/templates/skills/modus-spec/SKILL.md +2 -2
- package/templates/skills/modus-vibe/SKILL.md +200 -93
- package/templates/skills/modus-harness-agents/00-skills-builder/SKILL.md +0 -367
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: modus-
|
|
2
|
+
name: modus-tester
|
|
3
3
|
description: Use this skill when the Harness orchestrator needs to generate unit tests for code changes. Covers Happy Path, boundary conditions, exception paths, and concurrency scenarios. Generates 03-test-report.md. Triggered by modus-harness in parallel with SubAgents 04 and 05 after Gate A passes.
|
|
4
4
|
allowed-tools: Read, Write, Glob, Bash
|
|
5
5
|
disable: false
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# modus-
|
|
8
|
+
# modus-tester(代码测试 SubAgent)
|
|
9
9
|
|
|
10
10
|
**调用方:** Harness Orchestrator(与 04/05 并行启动)
|
|
11
11
|
**输入:** `02-sprint-contract.md` + 代码变更
|
|
@@ -321,4 +321,4 @@ constitution: {constitution 字段内容}
|
|
|
321
321
|
|
|
322
322
|
### harness 模式调用方式
|
|
323
323
|
|
|
324
|
-
由 SubAgent 01.5 独立执行(见 `modus-
|
|
324
|
+
由 SubAgent 01.5 独立执行(见 `modus-agents/designer/SKILL.md`),输入为 `01-analysis.md`,输出为 `01.5-design-brief.md` 含 HANDOFF 块。
|
|
@@ -21,15 +21,15 @@ disable: false
|
|
|
21
21
|
|
|
22
22
|
| ID | Skill 路径 | 职责 | 产出物 | 知识查询预算 |
|
|
23
23
|
|----|-----------|------|--------|------------|
|
|
24
|
-
| 00 | `modus-
|
|
25
|
-
| 01 | `modus-
|
|
26
|
-
| 01.5 | `modus-
|
|
27
|
-
| 02 | `modus-
|
|
28
|
-
| 03 | `modus-
|
|
29
|
-
| 04 | `modus-
|
|
30
|
-
| 05 | `modus-
|
|
31
|
-
| 06 | `modus-
|
|
32
|
-
| 07 | `modus-
|
|
24
|
+
| 00 | `modus-skill-creator` | Skills 更新/知识提取 | Skill 文件 + catalog | 无限制 |
|
|
25
|
+
| 01 | `modus-analyst` | 需求分析 | `01-analysis.md` | ≤ 3 个 Skill 文件 |
|
|
26
|
+
| 01.5 | `modus-designer` | 设计方案生成 | `01.5-design-brief.md` | ≤ 3 个 Skill 文件 |
|
|
27
|
+
| 02 | `modus-developer` | 代码开发 | `02-sprint-contract.md` | ≤ 5 个 Skill 文件 + ≤ 10 个代码文件 |
|
|
28
|
+
| 03 | `modus-tester` | 代码测试 | `03-test-report.md` | ≤ 2 个 Skill 文件 |
|
|
29
|
+
| 04 | `modus-perf-auditor` | 性能审计 | `04-perf-report.md` | ≤ 2 个 Skill 文件 |
|
|
30
|
+
| 05 | `modus-security-auditor` | 安全审计 | `05-security-report.md` | ≤ 2 个 Skill 文件 |
|
|
31
|
+
| 06 | `modus-reviewer` | 代码评审 | `cr-report.md` | ≤ 1 个团队约定 Skill |
|
|
32
|
+
| 07 | `modus-deployer` | 部署发布 | `07-deploy-status.md` | ≤ 1 个 Skill 文件 |
|
|
33
33
|
|
|
34
34
|
**预算原则:** SubAgent 超出预算时,应优先读 maturity 更高的 Skill;若 catalog 中某 Skill 标注 `⚠️` 可能过时,优先读最新代码而非该 Skill。
|
|
35
35
|
|
|
@@ -240,13 +240,13 @@ feat: {业务摘要}
|
|
|
240
240
|
|
|
241
241
|
| 如果发现自己在做… | 立即停止,转交给… |
|
|
242
242
|
|----------------|----------------|
|
|
243
|
-
| 修改任何业务代码 |
|
|
244
|
-
| 分析 TAPD 需求内容 |
|
|
245
|
-
| 生成设计方案或询问架构决策 |
|
|
246
|
-
| 对代码质量发表意见 |
|
|
247
|
-
| 执行测试或验证逻辑 |
|
|
248
|
-
| 操作部署流程 |
|
|
249
|
-
| 更新 Skill 文件 |
|
|
243
|
+
| 修改任何业务代码 | `modus-developer` |
|
|
244
|
+
| 分析 TAPD 需求内容 | `modus-analyst` |
|
|
245
|
+
| 生成设计方案或询问架构决策 | `modus-designer` |
|
|
246
|
+
| 对代码质量发表意见 | `modus-reviewer` |
|
|
247
|
+
| 执行测试或验证逻辑 | `modus-tester` / `modus-perf-auditor` / `modus-security-auditor` |
|
|
248
|
+
| 操作部署流程 | `modus-deployer` |
|
|
249
|
+
| 更新 Skill 文件 | `modus-skill-creator` |
|
|
250
250
|
|
|
251
251
|
---
|
|
252
252
|
|