Skip to content
Discussion options

You must be logged in to vote

Hii @ans-4175,

Here’s a clear way to break this down and explain how these three concepts—Custom Agents, Agent Skills, and Repository Custom Instructions—interact in practice, especially in Copilot CLI:


1. Repository Custom Instructions (.github/copilot-instructions.md)

  • Purpose: Always-on, repo-specific guidance.

  • Use case: Enforce stable, repo-wide norms: coding style, architecture notes, build/test/deploy commands, libraries to prefer/avoid.

  • Behavior: These instructions are automatically applied whenever Copilot interacts with the repo. They’re passive but persistent.

Rule of thumb:

Use custom instructions for anything that should always apply, regardless of which agent or skill is being used.

E…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@krishkhinchi
Comment options

@ans-4175
Comment options

@ksachdeva
Comment options

@Carbaz
Comment options

@IeuanWalker
Comment options

Answer selected by ans-4175

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other General topics and discussions that don't fit into other categories, but are related to GitHub Copilot in GitHub Copilot functionality in GitHub Copilot Chat and in github.com
7 participants