# Governance

> Enforces engineering standards and code quality policies. Use during code reviews, before commits, when discussing standards or compliance, for quality audits, and when running retrospectives. Trigger phrases include 'run a retro', 'retrospective', 'code review', 'run review', or 'audit standards'.

- Skill: `smith-horn/governance` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add smith-horn/governance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/smith-horn/governance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: smith-horn (https://skillmd.com/u/smith-horn)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/smith-horn/governance

---


# Governance Skill

Enforces engineering standards from [standards.md](../../../docs/internal/architecture/standards.md). Identifies all issues and fixes them immediately -- no deferral, no tickets, no asking for permission. All severities are fixed in the same PR.

## Quick Audit

```bash
docker exec skillsmith-dev-1 npm run audit:standards
```

## Pre-Commit Checklist

```bash
docker exec skillsmith-dev-1 npm run typecheck
docker exec skillsmith-dev-1 npm run lint
docker exec skillsmith-dev-1 npm run format:check
docker exec skillsmith-dev-1 npm test
docker exec skillsmith-dev-1 npm run audit:standards
```

## Sub-Documentation

| Document | Contents |
|----------|----------|
| [code-review-template.md](code-review-template.md) | Full code review report template with field descriptions |
| [retro-template.md](retro-template.md) | Full retrospective template with completion checklist |
| [edge-function-test.md](edge-function-test.md) | Edge Function test scaffold generator with vi.hoisted() pattern |

For detailed instructions -- code review workflow, severity guide, zero deferral policy, approach validation rules, retrospective workflow, type safety patterns, and CI failure reference -- see [agent-prompt.md](agent-prompt.md).

