create-policy

Official

Automate Harness MCP governance policies

Authorharness
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Governing Harness configurations across pipelines, services, environments and other entities requires consistent policy templates. This skill generates ready-to-use OPA policy templates and policy-set scaffolds for Harness MCP, enabling safe, repeatable governance.

Core Features & Use Cases

  • Generate Rego-based governance policies (deny/warn rules) for common Harness entities (pipeline, service, environment, feature flags, Terraform, GitOps, secrets, and more).
  • Provide ready-to-deploy policy skeletons and references to Rego writing patterns to accelerate policy authoring.
  • Create policy-sets and example policies to illustrate governance workflows and explain enforcement points.

Quick Start

Generate a minimal deny policy in Rego for a common Harness entity (e.g., a pipeline) to enforce governance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-policy
Download link: https://github.com/harness/harness-skills/archive/main.zip#create-policy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.