moluoxixi-ai-rules 0.2.8 → 0.2.9

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-en.md CHANGED
@@ -246,7 +246,7 @@ Role source: [`roles/matt`](roles/matt).
246
246
 
247
247
  ## `trellis`
248
248
 
249
- For users who want the native Trellis task-and-specification workflow together with AIRules shared skills, MCP, project knowledge, and multi-agent dispatch. It inherits `general` and adds `coding`, `productivity`, and `frontend`.
249
+ For users who want the native [Trellis](https://github.com/mindfold-ai/Trellis) task-and-specification workflow together with AIRules shared skills, MCP, project knowledge, and multi-agent dispatch. It inherits `general` and adds `coding`, `productivity`, and `frontend`.
250
250
 
251
251
  ### Install
252
252
 
package/README.md CHANGED
@@ -253,7 +253,7 @@ airules verify matt --host all
253
253
 
254
254
  ## `trellis`
255
255
 
256
- 适合希望使用原生 Trellis 的任务与规范驱动工作流,同时获得 AIRules 共享 skills、MCP、知识库和多 agent 调度的用户。继承 `general`,再增加 `coding`、`productivity` 和 `frontend`。
256
+ 适合希望使用原生 [Trellis](https://github.com/mindfold-ai/Trellis) 的任务与规范驱动工作流,同时获得 AIRules 共享 skills、MCP、知识库和多 agent 调度的用户。继承 `general`,再增加 `coding`、`productivity` 和 `frontend`。
257
257
 
258
258
  ### 安装
259
259
 
@@ -63,6 +63,8 @@ capabilities:
63
63
 
64
64
  `roles/<role>/role.yaml` 声明角色自身的 `role_vendor`、CLI 安装命令、宿主支持、继承关系和 publishable packages。角色自有的 `init-project`、hooks、agents、packages 等仍放在 `roles/<role>/`,由 `role-assets` 全量同步。旧包若仍带有 `constants/skills.ts`,安装器会在没有 `role.yaml` 时兼容读取它。
65
65
 
66
+ 共享能力的上游仓库、固定 commit 和投影路径统一以 `capability.yaml` 的 `vendors` 为准;角色通过 `capabilities` 与 `extends_roles` 引用这些声明。
67
+
66
68
  ## 角色继承
67
69
 
68
70
  `extends_roles` 将角色作为可复用的能力模板。`general` 既能独立安装,也作为开发角色的基础:子角色安装时递归读取父角色的 `capabilities`,再加入自己的能力。多层和多父角色按声明顺序合并,共同祖先与相同能力只处理一次。子角色可用 `capabilities: []` 继承整组通用能力。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "moluoxixi-ai-rules",
3
3
  "type": "module",
4
- "version": "0.2.8",
4
+ "version": "0.2.9",
5
5
  "description": "Remote AI role asset distribution for supported hosts.",
6
6
  "license": "MIT",
7
7
  "repository": "https://github.com/moluoxixi/AIRules",
@@ -22,11 +22,3 @@ distribution:
22
22
  bootstrap_manifest: role.yaml
23
23
  full_role_path_required: true
24
24
  npm_embedded_source: false
25
- third_party:
26
- upstream:
27
- name: Matt Pocock Skills
28
- source: https://github.com/mattpocock/skills.git
29
- revision: 8b78b531ab965735c5dc74f6f7a219e1e37326df
30
- categories:
31
- - skills/engineering
32
- - skills/productivity
@@ -35,14 +35,3 @@ distribution:
35
35
  entrypoints:
36
36
  initialize_project_skill: init-project
37
37
  initialize_project_script: skills/init-project/scripts/run-role-cli.mjs
38
- third_party:
39
- productivity_skills:
40
- name: Matt Pocock Skills
41
- source: https://github.com/mattpocock/skills.git
42
- revision: 8b78b531ab965735c5dc74f6f7a219e1e37326df
43
- category: skills/productivity
44
- frontend_design:
45
- name: Anthropic Frontend Design
46
- source: https://github.com/anthropics/skills.git
47
- revision: 3b3fad96af16a10759d930941b4520ba0c40edae
48
- skill: skills/frontend-design
@@ -29,18 +29,3 @@ distribution:
29
29
  entrypoints:
30
30
  initialize_project_skill: init-project
31
31
  initialize_project_script: skills/init-project/scripts/run-role-cli.mjs
32
- third_party:
33
- upstream:
34
- name: Trellis
35
- source: https://github.com/mindfold-ai/Trellis.git
36
- package: '@mindfoldhq/trellis@latest'
37
- productivity_skills:
38
- name: Matt Pocock Skills
39
- source: https://github.com/mattpocock/skills.git
40
- revision: 8b78b531ab965735c5dc74f6f7a219e1e37326df
41
- category: skills/productivity
42
- frontend_design:
43
- name: Anthropic Frontend Design
44
- source: https://github.com/anthropics/skills.git
45
- revision: 3b3fad96af16a10759d930941b4520ba0c40edae
46
- skill: skills/frontend-design