Skip to content

[bot] docs(ch01): document /yolo slash command (v1.0.20)#61

Merged
DanWahlin merged 3 commits intomainfrom
update/yolo-slash-command-docs-v1.0.20-2492ef3fa3b5b7e1
Apr 12, 2026
Merged

[bot] docs(ch01): document /yolo slash command (v1.0.20)#61
DanWahlin merged 3 commits intomainfrom
update/yolo-slash-command-docs-v1.0.20-2492ef3fa3b5b7e1

Conversation

@DanWahlin
Copy link
Copy Markdown
Collaborator

What's New

Copilot CLI v1.0.20 (released 2026-04-07) made /yolo and --yolo behave identically, and ensured /yolo state persists across /restart.

Previously, the course only documented --yolo (CLI flag) in the appendix automation section. The /yolo slash command for interactive sessions was undocumented.

What Was Updated

1. Chapter 01 — Slash Commands Reference (01-setup-and-first-steps/README.md)

Added /yolo as an entry in the Permissions table under Additional Commands:

  • Documents it as a quick alias for /allow-all on
  • Notes that state persists across /restart
  • Updated the caution note to mention both /allow-all and /yolo

2. Appendix — Additional Context (appendices/additional-context.md)

Added a /yolo example in the Inside a Session section showing beginners they can use it interactively without having to remember the longer /allow-all on form.

Changes Not Made (and Why)

Feature Reason Skipped
copilot mcp command Already documented — merged in PR #58
/mcp enable/disable persistence Already documented — merged in PR #58
Built-in skills Already documented in Chapter 05
copilot help monitoring (OpenTelemetry) Too advanced for beginners
Critic agent Experimental + requires Claude models — skip per course guidelines
Notification hooks, PermissionRequest hooks Advanced extensibility — not beginner-relevant

Source

Generated by Course Updater ·

Document /yolo as an interactive alias for /allow-all on, introduced
in Copilot CLI v1.0.20. Key behavior:
- /yolo and --yolo now behave identically
- /yolo state persists across /restart

Updates:
- Chapter 01 slash commands table: add /yolo entry under Permissions
- Appendix additional-context.md: add /yolo example in Inside a Session

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove note about state persistence across /restart.
Removed mention of state persistence for `/yolo` command.
@DanWahlin DanWahlin marked this pull request as ready for review April 12, 2026 03:31
Copilot AI review requested due to automatic review settings April 12, 2026 03:31
@DanWahlin DanWahlin merged commit bfa047c into main Apr 12, 2026
4 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the /yolo slash command in the beginner course docs, aligning the slash-command reference and session examples with Copilot CLI v1.0.20 behavior.

Changes:

  • Added /yolo to the Chapter 01 “Additional Commands → Permissions” table as an alias for enabling auto-approval of permission prompts.
  • Updated the Chapter 01 caution note to mention both /allow-all and /yolo.
  • Added an “Inside a Session” /yolo example to the additional context appendix.
Show a summary per file
File Description
01-setup-and-first-steps/README.md Adds /yolo to the slash command reference and updates the caution note.
appendices/additional-context.md Adds an interactive /yolo example alongside other in-session permission commands.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

|---------|--------------|
| `/add-dir <directory>` | Add a directory to allowed list |
| `/allow-all [on|off|show]` | Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status |
| `/yolo` | Quick alias for `/allow-all on` — auto-approves all permission prompts. |
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description says the /yolo documentation should note that its enabled state persists across /restart, but this isn’t mentioned anywhere in this chapter (there are no other /restart references). Consider adding that persistence note to the /yolo row (or nearby) to match the stated behavior in v1.0.20.

Copilot uses AI. Check for mistakes.
|---------|--------------|
| `/add-dir <directory>` | Add a directory to allowed list |
| `/allow-all [on|off|show]` | Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status |
| `/yolo` | Quick alias for `/allow-all on` — auto-approves all permission prompts. |
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This table’s descriptions generally don’t end with a period; the new /yolo row does. Consider dropping the trailing period to keep formatting consistent across the table.

Suggested change
| `/yolo` | Quick alias for `/allow-all on` — auto-approves all permission prompts. |
| `/yolo` | Quick alias for `/allow-all on` — auto-approves all permission prompts |

Copilot uses AI. Check for mistakes.
@DanWahlin DanWahlin deleted the update/yolo-slash-command-docs-v1.0.20-2492ef3fa3b5b7e1 branch April 12, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants