skill-authoring

Skill Authoring Guide

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-authoring" with this command: npx skills add microsoft/github-copilot-for-azure/microsoft-github-copilot-for-azure-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 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

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 load

  • Link to files, not folders - Recipes not 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

azure-compute

Azure VM and VMSS router for recommendations, pricing, autoscale, orchestration, connectivity troubleshooting, and capacity reservations. WHEN: Azure VM, VMSS, scale set, recommend, compare, server, website, burstable, lightweight, VM family, workload, GPU, learning, simulation, dev/test, backend, autoscale, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, connect, refused, Linux, black screen, reset password, reach VM, port 3389, NSG, troubleshoot, capacity reservation, CRG, reserve VMs, guarantee capacity, pre-provision capacity, CRG association, CRG disassociation.

Repository Source
268.6K764Microsoft
Coding

azure-cloud-migrate

Assess and migrate cross-cloud workloads to Azure with migration reports and code conversion. Supports Lambda→Functions, Fargate→Container Apps, Kubernetes→Container Apps, Cloud Run→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, Lambda assessment, convert serverless, readiness report, from AWS, from GCP, Cloud Run migration, Fargate to ACA, ECS to Container Apps, Kubernetes to ACA, GKE to Azure, EKS to Container Apps.

Repository Source
268.6K764Microsoft
Coding

azure-messaging

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK troubleshooting, azure messaging SDK, event hub consumer, service bus queue issue, topic subscription error, enable logging event hub, service bus logging, eventhub python, servicebus java, eventhub javascript, servicebus dotnet, event hub checkpoint, event hub not receiving messages, service bus dead letter, batch processing lock, session lock expired, idle timeout, connection inactive, link detach, slow reconnect, session error, duplicate events, offset reset, receive batch.

Repository Source
268.5K764Microsoft
Coding

azure-hosted-copilot-sdk

Build, deploy, modify GitHub Copilot SDK apps on Azure. MANDATORY when codebase contains @github/copilot-sdk or CopilotClient — use this skill instead of azure-prepare. PREFER OVER azure-prepare when codebase contains copilot-sdk markers. WHEN: copilot SDK, @github/copilot-sdk, copilot-powered app, deploy copilot app, add feature, modify copilot app, BYOM, bring your own model, CopilotClient, createSession, sendAndWait, azd init copilot. DO NOT USE FOR: general web apps without copilot SDK (use azure-prepare), Copilot Extensions, Foundry agents (use microsoft-foundry).

Repository Source
268.4K764Microsoft