AGENTS.md 补充全局 skill 的指路与硬性读取要求 #177

Merged
gjm merged 1 commits from home-laptop/LittleGuo/agents-md-global-skills AGit into main 2026-11-22 00:27:54 +08:00
Collaborator

现象
engineering / cpp-objectarx / repo-workflow 已挂到 ~/.agents/skills/ 供所有仓库共用,
但本仓库 AGENTS.md 只列了仓库内的 skill,agent 不知道这三个存在,等于没用上。

改动

  • 新增「全局 skill」一节:三个 skill 各自的用途,以及硬性读取时机
    (改 .cpp/.h 或 CMake 前读 cpp-objectarx;改代码前读 engineering;提交前读 repo-workflow)
  • 说明 pi 只在 system prompt 放 name + description,正文需要主动 read,
    必要时用 /skill:name 强制加载

验证
纯文档改动。skill 是否被发现已实测:pi 会话 system prompt 的 <available_skills>
节点里能看到这三个 name 与 location,无需改 settings.json。

现象 engineering / cpp-objectarx / repo-workflow 已挂到 ~/.agents/skills/ 供所有仓库共用, 但本仓库 AGENTS.md 只列了仓库内的 skill,agent 不知道这三个存在,等于没用上。 改动 - 新增「全局 skill」一节:三个 skill 各自的用途,以及硬性读取时机 (改 .cpp/.h 或 CMake 前读 cpp-objectarx;改代码前读 engineering;提交前读 repo-workflow) - 说明 pi 只在 system prompt 放 name + description,正文需要主动 read, 必要时用 /skill:name 强制加载 验证 纯文档改动。skill 是否被发现已实测:pi 会话 system prompt 的 <available_skills> 节点里能看到这三个 name 与 location,无需改 settings.json。
home-laptop added 1 commit 2026-11-22 00:25:39 +08:00
现象
engineering / cpp-objectarx / repo-workflow 已挂到 ~/.agents/skills/ 供所有仓库共用,
但本仓库 AGENTS.md 只列了仓库内的 skill,agent 不知道这三个存在,等于没用上。

改动
- 新增「全局 skill」一节:三个 skill 各自的用途,以及硬性读取时机
  (改 .cpp/.h 或 CMake 前读 cpp-objectarx;改代码前读 engineering;提交前读 repo-workflow)
- 说明 pi 只在 system prompt 放 name + description,正文需要主动 read,
  必要时用 /skill:name 强制加载

验证
纯文档改动。skill 是否被发现已实测:pi 会话 system prompt 的 <available_skills>
节点里能看到这三个 name 与 location,无需改 settings.json。
gjm approved these changes 2026-11-22 00:27:49 +08:00
gjm merged commit e7488887af into main 2026-11-22 00:27:54 +08:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gjm/envi-code#177