A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
An agent skill for engineering standards, code governance, and enforcement with code review and retrospective templates
An agent skill for enforcing engineering standards and code governance. Provides proactive reminders during code reviews and commits.
scripts/governance-check.mjs validates configuration with actionable fixesstandards.md works out of the box; extend with your own rulesreviewer subagent type (v2.1+)claude plugin add github:wrsmith108/governance-claude-skill
git clone https://github.com/wrsmith108/governance-claude-skill ~/.claude/skills/governance
node scripts/governance-check.mjs
When your agent (such as Claude) detects trigger phrases like "code review", "commit", "standards", or "compliance", this skill activates and provides:
npm run audit:standardsThe skill delegates to the built-in reviewer subagent for context efficiency (70–90% token savings vs. inline execution).
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.
| Document | Purpose | Update Frequency |
|---|---|---|
| CLAUDE.md | AI operational context (commands, URLs) | Frequent |
| standards.md | Engineering policy (authoritative) | Infrequent |
Benefits:
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.md
Edit 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](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 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-Pattern | Correct Pattern |
|---|---|
❌ any type | ✅ unknown for external data |
| ❌ 600+ line files | ✅ Split at 500 lines |
| ❌ Hardcoded secrets | ✅ Environment variables |
| Anti-Pattern | Correct Pattern |
|---|---|
| ❌ Commit to main | ✅ Feature branches with PR |
| ❌ Skip audit | ✅ Run audit:standards before commit |
| ❌ Defer issues | ✅ Fix immediately |
See CHANGELOG.md for full history.
Contributions welcome! Please submit issues and PRs.
MIT License — See LICENSE
Created for the Claude Code community. Patterns refined through real-world governance of AI-assisted development projects.
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Design enforcement with memory — keeps your UI consistent across a project
Universal SEO skill for Claude Code. 25 sub-skills + 18 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, bac
Route Claude Code traffic to any of 17 provider backends including free or local models