Teach GitHub Copilot your codebase: custom instructions, skills, agents, and MCP
GitHub Blog AI/ML · rss · 2026-10-13
GitHub's official blog outlines four ways to give Copilot project context, best used together:
- Custom instructions: .github/copilot-instructions.md for repo-wide conventions (architecture, naming, testing); path-specific files under .github/instructions with an applyTo field scope rules to matching file types.
- Agent skills: package repeatable procedures (quality checks, releases, debugging failed workflows) as folders under .github/skills; SKILL.md describes when the skill applies, which scripts to run, and how to troubleshoot.
- Custom agents: for larger multi-file work like accessibility reviews, define dedicated agent profiles under .github/agents with purpose, instructions, tools, and context.
- MCP servers: connect external tools and data — e.g. the Playwright MCP server lets Copilot open the app in a browser and verify behavior interactively.
Start small: pick one convention you keep re-explaining and put it in instructions; the community's Awesome Copilot repo has ready-made instructions, skills, and agents to adapt.
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Agent build costs: Messages API $0.003/msg vs Agent SDK $0.041 in real test — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- Step 1: have Claude draft an agent card before building your embedded agent — PawelHuryn · 2026-11-29