Better late than NEVER. One of the newest capabilities introduced in GitHub Copilot for Visual Studio 2026 is Agent Skills — a feature that allows developers to capture repeatable development processes and reuse them automatically.
In this article, I’ll explain what Agent Skills are, how they work in Visual Studio 2026, and walk through a practical example where a Skill automatically scaffolds a Clean Architecture .NET solution.
Watch Video
What Are Agent Skills?
When working with AI coding tools, you often repeat the same prompts over and over again.
For example:
- Creating a new solution
- Adding projects
- Installing NuGet packages
- Setting up references
- Organizing folders
You might initially guide the AI through this process step-by-step until it produces the correct result. But repeating the same instructions every time wastes time and tokens.
Agent Skills solve this problem.
A Skill captures a reusable process and allows the AI agent to execute it automatically. Instead of writing prompts repeatedly, you simply ask the agent to use the predefined Skill.
Think of it as:
Reusable automation for AI workflows.
Once defined, the Skill can be executed consistently by different models and agents.
Agent Skills in Visual Studio 2026
While the concept of Skills has existed for some time in AI ecosystems, support for them has only recently arrived in the full Visual Studio IDE.
This means developers can now integrate AI automation directly into their everyday development environment.
The idea originally gained traction through AI tooling built around large language models, but today the concept is becoming widely adopted across AI-assisted development workflows.
Creating a Global Copilot Skill
If you want a Skill to be available across all projects on your machine, it must be placed in a specific folder structure.
Inside your user profile, create the following structure:
.copilot/
skills/
MySkill/
Skill.md
Each Skill lives inside its own folder.
The most important file is:
Skill.md
At minimum, this file should contain:
- The name of the skill
- A description of what it does
After that, you can include detailed instructions that tell the AI how to execute the process.
These instructions can reference other files packaged inside the Skill folder, such as:
- Templates
- Scripts
- Documentation
- Configuration files
Example: Scaffolding a Clean Architecture .NET Solution
To demonstrate how Skills work, I created one that automatically scaffolds a Clean Architecture .NET solution.
The goal is simple:
Create a consistent solution structure every time a new project is started.
Instead of manually performing all the setup steps, the Skill handles everything automatically.
When executed, the Skill performs tasks such as:
- Creating a new solution
- Generating multiple projects
- Adding NuGet packages
- Configuring project references
- Organizing solution folders
Although this sounds simple, these tasks can actually be tricky for AI when relying only on prompts. Without a Skill, the AI may require multiple prompts and corrections.
Skills make the process much more deterministic.
What's Inside the Skill?
The Skill folder contains several components that work together.
1. Skill Definition
The Skill.md file describes:
- The purpose of the Skill
- When it should be used
- Instructions for executing the workflow
2. Project Template
A template defines the structure of the solution.
This ensures every generated solution follows the same conventions.
3. PowerShell Script
The Skill also includes a script that:
- Creates projects
- Adds dependencies
- Configures references
By combining instructions, templates, and scripts, the Skill ensures the AI produces the same result every time.
Making the Skill Available to Copilot
To enable the Skill in Visual Studio 2026:
- Place the Skill folder inside:
.copilot/skills
- Restart or reload Copilot.
Once the folder is detected, Copilot can automatically discover the Skill.
You can verify this by asking Copilot if the Skill is available.
Using the Skill
Once the Skill is detected, using it becomes extremely simple.
You can prompt Copilot to scaffold a new solution, and the agent will automatically execute the Skill.
Copilot then generates:
- The solution file
- Multiple projects
- Correct project references
- Organized solution folders
Within seconds, you have a fully structured solution ready for development.
Why Agent Skills Are Powerful
Agent Skills unlock a new level of automation in AI-driven development.
They allow developers to:
- Capture complex workflows once
- Reuse them across multiple projects
- Reduce repetitive prompts
- Make AI outputs more deterministic
- Standardize development processes
For teams that regularly create new services or applications, this can dramatically improve productivity.
Final Thoughts
Agent Skills represent an important step forward for AI-assisted development.
Instead of treating AI like a chat assistant that responds to prompts, Skills allow developers to teach the AI repeatable workflows.
By packaging templates, scripts, and instructions together, you can create powerful automation that works directly inside Visual Studio.
As AI tooling continues to evolve, approaches like this will likely become a core part of modern development workflows.
Watch the Full Video
If you'd like to see the full walkthrough and live demonstration of the Skill in action, check out the video here:
If you're experimenting with Agent Skills yourself, I'd be curious to know:
What development tasks would you automate with a Skill?




Top comments (0)