Skip to content
create-skill logo

Create Skill

create-skill

Scaffolds new agent skills for the dotnet/skills repository. Use when creating a new skill, generating SKILL.md files, or setting up skill directory structures. Handles frontmatter generation, section templates, and validation guidance.

dotnet/skills2.6Kinstalls5.6Kstars.NET & C#

SKILL.md

Full skill instructions

Create Skill

This skill helps you scaffold new agent skills that conform to the Agent Skills specification and the dotnet/​skills repository conventions.

When to Use

  • Creating a new skill from scratch
  • Generating a SKILL.md file with proper frontmatter
  • Setting up the skill directory structure with optional folders
  • Ensuring compliance with agentskills.io specification

When Not to Use

  • Modifying existing skills (edit directly instead)
  • Creating custom agents (use the agents/ directory pattern)

Inputs

InputRequiredDescription
Skill nameYesLowercase, alphanumeric, hyphens only (e.g., code-review, ci-triage)
DescriptionYesWhat the skill does and when agents should use it (1-1024 chars)
PurposeYesOne paragraph describing the outcome
Workflow stepsRecommendedNumbered steps the agent should follow

Workflow

Step 1: Validate the skill name

Ensure the name:

  • Contains only lowercase letters, numbers, and hyphens
  • Does not start or end with a hyphen
  • Does not contain consecutive hyphens
  • Is between 1-64 characters

Step 2: Create the skill directory

skills/<skill-name>/
└── SKILL.md

Step 3: Generate SKILL.md with frontmatter

Create the file with required YAML frontmatter:

---
name: <skill-name>
description: <description of what the skill does and when to use it>
---

Step 4: Add body content sections

Include these recommended sections:

  1. Purpose: One paragraph describing the outcome
  2. When to Use: Bullet list of appropriate scenarios
  3. When Not to Use: Boundaries and exclusions
  4. Inputs: Table of required and optional inputs
  5. Workflow: Numbered steps with checkpoints
  6. Validation: How to confirm the skill worked correctly
  7. Common Pitfalls: Known traps and how to avoid them

Step 5: Add optional directories (if needed)

skills/<skill-name>/
├── SKILL.md
├── scripts/       # Executable code agents can run
├── references/    # Additional documentation loaded on demand
└── assets/        # Templates, images, data files

Step 6: Update CODEOWNERS

Add entries in .github/​CODEOWNERS for the new skill and its test directory:

/​plugins/<plugin>/​skills/<skill-name>/  @owner-team
/​tests/<plugin>/<skill-name>/           @owner-team

Match the owner pattern used by sibling skills in the same plugin.

Step 7: Validate the skill

  • Confirm frontmatter fields are valid
  • Ensure SKILL.md is under 500 lines
  • Check that file references use relative paths
  • Verify instructions are actionable and specific

SKILL.md Template

Use this template when creating a new skill:

---
name: <skill-name>
description: <1-1024 char description of what the skill does and when to use it>
---

# <Skill Title>

<One paragraph describing the skill's purpose and outcome.>

## When to Use

- <Scenario 1>
- <Scenario 2>

## When Not to Use

- <Exclusion 1>
- <Exclusion 2>

## Inputs

| Input | Required | Description |
|-------|----------|-------------|
| <input-name> | Yes/​No | <description> |

## Workflow

### Step 1: <Action>

<Instructions for this step>

### Step 2: <Action>

<Instructions for this step>

## Validation

- [ ] <Verification step 1>
- [ ] <Verification step 2>

## Common Pitfalls

| Pitfall | Solution |
|---------|----------|
| <Problem> | <How to avoid or fix> |

Validation Checklist

After creating a skill, verify:

  • Skill name matches directory name exactly
  • Skill name is lowercase with hyphens only
  • Description is non-empty and under 1024 characters
  • SKILL.md body is under 500 lines
  • Instructions are specific and actionable
  • Workflow has numbered steps with clear checkpoints
  • Validation section exists with observable success criteria
  • No secrets, tokens, or internal URLs included
  • .github/​CODEOWNERS has entries for the new skill and its test directory

Common Pitfalls

PitfallSolution
Name contains uppercase lettersUse only lowercase: code-review not Code-Review
Description is vagueInclude what it does AND when to use it
Instructions are ambiguousUse numbered steps with concrete actions
Missing validation stepsAdd checkpoints that verify success
SKILL.md too longMove detailed content to references/ files
Hardcoded environment assumptionsDocument requirements in compatibility field
Missing CODEOWNERS entryAdd entries for both /​plugins/<plugin>/​skills/<skill-name>/ and /​tests/<plugin>/<skill-name>/ matching sibling skills' owner pattern

References

More .NET & C# skills

Comprehensive C#/.NET design pattern analysis with actionable improvement recommendations.

39.7K 11.6K
View

Ready-to-use prompts for comprehensive .NET framework upgrade analysis and execution

39.7K 11.2K
View
csharp-async logo
.NET & C#

csharp-async

Best practices guide for C# asynchronous programming patterns and pitfalls.

39.7K 10.8K
View
csharp-xunit logo
.NET & C#

csharp-xunit

Comprehensive XUnit testing guide covering standard facts, data-driven theories, and best practices.

39.7K 10.3K
View
csharp-docs logo
.NET & C#

csharp-docs

XML documentation standards and patterns for C# public APIs and members.

39.7K 9.7K
View

Add Azure App Insights telemetry to ASP.NET Core or Node.js webapps hosted in Azure.

39.7K 9.7K
View
copilot-sdk logo
.NET & C#

copilot-sdk

Programmatic agent runtime for embedding Copilot's agentic workflows in applications across Python, TypeScript, Go, and .NET.

39.7K 9.5K
View

ASP.NET Minimal API endpoints with automatic OpenAPI/Swagger documentation and strong typing.

39.7K 9.2K
View

Comprehensive guide for building Blazor apps with Microsoft Fluent UI components.

39.7K 9.1K
View
csharp-nunit logo
.NET & C#

csharp-nunit

NUnit best practices for standard and data-driven unit testing in .NET projects.

39.7K 9K
View

Generate Dockerfile and .dockerignore files customized for ASP.NET Core containerization.

39.7K 9K
View
csharp-mstest logo
.NET & C#

csharp-mstest

Modern unit testing with MSTest 3.x/4.x using current APIs and best practices.

39.7K 9K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View