[docs] Update documentation for comma-separated applyTo glob behavior from 2026-05-22#1448
Open
danielmeppiel wants to merge 1 commit into
Open
Conversation
Document that Claude, Cursor, and Windsurf targets expand comma-separated applyTo values into proper YAML lists during compilation. Add an example showing multi-glob syntax. Clarify that brace alternations are not split. Follows fix in #1387 (fix(integration): respect comma-separated applyTo globs in Claude/Cursor/Windsurf). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the authoring documentation for instruction applyTo to reflect the recently merged behavior where comma-separated globs are expanded into YAML lists for the claude/cursor/windsurf targets, while the copilot target preserves the raw applyTo string.
Changes:
- Documented comma-separated
applyTomulti-glob behavior, including a concrete example. - Clarified that brace alternation patterns like
**/*.{css,scss}are treated as a single glob (not comma-split). - Updated the per-target compilation table to call out comma-expansion behavior explicitly.
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/producer/author-primitives/instructions-and-agents.md | Explains comma-separated applyTo semantics and how compilation differs across targets (copilot vs claude/cursor/windsurf). |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 1
Comment on lines
+67
to
+70
| Targets that use YAML lists (claude, cursor, windsurf) expand the | ||
| comma-separated value into a proper list automatically. Brace | ||
| alternations like `**/*.{css,scss}` are treated as a single glob and | ||
| are not split. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation Updates - 2026-05-22
This PR updates the documentation based on features merged in the last 24 hours.
Features Documented
applyToglob expansion into YAML lists for Claude/Cursor/Windsurf targets (from fix(integration): respect comma-separated applyTo globs in Claude/Cursor/Windsurf #1387)Changes Made
docs/src/content/docs/producer/author-primitives/instructions-and-agents.md:applyTomulti-glob example**/*.{css,scss}are treated as a single glob (not split)applyTovalue verbatim (no splitting)Merged PRs Referenced
Notes
PR #1446 is a Windows-only internal cache bug fix that requires no documentation changes.
PR #1387 is user-facing: it fixes
applyTomulti-glob handling for three targets and the behavior is now correctly reflected in the docs.Note
🔒 Integrity filter blocked 4 items
The following items were blocked because they don't meet the GitHub integrity level.
search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: