Skip to content

Commit 04c8818

Browse files
DanWahlinCopilot
andauthored
docs: update course for Copilot CLI v1.0.22-v1.0.28 features
- Ch01: update 'steer' to 'remote control' to match renamed terminology (v1.0.26) - Ch02: add tip about /add-dir accepting relative paths like ./src (v1.0.25) - Ch04: add 'skills' field to agent frontmatter reference table (v1.0.22) - Ch04: add explainer showing how agents and skills combine via skills field Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ffc668a commit 04c8818

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

01-setup-and-first-steps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Start a remote session with the `--remote` flag:
569569
copilot --remote
570570
```
571571

572-
Copilot CLI will display a link and provide access to a QR code. Open the link on your phone or in a desktop browser tab to watch the session in real time, send follow-up prompts, review plans, and steer the agent remotely. Sessions are user-specific so you can only access your own Copilot CLI sessions.
572+
Copilot CLI will display a link and provide access to a QR code. Open the link on your phone or in a desktop browser tab to watch the session in real time, send follow-up prompts, review plans, and remotely control the agent. Sessions are user-specific so you can only access your own Copilot CLI sessions.
573573

574574
You can also enable remote access from inside an active session at any time:
575575

02-context-conversations/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,8 @@ copilot --add-dir /path/to/directory
843843
> /add-dir /path/to/directory
844844
```
845845
846+
> 💡 **Relative paths work too**: You can use relative paths like `./src` or `../sibling-folder` — the CLI resolves them to absolute paths automatically. This is handy when you're already in the right parent directory.
847+
846848
**Context fills up too quickly**:
847849
- Be more specific with file references
848850
- Use `/clear` between different topics

04-agents-custom-instructions/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ When reviewing code, always check for:
131131
- Hardcoded secrets
132132
```
133133
134-
> 💡 **Required vs Optional**: The `description` field is required. Other fields like `name`, `tools`, and `model` are optional.
134+
> 💡 **Required vs Optional**: The `description` field is required. Other fields like `name`, `tools`, `skills`, and `model` are optional.
135135
136136
## Where to put agent files
137137
@@ -508,6 +508,7 @@ You are a Python specialist focused on code quality and best practices.
508508
| `description` | **Yes** | What the agent does - helps Copilot understand when to suggest it |
509509
| `tools` | No | List of allowed tools (omit = all tools available). See tool aliases below. |
510510
| `target` | No | Limit to `vscode` or `github-copilot` only |
511+
| `skills` | No | List of skill names to load into agent context automatically at startup |
511512

512513
### Tool Aliases
513514

@@ -522,6 +523,8 @@ Use these names in the `tools` list:
522523
>
523524
> ⚠️ **VS Code Only**: The `model` property (for selecting AI models) works in VS Code but is not supported in GitHub Copilot CLI. You can safely include it for cross-platform agent files. GitHub Copilot CLI will ignore it.
524525

526+
> 💡 **Combining agents and skills**: The `skills` field lets an agent pre-load specific skills into its context at startup. For example, if your agent always needs the `code-checklist` skill, add `skills: [code-checklist]` to its frontmatter so it's automatically available without needing to invoke it separately. You'll learn more about creating skills in [Chapter 05](../05-skills/README.md).
527+
525528
### More Agent Templates
526529

527530
> 💡 **Note for beginners**: The examples below are templates. **Replace the specific technologies with whatever your project uses.** The important thing is the *structure* of the agent, not the specific technologies mentioned.

0 commit comments

Comments
 (0)