agentleFS
Sign inSign up

Copilot instructions examples

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

Most stars firstWorked for most · soon
affaan-mCopilot instructions

ECC

affaan-m/ECC/.github/copilot-instructions.md

Everything Claude Code (ECC) baseline rules for GitHub Copilot Chat in VS Code. These instructions are always active. Use the prompts in .github/prompts/ for deeper workflows. If a security issue is found: stop, fix CRITICAL issues first, rotate any exposed secrets. Minimum 80% coverage. All three layers required: TDD cycle: Write test (RED) → implement minimally (GREEN) → refactor (IMPROVE) → verify coverage. Use AAA structure (Arrange / Act / Assert) and descriptive test names that explain the behavior under…

246k30d agoDiscuss
MicrosoftCopilot instructions

vscode / copilot

microsoft/vscode/extensions/copilot/.github/copilot-instructions.md

This is the GitHub Copilot Chat extension for Visual Studio Code - a VS Code extension that provides conversational AI assistance, a coding agent with many tools, inline editing capabilities, and advanced AI-powered features for VS Code. Choose validation based on the scope and risk of the change. Prefer existing diagnostics and the smallest targeted tests that cover the changed behavior. Do not start start-watch-tasks, run a full build, or make type checking a prerequisite for targeted tests solely as…

193k21d agoDiscuss
MicrosoftCopilot instructions

vscode

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

Visual Studio Code is built with a layered architecture using TypeScript, web APIs and Electron, combining web technologies with native app capabilities. The codebase is organized into key architectural layers: The core architecture follows these principles: - Layered architecture - from base, platform, editor, to workbench - Dependency injection - Services are injected through constructor parameters - If non-service parameters are needed, they need to come before the service parameters - Contribution model - Features contribute to registries and extension…

193k21d agoDiscuss
Hugging FaceCopilot instructions

transformers

huggingface/transformers/.github/copilot-instructions.md

This copilot-instructions.md file provides guidance for code agents working with this codebase. Many models in the codebase have similar code, but it is not shared by inheritance because we want each model file to be self-contained. We use two mechanisms to keep this code in sync: - "Copied from" syntax. Functions or entire classes can have a comment at the top like this: # Copied from transformers.models.llama.modelingllama.rotatehalf or # Copied from transformers.models.t5.modelingt5.T5LayerNorm with T5->MT5 These comments are actively checked by…

167k23d agoDiscuss
DietrichGebertCopilot instructions

ponytail

DietrichGebert/ponytail/.github/copilot-instructions.md

You are a lazy senior developer. Lazy means efficient, not careless. The best code is the code never written. Before writing any code, stop at the first rung that holds: The ladder runs after you understand the problem, not instead of it: read the task and the code it touches, trace the real flow end to end, then climb. Bug fix = root cause, not symptom: a report names a symptom. Grep every caller of the function you touch and…

143k4mo agoDiscuss
MicrosoftCopilot instructions

PowerToys

microsoft/PowerToys/.github/copilot-instructions.md

PowerToys AI contributor guidance

139k8mo agoDiscuss
MicrosoftCopilot instructions

PowerToys / TemplateCmdPalExtension

microsoft/PowerToys/src/modules/cmdpal/ExtensionTemplate/TemplateCmdPalExtension/.github/copilot-instructions.md

Concise guidance for AI-assisted development of this Command Palette extension. If using git, remove these lines from .gitignore (needed for deployment): - **/Properties/launchSettings.json - *.pubxml This project includes Copilot skills for common workflows: - add-adaptive-card-form — Create form-based UI with Adaptive Cards - add-extension-settings — Add a settings page to your extension - add-dock-band — Add persistent toolbar widgets - add-fallback-commands — Add catch-all search commands - publish-extension — Publish to Microsoft Store or WinGet

139k8mo agoDiscuss
MicrosoftCopilot instructions

TypeScript

microsoft/TypeScript/.github/copilot-instructions.md

This repository contains the native TypeScript compiler and language server. The source directories of interest that we have are: Most compiler development takes place in tsc/internal, and most behaviors can be tested via compiler tests. Most development on the codebase is in Go. Standard Go commands and practices apply, but we primarily use a tool called hereby to build, run tests, and other tasks. Run npx hereby --tasks to see all available commands. Always make sure code is formatted, linted,…

111k2y agoDiscuss
SupabaseCopilot instructions

supabase

supabase/supabase/.github/copilot-instructions.md

You are a code reviewer for a large TypeScript/Next.js/React monorepo. Your reviews must be low-noise and high-signal. The team acts on fewer than 20% of default Copilot suggestions, so every comment you leave must earn its place. Only comment when you are >85% confident the issue is a real bug, security vulnerability, or logic error. If you are unsure, do not comment. Silence is better than noise. Our CI pipeline already validates the following. Never comment on these topics: This…

111k7d agoDiscuss
MicrosoftCopilot instructions

playwright

microsoft/playwright/.github/copilot-instructions.md

When reviewing pull requests:

97k20d agoDiscuss
thedotmackCopilot instructions

claude-mem

thedotmack/claude-mem/.github/copilot-instructions.md

No context yet. Complete your first session and context will appear here. Use claude-mem's MCP search tools for manual memory queries. </claude-mem-context>

95k5mo agoDiscuss
LeonxlnxCopilot instructions

taste-skill

Leonxlnx/taste-skill/.github/copilot-instructions.md

Note: GitHub Copilot automatically reads this file to set its global behavior. By including this in the .github folder, Copilot stops writing generic "slop" code and adheres to the premium Taste Skill standards.

91k5mo agoDiscuss
bytedanceCopilot instructions

deer-flow

bytedance/deer-flow/.github/copilot-instructions.md

Use this file as the default operating guide for this repository. Follow it first, and only search the codebase when this file is incomplete or incorrect. DeerFlow is a full-stack "super agent harness". Current repo footprint is medium-large (backend service, frontend app, docker stack, skills library, docs). Validated in this repo on macOS: Always run from repo root unless a command explicitly says otherwise. These were executed and validated in this repository. Observed: passes when required tools are installed. Run…

83k3mo agoDiscuss
rtk-aiCopilot instructions

rtk

rtk-ai/rtk/.github/copilot-instructions.md

rtk (Rust Token Killer) is a CLI proxy that filters and compresses command outputs before they reach an LLM context, cutting 60-90% of bash output. It wraps common tools (git, cargo, grep, pnpm, go, etc.) and outputs condensed summaries instead of raw output. Percentages measure bash output, not billed tokens; RTK ships no tokenizer (src/core/tracking.rs estimates bytes / 4). Always prefix commands with rtk when running shell commands — this reduces token consumption for every operation you perform. rtk meta-commands…

82k8d agoDiscuss
headroomlabs-aiCopilot instructions

headroom

headroomlabs-ai/headroom/.github/copilot-instructions.md

When performing a pull request review in this repository:

74k28d agoDiscuss
career-ops-hqCopilot instructions

career-ops

career-ops-hq/career-ops/.github/copilot-instructions.md

This repository is two things at once, and which one you are working on depends on what you were asked. A. Helping a person with their job search. If the user runs career-ops as a product (evaluate a posting, tailor a CV, scan portals, track applications, prepare an interview), then AGENTS.md and the files under modes/ govern everything you do, exactly as they would in any other AI coding CLI. Ignore the rest of this file. B. Working on the…

73k34d agoDiscuss
diegosouzapwCopilot instructions

OmniRoute

diegosouzapw/OmniRoute/.github/copilot-instructions.md

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

71k12d agoDiscuss
ClineCopilot instructions

cline

cline/cline/.github/copilot-instructions.md

This is a VS Code extension. Read .clinerules/general.md for tribal knowledge and nuanced patterns. Also update: src/shared/api.ts, src/shared/providers/providers.json, src/core/api/index.ts, webview-ui/.../providerUtils.ts, webview-ui/.../validate.ts, webview-ui/.../ApiOptions.tsx. For Responses API providers: add to isNextGenModelProvider() in src/utils/model-utils.ts and set apiFormat: ApiFormat.OPENAI_RESPONSES on models.

69k5mo agoDiscuss
mvanhornCopilot instructions

last30days-skill

mvanhorn/last30days-skill/.github/copilot-instructions.md

This file contains Copilot-specific additions. See AGENTS.md for the shared cross-tool governance layer. Before suggesting a pull request: npx skills add . -g -y GitHub CI runs: Generated changes should pass both before review is requested. When suggesting CLI usage examples for safe local testing, default to: --emit=compact --mock

63k3mo agoDiscuss
tw93Copilot instructions

Pake

tw93/Pake/.github/copilot-instructions.md

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

62k11d 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.