require-existing-relative-instructions-links
Require relative Markdown links in path-specific Copilot instructions files to resolve to existing workspace targets.
Rule catalog ID: R032
Targeted pattern scopeâ
.github/instructions/**/*.instructions.md
What this rule reportsâ
- relative instructions links whose resolved workspace target does not exist
Why this rule existsâ
Path-specific instructions commonly link to package-specific conventions or local examples. Broken links weaken those instructions by pointing reviewers and coding agents at context that is no longer there.
â Incorrectâ
---
description: Frontend guidance
applyTo: src/**/*.ts
---
See [frontend standards](../../docs/frontend.md).
when ../../docs/frontend.md does not exist from the instructions file.
â Correctâ
---
description: Frontend guidance
applyTo: src/**/*.ts
---
See [frontend standards](../../docs/standards/frontend.md).