skill-authoring
AIエンジニアリング分野におけるスキル作成に特化し、GitHub Copilot for Azureなどのツールを活用して開発と最適化を支援します。
npx skills add microsoft/github-copilot-for-azure --skill skill-authoringBefore / After 効果比較
1 组Agentスキルを開発する際、`agentskills.io`の仕様に不慣れな場合、スキルの設計が不適切になったり、機能が不完全になったり、審査に合格できなかったりする可能性があります。
Agentスキル開発ガイドラインに従うことで、スキルが標準に準拠し、トークン予算と段階的開示が最適化され、スキルの品質、使いやすさ、およびコンプライアンスが向上します。
skill-authoring
Skill Authoring Guide
This skill provides guidance for writing Agent Skills that comply with the agentskills.io specification.
When to Use
-
Creating a new skill for this repository
-
Reviewing a skill PR for compliance
-
Checking if an existing skill follows best practices
-
Understanding token budgets and progressive disclosure
Constraints
-
name: 1-64 chars, lowercase + hyphens, match directory -
description: 1-1024 chars, ≤60 words, explain WHAT and WHEN -
Use
WHEN:with quoted trigger phrases (preferred overUSE FOR:) -
Do NOT use
DO NOT USE FOR:(keyword contamination on Sonnet) -
Use inline double-quoted strings (not
>-folded scalars) -
SKILL.md: <500 tokens (soft), <5000 (hard)
-
references/*.md: <1000 tokens each
Structure
-
SKILL.md(required) - Instructions -
references/(optional) - Detailed docs -
scripts/(optional) - Executable code
Frontmatter: name (lowercase-hyphens), description (WHAT + WHEN)
Progressive Disclosure
Metadata (~100 tokens) loads at startup. SKILL.md (<5000 tokens) loads on activation. References load only when explicitly linked (not on activation). Keep SKILL.md lean.
Reference Loading
References are JIT (just-in-time) loaded:
-
Only files explicitly linked via
[text](references/file.md)load -
Link to files, not folders -
[Recipes](references/recipes/README.md)not[Recipes](references/recipes/) -
Each file loads in full (not sections)
-
No caching between requests - write self-contained files
-
Use recipes/services patterns for multi-option skills
See REFERENCE-LOADING.md for details.
Validation
# Run from the scripts directory
cd scripts
npm run references # Validate all skill links
npm run tokens -- check # Check token limits
Integrity Checks
When reviewing or authoring skills, verify:
-
No broken links - All referenced files exist
-
No orphaned references - All reference files are linked
-
Token budgets - References under 1000 tokens (split if exceeded)
-
No duplicates - Consolidate repeated content
-
No out-of-place guidance - Service-specific content belongs in service-specific references
See Validation for detailed procedures.
Reference Documentation
-
Guidelines - Detailed writing guidelines
-
Token Budgets - Limits and splitting guidance
-
Reference Loading - How references load
-
Checklist - Pre-submission checklist
-
Validation - Link and reference validation
-
agentskills.io/specification - Official spec
Weekly Installs292Repositorymicrosoft/githu…or-azureGitHub Stars157First SeenFeb 3, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex270gemini-cli266opencode237github-copilot234cursor228kimi-cli227
ユーザーレビュー (0)
レビューを書く
レビューなし
統計データ
ユーザー評価
この Skill を評価