[docs] Update documentation for features from 2026-05-01#1095
[docs] Update documentation for features from 2026-05-01#1095danielmeppiel wants to merge 1 commit intomainfrom
Conversation
… compile apm compile -t copilot now synthesizes .github/copilot-instructions.md from global (no applyTo) instructions in .apm/instructions/. Update: - Target auto-detection table - Output Files table and notes - Example Output section - Tool Compatibility table Closes reference to #1067. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the Starlight compilation guide to reflect the recently-merged change where apm compile -t copilot can emit .github/copilot-instructions.md from global (no-applyTo) instructions, aligning docs with current Copilot compilation behavior.
Changes:
- Update target auto-detection + output tables to include
.github/copilot-instructions.mdfor thecopilottarget. - Add a note explaining how global vs per-pattern instructions are routed for Copilot and how generated files are safely cleaned up.
- Update the example output tree and the tool compatibility table to mention the new file.
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/guides/compilation.md | Documents Copilot root instructions emission (.github/copilot-instructions.md) as part of apm compile output. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 2
| ├── AGENTS.md # Instructions only (for Copilot, Cursor, etc.) | ||
| └── CLAUDE.md # Instructions only (for Claude) | ||
| ├── AGENTS.md # Instructions (for Copilot, Cursor, etc.) | ||
| ├── CLAUDE.md # Instructions (for Claude) |
There was a problem hiding this comment.
The example is labeled as a copilot-target compile, but it shows CLAUDE.md being generated as well. CLAUDE.md is only produced when the target includes claude (or auto-detection resolves to all). Please either remove CLAUDE.md from this tree or change the caption to reflect a multi-target/all compile.
| ├── CLAUDE.md # Instructions (for Claude) |
| @@ -62,6 +62,8 @@ target: [claude, copilot] # multiple targets -- only these are compiled | |||
|
|
|||
| > **Aliases**: `vscode` and `agents` are accepted as aliases for `copilot`. | |||
|
|
|||
| > **Note**: For the `copilot` target, instructions without an `applyTo` pattern (global instructions) are also synthesized into `.github/copilot-instructions.md`. Instructions with `applyTo` patterns continue to flow into per-pattern `.github/instructions/*.instructions.md` files. The generated `.github/copilot-instructions.md` carries a build-id marker so `apm compile` can cleanly remove it when switching to a non-Copilot target -- manually-authored files at the same path are preserved. | |||
|
|
|||
There was a problem hiding this comment.
The tables/readme-style text imply .github/copilot-instructions.md is always generated for the copilot target, but the compiler only writes it when there is at least one global instruction (no applyTo); otherwise it will remove a previously-generated file. Consider annotating the table entry (and/or the note) with this condition so users don't expect the file to appear in projects that only use per-pattern instructions.
Documentation Updates - 2026-05-01
This PR updates the documentation based on features merged in the last 24 hours.
Features Documented
apm compile -t copilotnow emits.github/copilot-instructions.mdfrom global instructions (from fix(compile): emit and clean up copilot root instructions (#792) #1067)Changes Made
docs/src/content/docs/guides/compilation.md:copilotrow now shows bothAGENTS.mdand.github/copilot-instructions.mdcopilotentry to include.github/copilot-instructions.mdapplyTo) go to.github/copilot-instructions.md; per-pattern instructions continue to flow into.github/instructions/*.instructions.md; generated files carry a build-id marker for safe cleanupMerged PRs Referenced
Notes
The marketplace-authoring.md guide was already up to date with the new fields added in #1063 (
author,license,repository,keywords, pluginRoot subtraction, curator-wins override semantics). No changes were needed there.Note
🔒 Integrity filter blocked 13 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".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".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".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: