mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-12 12:15:12 +00:00
* feat: add cli-mastery skill — interactive Copilot CLI training Adds cli-mastery, an interactive training system for the GitHub Copilot CLI. 8 modules covering slash commands, keyboard shortcuts, modes, agents, skills, MCP, configuration, and advanced techniques. Includes scenario challenges, a final exam, XP/leveling system, and SQL-based progress tracking. Source: https://github.com/DUBSOpenHub/copilot-cli-mastery (MIT) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: address review feedback on frontmatter and consistency - Switch description from folded block scalar (>) to single-quoted string per AGENTS.md documented format - Fix Module 7 heading: backtick-wrap @ separately from 'file mentions' to avoid implying '@ file mentions' is a literal command - Fix Final Exam Q6: change '@ + filename' to '@filename' with example to match the @src/auth.ts syntax taught in modules - Fix Final Exam Q7: add GEMINI.md to match Module 7 precedence list Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: rename curriculum/ to references/ per agentskills.io spec Addresses review feedback from @aaronpowell on PR #915. The Agent Skills specification defines references/ as the standard directory for supplementary documentation that agents read on demand. - Renamed skills/cli-mastery/curriculum/ → references/ - Updated all path references in SKILL.md - Updated asset paths in docs/README.skills.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: DUBSOpenHub <DUBSOpenHub@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1.6 KiB
1.6 KiB
Module 7: Advanced Techniques
-
@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
-
! shell bypass—!git log --oneline -5runs 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%)- Check with
/contextfirst - Best used at natural task boundaries
- Warning signs: AI contradicting earlier statements, token usage >80%
- Check with
-
/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.mdwithapplyTo: "src/api/**"- Different coding standards for different parts of the codebase
-
LSP config —
~/.copilot/lsp-config.jsonor.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)