Commit 229c99b
docs(ch04): add applyTo frontmatter docs for instruction files
Document the applyTo frontmatter option in .instructions.md files,
which scopes an instruction file to specific file types using a glob
pattern. Include a worked example, a table of common patterns, and a
tip about quoting globs for cross-platform reliability.
This feature was made reliably available in Copilot CLI v1.0.48
(2026-05-14), which fixed parsing of unquoted glob patterns in the
applyTo field.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent eb7e358 commit 229c99b
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
449 | 475 | | |
450 | 476 | | |
451 | 477 | | |
| |||
0 commit comments