rtk-ai/rtk

[Feature Request] improve copilot-cli and VS Code installer updating global copilot-instructions.md files

Open

#1.994 aberto em 20 de mai. de 2026

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (2.914 forks)batch import
area:clienhancementhelp wantedpriority:low

Métricas do repositório

Stars
 (48.085 stars)
Métricas de merge de PR
 (Mesclagem média 11d 1h) (45 fundiu PRs em 30d)

Description

Windows OS (but I believe the same is valid for other OS too)

The "Codex" installer adds some directives to the .codex/AGENTS.md inside the User Profile folder to reference RTK.md file. This actually a cross-project setting.

The same can be done for Copilot and VS Code, they both use similar global instruction files that are always loaded if present (even this is not very well documented).

I've succesfully added those settings (actaully a copy-pase of RTK.md file): in the following paths:

VS Code

~/AppData/Roaming/Code/User/prompts/copilot-instructions.md ~/AppData/Roaming/Code - Insiders/User/prompts/copilot-instructions.md

copilot-cli

~/.copilot/copilot-instructions.md ~/.copilot/hooks/rtk-rewrite.json

This way there's no need to have RTK update the local .github settetings for copilot.

Guia do colaborador