Paula Silva | Software Global Black Belt
GitHub Copilot Agentic Framework

Configuration hierarchy: how config files shape your agents.

Five cascading layers, from copilot-instructions.md to prompt files. A technical briefing on how GitHub Copilot assembles context, how precedence works, and how to design a configuration stack your whole team inherits.

AuthorPaula Silva
RoleSoftware Global Black Belt
Duration45 to 60 minutes
Date2026-06-10
Agenda

Four parts, one mental model.

PART IFoundation, why configuration matters and the cascade mental model
PART IIThe five layers, file by file, with real content you can copy today
PART IIIResolution, the algorithm GitHub Copilot runs and the precedence rules behind it
PART IVPractice, a full project tree, three enterprise scenarios, and the do or do not list
PART VMemory, how GitHub Copilot learns the repo on its own and when to graduate it to files
PART
I

The foundation.

Modern AI assistants read a hierarchy of files to assemble the context behind every single response.

Why configuration matters

Configuration decides what the AI knows, what it can do, and how it behaves.

Dimension 01 · Knowledge

What the AI knows

Project instructions, code conventions, architecture patterns, and the key commands of your repository.

Dimension 02 · Permission

What the AI can do

Allowed tools, access limits, and the security guardrails that keep agents inside the lines.

Dimension 03 · Behavior

How the AI behaves

Scoped rules per area, the personality of specialized agents, response tone and format.

Without the hierarchy

Teams end up with duplicated instructions, conflicting rules, or an AI that ignores critical conventions because the right file was never created.

The mental model

Think like CSS: a cascade of specificity.

CSS cascade
body { }
Global style, applies everywhere
.container { }
Component level, narrower scope
#hero { }
Most specific wins the conflict
Config cascade
copilot-instructions.md
Repo-level global context
.instructions.md
Folder or file pattern scope
*.agent.md · SKILL.md
Most specific complements the rest
Golden rule

A child layer ADDS, it never contradicts. If the global file says "use TypeScript", a scoped file cannot say "use JavaScript". Specificity complements, it never overrides.

PART
II

The five layers.

A deep dive into each file type, with real content, real locations, and the activation rule of each one.

Layer 1 of 5 · always on

copilot-instructions.md is the global brain of the repository.

.github/copilot-instructions.md
# Project: E-Commerce Platform

## Tech Stack
- Next.js 14 with App Router
- TypeScript strict mode
- Prisma ORM with PostgreSQL

## Conventions
- kebab-case for file names
- PascalCase for React components
- All API routes in app/api/
- Tests: Vitest, run with npm test

## Architecture
- Feature-based folder structure
- Server components by default
Location
.github/copilot-instructions.md
Activation

Automatic in every GitHub Copilot session. Always active, no frontmatter needed.

Why it matters

The single most impactful file you can create. It sets the tone for every interaction with your project.

Layer 2 of 5 · scoped by glob

.instructions.md applies rules only where the glob matches.

Location
.github/instructions/*.instructions.md
Activation

The applyTo frontmatter holds a glob pattern. Rules load only when a file in context matches it.

Use it when

Different parts of the project need different rules: React rules for components, API rules for routes, test rules for specs.

.github/instructions/react-components.instructions.md
---
applyTo: "src/components/**/*.tsx"
---

# React Component Rules

- Functional components with hooks
- TypeScript interfaces for all props
- JSDoc comments on public props
- Tailwind for styling, no CSS modules
- Unit tests in __tests__/ folder
- Components must stay under 200 lines
Layer 3 of 5 · active when invoked

*.agent.md defines specialized personas with their own tools.

.github/agents/security-reviewer.agent.md
---
description: "Security code reviewer"
tools: [codeql, semgrep, gh-advanced-security]
---

# Security Reviewer Agent

You are a security code reviewer. Analyze:
- SQL injection vulnerabilities
- XSS attack vectors
- Authentication bypass risks

Always provide:
- Severity (Critical/High/Medium/Low)
- OWASP category reference
- Remediation code example
Identity

A name, a description, and a unique behavior the model adopts when the agent is active.

Tools

An explicit allowlist of tools the agent may call. Everything else is off the table.

Scope

Focus on one area or task type. The active agent narrows the context to its own domain.

Camada 3 estendida · Handoffs

Agentes se encadeiam: plan, implement, review como pipeline.

planner.agent.md Só leitura e busca. Produz um plano, não toca em código. tools: read, search handoff implementer.agent.md Recebe o plano com contexto pré- preenchido. Edita e roda testes. tools: edit, terminal, tests handoff reviewer.agent.md Revisa o diff contra as convenções. Nunca edita, só comenta. tools: read, lint Ao final de cada agente, um botão de handoff transfere o contexto para o próximo. O fluxo vira processo, não improviso.

Custom agents (.agent.md) substituem os antigos chat modes: persona, allowlist de ferramentas e handoffs encadeados. Em planos Business e Enterprise, definições podem ser compartilhadas no nível da organização: todo repo herda os mesmos especialistas.

Layer 4 of 5 · glob or alwaysApply

SKILL.md packages a complete domain, not just rules.

Location
.github/skills/<name>/SKILL.md
Anatomy

Rules plus workflows plus templates plus quality checklists. The structure forces completeness.

Skills vs instructions

Instructions are simple scoped rules. Skills are complete domain packages. Reach for a skill when the domain is complex.

.github/skills/api-design/SKILL.md
---
name: "REST API Design"
globs: ["src/api/**/*.ts", "src/routes/**/*.ts"]
alwaysApply: false
---

# REST API Design Skill

## Rules
- Plural nouns: /users, not /user
- Version APIs: /api/v1/resources
- Cursor-based pagination

## Workflow
1. Define resource schema  2. Route handlers
3. Validation middleware   4. Integration tests

## Quality checklist
- [ ] Proper status codes on all endpoints
- [ ] Input validation on POST and PUT
- [ ] OpenAPI docs generated
Camada 4 estendida · Carga progressiva

Skills carregam em três estágios. O contexto só paga pelo que usa.

ESTÁGIO 1 · SEMPRE Só name e description O índice de todas as skills fica no contexto. Custo: dezenas de tokens. ~40 tokens / skill match ESTÁGIO 2 · RELEVANTE SKILL.md completo As instruções inteiras entram só quando a tarefa bate com a skill. ~1.200 tokens sob demanda ESTÁGIO 3 · EXECUÇÃO Scripts, templates, exemplos Recursos da pasta são lidos ou executados na hora do uso. zero até precisar É o mesmo princípio dos três tiers de memória: pague tokens pelo que a tarefa precisa, não pelo que o repositório tem.
Padrão aberto, portável VS Code GitHub Copilot CLI coding agent ~/.copilot/skills pessoal
Layer 5 of 5 · on demand

.prompt.md turns repeated requests into reusable templates.

.github/prompts/create-component.prompt.md
---
mode: "agent"
description: "Create a new React component"
variables:
  - name: "componentName"
  - name: "type"   # page, layout, widget
---

Create a React component called {{componentName}}.
Type: {{type}}

Steps:
1. Create the file in src/components/
2. Add the TypeScript props interface
3. Add a unit test in __tests__/
4. Export from the barrel index.ts
Agent mode

mode: "agent" lets GitHub Copilot execute actions, create files, run tests. mode: "edit" only suggests changes.

Variables

Double braces mark dynamic parameters. GitHub Copilot prompts for the values before executing.

Lifecycle

Ephemeral by design. A prompt file runs once per invocation and does not persist in context.

The map in one view

Six file types, one composition model.

File
Scope
Activation
Purpose
Frontmatter
copilot-instructions.md
Entire repo
Automatic
Global conventions
none
AGENTS.md
Repo inteiro, multi-agente
Automática
Padrão aberto entre ferramentas
nenhum
.instructions.md
Glob pattern
On glob match
Rules per area
applyTo
*.agent.md
Active agent
When invoked
Persona and tools
description, tools
SKILL.md
Glob or always
Glob or alwaysApply
Complete domain
name, globs, alwaysApply
.prompt.md
Invocation
On demand
Template with variables
mode, variables
.mcp.json
Project
Automatic
External tool connections
JSON, no frontmatter

Validate names and frontmatter against the official GitHub Copilot customization documentation. Conventions evolve fast.

O mapa em movimento · AGENTS.md

AGENTS.md: um arquivo, todos os agentes. Agora padrão aberto.

AGENTS.md na raiz do repo, sempre ativo AAIF · LINUX FOUNDATION · DEZ 2025 GitHub Copilot Claude Code Cursor · Windsurf goose · Gemini CLI REGRA DE OURO O que vale para qualquer agente, no AGENTS.md. O que é do GitHub Copilot, no copilot-instructions.md. Sem duplicar.

Doado pela OpenAI à Agentic AI Foundation (Linux Foundation) em dez 2025, junto com MCP e goose. O VS Code lê AGENTS.md como instrução sempre ativa lado a lado com o copilot-instructions.md: um é o padrão aberto multi-ferramenta, o outro é o canal específico do GitHub Copilot.

O mapa em movimento · MCP

mcp.json conecta os agentes ao mundo. E virou infraestrutura neutra.

GitHub Copilot agente no VS Code mcp.json servers declarados GitHub API Postgres Playwright
97M downloads SDK / mês 10.000+ servers publicados spec 2025-11-25
.VSCODE/MCP.JSON
// servers que o agente pode usar
{
  "servers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/"
    },
    "postgres": {
      "command": "npx",
      "args": ["-y", "@mcp/postgres"]
    }
  }
}

Model Context Protocol: spec 2025-11-25 (async tasks, extensões, elicitation) e governança na Agentic AI Foundation desde dez 2025. Para a hierarquia, a regra é a mesma das outras camadas: declare no repo, versione em Git, e o time inteiro herda as mesmas conexões.

O mapa em movimento · Últimos 6 meses

O que mudou desde dezembro. Valide antes de padronizar.

NOV 2025 MCP spec 2025-11-25: async tasks, extensões DEZ 2025 Skills no VS Code 1.108 · AGENTS.md e MCP vão à AAIF Q1 2026 Chat modes viram custom agents: .chatmode.md renomeia para .agent.md HOJE Skills como padrão aberto portável: VS Code, GitHub Copilot CLI, coding agent

A lição operacional: nomes de arquivo e frontmatter mudam em ciclos de meses. Trate a doc oficial de customização como fonte de verdade, agende uma revisão trimestral da stack, e renomeie .chatmode.md para .agent.md no próximo ciclo.

PART
III

Resolution.

The seven-step algorithm GitHub Copilot runs to assemble context, and the precedence rules that resolve conflicts.

The resolution order

Seven steps, each one ADDS to the accumulated context.

01
copilot-instructions.md

Load the global repository context first, in every session.

02
files in context

Identify which files are part of the current conversation.

03
*.instructions.md

Apply every instruction file whose glob matches those files.

04
*.agent.md

Load the definition of the active agent, when one is invoked.

05
SKILL.md

Activate skills by glob match or alwaysApply: true.

06
*.prompt.md

Expand the prompt template with its variables, when invoked.

07
.mcp.json

Aggregate the available MCP connections into the final context.

A resolução · Quatro pegadinhas

Quatro comportamentos que ninguém espera, e todo time descobre tarde.

Code review · branch base
O review lê as instruções da branch base, não da sua

No pull request, o agente de code review usa o copilot-instructions.md da base. Regras novas na feature branch só valem depois do merge. É proposital: a branch não reescreve as próprias regras de revisão.

Completions · fora do sistema
O ghost text não lê nada disso

As sugestões inline enquanto você digita são um sistema separado: não leem copilot-instructions.md nem instructions files. A hierarquia governa o chat e os agentes, não o autocomplete.

Stacking · sem vencedor
Instructions empilham, não competem

Todo instructions file cujo glob bate entra junto, em união. Não existe override nem precedência entre eles. Se duas regras conflitam, as duas chegam ao modelo. Resolver conflito é trabalho seu, não do GitHub Copilot.

excludeAgent · alvo fino
Dá para tirar um agente de uma regra

O frontmatter excludeAgent opta um agente para fora de um instructions file: a regra de segurança que é perfeita no code review e verbosa demais no chat fica só onde ajuda.

Comportamentos documentados na doc oficial de customização do VS Code e do GitHub Copilot. Vale colar este slide no canal do time: cada item aqui já custou uma tarde de debugging em algum lugar.

Precedence rules

There is no destructive override. Composition is always additive.

Specificity wins

More specific rules complement the generic ones and prevail in practice when both touch the same point.

.instructions.md > copilot-instructions.md
Additive, not substitutive

Layers accumulate, they never replace each other. The final context carries all of them.

folder rule + global rule = both
The agent isolates scope

An active agent narrows the context to its own domain, tools, and identity.

security agent focuses on vulnerabilities
The prompt is ephemeral

Prompt files run on demand and do not persist. One invocation, one expansion.

template runs once per invocation
Test applyTo live
copilot-instructions.md api.instructions.md src/api/** frontend.instructions.md **/*.tsx docs.instructions.md **/*.md
A resolução · Monte a sua stack interativo

Ligue e desligue camadas. Veja o que o agente recebe.

Cenário: editar src/api/payments.ts e pedir um endpoint novo
Contexto montado nesta request
2.750
tokens de configuração, antes do seu prompt
Leitura
Stack saudável: global + escopo + domínio.

Estimativas típicas por camada, para formar intuição de ordem de grandeza. O ponto: configuração também é contexto pago por request. Curadoria vale dinheiro.

O ROI de contexto

Sem hierarquia, o time paga o mesmo contexto mil vezes por dia.

800 tok
Colados à mão a cada chat: stack, convenções, padrões do repo
40/dia
Chats por dev por dia, em times que rodam agentes a sério
0M
Tokens por mês desperdiçados por um time de 20, sem hierarquia

A conta: 800 tokens de contexto repetido, vezes 40 chats, vezes 20 devs, vezes 20 dias úteis. A hierarquia transforma esses 32 milhões de tokens repetidos em arquivos versionados, carregados uma vez, herdados por todos.

O ROI de contexto · Antes e depois

A hierarquia não economiza só tokens. Economiza o trabalho de lembrar.

Sem hierarquia
  • Cada dev cola stack e convenções no prompt, toda vez.
  • O contexto morre quando o chat fecha. Zero a cada sessão.
  • Dois devs explicam a mesma coisa de dois jeitos diferentes.
Com hierarquia
  • O contexto vive no Git. Escrito uma vez, herdado por todos.
  • Carga seletiva: o agente paga só pela camada que a tarefa aciona.
  • Uma fonte de verdade. Muda no arquivo, muda para o time inteiro.

O ganho real não é o token, é a consistência. Quando o conhecimento mora no repo, o agente fica bom no primeiro dia de um dev novo, não no terceiro mês.

O ROI de contexto · Cinco alavancas

Cada mecanismo da plataforma corta tokens de um jeito diferente.

SKILL.md
Carga progressiva em três estágios: só o índice fica no contexto até a tarefa bater.
40 tok vs 1.200
*.instructions.md
applyTo com glob: a regra de API só entra quando você edita um arquivo de API.
paga por escopo
*.agent.md
O agente estreita o contexto ao próprio domínio e a uma allowlist enxuta de tools.
contexto focado
GitHub Copilot Spaces
Curadoria: anexa os arquivos que importam em vez do repo inteiro. Busca, não despeja.
grounding curado
GitHub GitHub Copilot Memory
Aprende o repo sozinho e dispensa re-explicação: menos prompt, menos manutenção de instructions.
zero re-prompt

Cinco alavancas, um princípio: o contexto certo, no momento certo, pago uma vez. Curadoria não é estética, é a linha de FinOps que ninguém olha.

Composition in action

One project, every layer in its place.

my-ecommerce · tree .github
my-ecommerce/ ├── .github/ │ ├── copilot-instructions.md # global: stack + conventions │ ├── instructions/ │ │ ├── react.instructions.md # scope: src/components/** │ │ └── api.instructions.md # scope: src/app/api/** │ ├── agents/ │ │ ├── security.agent.md # persona: security review │ │ └── db-expert.agent.md # persona: database expert │ ├── skills/ │ │ ├── api-design/SKILL.md # domain: REST patterns │ │ └── testing/SKILL.md # domain: test standards │ └── prompts/ │ └── fix-bug.prompt.md # template: debug + fix ├── .vscode/ │ └── mcp.json # external connections └── src/ ├── components/ # matched by react rules └── app/api/ # matched by api rules
One purpose per file

Each file answers one question. No 500-line catch-all document.

Automatic composition

GitHub Copilot assembles the right context for each file you edit. No manual wiring.

Versioned with the code

The whole stack lives in git. Config changes go through pull requests like any other code.

A resolução · Árvore de decisão

Qual arquivo criar? Quatro perguntas resolvem.

Tenho um conhecimento novo Vale em toda request, para qualquer arquivo? sim copilot-instructions.md + AGENTS.md se for multi-agente não Depende de qual arquivo está aberto? sim *.instructions.md applyTo com glob da área não Precisa de persona e allowlist de ferramentas? sim *.agent.md com handoffs se for pipeline workflow com recursos? SKILL.md scripts e templates juntos template sob demanda? *.prompt.md vira slash command no chat

Regra de bolso: comece sempre pelo nível mais alto que ainda é verdadeiro. Conhecimento que vale para tudo sobe; conhecimento que vale para um caso desce. Duplicação entre níveis é o cheiro de que a pergunta errada foi respondida.

The hierarchy at work

One request, three layers applied, zero manual setup.

GitHub Copilot Chat
dev create a new API endpoint at /api/products
copilot-instructions.md · Next.js 14, TypeScript, Prisma
api.instructions.md · Zod validation, proper status codes
api-design/SKILL.md · REST patterns, cursor pagination
copilot creating src/app/api/products/route.ts
import { z } from "zod"; const schema = z.object({ name: z.string().min(1), price: z.number().positive(), });
3 config layers applied · all automatic
Global layer

The stack and conventions came from copilot-instructions.md without anyone pasting them.

Scoped layer

The API rules activated because the target path matched the applyTo glob.

Domain layer

The REST design skill brought workflows and checklists, not just rules.

PART
IV

In practice.

Three enterprise scenarios, the measured impact, and the do or do not list that keeps the stack healthy.

Three teams, three configurations

The same five layers solve three very different problems.

Tech Lead · fintech startup

Ana standardizes 8 devs

Global instructions define the stack, three scoped instruction files cover components, API and tests, a security agent scans every PR, and a compliance skill encodes the financial domain.

-40%
manual code reviews
Staff Engineer · e-commerce enterprise

Carlos breaks the monolith

One global architecture file, separate scoped instructions per service (cart, payments, inventory), a migration-expert agent for the legacy code, and shared skills for event sourcing and CQRS.

18 → 10
months of migration
Platform Engineer · multinational

Maria scales to 50+ repos

An organizational template every repo inherits, teams add their own scoped rules without conflicts, shared skills ship from a central repository, and standardized prompts cover common operations.

2w → 2d
new dev onboarding

Figures observed in enterprise adoptions of this pattern. Treat them as direction, and validate against your own baseline.

Na prática · Anti-padrões

Quatro anti-padrões que você vai encontrar antes de qualquer boa prática.

Anti-padrão 01
O arquivo de 3.000 linhas

Todo o conhecimento do time despejado no copilot-instructions.md. Paga o custo em toda request, enterra o crítico no meio do irrelevante, e ninguém revisa. Quebre em camadas: o slide da árvore de decisão é o mapa.

Anti-padrão 02
Gerado e nunca curado

O /init gera um bom rascunho, mas rascunho gerado documenta o óbvio e omite o tácito. Sem um dono que corta o redundante a cada trimestre, o arquivo vira ruído pago por request.

Anti-padrão 03
A mesma regra em três camadas

"Use TypeScript strict" no global, no instructions de API e na skill. Como tudo empilha em união, a regra chega três vezes, e quando o time muda de opinião, alguém esquece uma cópia. Cada regra mora em exatamente um nível.

Anti-padrão 04
Segredo e ambiente no lugar errado

Token de API no instructions file, URL de produção no prompt file. Esses arquivos vão para o Git e para o contexto do modelo. Segredo fica em vault; configuração de ambiente fica em mcp.json com inputs, nunca hardcoded.

Os quatro saem de revisões de stack reais. O padrão comum: tratar configuração de agente como documentação, quando ela é código, com custo por execução, dono e ciclo de revisão.

Do and do not

Three habits separate healthy stacks from noisy ones.

Do not

Put everything in copilot-instructions.md. A 500-line file becomes noise and the model loses focus.

Do

Split into layers: global, scoped, agents, skills. Each file short, focused, and easy to review.

Do not

Write contradictory rules between layers, like global saying CSS Modules and a scoped file saying Tailwind.

Do

Make layers complement each other. If global defines Tailwind, the scoped file adds specific Tailwind rules.

Do not

Dump complex domain knowledge into flat instructions with no structure, no workflow, no checklist.

Do

Use SKILL.md for complex domains: rules plus workflows plus templates plus checklists. Structure ensures completeness.

Why it is worth the effort

Configuration automates what code review used to catch.

0%
Manual code reviews

Config automates patterns that used to rely on human review.

0%
Onboarding time

New devs produce consistent code from day one, guided by config.

0%
Code consistency

Uniform patterns across every repo and team in the organization.

0%
Pattern bugs

Automatic rules prevent common mistakes before the commit.

Ranges observed across enterprise adoptions. Your baseline defines your numbers: measure before and after.

PARTE
V

The memory layer.

Os arquivos são o que você escreve. A memória é o que o GitHub Copilot aprende sozinho, e lembra entre sessões.

Camada de memória · O que é

Stateless force a repetir. GitHub GitHub Copilot Memory lembra entre sessões.

Tipo 01 · Fatos do repositório

O que o GitHub Copilot descobre do código

Convenções, decisões de arquitetura, comandos de build, dependências entre arquivos. Criados por quem tem write access, disponíveis a todo o time, presos àquele repo.

Tipo 02 · Preferências do usuário

Como você gosta de trabalhar

Estilo de comunicação, stack preferida, convenções de commit. Seguem você entre repositórios, sem afetar os outros. Em Business e Enterprise, sob governança do admin.

Public preview, jan 2026, ativada por padrão em Pro e Pro+ desde março. Disponível em coding agent, code review e CLI. O que um agente aprende, outro usa.

Camada de memória · Cross-agent

O que o code review aprende, o coding agent aplica. Sem você repetir.

copilot-memory.log
[code-review] aprendeu: ISafeAreaView e ISafeAreaView2 andam juntos
fato salvo, citado na linha 142, validado contra a branch
[coding-agent] 3 dias depois, em outra PR, atualiza os dois juntos
sem ninguém re-explicar a regra
[copilot-cli] no terminal, aplica a convenção de commits do time
3 superfícies, 1 memória compartilhada, validada antes de cada uso
Validado antes do uso

Cada fato carrega citações. O GitHub Copilot confere contra a branch atual antes de aplicar. Stale nunca entra.

Expira em 28 dias

Fato não usado some sozinho. O timer reseta a cada uso validado. Nada de lixo acumulado.

Escopo por repo

Fato de um repo nunca vaza para outro. Privacidade e segurança por desenho.

Camada de memória · Memória ou arquivo?

Memória é emergente. Arquivo é deliberado. Você precisa dos dois.

GitHub GitHub Copilot Memory
Arquivos da hierarquia
Origem
O agente descobre sozinho enquanto trabalha
Você escreve e versiona no Git
Persistência
Expira em 28 dias se não for usada
Permanente até alguém editar
Revisão
Não passa por pull request
Revisada em PR, auditável no histórico
Melhor para
Padrões que emergem do uso real
Regras que você quer garantir, sempre

A regra de bolso: deixe a memória descobrir, depois gradue o que se repete para um arquivo. Se o GitHub Copilot reaprende a mesma coisa toda semana, isso é sinal de que falta uma instruction.

Camada de memória · Graduação

O ciclo virtuoso: a memória descobre, o arquivo perpetua.

Memória aprende
O agente nota um padrão no uso real e salva como fato.
Repete demais
A mesma lição reaparece toda semana. Sinal claro.
Vira arquivo
Você promove para copilot-instructions.md ou ARCHITECTURE.md.
Gradue quando

"Sempre cheque ISafeAreaView e ISafeAreaView2 juntos" reaparece toda semana, vira instruction.

Por que importa

Sem graduação, o aprendizado valioso expira em 28 dias. Com graduação, o repo acumula conhecimento permanente.

Memória e arquivo não competem, se completam. A memória é o rascunho que o agente escreve sozinho. O arquivo é a versão que você decide tornar lei.

Closing

Configuration is code for your agents.

Building the future of software development with AI and Agentic DevOps.

Contact
Paula Silva
Software Global Black Belt
paulasilva@microsoft.com
Next step
Config stack review
One repository, one week, five layers in place
Published 2026-06-10
terminal · start here Monday
# 1. Create the structure
$ mkdir -p .github/instructions \
    .github/agents .github/skills .github/prompts

# 2. Start with the global brain
$ touch .github/copilot-instructions.md
  stack, conventions, key commands. Short.

# 3. Add one scoped rule where pain lives
$ touch .github/instructions/api.instructions.md
  applyTo glob + the rules for that area only
Use para navegar · O overview · N notas
1 / 20