Skip to content

Commit 2520565

Browse files
docs(learning-hub): update CLI session commands and personal skills path (#1165)
- Add /cd command documentation (per-session working directory, v1.0.11) - Add --effort shorthand flag for --reasoning-effort (v1.0.10) - Fix outdated personal skills directory path: ~/.copilot/skills/ -> ~/.agents/skills/ (v1.0.11) - Update lastUpdated dates Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 994e443 commit 2520565

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

website/src/content/docs/learning-hub/copilot-configuration-basics.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Copilot Configuration Basics'
33
description: 'Learn how to configure GitHub Copilot at user, workspace, and repository levels to optimize your AI-assisted development experience.'
44
authors:
55
- GitHub Copilot Learning Hub Team
6-
lastUpdated: 2026-03-24
6+
lastUpdated: 2026-03-25
77
estimatedReadingTime: '10 minutes'
88
tags:
99
- configuration
@@ -413,6 +413,22 @@ The `/undo` command reverts the last turn—including any file changes the agent
413413

414414
Use `/undo` when the agent's last response went in an unwanted direction and you want to try a different approach from that point.
415415

416+
The `/cd` command changes the working directory for the current session. Each session maintains its own working directory that persists when you switch between sessions:
417+
418+
```
419+
/cd ~/projects/my-other-repo
420+
```
421+
422+
This is useful when you have multiple backgrounded sessions each focused on a different project directory.
423+
424+
The `--effort` flag (shorthand for `--reasoning-effort`) controls how much computational reasoning the model applies to a request:
425+
426+
```bash
427+
gh copilot --effort high "Refactor the authentication module"
428+
```
429+
430+
Accepted values are `low`, `medium`, and `high`. You can also set a default via the `effortLevel` config setting.
431+
416432
## Common Questions
417433

418434
**Q: How do I disable Copilot for specific files?**

website/src/content/docs/learning-hub/using-copilot-coding-agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Using the Copilot Coding Agent'
33
description: 'Learn how to use GitHub Copilot coding agent to autonomously work on issues, generate pull requests, and automate development tasks.'
44
authors:
55
- GitHub Copilot Learning Hub Team
6-
lastUpdated: 2026-02-26
6+
lastUpdated: 2026-03-25
77
estimatedReadingTime: '12 minutes'
88
tags:
99
- coding-agent
@@ -267,7 +267,7 @@ Skills are stored in a `skills/` subdirectory, with each skill in its own folder
267267

268268
**Personal skills** (shared across all your projects):
269269
```
270-
~/.copilot/
270+
~/.agents/
271271
└── skills/
272272
└── code-review-checklist/
273273
└── SKILL.md

0 commit comments

Comments
 (0)