generate-policy

Generate Conforma policy sets for container image validation with OPA tests.

3|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/conforma/claude-skills --skill generate-policy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-policy
Source: https://github.com/conforma/claude-skills/tree/main/.claude/skills/generate-policy
Command: npx skills add https://github.com/conforma/claude-skills --skill generate-policy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a complete Conforma validation setup for container images without requiring knowledge of Rego, SBOM formats, or policy scaffolding.

Core Features & Use Cases

  • Auto-generates policy rules, tests, policy.yaml, data files, and a ready-to-run command for validating container images.
  • Guides users through creating production-ready Conforma configurations for SBOM and registry validations, licenses, and more.
  • Enables end-to-end policy generation with verification steps to ensure tests pass.

Quick Start

Describe your policy goals and the tool will generate a complete Conforma policy set ready for testing.

Frequently Asked Questions about generate-policy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-generate Conforma validation policies for container images?▼

Auto-generating Conforma validation policies requires describing your policy goals, which produces a complete policy set directory containing rules, tests, policy.yaml, and data files ready for container image validation.

What is Conforma policy generation and how does it work with OPA and Rego?▼

Conforma policy generation creates validation setups for container images by producing Rego rules and verifying tests with OPA, ensuring all generated policy rules pass validation before outputting a ready-to-run ec validate command.

Do I need to know Rego to create SBOM and registry validation policies?▼

You do not need prior knowledge of Rego, SBOM formats, or policy scaffolding to create validation policies, as the generation process guides you through creating production-ready configurations for SBOM and registry validations.

How do I set up a complete Conforma policy set for container image validation?▼

Setting up a complete Conforma policy set involves providing your validation requirements, which generates a canonical directory structure with policy rules, tests, and a ready-to-run command for validating container images.

Can I validate licenses and SBOM formats without manually writing policy.yaml?▼

Validating licenses and SBOM formats can be done without manually writing policy.yaml by prompting the tool with your requirements, which auto-generates the necessary data files and policy configurations.

What happens if missing inputs are provided during policy generation?▼

When missing inputs are detected during policy generation, the process automatically prompts you to supply the required information, ensuring the final output is a complete and verified Conforma validation setup.