Skip to content

[bot] docs(learning-hub): sync cli-for-beginners from upstream (2026-06-26)#2134

Closed
github-actions[bot] wants to merge 3 commits into
mainfrom
cli-for-beginners-sync-2026-06-26-cd0aca4cf770bd4e
Closed

[bot] docs(learning-hub): sync cli-for-beginners from upstream (2026-06-26)#2134
github-actions[bot] wants to merge 3 commits into
mainfrom
cli-for-beginners-sync-2026-06-26-cd0aca4cf770bd4e

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

What changed upstream

Three substantive docs additions were merged into github/copilot-cli-for-beginners since the last sync:

Commit Message
b041e0d docs: add scheduling commands, worktree, model aliases, and agent scope note
a009bf0 Remove worktree command description from README (immediate follow-up revert of worktree)

Other commits in the period were CI/tooling-only (Co-op Translator workflow, action version bumps, traffic data) with no course content changes.

Net content changes in upstream:

  • 01-setup-and-first-steps/README.md: Added /every and /after scheduling commands to the Session table (with /loop alias note); added "Auto model" tip and "Model family shortcuts" tip to the Switching Models section (v1.0.61+, v1.0.64-1)
  • 04-agents-custom-instructions/README.md: Added "Agent mode is session-scoped" callout after the "Switching agents" tip (v1.0.63)

What was updated locally

website/src/content/docs/learning-hub/cli-for-beginners/01-setup-and-first-steps.md

  • Added two new rows to the Session command table:
    • `/every <interval> <prompt>` — recurring scheduled prompt (with /loop alias)
    • `/after <time> <prompt>` — one-shot delayed prompt
  • Added two new callout tips to the Switching Models section:
    • "Not sure which model to pick?" — explains the Auto option
    • "Model family shortcuts" — explains opus/sonnet/haiku/gpt/gemini aliases
  • Bumped lastUpdated to 2026-06-26

website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md

  • Added "Agent mode is session-scoped" tip after "Switching agents" (explains that agent selection resets on /new, /clear, or new terminal)
  • Bumped lastUpdated to 2026-06-26

Source links


📝 The workflow that generated this PR is defined in a markdown file that can be edited directly on GitHub.com without recompilation.

Generated by CLI for Beginners Content Sync · 73.8 AIC · ⌖ 21.4 AIC · ⊞ 7K ·

Add scheduling commands (/every, /after), model family shortcuts tip,
and agent session-scope note from upstream commit b041e0d.

Changes mirrored from github/copilot-cli-for-beginners:
- Ch01: Add /every and /after to Session command table (v1.0.61+)
- Ch01: Add 'Auto' model tip and Model family shortcuts tip (v1.0.64-1)
- Ch04: Add agent mode session-scoped note (v1.0.63)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---

![Chapter 01: First Steps](/images/learning-hub/copilot-cli-for-beginners/01/chapter-header.png)
lastUpdated: 2026-06-26(/images/learning-hub/copilot-cli-for-beginners/01/chapter-header.png)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot undo this as i think it's wrong

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Done — reverted 01-setup-and-first-steps.md to its pre-commit state in commit revert: undo broken front matter. The lastUpdated date is back to 2026-06-19, and the closing --- + image line are restored correctly.

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Copilot AI requested a review from aaronpowell June 26, 2026 05:39
@github-actions github-actions Bot added the website-update PR touches website content or code label Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk label Jun 26, 2026
GitHub Advanced Security started work on behalf of aaronpowell June 26, 2026 05:40 View session
@github-actions

Copy link
Copy Markdown
Contributor Author

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

GitHub Advanced Security finished work on behalf of aaronpowell June 26, 2026 05:41
@aaronpowell aaronpowell marked this pull request as ready for review June 29, 2026 00:37
@aaronpowell aaronpowell requested a review from DanWahlin as a code owner June 29, 2026 00:37
Copilot AI review requested due to automatic review settings June 29, 2026 00:37
@github-actions

Copy link
Copy Markdown
Contributor Author

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@aaronpowell aaronpowell deleted the cli-for-beginners-sync-2026-06-26-cd0aca4cf770bd4e branch June 29, 2026 00:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR is intended to sync Learning Hub “Copilot CLI for Beginners” chapter content with upstream updates (new CLI scheduling/model tips and an agent session-scope note).

Changes:

  • Adds an “Agent mode is session-scoped” callout to Chapter 04.
  • Updates Chapter 04 lastUpdated date (but currently breaks the markdown front matter).
  • PR description claims Chapter 01 was also updated (new /every + /after rows and model alias/Auto tips), but those updates are not present in the current branch contents.
Show a summary per file
File Description
website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md Adds the session-scoped agent tip, but introduces a front matter formatting error that must be fixed.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Low

Comment on lines +6 to 8
lastUpdated: 2026-06-26(/images/learning-hub/copilot-cli-for-beginners/04/chapter-header.png)

> **What if you could hire a Python code reviewer, testing expert, and security reviewer... all in one tool?**

> 💡 **Switching agents**: You can switch to a different agent at any time by using `/agent` or `--agent` again. To return to the standard Copilot CLI experience, use `/agent` and select **no agent**.

> 💡 **Agent mode is session-scoped**: The agent you select applies only to the current session. When you start a new session with `/new`, `/clear`, or by opening a fresh terminal, Copilot returns to its default mode — your agent selection does not carry over automatically. This means each session starts with a clean slate, which is a good habit to keep your work focused.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-update cli-for-beginners learning-hub needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk website-update PR touches website content or code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants