PE-005: Redundant Generic Instructions - Prompt Engineering
Summary
- Rule ID:
PE-005 - Severity:
MEDIUM - Category:
Prompt Engineering - Normative Level:
SHOULD - Auto-Fix:
Yes (unsafe) - Verified On:
2026-10-17
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://code.claude.com/docs/en/best-practices
- https://docs.devin.ai/desktop/cascade/memories
- https://code.visualstudio.com/docs/agents/guides/customize-copilot-guide
- https://docs.github.com/en/copilot/tutorials/customize-code-review
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
# Rules
Be helpful and accurate.
Write clean code.
Format all output as JSON.
Valid
# Rules
Format all output as JSON with 2-space indentation.
Always include error codes in responses.