Subchapter 73.8
references/module-7-advanced.mdMarkdown2 KBView on GitHub
@ file mentions — Always give precise context, don’t rely on the AI finding files
@src/auth.ts — single file@src/components/ — directory listing! shell bypass — !git log --oneline -5 runs instantly, no AI overhead
/research — Run a deep research investigation using GitHub search and web sources
/resume + --continue — Session continuity across CLI launches
/compact — Compress history when context gets large (auto at 95%)
/context first/context — Visualize what’s eating your token budget
Custom instructions precedence (highest to lowest):
CLAUDE.md / GEMINI.md / AGENTS.md (git root + cwd).github/instructions/**/*.instructions.md (path-specific!).github/copilot-instructions.md~/.copilot/copilot-instructions.mdCOPILOT_CUSTOM_INSTRUCTIONS_DIRS (additional directories via env var)Path-specific instructions:
.github/instructions/backend.instructions.md with applyTo: "src/api/**"LSP config — ~/.copilot/lsp-config.json or .github/lsp.json
/review — Get code review without leaving terminal
--allow-all / --yolo — Full trust mode (use responsibly!)
Ctrl+T — Watch the AI think (learn its reasoning patterns)