AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cli-mastery

Interactive training for the GitHub Copilot CLI. Guided lessons, quizzes, scenario challenges, and a full reference covering slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Say "cliexpert" to start.

Original source
github
License
MIT
Pinned revision
5269f7ea2d6c3a9bfda5ed878b6726cf509121fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read github--cli-mastery at revision 5269f7ea2d6c3a9bfda5ed878b6726cf509121fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 11

references/module-7-advanced.md

Module 7: Advanced Techniques

  1. @ file mentions — Always give precise context, don't rely on the AI finding files

    • @src/auth.ts — single file
    • @src/components/ — directory listing
    • "Fix @src/auth.ts to match @tests/auth.test.ts" — multi-file context
  2. ! shell bypass — !git log --oneline -5 runs instantly, no AI overhead

  3. /research — Run a deep research investigation using GitHub search and web sources

  4. /resume + --continue — Session continuity across CLI launches

  5. /compact — Compress history when context gets large (auto at 95%)

    • Check with /context first
    • Best used at natural task boundaries
    • Warning signs: AI contradicting earlier statements, token usage >80%
  6. /context — Visualize what's eating your token budget

  7. 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.md
    • COPILOT_CUSTOM_INSTRUCTIONS_DIRS (additional directories via env var)
  8. Path-specific instructions:

    • .github/instructions/backend.instructions.md with applyTo: "src/api/**"
    • Different coding standards for different parts of the codebase
  9. LSP config — ~/.copilot/lsp-config.json or .github/lsp.json

  10. /review — Get code review without leaving terminal

  11. --allow-all / --yolo — Full trust mode (use responsibly!)

  12. Ctrl+T — Watch the AI think (learn its reasoning patterns)