OpenParable
Skip to content
← Back to skills

Snapshot

Testing & Quality
snapshot

Snapshot is an Agent Skill for testing & quality published in the boostsecurityio/poutine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run snapshot regression tests after changes to OPA rules, scanners, analyzers, or formatters to detect output regressions.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/boostsecurityio/poutine/blob/HEAD/.claude/skills/snapshot/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/snapshot, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Run the snapshot regression tests to validate analysis output hasn't changed:

  1. Run snapshot tests: make snapshot
  2. If tests fail, examine the diff carefully:
    • If the change is expected (new rule, modified output format, updated OPA policy), update the snapshots: make update-snapshots
    • If the change is unexpected, investigate what caused the regression and fix the root cause
  3. After updating snapshots, re-run make snapshot to confirm they pass
  4. Report which snapshots changed and why

Note: Requires GH_TOKEN environment variable to be set.