ec-policy-debugging

Analyze Enterprise Contract policy violations using rule metadata, tests, and attestation data.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debug EC policy violations by examining rule metadata, tests, and actual data to identify root causes and actionable fixes.

Core Features & Use Cases

  • Inspect rule METADATA blocks (title, description, solution) to understand the violation semantics
  • Review associated tests and example data to determine expected inputs and edge cases
  • Correlate attestation/SBOM data with policy rules to diagnose failures and craft remediation steps

Quick Start

Provide the EC violation code or a sample log to start debugging using this skill.

Frequently Asked Questions about ec-policy-debugging

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

FAQPage Schema
How do I debug Enterprise Contract policy violations using rule metadata?

Debug Enterprise Contract policy violations by examining METADATA blocks for title, description, and solution, accessing associated tests to verify expected behavior, and correlating attestation data to contextualize failures.

What does an EC policy violation code mean and how do I find the root cause?

An EC policy violation code identifies a specific rule failure. Find the root cause by inspecting the rule's METADATA block for semantic context, reviewing tests for expected inputs, and analyzing actual attestation data.

How do I use attestations and SBOMs to diagnose EC policy failures?

Use attestations and SBOMs to diagnose EC policy failures by correlating the actual data within them against the specific policy rules that triggered the violation, helping to pinpoint mismatches and craft remediation steps.

Can I review policy tests and example data to understand Enterprise Contract edge cases?

Yes, you can review associated tests and example data to determine expected inputs and identify edge cases, which helps verify rule behavior and accurately diagnose why an Enterprise Contract policy violation occurred.

What is the best way to fix Enterprise Contract policy violations?

The best way to fix Enterprise Contract policy violations is to examine the rule's METADATA block for the solution field, verify expected behavior against tests, and correlate attestation data to craft actionable remediation steps.