# Regal

Keep Rego policies readable and consistent

Lint policy modules for bugs and unclear rule structure. Configure the supported Rego version and verify rule behavior with the project's policy tests.

Category: Code quality
Languages: Rego

## Standard evidence

Rubric v1 · 3/8 verified · 5 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The avoid-get-and-list-prefix convention flags redundant prefixes in Rego rule names; the upstream rule shows preferred forms. Reviewed 2026-11-28. [Source](https://www.openpolicyagent.org/projects/regal/rules/style/avoid-get-and-list-prefix)
- **Measurement** (verified) — regal lint reports violations in formats including JSON and SARIF. Reviewed 2026-11-28. [Source](https://www.openpolicyagent.org/projects/regal/cli)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (verified) — CodeRabbit applies Regal to .rego files under repository .regal/config.yaml or profile defaults. Reviewed 2026-11-28. [Source](https://docs.coderabbit.ai/tools/regal)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use Regal in this repository to meet this standard: Keep Rego policies readable and consistent. Lint policy modules for bugs and unclear rule structure. Configure the supported Rego version and verify rule behavior with the project's policy tests. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
regal lint .
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://www.openpolicyagent.org/projects/regal)
- [Agent skill](/skills/regal/SKILL.md)
