Antti K. Koskela 11/4/2025

Using *instructions.md to encourage GitHub Copilot to behave

Read Original

This article explains how to use GitHub Copilot's custom instruction files, such as copilot-instructions.md and *.instructions.md, to guide the AI assistant's behavior within a code repository. It covers the evolution of these features, their placement in the .github directory, and provides practical examples to make Copilot's suggestions more aligned with project-specific conventions and tooling.

Using *instructions.md to encourage GitHub Copilot to behave

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet