Create custom agent capabilities when discovering novel tools, receiving task-agnostic tips from reviewers, or after researching specialized workflows not covered in existing instructions. Teaches structure, YAML optimization for LLM discoverability, and token efficiency.
npx skills add https://github.com/microsoft/vstest --skill creating-skills
This skill teaches you how to create effective GitHub Copilot Agent Skills for this repository.
STOP and check before creating a new skill:
ls -la .github/skills/Only create new skill if:
Skills should be placed in .github/skills/ directory:
.github/skills/skill-name/Each skill must have its own subdirectory with a lowercase, hyphenated name that matches the name field in the frontmatter.
Every skill directory must contain a SKILL.md file (case-sensitive) with:
Skills can include:
.sh, .fsx, .ps1)The frontmatter is critical for skill discoverability and token efficiency:
hypothesis-driven-debugging, github-actions-failure-debuggingThe description is crucial for skill discoverability. Think of it like SEO for LLMs:
✅ Good descriptions (specific, actionable, keyword-rich):
❌ Poor descriptions (vague, generic):
Skills should be concise to avoid wasting context tokens:
Always include concrete examples:
After creating a skill:
ls -la .github/skills/your-skill-name/
# Should show SKILL.md and any additional resources
See existing skills in .github/skills/ for reference:
hypothesis-driven-debugging: Systematic failure investigationCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take microsoft/vstest-creating-skills from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.