agentleFS
Sign inSign up

Copilot instructions examples

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

Most stars first · from page 6Worked for most · soon
MicrosoftCopilot instructions

vstest

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

This is a .NET based repository that contains the VSTest test platform. Please follow these guidelines when contributing: You MUST follow all code-formatting and naming conventions defined in .editorconfig. In addition to the rules enforced by .editorconfig, you SHOULD: You MUST minimize adding public API surface area but any newly added public API MUST be declared in the related PublicAPI.Unshipped.txt file. This repository uses git worktrees to work on multiple things at the same time. Worktrees live in ../vstest-tree/<branch> relative…

9665mo agoDeletes or force-pushesDiscuss
MicrosoftCopilot instructions

wassette

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

Follow the repository-wide guidance in AGENTS.md, which links to the canonical contributor documentation and focused agent skills.

95456d agoDiscuss
MicrosoftCopilot instructions

fabric-toolbox / fabric-assessment-tool

microsoft/fabric-toolbox/tools/fabric-assessment-tool/.github/copilot-instructions.md

Commands follow a pattern: - cli/router.py - Routes to command handlers - commands/base.py - Abstract BaseCommand with getname(), configureparser(), handle() - commands/assess.py, commands/visualize.py - Concrete command implementations 1. Services (services/) orchestrate the assessment workflow - AssessmentService - Main entry point, handles workspace iteration and dispatches to a platform client - StructuredExportService - Writes assessment dataclasses to a hierarchical on-disk tree. Today only the JSON exporter is implemented; CSVExporter and ParquetExporter are scaffolding stubs. See json-export-service.md for the folder layout, wrapped-JSON…

9003mo agoDiscuss
MicrosoftCopilot instructions

fabric-toolbox / SemanticModelMCPServer

microsoft/fabric-toolbox/tools/SemanticModelMCPServer/.github/copilot-instructions.md

This article provides the authoritative schema and syntax for TMSL objects including tables, columns, measures, relationships, and all valid properties. Always validate TMSL structure against this reference to ensure compliance and avoid deployment errors.

9003mo agoDiscuss
MicrosoftCopilot instructions

OpenAIWorkshop

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

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

8967mo agoDiscuss
MicrosoftCopilot instructions

SymCrypt

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

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

8905mo agoDiscuss
MicrosoftCopilot instructions

typeagent-py

microsoft/typeagent-py/.github/copilot-instructions.md

Get your instructions from AGENTS.md in the repo root.

88412mo agoDiscuss
MicrosoftCopilot instructions

CCF

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

CCF (Confidential Consortium Framework) is a replicated state machine for confidential, distributed applications. Use development setup and building CCF for supported environments and dependencies. The Copilot setup workflow installs formatting/lint prerequisites only; it does not provision a full C++ build/test environment. The full checks include test-buckets-checks.sh, which requires a successful CMake configure. From the repository root, after installing build prerequisites: The default configuration is RelWithDebInfo. For a separate Debug build, select a different b

87622d agoDiscuss
MicrosoftCopilot instructions

binskim

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

Use README.md for the repository overview and build entry point. Use docs\RuleContributions.md for the complete rule development workflow.

8608d agoDiscuss
MicrosoftCopilot instructions

DirectXMesh

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

These instructions define how GitHub Copilot should assist with this project. The goal is to ensure consistent, high-quality code generation aligned with our conventions, stack, and best practices. - Code Style: The project uses an .editorconfig file to enforce coding standards. Follow the rules defined in .editorconfig for indentation, line endings, and other formatting. Additional information can be found on the wiki at Implementation. The library's public API requires C++11, and the project builds with C++17 (CMAKECXXSTANDARD 17). The command-line…

8602mo agoDiscuss
MicrosoftCopilot instructions

MIEngine

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

⚠️ CRITICAL: Before proceeding with any task listed below, you MUST read the linked files as your FIRST action. Do NOT attempt the task until you have read and understood the documentation. Mandatory workflow for AI: 1. ✅ FIRST: read all required documentation files for the task 2. ✅ SECOND: follow the workflow specified there 3. ❌ NEVER: skip to code analysis, edits, or hypothesis formation before reading the docs ⚠️ When working inside Visual Studio, do not follow the…

8603mo agoDiscuss
MicrosoftCopilot instructions

Microsoft.Unity.Analyzers

microsoft/Microsoft.Unity.Analyzers/.github/copilot-instructions.md

This is a Roslyn-based analyzer project providing Unity-specific diagnostics and suppressors for Visual Studio. The analyzers help Unity developers by: Every source file must include the Microsoft copyright header: Use the scaffolding tool instead of manually creating files: This automatically: - Creates source files with proper structure - Adds resource entries to Strings.resx - Creates corresponding test files - Use Run Custom Tool on Microsoft.Unity.Analyzers\Resources\String.resx to re-generate Microsoft.Unity.Analyzers\src\Microsoft.Unity.Analyzers\Resources\Strings.Designer.cs using ResXFileCodeGenerator Use constants from DiagnosticCategory: - Performance - Performance-related issues -…

81237d agoDiscuss
MicrosoftCopilot instructions

CopilotStudioSamples

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

This repo uses Just the Docs (Jekyll theme) to generate a documentation site with sidebar navigation and full-text search. Solutions follow the PnP format: Front matter: README should include: what it does, screenshots in assets/, import steps, connection references to configure, known issues. Update authoring/solutions/README.md Contents table after adding. Add external_url to front matter. This shows a "View sample in M365 Agents SDK repo" button instead of "Browse source on GitHub": Add a red label and caution callout: Jekyll doesn't…

7947mo agoDiscuss
MicrosoftCopilot instructions

TypeAgent

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

Please load the following file as your global context:

7433mo agoDiscuss
MicrosoftCopilot instructions

BCTech / EscapeRoomApp

microsoft/BCTech/non production apps/EscapeRoomApp/.github/copilot-instructions.md

The BCTalent.EscapeRoom framework (ID range 73920-73999) enables developers to create gamified, task-validated learning experiences inside Business Central. You build a venue app — a separate AL extension — that depends on the framework and adds venues, rooms, and tasks using AL interfaces. This file is the complete guide for an agent creating a new escape room venue from scratch. See Docs/Framework/ for detailed reference. Always use the vjeko-al-objid tool (getNextObjectId) before creating any AL object to reserve a unique object…

7396mo agoDiscuss
MicrosoftCopilot instructions

teams-sdk

microsoft/teams-sdk/.github/copilot-instructions.md

This is a TypeScript CLI tool (teams) for managing Microsoft Teams apps. It uses Commander.js for command parsing, MSAL for auth, and talks to TDP (Teams Developer Portal) APIs. Be extremely concise — sacrifice grammar for brevity. Every comment MUST include an importance level prefix: Use logger from src/utils/logger.ts for all output. Never use console.log/console.error directly (except inside logger.ts and json-output.ts). For error conditions, throw CliError from src/utils/errors.ts. Wrap command .action() handlers with wrapAction() — it catches CliError and unknown…

7305mo agoDiscuss
MicrosoftCopilot instructions

ApplicationInsights-JS

microsoft/ApplicationInsights-JS/.github/copilot-instructions.md

Detailed step-by-step workflow instructions are available as prompt files in .github/prompts/. When asked to perform one of these tasks, always read and follow the corresponding prompt file:

68522d agoDiscuss
MicrosoftCopilot instructions

copilot-camp / complete

microsoft/copilot-camp/archive/src/agent-framework/complete/.github/copilot-instructions.md

Use this mapping to know the current vs. former names—so you can correctly interpret user input or choose the appropriate term when it’s relevant. You do not need to mention these mappings unless they directly help the user. Rephrase guidance: - Use the new names by default. - Explain the rebranding briefly if it helps the user’s understanding.

6662mo agoDiscuss
MicrosoftCopilot instructions

copilot-camp

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

Use this mapping to know the current vs. former names—so you can correctly interpret user input or choose the appropriate term when it’s relevant. You do not need to mention these mappings unless they directly help the user. Rephrase guidance: - Use the new names by default. - Explain the rebranding briefly if it helps the user’s understanding.

6662mo agoDiscuss
MicrosoftCopilot instructions

winget-create

microsoft/winget-create/.github/copilot-instructions.md

This repository contains the source for the Windows Package Manager Manifest Creator (wingetcreate), a .NET CLI tool that helps developers create, update, and submit package manifests to the winget-pkgs community repository. The codebase is organized as: Configure your system using .config/configuration.winget (winget configure .config/configuration.winget), or manually install: - Windows 10 1709 (16299) or later - Visual Studio 2022 with .NET Desktop Development and Universal Windows Platform Development workloads - Windows 11 SDK (10.0.26100.0) - Git LFS Open src\WingetCreateCLI.sln in Visual…

65251d 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.