Deepzz's Blog

如何写出高质量的 Skill (opens in new tab)

写出一个 Skill 很容易,但写出一个高质量、稳定、可复用的 Skill 却需要一些方法论。高质量的 Skill 就像是给 AI 制定的一套 SOP(标准作业程序),它不仅能防错,还能让 AI 的表现超出预期。 第一部分:核心心法(写好 Skill 的五大原则) 1. 精准的「触发器」设计 (Description) AI 拥有成百上千个技能,如何确保它在正确的时机调用正确的技能?关键在于元信息(YAML Header)中的 description。 反面教材: description: 帮我写代码。 (太宽泛,随时都可能触发,干扰其他技能) 高质量示范: description: 当用户明确要求使用 React/TypeScript 编写前端组件,且需要包含单元测试时触发。 graph LR A["用户模糊意图"] --> B{"描述匹配引擎"} B -->|"高精准度"| C["精确触发目标 Skill"] B -->|"低精准度"| D["误触发 / 混用多个 Skill"] style C stroke:#4caf50,stroke-width:2px style D ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help