
governance-claude-skill
An agent skill for engineering standards, code governance, and enforcement with code review and retrospective templates
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
⚠ Unverified source (community-unclaimed, low activity) — reveal the prompt
⚠ Unverified source (community-unclaimed, low activity). Inspect the repo before letting your agent install it. Install and set up governance-claude-skill (claude-plugin project) into my current project. Found on https://claudeers.com/governance-claude-skill Repo: https://github.com/wrsmith108/governance-claude-skill Homepage/docs: — Detected install method: claude-plugin → /plugin install governance-claude-skill@wrsmith108/governance-claude-skill Category: devtools. Platforms: cli. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: dormant; community-verified: false. Confirm the source before running anything.
⚠ Unverified / not recently updated — review before pasting a run-this config.
/plugin marketplace add wrsmith108/governance-claude-skill /plugin install governance-claude-skill@wrsmith108/governance-claude-skill
git clone https://github.com/wrsmith108/governance-claude-skill
// compatibility
| Platforms | cli |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | JavaScript |
Governance Skill for Claude Code
An agent skill for enforcing engineering standards and code governance. Provides proactive reminders during code reviews and commits.
Features
- Proactive Triggers — Activates on "code review", "commit", "standards", "compliance", "retro",
- Two-Document Model — Separates CLAUDE.md (operational) from standards.md (policy)
- Setup Verification —
scripts/governance-check.mjsvalidates configuration with actionable fixes - Anti-Pattern Tables — Code quality, documentation, workflow, and testing anti-patterns
- Pre-Commit Checklist — Reminds about typecheck, lint, test before commits
- PR Review Checklist — Standards for code review (correctness, security, performance)
- Ready-to-Use Default —
standards.mdworks out of the box; extend with your own rules - No Custom Agent Required — Uses the built-in
reviewersubagent type (v2.1+)
Quick Start
Option A: Claude Plugin (Recommended)
claude plugin add github:wrsmith108/governance-claude-skill
Option B: Manual Installation
git clone https://github.com/wrsmith108/governance-claude-skill ~/.claude/skills/governance
Verify Setup
node scripts/governance-check.mjs
How It Works
When your agent (such as Claude) detects trigger phrases like "code review", "commit", "standards", or "compliance", this skill activates and provides:
- Quick reference to relevant standards
- Reminder to run
npm run audit:standards - Checklists for PRs and commits
- Links to authoritative documentation
The skill delegates to the built-in reviewer subagent for context efficiency (70–90% token savings vs. inline execution).
File Structure
governance-claude-skill/
├── .claude/
│ └── agents/
│ └── governance-specialist.md # repo-local development agent
├── scripts/
│ └── governance-check.mjs # setup verification script
├── templates/
│ ├── standards-template.md # full-featured standards template
│ └── audit-standards-template.mjs # configurable audit script
├── agent-prompt.md # full agent protocol
├── SKILL.md # thin dispatcher (v2.1.0)
└── standards.md # minimal working default
Note: .claude/agents/governance-specialist.md is kept for repo-local development use only. It is NOT required for the skill to work — the skill uses the built-in reviewer subagent type.
The Two-Document Model
| Document | Purpose | Update Frequency |
|---|---|---|
| CLAUDE.md | AI operational context (commands, URLs) | Frequent |
| standards.md | Engineering policy (authoritative) | Infrequent |
Benefits:
- CLAUDE.md stays lean (better token efficiency)
- standards.md is the single source of truth for policy
Setting Up in Your Project
-
Install the skill (see Quick Start above)
-
Copy the starter standards.md to your project:
cp ~/.claude/skills/governance/standards.md standards.md # Or to the traditional location: cp ~/.claude/skills/governance/standards.md docs/architecture/standards.mdEdit it with your project-specific rules. Full template at
templates/standards-template.md. -
Add CLAUDE.md at project root with build commands and a cross-reference:
> **Standards**: [standards.md](https://github.com/wrsmith108/governance-claude-skill/blob/HEAD/standards.md) -
Create audit script for automated compliance:
cp ~/.claude/skills/governance/templates/audit-standards-template.mjs scripts/audit-standards.mjs # Add to package.json: "audit:standards": "node scripts/audit-standards.mjs" -
Run setup check:
node scripts/governance-check.mjs
Governance Check Output
🏛️ Governance Setup Check
1. CLAUDE.md (AI Operational Context)
✓ CLAUDE.md exists
✓ Has build commands section
✓ References standards.md
✓ Concise length (452 lines)
2. standards.md (Engineering Policy)
✓ standards.md found at root
✓ Has Code Quality section
✓ Has Testing section
✓ Has Workflow section
3. Audit Script (Automated Compliance)
✓ npm run audit:standards configured
✓ Audit script exists
4. Architecture Decision Records
✓ docs/adr/ directory exists
✓ ADR template exists
5. Pre-commit Hooks
✓ Husky pre-commit hook configured
✓ Hook runs quality checks
6. Governance Skill
✓ Governance skill installed
Governance Score: 100%
Anti-Patterns Enforced
Code Quality
| Anti-Pattern | Correct Pattern |
|---|---|
❌ any type | ✅ unknown for external data |
| ❌ 600+ line files | ✅ Split at 500 lines |
| ❌ Hardcoded secrets | ✅ Environment variables |
Workflow
| Anti-Pattern | Correct Pattern |
|---|---|
| ❌ Commit to main | ✅ Feature branches with PR |
| ❌ Skip audit | ✅ Run audit:standards before commit |
| ❌ Defer issues | ✅ Fix immediately |
Changelog
See CHANGELOG.md for full history.
Contributing
Contributions welcome! Please submit issues and PRs.
License
MIT License — See LICENSE
Credits
Created for the Claude Code community. Patterns refined through real-world governance of AI-assisted development projects.
// faq
What is governance-claude-skill?
An agent skill for engineering standards, code governance, and enforcement with code review and retrospective templates. It is open-source on GitHub.
Is governance-claude-skill free to use?
governance-claude-skill is open-source under the MIT license, so it is free to use.
What category does governance-claude-skill belong to?
governance-claude-skill is listed under devtools in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/governance-claude-skill)
// retro hit counter
[](https://claudeers.com/governance-claude-skill)
// reviews
// guestbook
// related in Developer Tools
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…