.github
A central library of GitHub Copilot instructions and agent
skills for agentic development across many repositories. Copilot reads them directly from this
repository; the skills are also published as versioned Spec Kit
extensions and as Agent Plugins.
Three Ways to Use the Skills
| Route |
Best for |
What you get |
Updates |
| 1. Copilot |
Day-to-day work in VS Code |
Every instruction, applied automatically by applyTo, and every skill, from the checked-out branch |
git pull |
| 2. Spec Kit extensions |
Spec Kit repositories that pin versions |
Chosen skills at exact versions, with their required skills and linked instructions, copied into .github/ and applied automatically |
/speckit-skill-library upgrade-all |
| 3. Agent Plugins |
Any client that supports Agent Plugins |
One skill per package at an exact version, with its linked instructions as reference files |
Download the newer package |
Routes 1 and 2 apply instructions automatically: route 2 copies each installed skill's instructions
into .github/instructions/. Route 3 carries the instruction files a skill links to, which the
agent reads when it follows the link. Pick one route per workspace to avoid loading the same skill
twice.
Two more routes are under investigation and not yet supported:
| Route |
Status |
Decision record |
| APM (Agent Package Manager) |
apm install from a skill's release tag installs that skill into .agents/skills/; only docs-adr, which carries a pilot apm.yml, also brings its required skills and linked instructions |
ADR 0003 |
| NuGet package skills |
Proposed only for guidance about the owner's own .NET libraries, shipped inside those packages so it matches the referenced version |
ADR 0005 |
What It Provides
- Instructions: language, tool and documentation conventions that
Copilot applies automatically to matching files, such as C#, Terraform, Dockerfiles and Markdown.
- Skills: task-specific workflows with scripts, examples and safety gates,
loaded when a request matches or invoked directly, such as
/docs-readme.
Consumer repositories do not copy these files. Each keeps only its own
.github/copilot-instructions.md with a pointer here and its project-specific rules, so a change
in this repository takes effect everywhere without a pull request in each consumer.
System Context
Skill authors change this repository through pull requests; developers in consumer repositories
receive its instructions and skills through one of three routes.
flowchart LR
author([Skill author]):::person -->|"pull requests"| repo
subgraph repo [This repository]
instr[Instructions<br/>.github/instructions]
skills[Skills<br/>.github/skills]
tools[Skill library tooling]
end
subgraph copilot [Copilot route: default]
ws([Workspace folder])
personal(["~/.copilot links"])
end
subgraph speckit [Spec Kit route: optional]
rel[(GitHub Releases<br/>id/X.Y.Z)]
cat[(GitHub Pages<br/>catalog)]
cmd(["/speckit-skill-library"])
end
subgraph plugins [Agent Plugins route: optional]
client([Agent Plugins client])
end
instr --> ws
skills --> ws
instr --> personal
skills --> personal
skills --> tools
tools -- "on merge to main" --> rel
tools --> cat
cat --> cmd
rel --> cmd
rel -- "-plugin.zip" --> client
copilot --> developer([Developer in a consumer repository]):::person
speckit --> developer
plugins --> developer
classDef owned fill:#dbeafe,stroke:#1d4ed8,color:#000
classDef person fill:#ede9fe,stroke:#6d28d9,color:#2e1065
class instr,skills,tools owned
The Copilot route reads the working tree directly, so it always reflects the checked-out branch.
The Spec Kit and Agent Plugins routes install published, immutable versions from the same release.
How the repository works details versioning, packaging and installation
with further diagrams, and Skill Library Tooling shows
the PowerShell components behind them.
Use with Copilot
Add to a Workspace
- Clone this repository alongside the repository you are working on.
- In VS Code, use File > Add Folder to Workspace to add this repository, then save the workspace.
- Select the Copilot agent harness and run Chat: Open Customizations from the Command Palette.
Confirm that the shared instructions and skills are available to that session.
- Ask for a relevant task, or invoke a skill directly, such as
/docs-readme.
Discovery depends on the selected agent harness; use the
VS Code customization documentation
and the active session's customization view to verify what is loaded. A Copilot CLI (agent
host) session reads workspace customizations only from the folder it starts in, so it sees this
repository's files only when it runs inside this repository. For agent sessions anywhere else,
install the personal links below.
Install for Every Workspace
To use the shared files in every workspace and every agent session, link its folders into your
personal Copilot locations. The links can coexist with this repository open in the workspace, which
remains the convenient way to edit it.
The examples assume a clone under source/github/.github in your home directory. Adjust that
location first, and run them only when the destination links do not already exist. Preserve any
existing personal customizations rather than overwriting them.
Windows PowerShell:
$repo = "$HOME\source\github\.github"
New-Item -ItemType Directory -Force -Path "$HOME\.copilot" | Out-Null
foreach ($name in 'instructions', 'skills') {
New-Item -ItemType Junction -Path "$HOME\.copilot\$name" -Target "$repo\.github\$name"
}
macOS and Linux:
repo="$HOME/source/github/.github"
mkdir -p "$HOME/.copilot"
for name in instructions skills; do
ln -s "$repo/.github/$name" "$HOME/.copilot/$name"
done
The links point at the working tree, so a git pull updates every workspace at once. Recreate them
on another workstation; harness-folder customizations do not roam through VS Code Settings Sync.
Restart VS Code after creating or removing them: agent sessions discover ~/.copilot only at
start-up.
VS Code releases before 1.144.0 loaded every file in ~/.copilot/instructions twice in agent
sessions (microsoft/vscode#342394). If a session
still lists each instruction twice, update VS Code rather than removing the links, which would leave
agent sessions in other repositories without the shared files.
Remove the Personal Links
To uninstall, remove the links. Only links are removed; a real folder at either path is left
untouched, as is the clone.
Windows PowerShell:
foreach ($name in 'instructions', 'skills') {
$link = Get-Item -LiteralPath "$HOME\.copilot\$name" -Force -ErrorAction SilentlyContinue
if ($link -and $link.LinkType) { $link.Delete() }
}
macOS and Linux:
for name in instructions skills; do
if [ -L "$HOME/.copilot/$name" ]; then rm "$HOME/.copilot/$name"; fi
done
Run Developer: Reload Window, then confirm in Chat: Open Customizations that each shared
instruction and skill appears once.
Alongside Third-Party Instruction Packs
Extensions that contribute instructions apply them by applyTo next to the shared set, so their
rules compete with these and add their own context cost. VS Code cannot switch off individual files
an extension contributes, so choose the narrowest pack instead. For
HVE Core:
- Prefer
ise-hve-essentials.hve-core over the hve-core-all bundle. The bundle includes
hve-coding-standards, whose C#, PowerShell, Pester, Python, Rust, Bash and Terraform
instructions overlap the shared language files; on a C# file they add about 16 KB.
- Even
hve-core applies its Markdown and writing-style instructions to every *.md file (about
21 KB) and a 36 KB prompt-builder instruction to SKILL.md and *.instructions.md files. When
editing this repository, disable the extension for the workspace from the Extensions view.
- Its commit-message instruction, attached by the
git-commit prompts and the RPI agents, requires
an emoji and a Generated by Copilot footer. The shared workflow rule forbids both and takes
precedence; before pushing, run the repository-privacy skill's Remove-CommitAttribution.ps1,
which strips any attribution that slips through.
Use with Spec Kit
Spec Kit repositories can install selected skills at exact versions, with the skills they require,
through the /speckit-skill-library command. Each skill is released independently as a Spec Kit
extension. See Versioned Skills for Spec Kit.
Use as Agent Plugins
Every skill release also carries <skill>-<version>-plugin.zip, a package in the vendor-neutral
Agent Plugins format. Download it from the
catalog or the skill's GitHub Release, extract it, and load the
folder with your client's plugin installation method. Agent Plugins has no dependencies, so install
each plugin listed under required in its plugin.json too. See
Agent Plugins packaging.
FAQ
Do I need Spec Kit?
No. Copilot reads the instructions and skills directly once this repository is in your workspace or
linked into ~/.copilot. Spec Kit is only for repositories that want selected skills pinned to
exact versions; other agent clients can use the Agent Plugins packages instead.
Does the Spec Kit route need PowerShell?
No. The /speckit-skill-library helper ships in PowerShell, Bash and Python with identical
behaviour, and Spec Kit runs the one matching specify init --script ps, sh or py. The
Spec Kit guide lists what each variant needs. Only the
maintainer tooling that versions and publishes skills in this repository requires PowerShell.
How does Copilot decide what to load?
Each instruction file's applyTo glob matches the files being edited. Each skill's description
is matched against the request, or you invoke the skill by name, such as /docs-adr.
Why not copy the files into each repository?
Copies drift and every update needs a pull request per repository. Here, one change reaches every
workspace on the next git pull. Repositories keep only their own specific rules.
How are skills versioned?
Each skill has its own semantic version in skill.metadata.yaml, released as the tag
<skill>/X.Y.Z. A pull request fails if a changed skill was not bumped, or was bumped more than one
step past its last release. See Versioning.
What does "required" versus "related" mean?
A required skill is always installed with the skill that needs it, at a pinned version. A related
skill is only offered, with a reason, and you choose whether to install it.
What is inside a skill's Spec Kit extension?
An extension.yml manifest, the skill folder, the instruction files it links to and the licence,
all under their original repository paths. See Packaging.
Why is each skill packaged as a Spec Kit extension?
To reuse a package manager instead of writing one. The extension format gives every skill a
catalog entry per published version, specify extension add --version downloads, SHA-256 digest
checks, a registry of installed versions, and enable, disable and remove commands. It also lets the
skills appear in any Spec Kit catalog alongside other Spec Kit packages. The first implementation
rebuilt installation itself, grew to about 10,000 lines and never shipped; see
ADR 0001.