microsoft-agent-framework
por github
Crear, actualizar, refactorizar, explicar o revisar soluciones de Microsoft Agent Framework utilizando guías compartidas y referencias específicas de lenguaje para .NET y Python.
npx skills add https://github.com/github/awesome-copilot --skill microsoft-agent-frameworkMicrosoft Agent Framework
Use this skill when working with applications, agents, workflows, or migrations built on Microsoft Agent Framework.
Microsoft Agent Framework is the unified successor to Semantic Kernel and AutoGen, combining their strengths with new capabilities. Because it is still in public preview and changes quickly, always ground implementation advice in the latest official documentation and samples rather than relying on stale knowledge.
Determine the target language first
Choose the language workflow before making recommendations or code changes:
- Use the .NET workflow when the repository contains
.cs,.csproj,.sln,.slnx, or other .NET project files, or when the user explicitly asks for C# or .NET guidance. Follow references/dotnet.md. - Use the Python workflow when the repository contains
.py,pyproject.toml,requirements.txt, or the user explicitly asks for Python guidance. Follow references/python.md. - If the repository contains both ecosystems, match the language used by the files being edited or the user's stated target.
- If the language is ambiguous, inspect the current workspace first and then choose the closest language-specific reference.
Always consult live documentation
- Read the Microsoft Agent Framework overview first: https://learn.microsoft.com/agent-framework/overview/agent-framework-overview
- Prefer official docs and samples for the current API surface.
- Use the Microsoft Docs MCP tooling when available to fetch up-to-date framework guidance and examples.
- Treat older Semantic Kernel or AutoGen patterns as migration inputs, not as the default implementation model.
Shared guidance
When working with Microsoft Agent Framework in any language:
- Use async patterns for agent and workflow operations.
- Implement explicit error handling and logging.
- Prefer strong typing, clear interfaces, and maintainable composition patterns.
- Use
DefaultAzureCredentialwhen Azure authentication is appropriate. - Use agents for autonomous decision-making, ad hoc planning, conversation flows, tool usage, and MCP server interactions.
- Use workflows for multi-step orchestration, predefined execution graphs, long-running tasks, and human-in-the-loop scenarios.
- Support model providers such as Azure AI Foundry, Azure OpenAI, OpenAI, and others, but prefer Azure AI Foundry services for new projects when that matches user needs.
- Use thread-based or equivalent state handling, context providers, middleware, checkpointing, routing, and orchestration patterns when they fit the problem.
Migration guidance
- If migrating from Semantic Kernel, use the official migration guide: https://learn.microsoft.com/agent-framework/migration-guide/from-semantic-kernel/
- If migrating from AutoGen, use the official migration guide: https://learn.microsoft.com/agent-framework/migration-guide/from-autogen/
- Preserve behavior first, then adopt native Agent Framework patterns incrementally.
Workflow
- Determine the target language and read the matching reference file.
- Fetch the latest official docs and samples before making implementation choices.
- Apply the shared agent and workflow guidance from this skill.
- Use the language-specific package, repository, sample paths, and coding practices from the chosen reference.
- When examples in the repo differ from current docs, explain the difference and follow the current supported pattern.
References
Completion criteria
- Recommendations match the target language.
- Package names, repository paths, and sample locations match the selected ecosystem.
- Guidance reflects current Microsoft Agent Framework documentation rather than legacy assumptions.
- Migration advice calls out Semantic Kernel and AutoGen only when relevant.
Más skills de github
console-rendering
github
Instrucciones para usar el sistema de renderizado en consola basado en etiquetas de struct en Go
official
acquire-codebase-knowledge
github
Usa esta habilidad cuando el usuario solicite explícitamente mapear, documentar o incorporarse a un código base existente. Actívala para indicaciones como "mapea este código base", "documenta…
official
acreadiness-assess
github
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc…
official
acreadiness-generate-instructions
github
Genera archivos de instrucciones de agente de IA personalizados mediante el comando de instrucciones de AgentRC. Produce .github/copilot-instructions.md (por defecto, recomendado para Copilot en VS…)
official
acreadiness-policy
github
Ayudar al usuario a seleccionar, redactar o aplicar una política de AgentRC. Las políticas personalizan la puntuación de readiness desactivando comprobaciones irrelevantes, anulando impacto/nivel, estableciendo…
official
add-educational-comments
github
Añade comentarios educativos a archivos de código para convertirlos en recursos de aprendizaje efectivos. Adapta la profundidad y el tono de las explicaciones a tres niveles de conocimiento configurables: principiante, intermedio y avanzado. Solicita automáticamente un archivo si no se proporciona ninguno, con una lista numerada para una selección rápida. Expande los archivos hasta un 125% utilizando solo comentarios educativos (límite estricto: 400 líneas nuevas; 300 para archivos de más de 1,000 líneas). Conserva la codificación del archivo, el estilo de sangría, la corrección sintáctica y...
official
adobe-illustrator-scripting
github
Escribir, depurar y optimizar scripts de automatización de Adobe Illustrator usando ExtendScript (JavaScript/JSX). Úselo al crear o modificar scripts que manipulen…
official
agent-governance
github
Políticas declarativas, clasificación de intenciones y registros de auditoría para controlar el acceso y comportamiento de herramientas de agentes de IA. Las políticas de gobernanza componibles definen herramientas permitidas/bloqueadas, filtros de contenido, límites de velocidad y requisitos de aprobación, almacenados como configuración, no como código. La clasificación semántica de intenciones detecta indicaciones peligrosas (exfiltración de datos, escalada de privilegios, inyección de indicaciones) antes de la ejecución de herramientas mediante señales basadas en patrones. El decorador de gobernanza a nivel de herramienta aplica políticas en funciones...
official