Back to skills
extension
Category: AI Agent CapabilitiesNo API key required

example-coding-skill

Example Coding Skill template. Used to demonstrate the writing and structure of a team skill, this directory can be copied and modified into an actual skill.

personAuthor: jakexiaohubgithub

Example Coding Skill

占位模板,可复制作新 skill 起点。详见仓库根目录 SKILL-SPEC.md。

何时使用

  • 参考如何编写 coding skill 时
  • 复制本目录作新 skill 起点时

如何编写 SKILL.md(精简)

  1. Frontmatternamedescription 必填;选填放 meta(见 SKILL-SPEC.md)。
  2. 正文:一级标题 + 简短说明 + 何时使用(列表)+ 使用方式 + 示例 + 注意事项。
  3. 只写 Agent 必需内容,细节外链。

示例结构

---
name: my-skill
description: 一句话描述在什么场景下使用。
---
# My Skill
简短说明。
## 何时使用
- 用户说/做 X 时
## 使用方式
步骤或命令。
## 示例
\`\`\`bash
npx some-cli --option value
\`\`\`

维护

提交到本仓库后,团队 npx skills update 或重新 npx skills add 即可。