Skip to main content
Version: 0.11.1

XP-001: Platform-Specific Feature in Generic Config

Summary

  • Rule ID: XP-001
  • Severity: HIGH
  • Category: Cross-Platform
  • Normative Level: MUST
  • 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

# Project Guidelines

---
context: fork
agent: reviewer
allowed-tools: Read Write
---

- type: PreToolExecution
command: echo "lint"

Valid

# Project Guidelines

Follow the coding style guide.

## Commands
- npm run build
- npm run test