Tel: +44 (0)20 8050 6292

Lifetime Warranty On All Microsoft Products

Browse

Want to chat?

Call now on +44 (0)20 8050 6292

Social

  • Facebook
custom agent ai skills visual studio 2026

The Professional’s Edge: Mastering Custom AI Agent Skills in Visual Studio 2026

Gary Walsh
Gary Walsh is the Head of Tech Support at Software Supplies, with more than 20 years in the IT industry. Fully Microsoft-certified and experienced across the full business software stack — from Windows and Office to cloud infrastructure and device management — Gary delivers practical, no-nonsense advice that helps users and businesses get the most from their technology.
Dev Dispatch
Visual Studio 2026 Pro v18.5 · March Update 12 min read
Looking for a Visual Studio 2026 Professional licence? Purchase yours here →
VS 2026 Professional — Build 18.5.0.312

The March 2026 update quietly shipped something significant for solo developers and small teams: Agent Skills, a framework that lets individual developers teach the IDE their project’s specific nuances—without an enterprise licence, a DevOps team, or a corporate GitHub org to enable it. Here’s how to use it properly.

///
01 — Control

The “IntelliSense First” Toggle

Reclaiming signal from AI noise

UI Change Copilot IntelliSense

Early adopters of Copilot inside Visual Studio will remember the frustration: you’d start typing a method name you know exists in your codebase, and the AI completion would barrel straight past it, offering some hallucinated five-line alternative. The AI was well-intentioned and frequently wrong.

The v18.5 update addresses this with a deceptively simple change: IntelliSense now runs as the primary completion layer by default, with Copilot suggestions demoted to a secondary position that only surfaces when standard completions are absent or when you explicitly invoke it with Alt+..

Where to find it

Navigate to Tools → Options → IntelliCode → Completion Behaviour and look for the new “Prioritisation Mode” dropdown. The default in 18.5 is IntelliSense First. The legacy setting (AI Preferred) is still available if you need it for specific projects.

The practical impact is immediate. For established projects with mature codebases, you get deterministic, context-correct completions by default. Copilot re-enters the frame when you hit genuinely uncharted territory—a new service integration, an unfamiliar library—where its probabilistic reasoning is actually an asset rather than a liability.

“The AI was writing answers to questions you hadn’t asked yet. IntelliSense First puts you back in the chair.”

There’s a per-project override too. Drop a .vs/copilot-mode.json file into your repository root, and you can define completion prioritisation at the project level—useful if you maintain multiple repos with very different AI requirements.

.vs/copilot-mode.json
{
  "completionPriority": "intellisense-first",
  "copilotInlineThreshold": 0.82,   // confidence floor before inline suggestions appear
  "agentSkillsEnabled": true,
  "suppressOnKnownPaths": [
    "src/Infrastructure/**",        // boilerplate — don't interfere
    "tests/**"
  ]
}

The copilotInlineThreshold key accepts a value between 0 and 1, representing the minimum confidence score Copilot must assign to an inline suggestion before it’s displayed. Raising it to 0.82 substantially reduces noise without eliminating the AI’s contribution in genuinely uncertain moments.

02 — Customisation

Building Your First .github/skills Directory

Teaching the Debugger Agent your project’s specific language

Agent Skills Debugger Configuration

Agent Skills is the marquee feature of the v18.5 Professional update. The concept is straightforward: you maintain a directory of structured Markdown files that describe your project’s domain-specific conventions, error patterns, and heuristics. The VS Debugger Agent reads these files and adjusts its behaviour accordingly.

Think of it as giving the AI a project induction rather than expecting it to reverse-engineer your conventions from source code alone.

Prerequisites

Agent Skills requires a Git repository root. The .github/skills directory must be committed to your repo—VS reads it on project open and re-reads on file change. The directory is ignored by GitHub’s UI, so it won’t pollute your Actions workflows or Dependabot config.

  • 01
    Create the directory structure At your repository root, create .github/skills/. Inside it, create a debugger.md file—this is the file the VS Debugger Agent specifically watches for.
  • 02
    Define your error taxonomy The most immediately useful section is ## Error Patterns. Document the exception types your project frequently encounters, their likely causes in your specific context, and remediation steps the agent should surface first.
  • 03
    Set domain vocabulary Add a ## Domain Terms section mapping your internal naming conventions to general concepts. This prevents the agent from suggesting generic entity-framework fixes for your custom ORM layer.
  • 04
    Commit and reload Commit the file to your branch. Close and reopen the solution, or use Tools → Agent Skills → Reload. The Debugger Agent panel will confirm which skill file is loaded.
.github/skills/debugger.md
# VS Debugger Agent Skills — OrderService

## Error Patterns

### OrderValidationException
**Cause in this project:** Always originates from the Pricing engine
when a DiscountRule has a null RuleSet. NOT a data-layer issue.
**First check:** `DiscountRuleRepository.GetActiveRules()` return value.
**Do NOT suggest:** Generic null-reference debugging steps.

### TimeoutException (HttpClient)
**Context:** Our external payment gateway (PayGate v3) has a known
latency spike between 23:00–01:00 UTC. Timeouts in this window are
environmental, not code defects.
**Agent action:** Surface the PayGate status endpoint first.

## Domain Terms
- "Order lifecycle" = the 7-state FSM in `src/Domain/Orders/OrderState.cs`
- "Settlement" = PayGate webhook confirmation, NOT local DB commit
- "Warm cache" = Redis layer in `src/Infrastructure/Caching/`

## Excluded Paths
The `src/Legacy/` directory is read-only migrated code.
Do not suggest modifications to files within it.

The format is intentionally loose—the Agent reads natural language, not a rigid schema. What matters is specificity. Generic statements (“this project uses async/await”) add no value; specific statements (“TimeoutException between 23:00–01:00 UTC is always environmental”) change the agent’s diagnostic trajectory meaningfully.

You can create additional skill files for other agents as they become available. The current v18.5 scope covers the Debugger Agent; the Code Review Agent and Test Generation Agent are slated for skills integration in the May update (v18.6).

03 — Stability

Decoupled Tooling via Modular Updates

Latest AI features, locked compiler—why you’d want this and how to configure it

Modular Updates .NET 10 Stability AI Features

Historically, Visual Studio updates were monolithic. Accepting the latest AI features meant accepting the latest compiler toolchain, runtime, and SDK updates simultaneously. For projects with tight stability requirements—regulated industries, long-cycle enterprise contracts, anything where a runtime change requires a re-certification cycle—this was a genuine barrier to adopting new developer tooling.

The 2026 “Modular Update” system, introduced quietly in v18.3 and now properly documented in v18.5, decouples these concerns. You can opt into the monthly AI feature cadence while pinning your compiler toolchain to a specific version.

AI Features (Copilot, Agents)
Monthly cadence ✓
.NET 10 Compiler (Roslyn)
Version-locked ↓
IDE Shell & Debugger
Monthly cadence ✓
Runtime / SDK
Version-locked ↓

The configuration lives in the VS Installer, not the IDE itself. Open the Visual Studio Installer, click Modify on your VS 2026 Professional installation, and navigate to the new Update Channels tab. You’ll see two distinct tracks:

  • A
    Platform Channel — set to “Monthly (AI & IDE)” This controls Copilot, Agent Skills, the IDE shell, theme engine, and diagnostic tools. Setting this to Monthly ensures you receive Agent Skills updates, new Copilot models, and debugger improvements on the standard cadence.
  • B
    Compiler Channel — set to “Pinned” Click Pin to version and select your current .NET 10 compiler build (e.g., 10.0.100-rc.2.24474.11). The installer will exclude this component from automatic updates until you manually release the pin.
Gotcha: NuGet feed compatibility

Pinning the compiler doesn’t pin your NuGet restore. If a dependency’s latest version targets a newer .NET 10 SDK feature set, your build will fail. Use <PackageReference ... VersionOverride="x.y.z" /> in your Directory.Build.props to hold dependencies at known-good versions independently of the Modular Update system.

.vsconfig (excerpt)
{
  "version": "1.0",
  "components": [ /* ... standard workloads ... */ ],
  "updateChannels": {
    "platform": {
      "channel": "Monthly",
      "includes": [ "AI", "IDE", "Debugger" ]
    },
    "compiler": {
      "channel": "Pinned",
      "pinnedVersion": "10.0.100-rc.2.24474.11",
      "components": [ "Roslyn", "dotnet-sdk", "aspnet-runtime" ]
    }
  }
}

The practical outcome: your team gets the May v18.6 Agent Skills expansion—code review and test generation—automatically, while your project continues building against the exact compiler build you’ve validated. That’s a meaningful change for anyone who’s previously had to choose between stability and capability.

04 — Closing

The Sum of Small Controls

None of these three features is individually transformative. IntelliSense First is a toggle. .github/skills is a Markdown file. Modular Updates is a checkbox in an installer. But in combination, they address something that’s been quietly frustrating individual developers since AI was bolted onto Visual Studio: the feeling that the IDE had become something that happened to you, rather than something you controlled.

The Professional tier has always been about giving serious individual developers a full toolset without the overhead of enterprise governance. The March 2026 update makes the AI components of Visual Studio actually feel like they belong in that tier—tunable, composable, and stable enough to build a professional workflow around.

What’s next

Agent Skills for the Code Review and Test Generation agents are confirmed for v18.6 (May 2026). The Agent Skills format is expected to gain a structured schema option alongside the current free-form Markdown, allowing for machine validation of skill files in CI pipelines.

05 — FAQ

Frequently Asked Questions

Common questions about Agent Skills and VS 2026 Professional

Both tiers support the .github/skills directory and the same Debugger Agent skill files. The key difference is scope: the Enterprise edition adds organisation-wide skill enforcement, meaning administrators can push shared skill files across all repositories in a GitHub org without individual developers needing to configure anything. Professional gives the same capability to individual developers on a per-project basis, which is the right fit for most solo developers and small teams.
Agent Skills requires a Git repository but does not require GitHub specifically — it works with any Git remote, including Azure DevOps, GitLab, or a self-hosted server. The .github/skills directory path is a naming convention, not a GitHub dependency. You do need an active GitHub Copilot subscription for the AI agents to function; Agent Skills is a configuration layer on top of Copilot, not a standalone feature.
Yes. The global setting lives in Tools → Options → IntelliCode → Completion Behaviour, but you can override it at the project level by adding a .vs/copilot-mode.json file to your repository root with the "completionPriority" key set to either "intellisense-first" or "ai-preferred". This file should be committed to your repo so the setting travels with the project for any developer who opens it.
It can, if a NuGet dependency releases a new version that targets a newer .NET 10 SDK feature set than your pinned build supports. The Modular Update system only pins the compiler — your NuGet restore still resolves the latest compatible package versions by default. The safest approach is to use VersionOverride in your Directory.Build.props to hold key dependencies at known-good versions for the duration of the pin, and review package changelogs before releasing the compiler pin for an update cycle.
Microsoft has confirmed Agent Skills integration for both the Code Review Agent and the Test Generation Agent in the May 2026 update (v18.6). The same .github/skills directory structure will be used, with agent-specific files alongside debugger.md — for example code-review.md and test-generation.md. A structured schema option for skill files is also expected in v18.6, enabling CI-based validation of skill file contents.
The installer is available directly from Microsoft at visualstudio.microsoft.com/downloads. You will need a valid product key to activate the Professional edition after installation. If you need a licence key, you can purchase a genuine Visual Studio 2026 Professional licence here.
Ready to get started? Download Visual Studio 2026 Professional from Microsoft's official site and grab your licence key here.
Instant Key Delivery
Saved to account + via email
Easy 30 Day Returns
See terms & conditions
Lifetime Warranty
On all software licence keys
100% Secure Checkout
Stripe / Google Pay / Apple Pay