# Rudder CLI Validation Rules


Every spec you apply with the Rudder CLI is checked against the rules in this guide before it reaches your workspace.

Each rule includes <span class="vr-term vr-term--valid">valid</span> and <span class="vr-term vr-term--invalid">invalid</span> example specs and the diagnostics you see when validation fails.

{{< info >}}
**How to use this guide**

- Use the **Spec version** toggle to switch between `rudder/v1` and legacy `rudder/0.1` spec. 
- Filter by **phase** or search to narrow the list.
{{< /info >}}

{{< validation-rules-explorer >}}
