COP-025: Agent File Wrong Location - GitHub Copilot
Summary
- Rule ID:
COP-025 - Severity:
LOW - Category:
GitHub Copilot - Normative Level:
BEST_PRACTICE - 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/concepts/agents/copilot-cli/about-custom-agents
- https://code.visualstudio.com/docs/agent-customization/custom-agents
- https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference
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
prompts/reviewer.agent.md
Valid
.github/agents/reviewer.agent.md