COP-004: Unknown Frontmatter Keys - GitHub Copilot
Summary
- Rule ID:
COP-004 - Severity:
MEDIUM - Category:
GitHub Copilot - Normative Level:
SHOULD - Auto-Fix:
Yes (safe) - Verified On:
2026-10-17
Applicability
- Tool:
github-copilot - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions/add-repository-instructions
- https://code.visualstudio.com/docs/agent-customization/custom-instructions
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
---
applyTo: "**/*.ts"
priority: high
---
# TypeScript
Valid
---
name: TypeScript
description: TypeScript conventions
applyTo: "**/*.ts"
---
# TypeScript