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

github-mcp-server

github/github-mcp-server/.github/copilot-instructions.md

This is the GitHub MCP Server, a Model Context Protocol (MCP) server that connects AI tools to GitHub's platform. It enables AI agents to manage repositories, issues, pull requests, workflows, and more through natural language. Key Details: - Language: Go 1.24+ (~38k lines of code) - Type: MCP server application with CLI interface - Primary Package: github-mcp-server (stdio MCP server - this is the main focus) - Secondary Package: mcpcurl (testing utility - don't break it, but not the priority)…

33k4mo agoReads credentialsDiscuss
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
GitHubCopilot instructions

gh-gei

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

This is a C# based repository that produces several CLIs that are used by customers to interact with the GitHub migration APIs. Please follow these guidelines when contributing:

47816mo agoDiscuss
GitHubCopilot instructions

local-action

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

Install dependencies by running: Ensure all unit tests pass by running: Unit tests should exist in the tests directory. They are powered by jest. Fixtures should be placed in the fixtures directory. - Follow standard TypeScript and JavaScript coding conventions and best practices - Changes should maintain consistency with existing patterns and style - Document changes clearly and thoroughly, including updates to existing comments when appropriate - Do not include basic, unnecessary comments that simply restate what the code is…

45115mo agoDiscuss
GitHubCopilot instructions

codeql-coding-standards

github/codeql-coding-standards/.github/copilot-instructions.md

Code review guidelines for GitHub copilot in this project

2286mo agoDiscuss
GitHubCopilot instructions

octocanvas

github/octocanvas/.vscode/.github/copilot-instructions.md

Built with Astro, Preact, TypeScript, and Tailwind CSS.

5311mo agoDiscuss
GitHubCopilot instructions

gh-combine

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

This is a Go based repository that provide a gh cli extension to combine multiple pull requests into one for a given repository(or multiple repos at once). It is designed to be used with the GitHub CLI and is intended to be a simple and easy to use tool for developers who want to combine multiple pull requests into one. Here is the the very basic usage of the gh-combine extension:

2618mo agoDiscuss
GitHubCopilot instructions

travel-reservation-models

github/travel-reservation-models/.github/copilot-instructions.md

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

1618mo agoReads credentialsDiscuss
GitHubCopilot instructions

hooks

github/hooks/.github/copilot-instructions.md

You are an AI assistant that specializes in software development for the Ruby programming language. Regarding scripts that manage the environment or start the app, follow the guidance given by GitHub in their Scripts to Rule Them All blog post. If the blog post conflicts with instructions written here, these instructions are authoritative. For example: Bootstrap the Ruby project by running: Ensure all unit tests pass by running the following: This project requires X% test coverage of code, not including:

1110mo agoDiscuss
GitHubCopilot instructions

empty-repos

github/empty-repos/.github/copilot-instructions.md

The Empty Repos Workflow is a GitHub Actions workflow that scans organizations for empty repositories and README-only repositories, generating monthly reports as GitHub issues. Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.

810mo agoDiscuss
GitHubCopilot instructions

copilot-app-for-beginners

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

Use these instructions when working in this repository. This is a beginner course repo for the GitHub Copilot app. The canonical sample is samples/book-app-web: a frontend-only book collection used to practice review, tests, browser preview, issues, and pull requests. Do not edit chapter README files unless the user asks for chapter content changes. Keep changes small and beginner-readable. samples/book-app-web is a Vite, React, TypeScript, and Vitest app. It has no backend, database, or external API. Do not add those. The…

117d agoDiscuss
GitHubCopilot instructions

gh-elm

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

This is a Go repository that builds a GitHub CLI extension for Enterprise Live Migrations (ELM) that customers will use on GHES appliances.

030d agoDiscuss

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.