Microsoft and GitHub have expanded the Copilot ecosystem with the first .NET-focused GitHub Copilot custom agents, designed to improve productivity and code quality for C# and Windows Forms developers. The announcement, part of the broader Copilot custom agents’ rollout, introduces two purpose-built agents: C# Expert and WinForms Expert in the form of agent instruction Markdown files.
The C# Expert agent is designed to guide and enforce modern C# best practices. It respects project conventions, minimises unnecessary code artefacts such as unused interfaces or parameters, and emphasises async/await patterns with proper cancellation and exception handling. It also supports behaviour-driven and integration testing workflows, helping developers write cleaner and…