AGENT SKILL
component-interfaces
暂无简介
- License 许可
- Apache-2.0
- 所属仓库
- zhnt/loushang
- 最近更新
- 2026-11-13
- Stars
- ★ 2.1k
- Forks
- 316
02 资源文件 29
- 参考文档_template.md181 B
- 参考文档bootstrap.md961 B
- 参考文档cli.md4.2 KB
- 参考文档compaction.md6.8 KB
- 参考文档control.md4.8 KB
- 参考文档diagnostics.md3.3 KB
- 参考文档domain.md3.9 KB
- 参考文档event.md1.2 KB
- 参考文档exec.md2.0 KB
- 参考文档extensions.md9.8 KB
- 参考文档loader.md3.2 KB
- 参考文档message.md1011 B
- 参考文档method.md1017 B
- 参考文档mode.md2.4 KB
- 参考文档package.md2.2 KB
- 参考文档platform.md1.3 KB
- 参考文档plugin.md5.5 KB
- 参考文档policy.md2.7 KB
- 参考文档prompt.md1.0 KB
- 参考文档README.md2.7 KB
- 参考文档resources.md1.2 KB
- 参考文档rpc.md5.7 KB
- 参考文档runtime.md5.6 KB
- 参考文档sdk.md2.9 KB
- 参考文档session.md9.7 KB
- 参考文档store.md4.1 KB
- 参考文档tools.md7.8 KB
- 参考文档utils.md698 B
- 参考文档workflow.md1.3 KB
03 SKILL.md 正文
skill
Role
- Catalog-backed Skill 查询、状态与正文加载边界
Owns
- exact-generation Skill Consumer capture
- body-free Skill metadata/status projection
- receipt-bearing asynchronous body load
- settings mutation followed by Catalog refresh
Depends On
- Resource Catalog
- Session Resource Capability
utils
Commands
load(handle)- settings
enable_skill(...)/disable_skill(...)followed by refresh
Queries
get_effective_skill(...)list_effective_skills()list_skill_statuses()
Events
- 当前无稳定事件面
Key Data
SkillDescriptorSkillCatalogSummarySkillCatalogStatusSummaryResourceLoadReceiptSKILL.mdfrontmatter:namedescriptiondisable-model-invocation
Out Of Scope
- method 选择策略
- extension hook 执行
- prompt 最终组装
Reference Implementation Alignment
- 语义上吸收
reference CLI的 customization / resource discovery 经验 - RCP5.5 已删除独立
SkillLoader;Skill 不再拥有私有 discovery、body cache 或 disabled-name overlay - 迁移旧
SkillLoader.list_skills()/reload_skills()调用时,Session 内部查询改用list_skill_statuses()与 capturedSkillCatalogConsumer;正文执行改用异步/skill:*preflight。Coding 不再选择 legacy Resource authority;Harness 内仍需 兼容旧产品的适配器不属于 Coding session 的可达生产路径 - Session 只从一个 captured Catalog generation 暴露 Skill 查询与正文加载
description用于/skill:namecommand 描述与 system prompt 中的 available skills 摘要。disable-model-invocation: true让 skill 仍可显式/skill:name调用,但不会进入模型可自动发现的 skill 摘要。- skill discovery 递归扫描
skills/**/SKILL.md;一旦某目录本身包含SKILL.md,该目录即为 skill root,不再继续向下递归。 - discovery 跳过隐藏目录和
node_modules,并读取.gitignore/.ignore/.fdignore中的常用目录/路径/glob 忽略规则,避免把依赖、隐藏工作区或生成目录误注册为可用 skill。
04 同仓库更多 Skills
coding-standard-shadow
Inert Skill resource used only to prove Plugin declaration parity.
★ 2.1k
standard
Apply the standard Coding workspace workflow with explicit inspection, scoped edits, and proportionate validation.
★ 2.1k
review
Review a small code change for correctness, tests, and rollback.
★ 2.1k
review
Review a small code change for correctness and missing tests.
★ 2.1k
goal-calculator-repair
Repair the fixed integer calculator using current failure evidence.
★ 2.1k