PE-001: Lost in the Middle - Prompt Engineering
Summary
- Rule ID:
PE-001 - Severity:
MEDIUM - Category:
Prompt Engineering - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-02-04
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
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
## Guidelines
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
NEVER commit secrets to the repository.
Line 10
Line 11
Line 12
Line 13
Line 14
Line 15
Line 16
Line 17
Line 18
Line 19
Line 20
Valid
# Critical Rules
NEVER commit secrets to the repository.
Always run tests before pushing.
## Guidelines
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
Line 12
Line 13
Line 14
Line 15
Line 16
Line 17
Line 18