Skip to content
OpenSmartRoute
Skillv1.0.0

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.

by wrsmith108(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from wrsmith108/governance-claude-skill (SKILL.md). Install upstream with npx skills add wrsmith108/governance-claude-skill. Copyright stays with the author (MIT).

Governance Skill

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

Standards Document: standards.md (starter default — replace with your own) Audit Script: npm run audit:standards Full Protocol: 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

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

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

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

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

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/wrsmith108-governance-claude-skill-governance/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

wrsmith108-governance-claude-skill-governance.ocm.jsonjson
{
  "ocm": "1",
  "id": "wrsmith108-governance-claude-skill-governance",
  "kind": "skill",
  "name": "governance",
  "description": "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.",
  "publisher": "wrsmith108",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding",
      "math"
    ],
    "tags": [
      "skill-md",
      "governance",
      "code-review",
      "standards",
      "compliance",
      "quality",
      "automation",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/wrsmith108/governance-claude-skill",
      "path": "SKILL.md",
      "ref": "f8ba94a3ce55b28f281412742d0e0d03aa60d61d",
      "url": "https://github.com/wrsmith108/governance-claude-skill/blob/f8ba94a3ce55b28f281412742d0e0d03aa60d61d/SKILL.md",
      "key": "wrsmith108/governance-claude-skill/SKILL.md"
    },
    "allowed_tools": [
      "Bash",
      "Read",
      "Write",
      "Edit",
      "Grep",
      "Glob"
    ],
    "license": "MIT"
  },
  "instructions": "# Governance Skill\n\nEnforces engineering standards and code quality policies with parallel agent execution for context efficiency.\n\n> **Standards Document**: [standards.md](standards.md) (starter default — replace with your own)\n> **Audit Script**: `npm run audit:standards`\n> **Full Protocol**: [agent-prompt.md](agent-prompt.md)\n\n---\n\n## Execution Model (v2.1)\n\n**Type**: Delegated Execution — delegates to the built-in `reviewer` subagent type.\n\nThis skill uses the `reviewer` subagent (available in all Claude Code installations — no custom agent required):\n\n1. **Spawn** the reviewer agent\n2. **",
  "cost": {
    "context_tokens": 657
  }
}

Fetch it by URL: GET /api/v1/registry/wrsmith108-governance-claude-skill-governance/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.

governance - Skill - OpenSmartRoute