docs: update Learning Hub with CLI v1.0.15-v1.0.18 features

- automating-with-hooks.md: Add PermissionRequest and notification hook
  events to the event reference table; document permissionDecision 'allow'
  return value for preToolUse; add PermissionRequest and notification
  practical examples
- creating-effective-skills.md: Document built-in CLI skills (v1.0.17)
  that ship with the CLI without configuration
- using-copilot-coding-agent.md: Add Critic agent best-practice tip
  (v1.0.18, experimental mode for Claude models)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-04-06 19:43:39 +00:00
committed by GitHub
parent 5f3d66c380
commit 26145da67f
3 changed files with 57 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ title: 'Using the Copilot Coding Agent'
description: 'Learn how to use GitHub Copilot coding agent to autonomously work on issues, generate pull requests, and automate development tasks.'
authors:
- GitHub Copilot Learning Hub Team
lastUpdated: 2026-03-25
lastUpdated: 2026-04-06
estimatedReadingTime: '12 minutes'
tags:
- coding-agent
@@ -355,6 +355,7 @@ See [Automating with Hooks](../automating-with-hooks/) for configuration details
- **Create skills for repeatable tasks**: If your team frequently does a specific type of work (migrations, API endpoints, test suites), create a skill with step-by-step guidance the agent can follow automatically.
- **Use custom agents for specialized roles**: Create focused agent profiles for different types of work — a security reviewer, a test specialist, or an infrastructure expert.
- **Define hooks for formatting**: Hooks ensure the agent's code meets your style requirements automatically, reducing review friction.
- **Enable the Critic agent for higher-stakes work**: When using Claude models in experimental mode, the Critic agent automatically reviews plans and complex implementations using a complementary model to catch errors early — before they make it into a PR. This is especially useful for non-trivial tasks where a second set of eyes can prevent wasted review cycles.
### Choosing the Right Tasks