Saltar al contenido
Skillpedia
Agentes40 mil · #7458

typespec-create-agent

Qué hace

Esta herramienta crea un asistente de IA (llamado 'agente') para Microsoft 365 Copilot. Define qué puede hacer el agente, cómo debe comportarse y cómo pueden empezar a hablar con él las personas.

Cuándo usarla

  • ✓Cuando quieras crear un asistente de IA personalizado para tareas específicas.
  • ✓Cuando quieras definir las capacidades de un agente, como buscar en la web o en documentos.
  • ✓Cuando quieras configurar cómo debe interactuar el agente con los usuarios.

Link de la skill

https://github.com/github/awesome-copilot/blob/main/skills/typespec-create-agent/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/github/awesome-copilot/blob/main/skills/typespec-create-agent/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un agente que ayude a responder preguntas sobre los productos de la empresa, con acceso a la web y a los documentos de SharePoint.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Tú indicas los detalles sobre la finalidad del agente, sus capacidades (como buscar en la web, leer correos, etc.) y cómo debe actuar. Después, la herramienta genera el código de configuración del agente.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Create TypeSpec Declarative Agent

Create a complete TypeSpec declarative agent for Microsoft 365 Copilot with the following structure:

Requirements

Generate a main.tsp file with:

  1. Agent Declaration

    • Use @agent decorator with a descriptive name and description
    • Name should be 100 characters or less
    • Description should be 1,000 characters or less
  2. Instructions

    • Use @instructions decorator with clear behavioral guidelines
    • Define the agent's role, expertise, and personality
    • Specify what the agent should and shouldn't do
    • Keep under 8,000 characters
  3. Conversation Starters

    • Include 2-4 @conversationStarter decorators
    • Each with a title and example query
    • Make them diverse and showcase different capabilities
  4. Capabilities (based on user needs)

    • WebSearch - for web content with optional site scoping
    • OneDriveAndSharePoint - for document access with URL filtering
    • TeamsMessages - for Teams channel/chat access
    • Email - for email access with folder filtering
    • People - for organization people search
    • CodeInterpreter - for Python code execution
    • GraphicArt - for image generation
    • GraphConnectors - for Copilot connector content
    • Dataverse - for Dataverse data access
    • Meetings - for meeting content access

Template Structure

import "@typespec/http";
import "@typespec/openapi3";
import "@microsoft/typespec-m365-copilot";

using TypeSpec.Http;
using TypeSpec.M365.Copilot.Agents;

@agent({
  name: "[Agent Name]",
  description: "[Agent Description]"
})
@instructions("""
  [Detailed instructions about agent behavior, role, and guidelines]
""")
@conversationStarter(#{
  title: "[Starter Title 1]",
  text: "[Example query 1]"
})
@conversationStarter(#{
  title: "[Starter Title 2]",
  text: "[Example query 2]"
})
namespace [AgentName] {
  // Add capabilities as operations here
  op capabilityName is AgentCapabilities.[CapabilityType]<[Parameters]>;
}

Best Practices

  • Use descriptive, role-based agent names (e.g., "Customer Support Assistant", "Research Helper")
  • Write instructions in second person ("You are...")
  • Be specific about the agent's expertise and limitations
  • Include diverse conversation starters that showcase different features
  • Only include capabilities the agent actually needs
  • Scope capabilities (URLs, folders, etc.) when possible for better performance
  • Use triple-quoted strings for multi-line instructions

Examples

Ask the user:

  1. What is the agent's purpose and role?
  2. What capabilities does it need?
  3. What knowledge sources should it access?
  4. What are typical user interactions?

Then generate the complete TypeSpec agent definition.

Preguntas frecuentes

¿Qué es un 'agente' en Microsoft 365 Copilot?

Un agente es un asistente de IA que puedes configurar para realizar tareas específicas dentro de Microsoft 365, como responder preguntas o gestionar información.

¿Qué son las 'capacidades'?

Las capacidades son las herramientas que el agente puede usar, como buscar en internet (WebSearch), acceder a archivos de OneDrive o SharePoint, leer correos, etc.

¿Qué es 'TypeSpec'?

TypeSpec es un lenguaje que sirve para describir cómo deben funcionar los agentes de IA y qué capacidades tienen.

Detalles

Descripción original del autor

Generate a complete TypeSpec declarative agent with instructions, capabilities, and conversation starters for Microsoft 365 Copilot

repo: github/awesome-copilot

Popularidad

Estrellas en GitHub
40 mil
Posición en el ranking
#7458
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas