skills/agent-framework-dotnet/SKILL.md
Build AI agents and multi-agent workflows in C# using Microsoft Agent Framework. Use when: creating agents, adding function tools, multi-turn conversations, agent middleware, graph-based workflows, multi-agent orchestration, streaming responses, MCP tool integration, or deploying agents with Azure OpenAI.
npx skillsauth add congiuluc/my-awesome-copilot agent-framework-dotnetInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Package | Purpose |
|---------|---------|
| Microsoft.Agents.AI.OpenAI | OpenAI / Azure OpenAI agent provider (Chat Completions & Responses) |
| Microsoft.Agents.AI.Anthropic | Anthropic agent provider |
| Microsoft.Agents.AI.Ollama | Ollama agent provider |
| Azure.AI.OpenAI | Azure OpenAI client SDK |
| Azure.Identity | Azure credential helpers (AzureCliCredential, DefaultAzureCredential) |
Install the core packages:
dotnet add package Microsoft.Agents.AI.OpenAI --prerelease
dotnet add package Azure.AI.OpenAI --prerelease
dotnet add package Azure.Identity
./samples/AIFunctionFactory.Create() to expose C# methods as function toolsAgentSession for multi-turn conversations — never manage raw chat historyAsBuilder().Use(...)) for cross-cutting concernsCancellationToken and async/awaitAzureCliCredential during development; prefer ManagedIdentityCredential in productiontesting-backend skill)tools
Build VS Code extensions with TypeScript. Covers extension anatomy, activation events, commands, tree views, webview panels, language features, testing, and publishing. Use when: creating a new VS Code extension, adding commands/views/providers, building webview UIs, implementing language server features, testing extensions, or packaging for the marketplace.
development
Track implementations, features, bugs, and releases in a versioning document. Use when: adding a commit, completing a feature, fixing a bug, or preparing a release. Automatically updates CHANGELOG.md following Keep a Changelog format and Semantic Versioning.
development
Write frontend tests using Vitest and React Testing Library. Use when: testing React components, hooks, user interactions, form submissions, accessibility assertions, or mocking API services.
development
Write Angular frontend tests using Jasmine, Karma, and Angular TestBed. Use when: testing Angular components, services, pipes, directives, user interactions, form submissions, accessibility assertions, or mocking HTTP services.