ai-governance SKILL.md skillA

ai-governance from nitinjain999/platform-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nitinjain999/platform-skills/ai-governance@git:20261018.5f00d39

Pins git:20261018.5f00d39 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nitinjain999/platform-skills
Path
plugins/platform-skills/skills/ai-governance/SKILL.md
Versions recorded
2
Latest version
git:20261018.5f00d39, committed Oct 18, 2026
First version recorded
Oct 18, 2026
Size
15,381 bytes
Repository stars
70
License
Apache-2.0

Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands, plus a merge-time backstop for anything that bypasses them. Use when asked to "govern AI agents", "block AI from touching secrets", "add an AI policy gate", or "why did the AI agent hook not fire".

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

Generate and enforce a policy gate for AI coding agents operating on this repo: real-time session hooks for Copilot and Claude Code, plus a merge-time GitHub Actions check that catches anything the hooks miss.

Read `references/ai-governance.md` before responding.

---

## Interactive Wizard (fires when no arguments are provided)

When invoked with no arguments, ask before proceeding:

**Q1 — Mode?**
```
What do you need?
  1. generate — scaffold policy, evaluator, hooks, and merge-time check
  2. check    — dry-run the evaluator against a path, command, or diff
  3. audit    — scan repos in an org for policy presence, tier, and drift
  4. explain  — plain-English translation of an existing .ai-governance.yaml

Enter 1-4 or mode name:
```

**Q2 — Context** (after mode selected, one at a time):
- **generate**: `Which default policy pack? (terraform / kubernetes / generic / blank)`
- **check**: `Give me a file path, a command string, or a diff range (e.g. main...HEAD) to test:`
- **audit**: `Which org or repo list should I scan?`
- **explain**: `Path to the .ai-governance.yaml to explain (default: ./.ai-governance.yaml):`

Then proceed into the relevant mode below.

---
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nitinjain999/platform-skills/ai-governance@sha256:d3b4aa13b185d80a

The line at the top of this page pins the label git:20261018.5f00d39, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dqbu3vt2pmdnxddu.svg)](https://markdownregistry.com/a/art_dqbu3vt2pmdnxddu)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Oct 18, 2026.

versioncommittedcommitsizeaudit
git:20261018.5f00d39 latest2026-10-18 5f00d39 15,381 BA view · diff
git:20261018.90b97a92026-10-18 90b97a9 15,609 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15381 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nitinjain999/platform-skills · 70 stars · license Apache-2.0 · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dqbu3vt2pmdnxddu
GET https://markdownregistry.com/api/v1/resolve?ref=nitinjain999/platform-skills/ai-governance
GET https://markdownregistry.com/api/v1/blob/d3b4aa13b185d80a51ceb03cca5ac277a5daf43e32e404326ea042c8baee2745

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nitinjain999/platform-skills

keda Cursor rule
nitinjain999/platform-skills · .cursor/rules/keda.mdc · KEDA ScaledObject and ScaledJob generation rules — auth patterns, scaling safety, best practices
git:20260516.afdf992 · audit A · 70 stars
kubernetes Cursor rule
nitinjain999/platform-skills · .cursor/rules/kubernetes.mdc · Kubernetes and OpenShift workload generation rules — security defaults, resource limits, probes
git:20261011.38d4a57 · audit A · 70 stars
platform-skills Cursor rule
nitinjain999/platform-skills · .cursor/rules/platform-skills.mdc · Platform engineering rules — applies to all files in this workspace
git:20260926.20dcf68 · audit A · 70 stars
terraform Cursor rule
nitinjain999/platform-skills · .cursor/rules/terraform.mdc · Terraform module and resource generation rules — blast radius, IAM least privilege, SOC 2 defaults
git:20260516.215750b · audit A · 70 stars
.cursorrules Cursor rule
nitinjain999/platform-skills · .cursorrules
git:20260926.20dcf68 · audit A · 70 stars
code-review SKILL.md skill
nitinjain999/platform-skills · .github/skills/code-review/SKILL.md · Review pull requests to this repo (a Claude Code / Copilot / Cursor platform-engineering skill plugin) for technical…
git:20261017.2bd2bff · audit A · 70 stars
CLAUDE.md CLAUDE.md file
nitinjain999/platform-skills · CLAUDE.md
git:20260927.869b173 · audit A · 70 stars
platform-skills SKILL.md skill
nitinjain999/platform-skills · SKILL.md · Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes…
git:20260927.df75e5b · audit A · 70 stars
awesome-docs SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/awesome-docs/SKILL.md · Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG…
git:20261018.90b97a9 · audit A · 70 stars
aws-profile SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/aws-profile/SKILL.md · AWS profile management for MCP servers — discover profiles across SSO, Granted, and assumed-role chains, check…
git:20261018.90b97a9 · audit B · 70 stars
aws SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/aws/SKILL.md · Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager…
git:20261018.90b97a9 · audit A · 70 stars
azure SKILL.md skill
nitinjain999/platform-skills · plugins/platform-skills/skills/azure/SKILL.md · Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and…
git:20261018.90b97a9 · audit A · 70 stars

Every file in nitinjain999/platform-skills

Other files named ai-governance

ai-governance SKILL.md skill
magnus919/agent-skills · ai-governance/SKILL.md · Design and operate AI governance: principles, decision rights, risk tiers, lifecycle gates, fairness, transparency…
git:20261016.06ca706 · audit A · 140 stars
ai-governance SKILL.md skill
nitinjain999/platform-skills · skills/ai-governance/SKILL.md · Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny…
git:20261011.e8166a5 · audit A · 70 stars

Browse by kind, by grade A, or by owner.