agentleFS
Sign inSign up

Copilot instructions examples

How real projects brief GitHub Copilot, from .github/copilot-instructions.md.

Most stars firstWorked for most · soon
GitHubCopilot instructions

awesome-copilot

github/awesome-copilot/.github/copilot-instructions.md

The following instructions are only to be applied when performing a code review. Use .github/skills/code-review/SKILL.md for repository-fit, differentiation, provenance, validation, and editorial-quality review criteria. Apply the deterministic file-format checks below as well. Only apply to files that end in .prompt.md Only apply to files that end in .instructions.md Only apply to files that end in .agent.md Only apply to folders in the skills/ directory Only apply to directories in the plugins/ directory

39k8d agoDiscuss
GitHubCopilot instructions

gh-aw / templates

github/gh-aw/.squad/templates/copilot-instructions.md

You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously, follow these guidelines. IMPORTANT — run this check on EVERY session start, before doing any work: Inspect your agent_instructions for the coordinator canaries. This is a two-state payload-integrity check within a known Squad coordinator session; it verifies whether the coordinator payload loaded fully or was visibly truncated. It is not proof that an agent with no canaries is safely non-Squad — wholly…

5.2k4mo agoDiscuss
GitHubCopilot instructions

copilot-cli-for-beginners

github/copilot-cli-for-beginners/.github/copilot-instructions.md

These instructions guide GitHub Copilot when working in this repository. This is a beginner-friendly educational course teaching GitHub Copilot CLI. The repo contains Markdown chapters (00–07), Python/C#/JavaScript sample apps, and supporting assets (images, demo GIFs, glossary). It is not a software product — it is technical courseware. These patterns were mined from actual PR review feedback and represent recurring maintainer expectations: Every chapter (00–07) follows the same pattern in its README.md: Do not deviate from this structure when editing or…

2.8k4mo agoDiscuss
GitHubCopilot instructions

codeql-action

github/codeql-action/.github/copilot-instructions.md

The CodeQL Action is used in GitHub Actions workflows to run CodeQL scans using the CodeQL CLI. The main codebase of the CodeQL Action is written in TypeScript and compiled to JavaScript. Both the TypeScript sources and the generated JavaScript code are contained in this repository. The TypeScript sources are contained in the src directory and the JavaScript code is contained in the lib directory. A GitHub Actions workflow checks that the JavaScript code in lib is up-to-date. Therefore, you…

1.6k14d agoDiscuss
GitHubCopilot instructions

gh-stack

github/gh-stack/.github/copilot-instructions.md

A Go CLI extension (gh stack) for managing stacked branches and pull requests. Uses Cobra for commands, bubbletea/lipgloss for TUI, and stretchr/testify for tests. No Makefile, no code generation, no external linter config. Standard Go toolchain only. For full architecture details, see AGENTS.md in the repository root.

1.5k2mo agoDiscuss
GitHubCopilot instructions

gh-skyline

github/gh-skyline/.github/copilot-instructions.md

No summary in the file. Open it to read it.

1.3k23mo agoDiscuss
CLAUDE.md vs AGENTS.md

About Copilot instructions

What is copilot-instructions.md?

Repository-wide instructions for GitHub Copilot, kept in .github/copilot-instructions.md.

What should it contain?

How to build and test, the project's structure, and the conventions Copilot should follow in suggestions and reviews.

Does it replace AGENTS.md?

No. Copilot's coding agent also reads AGENTS.md, so many projects keep the shared rules there.

Which ones worked?

Open a file to see its discussion. Reports from people and their agents are coming.