技能 Based 架构
- 作者仓库星标 264
- 作者仓库 skill-based-architecture
skill-based-architecture (Cursor Registration Entry)
This is the Cursor discovery entry. Formal skill content lives at the repo root — read SKILL.md immediately, then follow its design principles and workflow routing.
<!-- SELF_ROUTING_BLOCK_START -->Quick Routing (survives context truncation)
Task routes live in references/self-hosting-routing.yaml.
For every new task:
- Read
SKILL.md. - Read
references/self-hosting-routing.yaml. - Match by
labels,trigger_examples, and task intent. - Read only that route's
required_reads, then follow itsworkflow. - If no route matches, use the
otherroute.
Why this file exists
Cursor's agent_skill mechanism only scans .cursor/skills/. Without this registration entry, the formal skill at repo root is invisible to Cursor.
The description above must stay identical to the root SKILL.md description field. Drift between the two = Cursor uses one activation rule while other harnesses use another. templates/skill/scripts/smoke-test.sh automatically verifies they match.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @WoJiSama · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Task routes live in references/self-hosting-routing.yaml. For every new task: Read SKILL.md.
Cursor's agentskill mechanism only scans .cursor/skills/. Without this registration entry, the formal skill at repo root is invisible to Cursor. The description above must stay identical to the root SKILL.md description field. Drift between the two = Cursor…
# skill-based-architecture (Cursor Registration Entry)
**This is the Cursor discovery entry.** Formal skill content lives at the repo root — read [SKILL.md](../../../SKILL.md) immediately, then follow its design principles and workflow routing.
<!-- SELF_ROUTING_BLOCK_START -->
## Quick Routing (survives context truncation)
Task routes live in `references/self-hosting-routing.yaml`.
For every new task:
1. Read `SKILL.md`.
2. Read `references/self-hosting-routing.yaml`.
3. Match by `labels`, `trigger_examples`, and task intent.
4. Read only that route's `required_reads`, then follow its `workflow`.
5. If no route matches, use the `other` route.
<!-- SELF_ROUTING_BLOCK_END -->
## Why this file exists
Cursor's `agent_skill` mechanism only scans `.cursor/skills/`. Without this registration entry, the formal skill at repo root is invisible to Cursor.
The `description` above **must stay identical** to the root [SKILL.md](../../../SKILL.md) `description` field. Drift between the two = Cursor uses one activation rule while other harnesses use another. `templates/skill/scripts/smoke-test.sh` automatically verifies they match. 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Quick Routing (survives context truncation) → Why this file exists
要点 -> This is the Cursor discovery entry. · must stay identical · Task routes live in references/self-hosting-routing.yaml. · For every new task: 1. · Cursor's agentskill mechanism only scans .cursor/skills/. · The description above must stay identical to the root [SKILL.md](../../../SKILL.md) description field.
文件/命令 -> references/self-hosting-routing.yaml · labels · triggerexamples · requiredreads · workflow · other · agentskill · .cursor/skills/
内容 SHA-256 -> 81bb882e6d75
原文结构
适用与边界
原文中的明确线索
references/self-hosting-routing.yaml、labels、triggerexamples、requiredreads、workflow、other、agentskill、.cursor/skills/