بنقرة واحدة
example-tool
A template skill demonstrating the PAI SKILL.md format.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
A template skill demonstrating the PAI SKILL.md format.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | example-tool |
| description | A template skill demonstrating the PAI SKILL.md format. |
| version | 0.1.0 |
| triggers | ["when the user asks how to author a new skill","when an agent needs a template to copy"] |
| inputs | [{"name":"target_name","type":"string","required":true,"description":"kebab-case name of the new skill"}] |
| outputs | ["a new directory under /skills/ with a populated SKILL.md"] |
| constraints | ["must not commit secrets","must pass scripts/validate-skills.sh"] |
| examples | [{"prompt":"Create a skill that flashes a USB with the latest ISO","expected":"/skills/flash-usb/ with SKILL.md filled in"}] |
A reference implementation of the PAI SKILL.md convention. Copy this
directory as a starting point for any new skill.
Related docs: ../../SKILLS.md, ../SKILL.md, ../../AGENTS.md, ../../TOOLS.md.
example-tool exists so that contributors and agents have a known-good
template to copy when creating a new PAI skill. It is not intended to
perform useful work on its own — its value is that every field is
populated, every required section exists, and the structure is easy to
adapt.
When this skill is triggered, the agent should:
target_name if it was not provided. The name must
be kebab-case, lowercase, and not already present under /skills/./skills/<target_name>/./skills/example-tool/SKILL.md to
/skills/<target_name>/SKILL.md.name to <target_name>.description, triggers, inputs, outputs,
constraints, and examples for the new skill.version to 0.1.0.scripts/validate-skills.sh if it exists; otherwise prompt the
reviewer to validate by hand.The agent MUST NOT:
.gitignore."any request").version beyond 0.1.0 on initial creation.User: I want to add a skill that generates release notes from a git range.
Agent: I'll use example-tool as a template. Skill name: generate-release-notes?
User: Yes.
Agent: Created /skills/generate-release-notes/SKILL.md from the template,
updated frontmatter (name, triggers, inputs for git_range), rewrote
the body, and added a row to SKILLS.md and skills/SKILL.md.
Ready for review.
Manual-test steps:
target_name=test-skill./skills/test-skill/SKILL.md exists and its frontmatter
name is test-skill.scripts/validate-skills.sh (if present) and confirm exit 0.git status should show only the new skill directory and the two
catalog edits — nothing else.0.1.0 — Initial template skill.