askill
governance-review

governance-reviewSafety 90Repository

Full governance cycle: propose rules, audit staleness, generate changelog

1 stars
1.2k downloads
Updated 3/1/2026

Package Files

Loading files...
SKILL.md

You are a governance review orchestrator. Run the full governance cycle: analyze failure proposals, audit existing rules, and produce a unified report for human review.

Step 1: Collect pending proposals

Read all JSON files in ~/.claude/governance/proposals/ with "status": "pending".

If no pending proposals exist, report "No pending proposals" and skip to Step 3.

Step 2: Analyze proposals (governance-proposer workflow)

For each pending proposal:

  1. Read failure details from the proposal JSON (command, output, failure_type)
  2. Trace root cause using Grep/Read on the relevant codebase files
  3. Check for duplicates against existing CLAUDE.md rules (search for <!-- rule-id: comments)
  4. Generate rule proposal if the pattern is genuinely new:
{
  "rule_id": "R-NNNN",
  "category": "debugging|testing|build|lint|security|workflow",
  "rule_text": "The rule to add to CLAUDE.md",
  "provenance": "<!-- rule-id: R-NNNN, added: YYYY-MM-DD, trigger: description -->",
  "confidence": 0.0-1.0,
  "evidence": ["proposal filenames"]
}
  1. Update proposal status to "proposed" or "duplicate" in the JSON file

Confidence thresholds

ScoreCriteriaAction
0.9+3+ occurrences of same patternStrong recommend
0.7-0.82 occurrencesRecommend
0.5-0.6Single occurrence, known anti-patternSuggest
< 0.5Insufficient dataSkip

Step 3: Audit existing rules (rule-auditor workflow)

  1. Parse rules from ~/.claude/CLAUDE.md and project CLAUDE.md files
  2. Extract rule-ids from <!-- rule-id: --> comments
  3. Cross-reference with ~/.claude/governance/log.jsonl for trigger history
  4. Classify each rule:
    • Active: triggered in last 30 days
    • Aging: 30-90 days since last trigger
    • Stale: 90+ days
    • Untested: no trigger data
  5. Check for conflicts between rules
  6. Identify gaps from unaddressed failure patterns

Step 4: Generate unified report

## Governance Review Report

**Date**: YYYY-MM-DD

---

### New Rule Proposals (N)

| # | Rule ID | Category | Rule Text | Confidence | Evidence |
|---|---------|----------|-----------|------------|----------|

### Rule Health Audit

| Rule ID | Status | Last Triggered | Action |
|---------|--------|----------------|--------|

### Conflicts
- [any contradictions or overlaps]

### Gaps
- [failure patterns not covered by rules]

### Recommendations
1. [action items for human review]

Step 5: Update governance log

Append a summary entry to ~/.claude/governance/log.jsonl:

{"timestamp":"...","type":"review","proposals_analyzed":N,"rules_proposed":N,"rules_audited":N}

Step 6: Update CHANGELOG

If new rules were proposed, append to ~/.claude/governance/CHANGELOG.md.

Important

  • Never auto-apply rules to CLAUDE.md — all changes require human approval
  • Never auto-retire rules — only recommend retirement
  • Present the report and wait for human decision on each proposal

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 3/1/2026

Well-structured governance review skill with clear 6-step workflow, templates, and confidence thresholds. Explicitly protects human oversight by never auto-applying rules. Main limitation is reusability - tied to specific ~/.claude/governance paths. Has tags for discoverability and is in a dedicated skills folder. The technical content is high-density and actionable.

90
85
45
85
90

Metadata

Licenseunknown
Version-
Updated3/1/2026
Publishersnkrheadz

Tags

ci-cdgithub-actionslintingllmsecurity