microsoft avatar

Skill Authoring

If you're writing skills for the agentskills.io spec, this walks you through the constraints: frontmatter rules, token budgets (SKILL.md under 500 tokens soft limit, references under 1000 each), and progressive disclosure patterns. It's clear about the gotchas, like linking to specific reference files instead of folders, and the fact that references only load when explicitly linked. Includes validation scripts for checking broken links and token counts. The guidance is crisp and example-driven, which matters when you're trying to figure out whether to use WHEN triggers or how to structure multi-option skills with the recipes pattern. Authored by Microsoft, so it reflects real production constraints.

skills.sh installs
1K
GitHub stars
217
last updated
Jun 11, 2026

Install

$ npx -y skills add microsoft/github-copilot-for-azure --skill skill-authoring --agent claude-code

Installs into .claude/skills of the current project.

Files

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 over USE FOR:)
  • Avoid DO NOT USE FOR: unless the skill has trigger overlap with a broader skill (see frontmatter guidelines)
  • 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

Sponsors

Details

Repository
github.com/microsoft/github-copilot-for-azure
Categories
Git & Pull Requests, Documentation, Code Review & Quality, AI & Agent Building, Cloud & Infrastructure
First seen
Apr 16, 2026

More from microsoft/github-copilot-for-azure

All 40
1microsoft avatarfile-test-bugmicrosoft/github-copilot-for-azureFile a GitHub issue for local integration test failures. TRIGGERS: file test bug, report test failure, create bug for test, integration test failed, test failur978skills.sh installs
2github avatarcode-tourgithub/awesome-copilotUse this skill to create CodeTour .tour files — persona-targeted, step-by-step walkthroughs that link to real files and line numbers. Trigger for: "create a tou739skills.sh installs
3github avatarincident-postmortemgithub/awesome-copilotUse when an outage, production incident, or significant service degradation has occurred and the team needs to write a structured blameless post-mortem. Trigger0skills.sh installs
4microsoft avatarinvestigate-integration-testmicrosoft/github-copilot-for-azureInvestigate a failing integration test from a GitHub issue. Downloads logs/artifacts, analyzes the failure, examines relevant skills, and suggests fixes. TRIGGE0skills.sh installs
5microsoft avatarskill-reviewermicrosoft/github-copilot-for-azureReview skill PRs with structured severity-rated feedback covering token budgets, routing conflicts, required sections, and repo conventions. WHEN: \"review skil0skills.sh installs
6github avatarremembergithub/awesome-copilotTransforms lessons learned into domain-organized memory instructions (global or workspace). Syntax: `/remember [>domain [scope]] lesson clue` where scope is `gl9.3Kskills.sh installs