example-skill
What the skill does and when to use it, in one or two sentences with the keywords an agent would match on. Use when <the situations that should activate it>. Max 1024 characters.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- example-skill
- description
- What the skill does and when to use it, in one or two sentences with the keywords an agent would match on. Use when <the situations that should activate it>. Max 1024 characters.
02 资源文件 16
- 参考文档AGENTS.md1.6 KB
- 参考文档check.yaml1.2 KB
- 参考文档context-document.md1.5 KB
- 参考文档evidence.yaml3.3 KB
- 参考文档feature.yaml870 B
- 参考文档generated-artifact.yaml792 B
- 参考文档manifest.yaml535 B
- 参考文档overrides.yaml1.1 KB
- 参考文档rule.yaml559 B
- 参考文档skill.yaml520 B
- 参考文档tool-implementation.yaml526 B
- 参考文档tool.yaml1.0 KB
- 参考文档verification-profile.yaml513 B
- 参考文档workflow-run.yaml801 B
- 参考文档workflow.md914 B
- 参考文档workflow.yaml1.4 KB
03 SKILL.md 正文
Example skill
<!-- Instantiated as SKILL.md. Frontmatter follows the Agent Skills specification (https://agentskills.io/specification): only name, description, license, compatibility, metadata and allowed-tools. Paved metadata lives in skill.yaml. Every section below is required. Keep the body under 150 lines: move detail to references/, examples to examples/, and link each file from the step that needs it. Name no technology and no project fact; say where to find it instead. -->
When to use
Situations that should activate this skill, and situations that look similar but should not.
Required context
What to look for in each context area skill.yaml lists, and what to do if it is absent.
Preconditions
What must be true before starting. If a precondition fails, say what to do instead.
Procedure
- Numbered, concrete steps.
- Each step says what to look at and what decision to make.
- A step that hands work to another skill names it (for example
unit-testing).
Tools
When to use each tool listed in skill.yaml (for example core.repository.diff to review the
change), and what to do when an optional tool is absent.
Rules
Rules this skill is most likely to touch and how to stay compliant. Reference rules by id; do not restate them.
Verification
Which claims this skill usually produces and which check types prove them.
Evidence
What the evidence record must contain for work done with this skill.
Completion criteria
- Observable conditions that mean the skill's goal is reached.
Failure modes
Failures specific to this skill. Generic ones (missing context, unavailable tools, failed checks) are handled as the Paved instructions describe.
| Failure | Signal | Response |
|---|---|---|
| Common way this goes wrong | How to notice it | What to do |
References
- Files under this skill's
references/,examples/orscripts/, if any.
04 同仓库更多 Skills
sample-skill
Does a sample task. Use when a sample is needed.
unexplained-contract
Does a sample task. Use when a sample is needed.
shell-block
Does a sample task. Use when a sample is needed.
project-identifier
Does a sample task. Use when a sample is needed.
oversized
Does a sample task. Use when a sample is needed.
no-activation
Does a sample task.