copilot-spaces skill
✓ DoğrulandıGitHub Copilot Spaces üzerinden paylaşılan bilgi tabanlarını, dokümantasyonları, kodları ve talimatları yükleyerek konuşmalara projeye özel bağlam sağlayın.
- GitHub yıldızları
- 41.038
- Dosyalar
- 1
- Son commit
- 11 Kas 2026
- Lisans
- MIT
- İzin verilen araçlar
- —
copilot-spaces skill ne işe yarar?
copilot-spaces bir agent skill'dir. GitHub Copilot Spaces üzerinden paylaşılan bilgi tabanlarını, dokümantasyonları, kodları ve talimatları yükleyerek konuşmalara projeye özel bağlam sağlayın.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
copilot-spaces skilli hakkında
Yapay zeka konuşmalarını belirli proje bilgilerine dayandırmak isteyen geliştiriciler, GitHub Copilot Spaces'ten paylaşılan bağlamı yüklemek için bu SKILL'i kullanabilirler. Bu yetenek, bir ajanın bir ekibin gerçek kodlarını ve standartlarını temsil eden seçilmiş depo, dokümantasyon ve özel talimat koleksiyonlarına erişmesine olanak tanır. Bir space yükleyerek bir ajan; mimari hakkındaki soruları yanıtlayabilir, belirli kodlama standartlarını takip edebilir veya ekip tarafından tanımlanmış yapılandırılmış iş akışlarını yürütebilir.
Bir kullanıcı belirli bir Copilot space'ini bulmasını veya yüklemesini istediğinde ajan bu SKILL'i yüklemelidir. Bu yetenek, mcp__github__list_copilot_spaces ve mcp__github__get_copilot_space araçları aracılığıyla salt okunur erişim sağlar. MCP araçları keşif ve okuma işlemlerini yönetirken; space oluşturma, güncelleme veya silme gibi tam CRUD işlemleri gh api üzerinden gerçekleştirilmelidir. Bu sayede ajan, ekli dosyalardan ve issue'lardan derin bağlam çekerek projeye özel ve son derece alakalı yanıtlar verebilir.
Bir agent bununla neler yapabilir
- 1Mevcut proje alanlarını keşfedinBir ajan, mevcut tüm space'leri listeleyerek kullanıcının hangi paylaşılan bilgi tabanlarına erişebileceğini belirleyebilir.
- 2Projeye özel bağlamı yükleyinBir geliştirici, yapay zeka konuşmasını temellendirmek için belirli bir space içindeki tüm dokümantasyonu ve kod talimatlarını çekebilir.
- 3Yapılandırılmış ekip iş akışlarını yürütünBir ajan, standartlaştırılmış çıktılar üretmek için bir space içinde tanımlanmış adım adım süreçleri veya şablonları takip edebilir.
- 4API aracılığıyla space yapılandırmalarını yönetinKullanıcılar, GitHub CLI komutlarını kullanarak bir space'in talimatlarını veya meta verilerini programatik olarak güncelleyebilir.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
copilot-spaces skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.copilot-spaces skill'ini Claude Code uygulamasına kur
~/.claude/skills/copilot-spaces/SKILL.md
$ npx degit github/awesome-copilot/skills/copilot-spaces ~/.claude/skills/copilot-spacescopilot-spaces skill'ini Claude Code (project) uygulamasına kur
.claude/skills/copilot-spaces/SKILL.md
$ npx degit github/awesome-copilot/skills/copilot-spaces .claude/skills/copilot-spacescopilot-spaces skill'ini Codex uygulamasına kur
~/.agents/skills/copilot-spaces/SKILL.md
$ npx degit github/awesome-copilot/skills/copilot-spaces ~/.agents/skills/copilot-spacescopilot-spaces skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/copilot-spaces/SKILL.md
$ npx degit github/awesome-copilot/skills/copilot-spaces ~/.gemini/skills/copilot-spacescopilot-spaces skill'ini Claude.ai uygulamasına kur
npx degit github/awesome-copilot/skills/copilot-spaces copilot-spaces && zip -r copilot-spaces.zip copilot-spaces # claude.ai → Customize → Skills → + → Create skill → Upload a skill → copilot-spaces.zip
Otomatik kontroller
Çalıştırıldı 13 Kas 2026Tam rapor →Otomatik kontrollerimizi geçti. Bu bir güvenlik denetimi değil: bir ajanın çalıştırmasına izin vermeden önce betikleri okuyun. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirgithub/awesome-copilot/skills/copilot-spaces is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/copilot-s ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Geçti
- Betiklerde indir-çalıştır veya kimlik bilgisi hırsızlığı yokNo scripts in the skill folderGeçti
- SKILL.md içinde gizli talimat yokNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/copilot-s ↗Geçti
- Önceden izin verilen araçlar sınırlıNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/copilot-s ↗Geçti
SKILL.md
GitHub'da görüntüleCopilot 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_readto 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_contentsto 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"
Create a new space:
gh api users/{username}/copilot-spaces \
-X POST \
-f name="My New Space" \
-f general_instructions="Help me with..." \
-f visibility="private"
Attach resources (replaces entire resource list):
{
"resources_attributes": [
{ "resource_type": "free_text", "metadata": { "name": "Notes", "text": "Content here" } },
{ "resource_type": "github_issue", "metadata": { "repository_id": 12345, "number": 42 } },
{ "resource_type": "github_file", "metadata": { "repository_id": 12345, "file_path": "docs/guide.md" } }
]
}
Delete a space:
gh api users/{username}/copilot-spaces/{number} -X DELETE
Updatable fields: name, description, general_instructions, icon_type, icon_color, visibility ("private"/"public"), base_role ("no_access"/"reader"), resources_attributes
Examples
Example 1: User Asks for a Space
User: "Load the Accessibility copilot space"
Action:
- Call
mcp__github__get_copilot_spacewith owner"github", name"Accessibility" - Use the returned context to answer questions about accessibility standards, MAS grades, compliance processes, etc.
Example 2: User Wants to Find Spaces
User: "What copilot spaces are available for our team?"
Action:
- Call
mcp__github__list_copilot_spaces - Filter/present spaces relevant to the user's org or interests
- Offer to load any space they're interested in
Example 3: Context-Grounded Question
User: "Using the security space, what's our policy on secret scanning?"
Action:
- Call
mcp__github__get_copilot_spacewith the appropriate owner and name - Find the relevant policy in the space content
- Answer based on the actual internal documentation
Example 4: Space as a Workflow Engine
User: "Write my weekly update using the PM Weekly Updates space"
Action:
- Call
mcp__github__get_copilot_spaceto load the space. It contains a template format and step-by-step instructions. - Follow the space's workflow: pull data from attached initiative issues, gather metrics, draft each section.
- Fetch external resources referenced by the space (tracking issues, dashboards) using other MCP tools.
- Show the draft after each section so the user can review and fill in gaps.
- Produce the final output in the format the space defines.
Example 5: Update Space Instructions Programmatically
User: "Update my PM Weekly Updates space to include a new writing guideline"
Action:
- Call
mcp__github__list_copilot_spacesand find the space number (e.g., 19). - Call
mcp__github__get_copilot_spaceto read current instructions. - Modify the instructions text as requested.
- Push the update:
gh api users/labudis/copilot-spaces/19 -X PUT -f general_instructions="updated instructions..."
Tips
- Space names are case-sensitive. Use the exact name from
list_copilot_spaces. - Spaces can be owned by users or organizations. Always provide both
ownerandname. - Space content can be large (20KB+). If returned as a temp file, use grep or view_range to find relevant sections rather than reading everything at once.
- If a space isn't found, suggest listing available spaces to find the right name.
- Spaces auto-update as underlying repos change, so the context is always current.
- Some spaces contain custom instructions that should guide your behavior (coding standards, preferred patterns, workflows). Treat these as directives, not suggestions.
- Write operations (
gh apifor create/update/delete) require theuserPAT scope. If you get a 404 on write operations, rungh auth refresh -h github.com -s user. - Resource updates replace the entire array. To add a resource, include all existing resources plus the new one. To remove one, include
{ "id": 123, "_destroy": true }in the array.
Bu becerideki dosyalar
1copilot-spaces skill soruları
copilot-spaces skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit github/awesome-copilot/skills/copilot-spaces ~/.claude/skills/copilot-spaces komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
copilot-spaces skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
MCP araçlarını kullanarak Copilot space oluşturabilir veya silebilir miyim?
Hayır, MCP server yalnızca salt okunur işlemler sunar. Space oluşturmak, güncellemek veya silmek için REST API aracılığıyla GitHub CLI kullanmalısınız.
Bir Copilot Space içerisinde hangi bilgiler yer alır?
Bir Space; yanıtları proje bilgileriyle temellendirmek için kullanılan depoların, dosyaların, dokümantasyonların ve özel talimatların paylaşılan bir koleksiyonunu içerir.
Spaces API'sine yazma işlemi yapmak için hangi izinler gereklidir?
Yazma işlemleri için 'user' kapsamına (scope) sahip bir Personal Access Token (PAT) gereklidir.