본문으로 건너뛰기
Skillpedia
에이전트40k · #7458

typespec-create-agent

하는 일

이 도구는 Microsoft 365 Copilot용 AI 도우미('에이전트')를 만듭니다. 에이전트가 무엇을 할 수 있는지, 어떻게 행동해야 하는지, 사람들이 어떻게 말을 걸 수 있는지 정의합니다.

사용하는 경우

  • ✓특정 작업을 위한 맞춤형 AI 도우미를 만들고 싶을 때.
  • ✓웹 검색이나 문서 검색 같은 에이전트의 능력을 정의할 때.
  • ✓에이전트가 사용자와 상호작용하는 방식을 설정할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/typespec-create-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“회사 제품에 관한 질문에 답하고, 웹과 SharePoint 문서에 접근할 수 있는 에이전트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트의 목적, 능력(웹 검색, 이메일 읽기 등), 행동 방식에 관한 정보를 제공합니다. 그러면 도구가 에이전트의 설정 코드를 생성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

자주 묻는 질문

Microsoft 365 Copilot의 '에이전트'란 무엇인가요?

Microsoft 365 안에서 질문에 답하거나 정보를 관리하는 등 특정 작업을 수행하도록 설정할 수 있는 AI 도우미입니다.

'능력(capabilities)'이란 무엇인가요?

에이전트가 사용할 수 있는 도구입니다. 인터넷 검색(WebSearch), OneDrive나 SharePoint 파일 접근, 이메일 읽기 등이 있습니다.

'TypeSpec'이란 무엇인가요?

AI 에이전트가 어떻게 작동해야 하고 어떤 능력을 가져야 하는지 설명하고 정의하는 데 쓰는 언어입니다.

상세 정보

작성자의 원본 설명

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

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7458
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬