Skip to content

Commit b139530

Browse files
committed
Text updates in 07
1 parent de09986 commit b139530

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

07-putting-it-together/README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this chapter, you'll bring together everything you've learned into complete w
1010

1111
By the end of this chapter, you'll be able to:
1212

13-
- Combine agents, skills, and MCP in unified workflows
13+
- Combine agents, skills, and MCP (Model Context Protocol) in unified workflows
1414
- Build complete features using multi-tool approaches
1515
- Set up basic automation with hooks
1616
- Apply best practices for professional development
@@ -37,7 +37,7 @@ Individually, each section sounds limited. Together, conducted well, they create
3737

3838
## Idea to Merged PR in One Session
3939

40-
This is the culmination of everything you've learned. Traditional development of a feature like "list unread books" means switching between your editor, terminal, test runner, and GitHub UI, losing context each time you switch. Watch what happens when you combine all your tools in one terminal session:
40+
This is the culmination of everything you've learned. Instead of switching between your editor, terminal, test runner, and GitHub UI and losing context each time, you can combine all your tools in one terminal session. We'll break down this pattern in the [Integration Pattern](#the-integration-pattern-for-power-users) section below.
4141

4242
```bash
4343
# Start Copilot in interactive mode
@@ -80,7 +80,7 @@ copilot
8080
# TEST
8181
> Generate comprehensive tests for the new feature
8282
83-
# SHIP
83+
# SHIP (uses GitHub MCP from Chapter 06)
8484
> /review
8585
> Create a pull request titled "Feature: Add list unread books command"
8686
```
@@ -98,7 +98,7 @@ copilot
9898

9999
---
100100

101-
**Traditional approach**: Switching between editor, terminal, test runner, docs, and GitHub UI, losing context each time
101+
**Traditional approach**: Switching between editor, terminal, test runner, docs, and GitHub UI. Each switch causes context loss and friction.
102102

103103
**The key insight**: You directed specialists like an architect. They handled the details. You handled the vision.
104104

@@ -236,7 +236,7 @@ copilot
236236
>
237237
> ⚠️ **Performance note**: This hook calls `copilot -p` for each staged file, which takes several seconds per file. For large commits, consider limiting to critical files or running reviews manually with `/review` instead.
238238
239-
Set up automated code review on your commits:
239+
A **git hook** is a script that Git runs automatically at certain points, For example, right before a commit. You can use this to run automated checks on your code. Here's how to set up an automated Copilot review on your commits:
240240
241241
```bash
242242
@@ -278,6 +278,8 @@ EOF
278278
chmod +x .git/hooks/pre-commit
279279
```
280280
281+
> ⚠️ **macOS users**: The `timeout` command is not included by default on macOS. Install it with `brew install coreutils` or replace `timeout 60` with a simple invocation without a timeout guard.
282+
281283
> 📚 **Official Documentation**: [Use hooks](https://docs.github.com/copilot/how-tos/copilot-cli/use-hooks) and [Hooks configuration reference](https://docs.github.com/copilot/reference/hooks-configuration) for the complete hooks API.
282284
>
283285
> 💡 **Built-in alternative**: Copilot CLI also has a built-in hooks system (`copilot hooks`) that can run automatically on events like pre-commit. The manual git hook above gives you full control, while the built-in system is simpler to configure. See the docs above to decide which approach fits your workflow.
@@ -391,12 +393,12 @@ Always gather context before asking for analysis:
391393
# Good
392394
> Get the details of issue #42
393395
> /agent
394-
# Select backend
396+
# Select python-reviewer
395397
> Analyze this issue
396398
397399
# Less effective
398400
> /agent
399-
# Select backend
401+
# Select python-reviewer
400402
> Fix login bug
401403
# Agent doesn't have issue context
402404
```
@@ -406,7 +408,7 @@ Always gather context before asking for analysis:
406408
```bash
407409
# Agent analyzes
408410
> /agent
409-
# Select security
411+
# Select python-reviewer
410412
> Review this authentication code
411413
412414
# Skill executes (automatically triggered by your prompt)
@@ -522,7 +524,7 @@ Document your workflow as you go.
522524
523525
**Success criteria**: You've completed the feature from idea to commit using Copilot CLI, including planning, implementation, tests, documentation, and review.
524526
525-
> 💡 **Bonus**: If you have agents set up from Chapter 04, try using `/agent` to switch to your error-handler agent for implementation review and your doc-writer agent for the README update.
527+
> 💡 **Bonus**: If you have agents set up from Chapter 04, try creating and using custom agents. For example, an error-handler agent for implementation review and a doc-writer agent for the README update.
526528
527529
<details>
528530
<summary>💡 Hints (click to expand)</summary>

0 commit comments

Comments
 (0)