creating-agent-skills
Create and audit GitHub Copilot Agent Skills with clear discovery descriptions, correct SKILL.md frontmatter, and reusable multi-step workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and audit GitHub Copilot Agent Skills with clear discovery descriptions, correct SKILL.md frontmatter, and reusable multi-step workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guide for .NET Aspire orchestration of SQL Server + Data API Builder + SQL Commander + MCP Inspector. Use when asked to create an Aspire-based DAB environment.
Add SQL Commander to a .NET Aspire AppHost for browsing and querying SQL Server. Use when asked to add a SQL query tool, browse database tables, or configure SQL Commander in Aspire.
Docker Compose orchestration of SQL Server, Data API Builder, SQL Commander, and MCP Inspector. Use when asked to create docker-compose.yml, set up local containers, or run DAB without Aspire.
Add MCP Inspector to a .NET Aspire AppHost for debugging MCP servers such as Data API Builder.
Use Data API Builder CLI to initialize, add/update entities, validate config, and run DAB. Use when asked to create or modify dab-config.json via CLI commands.
Create and refine dab-config.json for Data API Builder, including data-source, runtime, entities, permissions, relationships, and MCP settings.
| name | creating-agent-skills |
| description | Create and audit GitHub Copilot Agent Skills with clear discovery descriptions, correct SKILL.md frontmatter, and reusable multi-step workflows. |
| license | MIT |
Create skills that are discoverable, actionable, and compact. Prefer short instructions with explicit decision points over long reference dumps.
Use a skill when the task is repeatable and multi-step.
Use another primitive when:
SKILL.md
description with trigger phrases users actually say.Project scope:
.github/skills/<skill-name>/
├── SKILL.md
├── scripts/ # optional
├── references/ # optional
└── assets/ # optional
Personal scope:
~/.copilot/skills/<skill-name>/
└── SKILL.md
Rules:
name must match.SKILL.md.---
name: skill-name
description: 'What this skill does and when to use it.'
argument-hint: 'Optional hint for slash invocation'
user-invocable: true
disable-model-invocation: false
---
Validation:
name: 1-64 chars, lowercase alphanumeric and hyphensdescription: concrete outcome + trigger phrasesdescription when punctuation (for example :) may break YAMLGood descriptions:
Create, Enable, Debug, Deploy)dab-config.json, .vscode/mcp.json)Avoid:
# <Skill Title>
One short paragraph: what this skill produces.
## When to Use
- Trigger phrase 1
- Trigger phrase 2
## Procedure
1. Step one
2. Step two
3. Step three
## Decision Points
- If A, do X
- If B, do Y
## Completion Checks
- Check 1
- Check 2
## References
- Optional local references when needed
SKILL.md focused (prefer concise files over encyclopedic docs).references/ and link with relative paths.description is the discovery surface; optimize it first.A skill is ready when all are true: