@rosenfan/matrix 0.1.1 → 0.1.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.
Files changed (38) hide show
  1. package/.claude/skills/matrix/SKILL.md +60 -17
  2. package/.claude/skills/matrix/agents/openai.yaml +4 -4
  3. package/.claude/skills/matrix/scripts/matrix_claude.py +3 -158
  4. package/.claude/skills/matrix/scripts/matrix_state.py +53 -107
  5. package/.claude/skills/matrix-archive/SKILL.md +23 -13
  6. package/.claude/skills/matrix-build/SKILL.md +24 -35
  7. package/.claude/skills/matrix-claude/SKILL.md +26 -24
  8. package/.claude/skills/matrix-design/SKILL.md +29 -26
  9. package/.claude/skills/matrix-hotfix/SKILL.md +8 -8
  10. package/.claude/skills/matrix-open/SKILL.md +25 -18
  11. package/.claude/skills/matrix-status/SKILL.md +3 -2
  12. package/.claude/skills/matrix-tweak/SKILL.md +8 -8
  13. package/.claude/skills/matrix-verify/SKILL.md +21 -30
  14. package/LICENSE +21 -21
  15. package/README.md +294 -255
  16. package/README.zh-CN.md +293 -255
  17. package/assets/skills-zh-CN/matrix/SKILL.md +80 -25
  18. package/assets/skills-zh-CN/matrix-archive/SKILL.md +33 -9
  19. package/assets/skills-zh-CN/matrix-build/SKILL.md +36 -10
  20. package/assets/skills-zh-CN/matrix-claude/SKILL.md +31 -28
  21. package/assets/skills-zh-CN/matrix-design/SKILL.md +19 -10
  22. package/assets/skills-zh-CN/matrix-hotfix/SKILL.md +8 -8
  23. package/assets/skills-zh-CN/matrix-open/SKILL.md +22 -7
  24. package/assets/skills-zh-CN/matrix-status/SKILL.md +15 -14
  25. package/assets/skills-zh-CN/matrix-tweak/SKILL.md +8 -8
  26. package/assets/skills-zh-CN/matrix-verify/SKILL.md +26 -10
  27. package/bin/matrix.js +15 -15
  28. package/package.json +56 -56
  29. package/src/catalog.js +92 -87
  30. package/src/cli.js +159 -101
  31. package/src/distribution.js +281 -186
  32. package/src/installer.js +45 -45
  33. package/src/matt.js +45 -45
  34. package/src/messages.js +33 -33
  35. package/src/self-update.js +81 -0
  36. package/src/ui.js +89 -89
  37. package/src/workflow-transaction.js +622 -0
  38. package/src/workflow.js +787 -82
@@ -1,12 +1,36 @@
1
- ---
2
- name: matrix-archive
3
- description: 关闭并归档已经验证的 Matrix 变更。
4
- ---
5
-
1
+ ---
2
+ name: matrix-archive
3
+ description: 关闭并归档已经验证的 Matrix 变更。
4
+ ---
5
+
6
6
  # Matrix Archive
7
7
 
8
- 仅在 verify 证据完整、用户确认归档时执行:
8
+ 这是 Matrix 最终阶段。读取 proposal、plan 与验证证据,汇总行为变化、验证结果、残留风险和后续工作;提交归档前必须取得用户明确确认。
9
9
 
10
- ```powershell
11
- matrix workflow archive
12
- ```
10
+ 归档摘要和 handoff 正文使用 `artifact_language`;Runtime 所需英文标题 token 保持不变。
11
+
12
+ Prim 与 Arch 的 Archive 均完全由 Matrix 拥有;本阶段不调用 companion 实现、审查或架构能力。
13
+
14
+ ## 强制两步归档
15
+
16
+ 先运行只读预演并复核影响摘要,再原样提交该次预演返回的 hash:
17
+
18
+ ```powershell
19
+ matrix workflow archive --dry-run
20
+ matrix workflow archive --expect-preflight <dry-run-返回的-sha256>
21
+ ```
22
+
23
+ 裸 Archive 会被拒绝。Runtime 会重新取得项目 Archive 互斥权,并在提交前重算整个受保护 change 目录 manifest。
24
+ hotfix/tweak 在复核 preflight 后必须再次取得用户明确确认,并执行 Runtime 返回的带 `--confirmed` 命令;缺少确认会被拒绝。
25
+
26
+ - `ARCHIVE_PREFLIGHT_CHANGED`:重新 dry-run 并复核新摘要。
27
+ - `ARCHIVE_BUSY`:稍后重试;不得移除或接管锁,陈旧锁恢复属于后续 doctor/repair change。
28
+ - Guard 或 Contract 失败:使用 Runtime 返回的恢复命令,不得提交。
29
+
30
+ 若最终确认前发现验收或设计需要调整,使用唯一 Archive 回退路径:
31
+
32
+ ```powershell
33
+ matrix workflow return design --reason acceptance-or-design-gap
34
+ ```
35
+
36
+ 提交成功后,变更位于 `.matrix/archive/`,工作流完成。
@@ -1,13 +1,39 @@
1
- ---
2
- name: matrix-build
3
- description: 用测试优先的纵向切片实现冻结的 Matrix 计划。
4
- ---
5
-
1
+ ---
2
+ name: matrix-build
3
+ description: 用测试优先的纵向切片实现冻结的 Matrix 计划。仅在活动 Matrix 阶段为 build 时使用。
4
+ ---
5
+
6
6
  # Matrix Build
7
7
 
8
- 只实现冻结计划中的范围。使用 `implement` 与预先确认的 `tdd` 测试边界;持续记录 `artifacts/verification.md` 的 `## Build evidence`。如发现范围或设计变化,返回设计阶段。
8
+ 读取 `matrix workflow inspect` 与已批准 Contract。full/legacy-full 读取 proposal/design/plan;lightweight 只读取紧凑 proposal,不补写 Design 产物。
9
9
 
10
- ```powershell
11
- matrix workflow guard build
12
- matrix workflow transition verify
13
- ```
10
+ Build 证据与面向用户的说明使用 `artifact_language`;Runtime 所需英文标题 token 保持不变。
11
+
12
+ ## 编排
13
+
14
+ - **Prim**:使用 Matrix 自身实现与测试能力。
15
+ - **Arch**:可测试行为变化时调用 `tdd`;真实失败且根因未知时调用 `diagnosing-bugs`;仅在进行中的 merge/rebase 冲突时调用 `resolving-merge-conflicts`。
16
+
17
+ 调用前说明能力与原因。companion 不得 commit、review、transition、archive 或扩大范围。正确安装的能力失败时最多执行一次同能力 Matrix fallback,并记录调用、失败、fallback 与证据;安装完整性问题必须停止并修复。
18
+
19
+ ## 范围纪律
20
+
21
+ 若实现暴露范围或设计变化,停止并执行:
22
+
23
+ ```powershell
24
+ matrix workflow return design --reason design-gap
25
+ ```
26
+
27
+ 回到 Design 会清除既有 Contract 批准并轮换当前验证证据;重新进入 Build 必须生成新的批准与新证据。
28
+
29
+ ## 流程
30
+
31
+ 1. 用 `tdd` 以纵向切片实现。
32
+ 2. 在 `## Build evidence` 记录共同事实;hotfix 另写 `## Reproduction evidence`、`## Root cause`,tweak 另写 `## Scope evidence`。
33
+ 3. 运行 Build guard;它同时确认批准的 Contract 仍精确匹配。
34
+ 4. 通过后推进至 Verify,并进入 `$matrix-verify`。
35
+
36
+ ```powershell
37
+ matrix workflow guard build
38
+ matrix workflow transition verify
39
+ ```
@@ -1,30 +1,33 @@
1
- ---
2
- name: matrix-claude
3
- description: 将冻结的 Matrix 设计导出为受边界约束的 Claude Code 任务包,不改变 Matrix 工作流状态。
4
- ---
5
-
1
+ ---
2
+ name: matrix-claude
3
+ description: 将已批准的 Matrix Contract 导出为受边界约束的 Claude Code 任务包,不改变 Matrix 工作流状态。
4
+ ---
5
+
6
6
  # Matrix Claude Handoff
7
7
 
8
- 这是可选的旁路操作,而不是 Matrix phase。它不得执行 `transition`、`archive`,也不得写入 `matrix.yaml`、`run-state.json` 或 `events.jsonl`。
9
-
10
- 仅当设计阶段守卫已通过,并且用户明确选择由 Claude Code 实现时使用。先检查:
11
-
12
- ```powershell
13
- matrix workflow guard design
14
- ```
15
-
16
- 如果主命令确实不在 PATH 中,才使用已安装根 Matrix Skill 中的 bundled runtime;主命令已启动但返回业务错误时不得回退。
17
-
18
- 导出通用任务包:
19
-
20
- ```powershell
21
- matrix workflow export --task-id <ID> --target generic
22
- ```
23
-
24
- 导出 FnSec 任务包时,只有在 `docs/tasks/active.md` 包含 `NO_ACTIVE_OBJECTIVE` 时才可使用 `--apply-fnsec-board`;现有任务绝不覆盖:
25
-
26
- ```powershell
27
- matrix workflow export --task-id <ID> --target fnsec --apply-fnsec-board
28
- ```
29
-
30
- 任务包会包含冻结的 proposal、design、plan,以及 Claude Code 回执所需的改动、验证、边界确认和 `NEEDS_DECISION` 项目。
8
+ 这是可选旁路,不是 Matrix phase。它不得执行 `transition`、`archive`,也不得写入 `matrix.yaml` 或 `events.jsonl`。它只支持匹配的 full 或 legacy-full 三产物 Contract;新的 lightweight hotfix/tweak 不支持导出。
9
+
10
+ 人类可读 handoff 内容使用 inspect 的 `artifact_language`;稳定的机器可读标题和 metadata key 保持不变。
11
+
12
+ 仅当变更已进入 Build、`design -> build` 已批准精确 Contract,并且用户明确选择 Claude Code 实现时使用。先检查:
13
+
14
+ ```powershell
15
+ matrix workflow guard build
16
+ ```
17
+
18
+ 若结果为 `CONTRACT_CHANGED`、`CONTRACT_UNAPPROVED` 或 `CONTRACT_READ_FAILED`,回到 `$matrix-design`,修订后重新进入 Build 取得新批准。导出只读取批准快照中的 `proposal.md`、`design.md` 与 `plan.md`。
19
+
20
+ ```powershell
21
+ # 通用项目:只导出 Matrix 产物
22
+ matrix workflow export --task-id <ID> --target generic
23
+
24
+ # FnSec:仅在 active.md 含有 NO_ACTIVE_OBJECTIVE 时更新看板
25
+ matrix workflow export --task-id <ID> --target fnsec --apply-fnsec-board
26
+ ```
27
+
28
+ 任务包包含批准的 Contract hash 与 revision,以及同一快照的 proposal、design、plan。导出本身不改变 Build 阶段;Claude 完成后,补齐 `## Build evidence`,然后继续:
29
+
30
+ ```powershell
31
+ matrix workflow guard build
32
+ matrix workflow transition verify
33
+ ```
@@ -1,13 +1,22 @@
1
- ---
2
- name: matrix-design
3
- description: 在实现前设计并冻结活动 Matrix 变更。
4
- ---
5
-
1
+ ---
2
+ name: matrix-design
3
+ description: 在实现前设计并冻结活动 Matrix 变更。
4
+ ---
5
+
6
6
  # Matrix Design
7
7
 
8
- 阅读 proposal,写入 `design.md`(`## Decisions`、`## Boundaries`、`## Test seams`、`## Risks`)与 `plan.md`(`## Steps`、`## Validation`、`## Stop conditions`)。重大范围或架构决策须先由用户确认。
8
+ Design 只用于 full 和可恢复的旧 shortcut change。新的 lightweight hotfix/tweak 从 Open 直接进入 Build,不得为满足 full guard 补写 Design 产物。
9
+
10
+ design 和 plan 正文使用 `matrix workflow inspect` 的 `artifact_language`;Runtime 所需英文标题 token 保持不变。
9
11
 
10
- ```powershell
11
- matrix workflow guard design
12
- matrix workflow transition build
13
- ```
12
+ 读取 `matrix workflow inspect`、proposal 与冻结 `orchestration`,写入 `design.md`(`## Decisions`、`## Boundaries`、`## Test seams`、`## Risks`)与 `plan.md`(`## Steps`、`## Validation`、`## Stop conditions`)。
13
+
14
+ - **Prim**:使用 Matrix 自身能力调查并设计。
15
+ - **Arch**:仅按事实触发 `domain-modeling`、`research`、`wayfinder`、`prototype`、`codebase-design`,不得机械执行固定序列。每次调用前说明能力与原因。
16
+
17
+ 长期有效的领域、ADR 或研究产物遵循仓库约定,关键结论必须同步进入 Matrix design/plan。prototype 默认写入系统临时目录。companion 不得拥有 Matrix 状态或创建竞争计划。重大范围或架构决策须先由用户确认。
18
+
19
+ ```powershell
20
+ matrix workflow guard design
21
+ matrix workflow transition build
22
+ ```
@@ -1,8 +1,8 @@
1
- ---
2
- name: matrix-hotfix
3
- description: 为可复现的小型缺陷运行受约束的 Matrix 工作流。
4
- ---
5
-
6
- # Matrix Hotfix
7
-
8
- 从 `$matrix` 以 `hotfix` 工作流启动。使用 `diagnosing-bugs` 建立可复现的红色反馈循环;如果问题影响架构、公开 API、数据模式或多模块协调,要求升级为完整工作流。
1
+ ---
2
+ name: matrix-hotfix
3
+ description: 为可复现的小型缺陷运行受约束的 Matrix 工作流。
4
+ ---
5
+
6
+ # Matrix Hotfix
7
+
8
+ 从 `$matrix` 以 `hotfix` 启动,共用 `open → build → verify → archive` lightweight 生命周期,不维护独立 hotfix 状态机。Build 前记录预期/实际行为和可复现失败信号,展示紧凑 Contract 并等待确认;Build 记录复现与根因,Verify 记录回归证据。若影响架构、公开 API、数据模式或多模块协调,受控 Return 后升级为 full。
@@ -1,13 +1,28 @@
1
- ---
2
- name: matrix-open
3
- description: 将开发请求澄清为有证据的 Matrix 提案。
4
- ---
5
-
1
+ ---
2
+ name: matrix-open
3
+ description: 将开发请求澄清为有证据的 Matrix 提案。
4
+ ---
5
+
6
6
  # Matrix Open
7
7
 
8
- 读取 `matrix workflow inspect` 的活动变更。使用 `grill-with-docs` 澄清完整工作流请求;写入 `artifacts/proposal.md`,必须包含 `## Goal`、`## Scope`、`## Non-goals`、`## Acceptance`、`## Risks`。
8
+ 读取 `matrix workflow inspect` 返回的 `profile` 与 `evidence_policy`。
9
+
10
+ proposal 正文使用其中的 `artifact_language`;Runtime 所需的英文标题 token 必须原样保留,仅标题下内容本地化。
9
11
 
10
- ```powershell
12
+ - full proposal 包含 `## Goal`、`## Scope`、`## Non-goals`、`## Acceptance`、`## Risks`,随后进入 Design。
13
+ - lightweight proposal 在修改项目实现前完整定义 `## Goal`、`## Scope`、`## Non-goals`、`## Approach`、`## Acceptance`、`## Validation`、`## Risks`、`## Upgrade conditions`。
14
+ - hotfix 额外包含 `## Expected behavior`、`## Actual behavior`、`## Reproduction`。
15
+ - tweak 额外包含 `## Current behavior`、`## Preserved behavior`、`## Diff boundary`。
16
+
17
+ - **Prim**:使用 Matrix 自身能力澄清并编写提案。
18
+ - **Arch**:仅在存在重大歧义或用户要求压力测试时调用 `grilling`;仅在领域词汇、不变量或架构决定不清晰时调用 `domain-modeling`。调用前说明能力与原因。
19
+
20
+ companion 输出只能作为当前 proposal 的证据,不得创建第二套工作流、提案、确认状态或阶段转换。正确安装的能力失败时最多执行一次同能力 Matrix fallback;安装完整性问题必须修复。
21
+
22
+ ```powershell
11
23
  matrix workflow guard open
24
+ # full
12
25
  matrix workflow transition design
26
+ # hotfix/tweak,仅在用户明确确认后
27
+ matrix workflow transition build --confirmed
13
28
  ```
@@ -1,14 +1,15 @@
1
- ---
2
- name: matrix-status
3
- description: 检查活动 Matrix 工作流的磁盘状态、守卫与恢复命令。
4
- ---
5
-
6
- # Matrix Status
7
-
8
- 执行:
9
-
10
- ```powershell
11
- matrix workflow inspect
12
- ```
13
-
14
- 报告变更 ID、工作流、阶段、守卫结果和 `next_skill`;不得修改状态。
1
+ ---
2
+ name: matrix-status
3
+ description: 检查活动 Matrix 工作流的磁盘状态、守卫与恢复命令。
4
+ ---
5
+
6
+ # Matrix Status
7
+
8
+ 执行:
9
+
10
+ ```powershell
11
+ matrix workflow inspect
12
+ matrix workflow doctor
13
+ ```
14
+
15
+ 报告变更 ID、工作流、`profile`、`evidence_policy`、冻结 `orchestration`、阶段、守卫结果、`next_skill`、Workflow health、未完成 transaction、可用策略和精确恢复命令。Arch 完整性失败时列出平台/Skill 事实并报告 `matrix init --with-mattpocock`,不得把 change 解释为 Prim。两条命令都只读;不得推断恢复策略、运行 `--repair` 或修改状态。
@@ -1,8 +1,8 @@
1
- ---
2
- name: matrix-tweak
3
- description: 为边界清晰的小改动运行轻量 Matrix 工作流。
4
- ---
5
-
6
- # Matrix Tweak
7
-
8
- 从 `$matrix` 以 `tweak` 工作流启动。保持提案和设计简洁,但仍定义验收条件与测试边界。若涉及 API、模式、架构或跨模块协调,升级为完整工作流。
1
+ ---
2
+ name: matrix-tweak
3
+ description: 为边界清晰的小改动运行轻量 Matrix 工作流。
4
+ ---
5
+
6
+ # Matrix Tweak
7
+
8
+ 从 `$matrix` 以 `tweak` 启动,共用 `open → build → verify → archive` lightweight 生命周期,不维护独立 tweak 状态机或 Design 阶段。修改实现前,在紧凑 proposal 中定义当前/保留行为、diff 边界、验收与验证,展示后等待确认;Build 与 Verify 必须证明范围和 diff 一致。若涉及 API、模式、架构或跨模块协调,受控 Return 后升级为 full。
@@ -1,13 +1,29 @@
1
- ---
2
- name: matrix-verify
3
- description: 依据计划验证 Matrix 变更并审查差异。
4
- ---
5
-
1
+ ---
2
+ name: matrix-verify
3
+ description: 依据计划验证 Matrix 变更并审查差异。
4
+ ---
5
+
6
6
  # Matrix Verify
7
7
 
8
- 运行计划的验证命令,在 `verification.md` 写入 `## Test evidence`。使用 `code-review` 完成标准与规格双轴审查,并在 `## Review evidence` 记录结论。失败时回到产生问题的阶段。
8
+ 运行已批准 Contract 的验证命令,在 `verification.md` 写入 `## Test evidence`。hotfix 另写 `## Regression evidence`;tweak 另写 `## Scope review evidence`。读取冻结 `orchestration`:
9
9
 
10
- ```powershell
11
- matrix workflow guard verify
12
- matrix workflow transition archive
13
- ```
10
+ 验证正文使用 `artifact_language`;上述 Runtime 所需英文证据标题保持不变。
11
+
12
+ - **Prim**:Matrix 自行完成 Standards 与 Spec 双轴审查。
13
+ - **Arch**:调用 `code-review` 产生双轴证据,并说明调用原因。
14
+
15
+ 审查结果只是 Matrix Verify 的输入;companion 不得决定阶段结果、扩大已批准架构、推进或归档。不得调用事后架构改进 wrapper。正确安装的审查能力失败时最多执行一次同能力 Matrix fallback;安装完整性问题必须停止。
16
+
17
+ 失败时使用受控 Return:
18
+
19
+ ```powershell
20
+ matrix workflow return build --reason verification-failed
21
+ matrix workflow return design --reason acceptance-or-design-gap
22
+ ```
23
+
24
+ Return 会轮换旧 `verification.md`;不得把旧结论直接复制为新的当前证据。
25
+
26
+ ```powershell
27
+ matrix workflow guard verify
28
+ matrix workflow transition archive
29
+ ```
package/bin/matrix.js CHANGED
@@ -1,15 +1,15 @@
1
- #!/usr/bin/env node
2
-
3
- import { main } from "../src/cli.js";
4
-
5
- main(process.argv.slice(2)).then((exitCode) => {
6
- if (Number.isInteger(exitCode) && exitCode !== 0) process.exitCode = exitCode;
7
- }).catch((error) => {
8
- if (error.code === "CANCELLED") {
9
- console.log("\nCancelled.");
10
- process.exitCode = 0;
11
- } else {
12
- console.error(`\nMatrix error: ${error.message}`);
13
- process.exitCode = 1;
14
- }
15
- });
1
+ #!/usr/bin/env node
2
+
3
+ import { main } from "../src/cli.js";
4
+
5
+ main(process.argv.slice(2)).then((exitCode) => {
6
+ if (Number.isInteger(exitCode) && exitCode !== 0) process.exitCode = exitCode;
7
+ }).catch((error) => {
8
+ if (error.code === "CANCELLED") {
9
+ console.log("\nCancelled.");
10
+ process.exitCode = 0;
11
+ } else {
12
+ console.error(`\nMatrix error: ${error.message}`);
13
+ process.exitCode = 1;
14
+ }
15
+ });
package/package.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "name": "@rosenfan/matrix",
3
- "version": "0.1.1",
4
- "description": "Install and manage the Matrix workflow for Matt Pocock's agent skills.",
5
- "license": "MIT",
6
- "type": "module",
7
- "bin": {
8
- "matrix": "bin/matrix.js"
9
- },
10
- "files": [
11
- "bin/",
12
- "src/",
13
- "assets/skills-zh-CN",
14
- ".claude/skills/matrix",
15
- ".claude/skills/matrix-open",
16
- ".claude/skills/matrix-design",
17
- ".claude/skills/matrix-build",
18
- ".claude/skills/matrix-verify",
19
- ".claude/skills/matrix-archive",
20
- ".claude/skills/matrix-hotfix",
21
- ".claude/skills/matrix-tweak",
22
- ".claude/skills/matrix-status",
23
- ".claude/skills/matrix-claude",
24
- "!.claude/skills/**/__pycache__",
25
- "!.claude/skills/**/scripts/test_*.py",
26
- "README.md",
27
- "README.zh-CN.md",
28
- "LICENSE"
29
- ],
30
- "scripts": {
31
- "test": "node --test",
32
- "pack:check": "npm pack --dry-run",
33
- "prepublishOnly": "npm run test && npm run pack:check"
34
- },
35
- "engines": {
36
- "node": ">=18"
37
- },
38
- "repository": {
39
- "type": "git",
40
- "url": "git+https://github.com/Rosenfan/Matrix.git"
41
- },
42
- "bugs": {
43
- "url": "https://github.com/Rosenfan/Matrix/issues"
44
- },
45
- "homepage": "https://github.com/Rosenfan/Matrix#readme",
46
- "publishConfig": {
47
- "access": "public"
48
- },
49
- "keywords": [
50
- "claude-code",
51
- "agent-skills",
52
- "workflow",
53
- "tdd",
54
- "ai"
55
- ]
56
- }
1
+ {
2
+ "name": "@rosenfan/matrix",
3
+ "version": "0.1.3",
4
+ "description": "Evidence-driven development workflow with Prim and Arch agent-skill orchestration.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "matrix": "bin/matrix.js"
9
+ },
10
+ "files": [
11
+ "bin/",
12
+ "src/",
13
+ "assets/skills-zh-CN",
14
+ ".claude/skills/matrix",
15
+ ".claude/skills/matrix-open",
16
+ ".claude/skills/matrix-design",
17
+ ".claude/skills/matrix-build",
18
+ ".claude/skills/matrix-verify",
19
+ ".claude/skills/matrix-archive",
20
+ ".claude/skills/matrix-hotfix",
21
+ ".claude/skills/matrix-tweak",
22
+ ".claude/skills/matrix-status",
23
+ ".claude/skills/matrix-claude",
24
+ "!.claude/skills/**/__pycache__",
25
+ "!.claude/skills/**/scripts/test_*.py",
26
+ "README.md",
27
+ "README.zh-CN.md",
28
+ "LICENSE"
29
+ ],
30
+ "scripts": {
31
+ "test": "node --test",
32
+ "pack:check": "npm pack --dry-run",
33
+ "prepublishOnly": "npm run test && npm run pack:check"
34
+ },
35
+ "engines": {
36
+ "node": ">=18"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/Rosenfan/Matrix.git"
41
+ },
42
+ "bugs": {
43
+ "url": "https://github.com/Rosenfan/Matrix/issues"
44
+ },
45
+ "homepage": "https://github.com/Rosenfan/Matrix#readme",
46
+ "publishConfig": {
47
+ "access": "public"
48
+ },
49
+ "keywords": [
50
+ "claude-code",
51
+ "agent-skills",
52
+ "workflow",
53
+ "tdd",
54
+ "ai"
55
+ ]
56
+ }