File contents 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
SkillDescriptor
SkillCatalogSummary
SkillCatalogStatusSummary
ResourceLoadReceipt
SKILL.md frontmatter:
name
description
disable-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() 与 captured SkillCatalogConsumer;正文执行改用异步
/skill:* preflight。Coding 不再选择 legacy Resource authority;Harness 内仍需
兼容旧产品的适配器不属于 Coding session 的可达生产路径
Session 只从一个 captured Catalog generation 暴露 Skill 查询与正文加载
description 用于 /skill:name command 描述与 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。
1 --- 2 name: component-interfaces 3 description: `skill` 4 --- 5 # `skill` 6 7 ## Role 8 9 - Catalog-backed Skill 查询、状态与正文加载边界 10 11 ## Owns 12 13 - exact-generation Skill Consumer capture 14 - body-free Skill metadata/status projection 15 - receipt-bearing asynchronous body load 16 - settings mutation followed by Catalog refresh 17 18 ## Depends On 19 20 - Resource Catalog 21 - Session Resource Capability 22 - `utils` 23 24 ## Commands 25 26 - `load(handle)` 27 - settings `enable_skill(...)` / `disable_skill(...)` followed by refresh 28 29 ## Queries 30 31 - `get_effective_skill(...)` 32 - `list_effective_skills()` 33 - `list_skill_statuses()` 34 35 ## Events 36 37 - 当前无稳定事件面 38 39 ## Key Data 40 41 - `SkillDescriptor` 42 - `SkillCatalogSummary` 43 - `SkillCatalogStatusSummary` 44 - `ResourceLoadReceipt` 45 - `SKILL.md` frontmatter: 46 - `name` 47 - `description` 48 - `disable-model-invocation` 49 50 ## Out Of Scope 51 52 - method 选择策略 53 - extension hook 执行 54 - prompt 最终组装 55 56 ## Reference Implementation Alignment 57 58 - 语义上吸收 `reference CLI` 的 customization / resource discovery 经验 59 - RCP5.5 已删除独立 `SkillLoader`;Skill 不再拥有私有 discovery、body cache 60 或 disabled-name overlay 61 - 迁移旧 `SkillLoader.list_skills()` / `reload_skills()` 调用时,Session 内部查询改用 62 `list_skill_statuses()` 与 captured `SkillCatalogConsumer`;正文执行改用异步 63 `/skill:*` preflight。Coding 不再选择 legacy Resource authority;Harness 内仍需 64 兼容旧产品的适配器不属于 Coding session 的可达生产路径 65 - Session 只从一个 captured Catalog generation 暴露 Skill 查询与正文加载 66 - `description` 用于 `/skill:name` command 描述与 system prompt 中的 available skills 摘要。 67 - `disable-model-invocation: true` 让 skill 仍可显式 `/skill:name` 调用,但不会进入模型可自动发现的 skill 摘要。 68 - skill discovery 递归扫描 `skills/**/SKILL.md`;一旦某目录本身包含 `SKILL.md`,该目录即为 skill root,不再继续向下递归。 69 - discovery 跳过隐藏目录和 `node_modules`,并读取 `.gitignore` / `.ignore` / `.fdignore` 中的常用目录/路径/glob 忽略规则,避免把依赖、隐藏工作区或生成目录误注册为可用 skill。
zhnt/loushang/tree/main/docs/internals/architecture/coding/component-interfaces commit 99f3b631e7
Frequently asked questions How do I install the Component Interfaces skill? Run npx skillmds@latest add zhnt/component-interfaces in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Component Interfaces skill do? `skill` It is listed under Web & Frontend on SkillMD.
Is Component Interfaces safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Component Interfaces? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Component Interfaces free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Component Interfaces? zhnt (@zhnt) published this skill. Their other Agent Skills are listed on their SkillMD profile.