COP-013: Prompt File Empty Body - GitHub Copilot
Summary
- Rule ID:
COP-013 - Severity:
HIGH - Category:
GitHub Copilot - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-02-26
Applicability
- Tool:
github-copilot - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://code.visualstudio.com/docs/copilot/customization/prompt-files
- https://docs.github.com/en/copilot/reference/custom-instructions-support
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
---
description: Refactor selected code
---
Valid
---
description: Refactor selected code
---
Refactor the selected code while preserving behavior.