COP-001: Empty Copilot Instruction File - GitHub Copilot
Summary
- Rule ID:
COP-001 - Severity:
HIGH - Category:
GitHub Copilot - Normative Level:
MUST - Auto-Fix:
No - 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
A file that contains only whitespace.
Valid
# Copilot Instructions
Follow the project coding standards and use TypeScript strict mode.