Przejdź do treści
Biblioteka skilli
AI i agenci · Integracja z narzędziem

copilot-guide

/copilot-guide

Konfiguruje hooki, hooki polityk, pluginy i skille GitHub Copilot CLI oraz agenta w chmurze: .github/hooks, policy.d, preToolUse, plugin.json, zaufanie do repozytorium i różnice sandboxa.

Repozytorium
platform ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
8
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Konfiguruje hooki, hooki polityk, pluginy i skille GitHub Copilot CLI oraz agenta w chmurze: .github/hooks, policy.d, preToolUse, plugin.json, zaufanie do repozytorium i różnice sandboxa.

Wyzwalacze z opisu

t say
Oryginalny opis (EN)

Use when configuring GitHub Copilot CLI or cloud-agent hooks, policy hooks, plugins, or skills. Triggers on .github/hooks, ~/.copilot/hooks, policy.d, preToolUse, permissionRequest, agentStop, command/HTTP/prompt handlers, cloud sandbox differences, plugin.json, repository trust, disableAllHooks, or Copilot onboarding, even when the user doesn't say 'Copilot hook'.

Jak działa

  1. Essentials
  2. Gotchas
  3. Example
  4. Progressive Disclosure
Sekcje z nagłówków SKILL.md, w oryginale · 32 linii, 294 słów
Podgląd SKILL.md
---
name: copilot-guide
description: "Use when configuring GitHub Copilot CLI or cloud-agent hooks, policy hooks, plugins, or skills. Triggers on .github/hooks, ~/.copilot/hooks, policy.d, preToolUse, permissionRequest, agentStop, command/HTTP/prompt handlers, cloud sandbox differences, plugin.json, repository trust, disableAllHooks, or Copilot onboarding, even when the user doesn't say 'Copilot hook'."
---

# GitHub Copilot Hooks and Policy

Configure GitHub Copilot's native hook and extension surface without inventing unsupported guarantees or a universal hook file.

## Essentials

- **Separate CLI and cloud** - Resolve the product surface before selecting an event or guarantee.
- **Use version-1 config** - Pin configuration schema, docs snapshot, and observed `copilot --version`.
- **Preserve handler support** - Commands cover hook types; HTTP and prompt handlers have narrower rules and surface limits.
- **Respect policy precedence** - CLI policy hooks load first and cannot be disabled by lower scopes.
- **Review repository execution** - Hooks, plugin extensions, and skill scripts require trust and security review.
- **Onboard reversibly** - Preview scope, handler, cloud data flow, permissions, firewall, verification, disable, and rollback.

## Gotchas

- Current documentation is not command-only: HTTP handlers are documented, and prompt handlers are limited to `sessionStart`.
- Cloud agent supports a subset of events, runs non-interactively, and does not use `permissionRequest` as a decision gate.
- Cloud hook files are repository-scoped and execute in an ephemeral Linux sandbox with restricted network.
- CLI policy hooks cannot be disabled with lower-scope `disableAllHooks`.
- Pre-approving shell in a skill expands risk and requires review of the skill and its scripts.

## Example

A policy requiring cloud-agent command blocking selects repository `preToolUse`, not `permissionRequest`; the preview includes version-1 JSON, bash-only cloud behavior, firewall/data flow, repository trust, output decision schema, job-timeout impact, and file-level disable rollback.

## Progressive Disclosure

- Read [references/capabilities.md](references/capabilities.md) - Load when mapping semantic intents to native events, handlers, guarantees, versions, ordering, context, or limitations
- Read [references/onboarding.md](references/onboarding.md) - Load when discovering, previewing, applying, verifying, disabling, rolling back, updating, or detecting drift
- Read [references/patterns.md](references/patterns.md) - Load when translating deterministic hooks, model evaluators, specialist agents, or managed adoption recipes
Pliki w paczce (8)
  • SKILL.md 3 KB
  • SOURCES.md 2 KB
  • eval-queries.json 4 KB
  • evals.json 1 KB
  • moon.yml 1 KB
  • references/capabilities.md 3 KB
  • references/onboarding.md 2 KB
  • references/patterns.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie copilot-guide.

Migawka bazy z 13.11.2026 · wersja paczki b0ed0734fa76 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100codex-guide
    Pomaga konfigurować hooki, wtyczki, skille, warstwy konfiguracji i wymagania zarządzane w Codex: hooks.json, config.toml, requirements.toml oraz zdarzenia SessionStart i PreToolUse.
  • 100claude-code-guide
    Pomaga konfigurować haki, wtyczki, skille, ustawienia i konfigurację zarządzaną Claude Code, w tym zdarzenia SessionStart, PreToolUse i PostToolUse, równoległe haki oraz testowanie automatyzacji.
  • 100github-integration
    Włącza GitHub CLI w sesjach chmurowych Claude Code i środowiskach agenta Copilot: skrypty instalacji, hooki SessionStart, copilot-setup-steps.yml i GH_TOKEN.
  • 96github-copilot-upgrader
    Aktualizuje GitHub Copilot CLI i SDK do nowszej wersji w repozytorium projektu.
  • 100creating-hooks
    Tworzy hooki GitHub Copilot dla VS Code z hooks.json, skryptami i dokumentacją: deterministyczne kontrole, polityki przed i po narzędziach oraz paczki hooków z bezpiecznymi ustawieniami domyślnymi.
  • 100convert-to-copilot
    Konwertuje agenta Claude Code wraz z poleceniem uruchomienia i skillami w jednego agenta GitHub Copilot (.github/agents) z plikami kontekstu w .copilot_utils.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.