epac-policy-objects

Generate Azure Policy definitions, initiatives, and assignments in EPAC JSON format.

3|1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/anwather/epac-skills --skill epac-policy-objects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epac-policy-objects
Source: https://github.com/anwather/epac-skills/tree/main/skills/epac-policy-objects
Command: npx skills add https://github.com/anwather/epac-skills --skill epac-policy-objects

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of Azure Policy definitions, policy set definitions (initiatives), and policy assignments in the Enterprise Policy as Code (EPAC) format, streamlining policy management and deployment.

Core Features & Use Cases

  • Policy Definition Generation: Creates custom policy definitions following EPAC conventions.
  • Initiative Creation: Bundles multiple policies into reusable policy sets (initiatives).
  • Assignment Configuration: Generates policy assignment files, supporting hierarchical scope structures and parameterization.
  • Use Case: You need to enforce a new security standard across your Azure environment. Use this skill to generate the necessary EPAC policy definitions, group them into an initiative, and create assignments for your management groups.

Quick Start

Use the epac-policy-objects skill to create a policy definition for denying storage accounts without TLS 1.2.

Frequently Asked Questions about epac-policy-objects

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

FAQPage Schema
How do I create Azure Policy definitions in EPAC format?

To create Azure Policy definitions in EPAC format, use this skill to generate JSON or JSONC files that adhere to EPAC conventions, automatically structuring your custom policy rules and parameters for deployment.

What is the EPAC format for Azure Policy objects?

The EPAC (Enterprise Policy as Code) format structures Azure Policy definitions, policy set definitions, and policy assignments into specific JSON schemas for automated policy management and deployment.

How do I bundle multiple Azure policies into an initiative using policy as code?

You can bundle multiple Azure policies into an initiative by generating policy set definitions, which group custom policy definitions into a reusable set following EPAC conventions.

Can I generate policy assignments for management groups with EPAC?

Yes, you can generate policy assignments for management groups by creating assignment files that support hierarchical scope structures and parameterization, detecting the EPAC repository context for targeted scope definition.

Does this skill detect existing EPAC global settings and pac selectors?

Yes, the skill detects the EPAC repository context, reading existing global settings and pac selectors to ensure generated policy definition and assignment files match your targeted deployment scopes.

What is the best way to enforce a security standard across an Azure environment using policy as code?

The best way to enforce a security standard is to generate EPAC policy definitions, group them into a policy set initiative, and create assignments targeting your management groups for hierarchical deployment.