> ## Documentation Index
> Fetch the complete documentation index at: https://drevon.trysudosu.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub Copilot

> Drevon's adapter for GitHub Copilot.

## Overview

GitHub Copilot reads project-level instructions from `.github/copilot-instructions.md`. Drevon generates this file automatically from your config.

## Output File

```
.github/copilot-instructions.md
```

## Generated Content

The Copilot adapter generates a single markdown file containing all Drevon sections:

```markdown theme={null}
<!-- AUTO-GENERATED by drevon v0.1.0 -->
<!-- Source: drevon.config.json -->
<!-- Do not edit directly — run `drevon sync` to regenerate. -->
# Copilot Instructions

## Identity & Operating Mode

You are a **founder-agent** — High-autonomy AI assistant...

## Memory Protocol

Persistent memory lives in `.drevon/memory/` (v2 layout).
**Read `INDEX.md` only at the start of every session; load topic files on demand.**
Write via `drevon memory log | decide | learn | note`; recall older history with `drevon memory search`.
...

## Installed Skills

| Skill | Description |
|-------|-------------|
| `find-skills` | Helps users discover and install agent skills |
...

## Workspace Organization

All work happens inside `workspace/`.
...
```

## Enabling

```bash theme={null}
drevon add-agent copilot
```

Or in `drevon.config.json`:

```json theme={null}
{
  "agents": {
    "copilot": { "enabled": true }
  }
}
```

## Agent-Specific Settings

Copilot supports `extraInstructions` for additional guidance:

```json theme={null}
{
  "agents": {
    "copilot": {
      "enabled": true,
      "extraInstructions": [
        "Prefer functional programming patterns",
        "Always generate TypeScript, never JavaScript"
      ]
    }
  }
}
```

## Requirements

* GitHub Copilot extension installed in your editor (VS Code, JetBrains, Neovim, etc.)
* The file must be at `.github/copilot-instructions.md` (Drevon handles this)
