一键导入
create-agent-skill
Create a new Agent Skill following project standards and templates. Use this when you need to encapsulate a new capability or workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new Agent Skill following project standards and templates. Use this when you need to encapsulate a new capability or workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Minimum-requirements checklist for any change — code or docs-only. Run this before every PR creation or push to avoid CI failures on the first attempt.
Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools. Use when asked to add screenshots to release notes or documentation.
Determine the next available issue number across all change types (feature, fix, workflow) by checking both local docs and remote branches, then reserve it by pushing an empty branch.
Convert the mermaid diagram in docs/agents.md to a blueprint-styled SVG for the website. Use when the workflow diagram in agents.md is updated and needs to be reflected on the website.
Run a focused accessibility pass for website changes (WCAG 2.1 AA-oriented).
Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.
| name | create-agent-skill |
| description | Create a new Agent Skill following project standards and templates. Use this when you need to encapsulate a new capability or workflow. |
Standardize the creation of new Agent Skills to ensure they are consistent, discoverable, and follow best practices.
.github/skills/<skill-name>/.kebab-case for the skill name.name matches the parent directory name exactly.name is 1–64 characters, lowercase letters/numbers/hyphens only.name does not start or end with - and does not contain consecutive hyphens (--).SKILL.md with valid YAML frontmatter.description in the frontmatter (max 1024 chars).scripts/ and templates/ subdirectories only if needed.SKILL.md.docs/agents.md to register the new skill in the "Available Skills" table..github/ directory.description empty.scripts/uat-*.sh) instead of duplicating multi-step command sequences.Ask the user for:
run-uat, deploy-docs).Run the following command to create the skill directory:
mkdir -p .github/skills/<skill-name>
If your skill includes scripts or templates, add those directories explicitly:
mkdir -p .github/skills/<skill-name>/scripts
mkdir -p .github/skills/<skill-name>/templates
Read the template from .github/skills/create-agent-skill/templates/SKILL.md and create the new SKILL.md file:
cp .github/skills/create-agent-skill/templates/SKILL.md .github/skills/<skill-name>/SKILL.md
Then, edit the file to replace the placeholders ({{skill-name}}, {{description}}, {{purpose}}) with the gathered information.
Add the new skill to the "Available Skills" table in docs/agents.md.
Check that the file structure looks like this:
.github/skills/<skill-name>/
├── SKILL.md
├── scripts/
└── templates/
| Resource | What You'll Find |
|---|---|
| VS Code Agent Skills | Official documentation: SKILL.md format, YAML frontmatter fields, progressive disclosure architecture, and complete examples. |
| Agent Skills Standard | The open specification: formal schema, interoperability with other AI tools (Claude, Cursor, OpenAI Codex), and integration guides. |
| Agent Skills Specification | Detailed field definitions, validation rules, and edge cases for SKILL.md files. |
| Repository | What You'll Find |
|---|---|
| anthropics/skills | Reference skills from Anthropic: well-structured examples covering common patterns like debugging, documentation, and code review. |
| github/awesome-copilot | Community collection of skills, custom agents, instructions, and prompts. Good source of real-world patterns. |
| Resource | What You'll Find |
|---|---|
| Teaching AI Your Repository Patterns | Hands-on tutorial: real-world example (Selenium testing), key components that work (Clear Rules, Golden Examples, Templates), and verification tips. |
| GitHub Changelog Announcement | Feature overview, availability across VS Code/CLI/coding agent, and links to community resources. |