用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/easyzoom/aix-skills --skill skill-writing-guide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | skill-writing-guide |
| description | Use when creating, reviewing, or refining Agent Skills for this repository |
Use this guide to create Agent Skills that are easy to discover, quick to load, and reliable in repeated use. A skill should teach an agent how to perform a task, not record how one person solved it once.
Use this skill when:
skills/<name>/SKILL.md.Do not use it for one-off project notes, private runbooks, or generic documentation that agents can already infer from standard tools.
Define the trigger.
Write the frontmatter description as a Use when... sentence that describes the situation where the skill should load.
Keep the skill operational. Prefer short instructions, decision points, verification steps, and concrete examples. Avoid essays and background stories.
Separate heavy material.
Keep SKILL.md focused. Move long API references, generated examples, or reusable scripts into supporting files beside the skill.
Add one strong example. Use a realistic example that demonstrates the workflow end-to-end. Do not add several shallow examples.
Add verification. Explain how the agent should prove the skill was used correctly before claiming completion.
Run repository validation.
Run python3 scripts/validate-skills.py before opening a pull request.
SKILL.md starts with YAML frontmatter.name and description.name matches the folder name.Use when.Before publishing a new or updated skill:
python3 scripts/validate-skills.py and confirm zero errors.name matches the folder name exactly.description starts with Use when and describes the trigger situation.Bad description:
description: Explains how to gather context, write a document, run checks, and open a PR
Better description:
description: Use when drafting release notes from repository commits and pull requests
The better version tells the agent when to load the skill without tempting it to skip the actual instructions.