Files
awesome-copilot/skills/cli-mastery/references/module-8-configuration.md
Gregg Cochran febaf64d94 feat: add cli-mastery skill — interactive Copilot CLI training (#915)
* 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>
2026-03-09 15:49:23 +11:00

35 lines
1.3 KiB
Markdown

# Module 8: Configuration
## Key files
| File | Purpose |
|------|---------|
| `~/.copilot/config.json` | Main settings (model, theme, logging, experimental flags) |
| `~/.copilot/mcp-config.json` | MCP servers |
| `~/.copilot/lsp-config.json` | Language servers (user-level) |
| `.github/lsp.json` | Language servers (repo-level) |
| `~/.copilot/copilot-instructions.md` | Global custom instructions |
| `.github/copilot-instructions.md` | Repo-level custom instructions |
## Environment variables
| Variable | Purpose |
|----------|---------|
| `EDITOR` | Text editor for `Ctrl+G` (edit prompt in external editor) |
| `COPILOT_LOG_LEVEL` | Logging verbosity (error/warn/info/debug/trace) |
| `GH_TOKEN` / `GITHUB_TOKEN` | GitHub authentication token (checked in order) |
| `COPILOT_CUSTOM_INSTRUCTIONS_DIRS` | Additional directories for custom instructions |
## Permissions model
- Default: confirmation required for edits, creates, shell commands
- `/allow-all` or `--yolo`: skip all confirmations for the session
- `/reset-allowed-tools`: re-enable confirmations
- Directory allowlists, tool approval gates, MCP server trust
## Logging levels
error, warn, info, debug, trace (`COPILOT_LOG_LEVEL=debug copilot`)
Use debug/trace for: MCP connection issues, tool failures, unexpected behavior, bug reports