Skip to content

Commit a16b114

Browse files
Apply suggestions from code review
Co-authored-by: Christopher Harrison <[email protected]>
1 parent e4219db commit a16b114

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/1-hour/3-copilot-instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Whenever you make a call to Copilot chat, the references dialog indicates all fi
9898
9999
## Make the instructions even better
100100
101-
While we intentionally created a simple Copilot instructions file to illustrate how powerful they are even with minimal content, you can leverage Copilot itself to either generate comprehensive instructions or improve existing ones.
101+
While we intentionally included a starter Copilot instructions file to illustrate how powerful they are, even with minimal content, you can leverage Copilot itself to either generate comprehensive instructions or improve existing ones.
102102
103103
### Using Copilot to generate instructions
104104
@@ -115,8 +115,8 @@ While we intentionally created a simple Copilot instructions file to illustrate
115115
116116
While `copilot-instructions.md` is included in every Copilot Chat interaction, you can also add more specialized instructions in the `.github/instructions` folder. These files can be:
117117
118-
- **Automatically applied** based on file patterns (using the `applyTo` frontmatter property)
119-
- **Included on demand** in the context
118+
- **Automatically applied** based on file patterns (using the `applyTo` frontmatter property). For example, you can ensure all React files (*.tsx and *.jsx) have the same instructions.
119+
- **Included on demand** by adding context to the chat. This is useful for specific types of tasks, like creating a new API endpoint which might require tests and updates to a data abstraction layer.
120120
121121
For example, this repository includes:
122122

0 commit comments

Comments
 (0)