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

copilot-spaces

하는 일

Copilot Spaces는 프로젝트별 정보를 AI와의 대화에 가져올 수 있게 합니다. 프로젝트의 문서, 코드, 지침을 담은 체계적인 폴더와 같아서, AI가 더 정확하고 도움이 되는 답변을 줄 수 있게 합니다.

사용하는 경우

  • ✓특정 프로젝트 문서를 기반으로 AI가 답하기를 원할 때.
  • ✓‘Copilot Space’를 언급하거나 하나를 불러오라고 요청할 때.
  • ✓어떤 프로젝트 공간을 사용할 수 있는지 알고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/copilot-spaces/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“‘Project X Documentation’ 스페이스를 불러와서 그 내용에 대해 질문할 수 있게 해 주세요.”

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

작동 방식

스페이스를 불러오라고 요청하면 AI가 그 스페이스의 정보(문서, 코드 등)를 가져옵니다. 그다음 이 정보를 사용해 질문에 답하므로, 답변이 프로젝트의 맥락에 맞게 됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Copilot Spaces

Use Copilot Spaces to bring curated, project-specific context into conversations. A Space is a shared collection of repositories, files, documentation, and instructions that grounds Copilot responses in your team's actual code and knowledge.

Available Tools

MCP Tools (Read-only)

Tool Purpose
mcp__github__list_copilot_spaces List all spaces accessible to the current user
mcp__github__get_copilot_space Load a space's full context by owner and name

REST API via gh api (Full CRUD)

The Spaces REST API supports creating, updating, deleting spaces, and managing collaborators. The MCP server only exposes read operations, so use gh api for writes.

User Spaces:

Method Endpoint Purpose
POST /users/{username}/copilot-spaces Create a space
GET /users/{username}/copilot-spaces List spaces
GET /users/{username}/copilot-spaces/{number} Get a space
PUT /users/{username}/copilot-spaces/{number} Update a space
DELETE /users/{username}/copilot-spaces/{number} Delete a space

Organization Spaces: Same pattern under /orgs/{org}/copilot-spaces/...

Collaborators: Add, list, update, and remove collaborators at .../collaborators

Scope requirements: PAT needs read:user for reads, user for writes. Add with gh auth refresh -h github.com -s user.

Note: This API is functional but not yet in the public REST API docs. It may require the copilot_spaces_api feature flag.

When to Use Spaces

  • User mentions "Copilot space" or asks to "load a space"
  • User wants answers grounded in specific project docs, code, or standards
  • User asks "what spaces are available?" or "find a space for X"
  • User needs onboarding context, architecture docs, or team-specific guidance
  • User wants to follow a structured workflow defined in a Space (templates, checklists, multi-step processes)

Workflow

1. Discover Spaces

When a user asks what spaces are available or you need to find the right space:

Call mcp__github__list_copilot_spaces

This returns all spaces the user can access, each with a name and owner_login. Present relevant matches to the user.

To filter for a specific user's spaces, match owner_login against the username (e.g., "show me my spaces").

2. Load a Space

When a user names a specific space or you've identified the right one:

Call mcp__github__get_copilot_space with:
  owner: "org-or-user"    (the owner_login from the list)
  name: "Space Name"      (exact space name, case-sensitive)

This returns the space's full content: attached documentation, code context, custom instructions, and any other curated materials. Use this context to inform your responses.

3. Follow the Breadcrumbs

Space content often references external resources: GitHub issues, dashboards, repos, discussions, or other tools. Proactively fetch these using other MCP tools to gather complete context. For example:

  • A space references an initiative tracking issue. Use issue_read to get the latest comments.
  • A space links to a project board. Use project tools to check current status.
  • A space mentions a repo's masterplan. Use get_file_contents to read it.

4. Answer or Execute

Once loaded, use the space content based on what it contains:

If the space contains reference material (docs, code, standards):

  • Answer questions about the project's architecture, patterns, or standards
  • Generate code that follows the team's conventions
  • Debug issues using project-specific knowledge

If the space contains workflow instructions (templates, step-by-step processes):

  • Follow the workflow as defined, step by step
  • Gather data from the sources the workflow specifies
  • Produce output in the format the workflow defines
  • Show progress after each step so the user can steer

5. Manage Spaces (via gh api)

When a user wants to create, update, or delete a space, use gh api. First, find the space number from the list endpoint.

Update a space's instructions:

gh api users/{username}/copilot-spaces/{number} \
  -X PUT \
  -f general_instructions="New instructions here"

Update name, description, or instructions together:

gh api users/{username}/copilot-spaces/{number} \
  -X PUT \
  -f name="Updated Name" \
  -f description="Updated description" \
  -f general_instructions="Updated instructions"

…
자주 묻는 질문

‘Copilot Space’란 무엇인가요?

AI에게 맥락을 제공하기 위해 만든, 특정 프로젝트를 위한 문서, 코드, 지침의 체계적인 모음입니다.

AI는 ‘Copilot Space’를 어떻게 사용하나요?

AI는 스페이스의 정보를 불러와서, 그 프로젝트의 전문가에게 묻는 것처럼 더 정확하고 관련성 높은 답변을 제공하는 데 사용합니다.

‘Copilot Space’를 만들거나 수정할 수 있나요?

네, 기술 문서에 나온 것처럼 특정 GitHub API 명령을 사용해 스페이스를 만들고, 업데이트하고, 삭제할 수 있습니다.

상세 정보

작성자의 원본 설명

Use Copilot Spaces to provide project-specific context to conversations. Use this skill when users mention a "Copilot space", want to load context from a shared knowledge base, discover available spaces, or ask questions grounded in curated project documentation, code, and instructions.

repo: github/awesome-copilot

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬