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.
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.
How governance Compares
| Feature / Agent | governance | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/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.
Related Guides
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
implementing-identity-governance-with-sailpoint
Deploy SailPoint IdentityNow or IdentityIQ for identity governance and administration. Covers identity lifecycle management, access request workflows, certification campaigns, role mining, SOD policy
building-identity-governance-lifecycle-process
Builds comprehensive identity governance and lifecycle management processes including joiner-mover-leaver automation, role mining, access request workflows, periodic recertification, and orphaned account remediation using IGA platforms. Activates for requests involving identity lifecycle management, JML processes, role-based access provisioning, or identity governance program design.
harness-governance
Governs the Robota harness by checking rule-skill-owner consistency, finding undefined terminology, spotting examples that violate rules, and preferring mechanical checks over duplicated prose. Use when editing AGENTS, skills, or repository guidance.
managing-health-data-governance
Structures health data governance programs with stewardship roles, policies, and data quality standards. Use when establishing data governance, defining data stewardship, or managing data policies.
managing-health-ai-governance
Structures AI/ML governance for healthcare applications with validation, monitoring, and ethical frameworks. Use when governing health AI, validating clinical models, or managing AI ethics in healthcare.
managing-portfolio-company-governance
Structures board governance for portfolio companies with reporting cadence and strategic oversight documentation. Use when managing portfolio boards, structuring governance frameworks, or documenting board practices.
managing-model-portfolio-governance
Structures investment committee processes with model approval, modification, and compliance documentation. Use when managing model portfolios, documenting investment decisions, or tracking portfolio changes.
managing-family-governance
Structures family governance frameworks with meeting protocols, decision-making, and succession planning. Use when establishing family governance, planning family meetings, or documenting succession.
structuring-joint-venture-governance
Designs JV governance frameworks with decision-making rights, deadlock resolution, and exit mechanisms for corporate partnerships. Use when structuring JV governance, designing partnership agreements, or planning JV operations.
managing-growth-equity-board-governance
Structures board engagement for growth equity investments with meeting cadence, committee design, and information rights. Use when establishing board governance, preparing board materials, or managing investor board relationships.
analyzing-corporate-governance-effectiveness
Evaluates board composition, compensation alignment, and governance practices with proxy advisory and institutional investor standards. Use when analyzing governance, evaluating board effectiveness, or assessing shareholder alignment.
analyzing-corporate-governance-catalysts
Identifies governance-related catalysts with board refreshment, compensation reform, and shareholder proposal analysis. Use when analyzing governance catalysts, evaluating shareholder proposals, or assessing governance improvement potential.