governance

Engineering standards and code governance enforcement with parallel agent execution. Triggers during code reviews, commits, and standards discussions. 70-90% token savings via delegated execution.

16 stars

Best use case

governance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Engineering standards and code governance enforcement with parallel agent execution. Triggers during code reviews, commits, and standards discussions. 70-90% token savings via delegated execution.

Teams using governance should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/governance/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/governance/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/governance/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How governance Compares

Feature / AgentgovernanceStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Engineering standards and code governance enforcement with parallel agent execution. Triggers during code reviews, commits, and standards discussions. 70-90% token savings via delegated execution.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Governance Skill

Enforces engineering standards and code quality policies with parallel agent execution for context efficiency.

> **Standards Document**: [standards.md](standards.md) (starter default — replace with your own)
> **Audit Script**: `npm run audit:standards`
> **Full Protocol**: [agent-prompt.md](agent-prompt.md)

---

## Execution Model (v2.1)

**Type**: Delegated Execution — delegates to the built-in `reviewer` subagent type.

This skill uses the `reviewer` subagent (available in all Claude Code installations — no custom agent required):

1. **Spawn** the reviewer agent
2. **Delegate** the governance task with instructions from `agent-prompt.md`
3. **Await** completion
4. **Report** the structured summary to the user

### Token Efficiency

| Execution Mode | Token Usage | Benefit |
|----------------|-------------|---------|
| Direct (v1.x) | ~3,000–8,000 | Full context in main thread |
| Delegated (v2.x) | ~500–800 | 70–90% token savings |

---

## How to Invoke

When this skill is triggered, read `agent-prompt.md` for the full protocol, then delegate:

### Code Review
```javascript
Task({
  description: "Governance code review",
  prompt: `[See agent-prompt.md for full instructions]
Review the following files for standards compliance:
- [list files or PR description]

Execute full code review workflow:
1. Run standards audit
2. Check each file against standards.md
3. Fix ALL issues immediately (zero deferral)
4. Return structured summary`,
  subagent_type: "reviewer"
})
```

### Pre-Commit Check
```javascript
Task({
  description: "Pre-commit governance",
  prompt: `[See agent-prompt.md for full instructions]
Run pre-commit governance checks:
1. typecheck, lint, format:check, test
2. Check for untracked source files
3. Return pass/fail with specific failures`,
  subagent_type: "reviewer"
})
```

### Retrospective
```javascript
Task({
  description: "Run retrospective",
  prompt: `[See agent-prompt.md for full instructions]
Run retrospective for [topic/sprint]:
1. Analyze completed issues
2. Gather metrics
3. Write report
4. Return summary`,
  subagent_type: "reviewer"
})
```

---

## Quick Reference

### Pre-Commit Checklist

```
[ ] npm run typecheck
[ ] npm run lint
[ ] npm run test
[ ] npm run audit:standards
[ ] No console.log statements
[ ] No hardcoded secrets
```

### Compliance Check

```bash
npm run audit:standards
node scripts/governance-check.mjs
```

---

*Full agent protocol, anti-pattern tables, and output format in [agent-prompt.md](agent-prompt.md)*
*Version 2.1.0 — Structural cleanup: flat layout, built-in reviewer agent, standards.md default added*

Related Skills

ai-governance

16
from diegosouzapw/awesome-omni-skill

AI governance and compliance guidance covering EU AI Act risk classification, NIST AI RMF, responsible AI principles, AI ethics review, and regulatory compliance for AI systems.

cgr-docs-governance

16
from diegosouzapw/awesome-omni-skill

Use this skill when updating project documentation after backend/frontend operational changes, incidents, workflow behavior changes, or new runbooks.

azure-enterprise-governance

16
from diegosouzapw/awesome-omni-skill

Enterprise-grade Azure governance, security, and compliance framework. Combines Microsoft Cloud Adoption Framework (CAF) naming standards with comprehensive security architecture (Zero Trust), compliance frameworks (NIST, SOC2, PCI-DSS, HIPAA), and best practices. Provides naming validation, security audits, RBAC design, and compliance checklists for production-ready Azure deployments.

frontend-governance

16
from diegosouzapw/awesome-omni-skill

Enforces Contemplative design system and Anti-Slop protocols for all UI generation

awesome-copilot-root-agent-governance

16
from diegosouzapw/awesome-omni-skill

Use when: the task directly matches agent governance responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.

ai-development-governance

16
from diegosouzapw/awesome-omni-skill

AI-augmented development controls, GitHub Copilot governance, LLM security, AI-generated code review per Hack23 Secure Development Policy

data-governance-enrichment

16
from diegosouzapw/awesome-omni-skill

Enrich CRM data: tools, waterfall approach, automation, quality control. Use when designing or improving data enrichment in rev ops.

Openapi Governance

16
from diegosouzapw/awesome-omni-skill

* **Depends on**: None * **Compatible with**: None * **Conflicts with**: None * **Related Skills**: None # Overview Comprehensive guide to OpenAPI governance, API design standards, automated linting,

agent-governance

16
from diegosouzapw/awesome-omni-skill

Implement hooks for permission control and security in custom agents. Use when adding security controls, blocking dangerous operations, implementing audit trails, or designing permission governance.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

code-archaeologist

16
from diegosouzapw/awesome-omni-skill

Deep historical context analysis for code evolution, risk assessment, and pattern compliance. Use BEFORE modifying any code to detect reverts, hotspots, god objects, and required patterns. Prevents repeating past mistakes by surfacing what was tried before and why it failed.

claude-a11y-audit

16
from diegosouzapw/awesome-omni-skill

Use when reviewing UI diffs, accessibility audits, or flaky UI tests to catch a11y regressions, semantic issues, keyboard/focus problems, and to recommend minimal fixes plus role-based test selectors.