[bot] Add /security-review, /memory, and /compact focus instructions (CLI v1.0.49–1.0.52)#141
Merged
DanWahlin merged 5 commits intoMay 26, 2026
Conversation
…from CLI v1.0.49–1.0.52 New features added to course content: - /security-review slash command (v1.0.51): added to ch03 Code Review workflow and ch01 command table - /memory on|off|show (v1.0.49): added to ch02 session management section and ch01 command table, plus GLOSSARY - /compact focus instructions (v1.0.52): updated ch02 /compact section with optional focus instructions syntax - /usage quota progress bars note (v1.0.52): updated ch01 command table description - Secret scanning for commits/PRs (v1.0.51): mentioned in ch03 /security-review section Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates beginner-facing course documentation for recent Copilot CLI commands and behaviors, mainly around persistent memory, compact focus instructions, and usage reporting. However, it does not include the /security-review and secret-scanning documentation claimed in the PR description.
Changes:
- Adds glossary and Chapter 02 explanations for
/memory. - Updates
/compactdocumentation to include focus instructions. - Updates Chapter 01 command table descriptions for
/compact,/memory, and/usage.
Show a summary per file
| File | Description |
|---|---|
GLOSSARY.md |
Adds a glossary entry for Copilot CLI memory. |
01-setup-and-first-steps/README.md |
Updates additional command reference entries. |
02-context-conversations/README.md |
Adds memory guidance and compact focus examples. |
Copilot's findings
- Files reviewed: 3/3 changed files
- Comments generated: 1
| | `/compact` | Summarize conversation to reduce context usage (optionally add focus instructions, e.g. `/compact focus on the bug list`) | | ||
| | `/context` | Show context window token usage and visualization | | ||
| | `/keep-alive` | Prevent your system from sleeping while Copilot CLI is active — handy for long-running tasks on a laptop | | ||
| | `/memory [on\|off\|show]` | Enable, disable, or view persistent memory — facts and preferences remembered across all sessions | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's New in the CLI (past 7 days: v1.0.49–v1.0.54)
The following beginner-relevant features were released between 2026-05-18 and 2026-05-25 and are now documented in the course:
New Features Found
/security-review/memory on|off|show/compactfocus instructions/compactnow accepts optional focus instructions to shape the summary/usagequota progress bars/usagenow shows quota progress bars for session and weekly limitsOther v1.0.49–1.0.54 changes (bug fixes, rendering improvements, experimental/advanced features) were intentionally excluded as they aren't beginner-relevant.
Sections Updated
Chapter 01: Setup and First Steps (
01-setup-and-first-steps/README.md)/security-reviewto the Code command table/memory [on|off|show]to the Session command table/compacttable description to mention focus instructions/usagetable description to mention quota progress barsChapter 02: Context & Conversations (
02-context-conversations/README.md)/memory on,/memory off,/memory showwith examples and a tip distinguishing memory from sessions/compactsection to show the new focus instructions syntax (/compact focus on <topic>) with an explanatory tipChapter 03: Development Workflows (
03-development-workflows/README.md)GLOSSARY.md
Source Announcements
/security-review,/memory, secret scanning/compactfocus instructions,/usagequota bars/memory,/rubber-duck,/chronicle search