Skill

tenet-governance

Install
1
Install the plugin
$
npx claudepluginhub dnlopes/claude-code-plugins --plugin governor

Want just this skill?

Add to a custom plugin, then install with one command.

Description

Use when working with architectural tenets - project constraints that require human judgment to verify. This skill provides guidance on tenet format, severity levels, validation criteria, and verification patterns. Load when setting up, managing, or verifying tenets in AGENTS.md.

Tool Access

This skill uses the workspace's default tool permissions.

Supporting Assets
View in Repository
reference/examples.md
reference/tenets.md
reference/verification-patterns.md
Skill Content

Tenet Governance

Guidance for managing architectural tenets - constraints that must be followed in all work on a codebase.

Overview

Tenets are architectural constraints that require human judgment to verify. They differ from linting rules:

TenetsLinting Rules
Architectural boundariesCode style
"Domain must not import infrastructure""Use 2-space indentation"
Require judgment to verifyMachine-checkable
Few (3-7 per project)Many (hundreds)
Project-specific decisionsIndustry conventions

Quick Reference

Tenet Format

### T<N>. <Name>

<Description: 2-4 sentences explaining constraint and rationale>

**Severity:** <critical | high | medium | low>

**Evidence:**
- `<file:line>` - <observation>

Severity Levels

LevelMeaningVerification Behavior
criticalBreaks system invariantsAlways fail
highCauses significant tech debtFail by default
mediumReduces code qualityWarn by default
lowGuideline, not requirementInfo only

Exception Syntax

Table (in AGENTS.md):

## Tenet Exceptions

| File | Tenet | Reason | Approved |
|------|-------|--------|----------|
| `src/legacy/adapter.go` | T1 | Legacy integration | 2024-01-15 |

Inline (in code):

// governor:ignore T1 - Legacy adapter, tracking in #123
import "infrastructure/db"

Two Operations

Validation (setup/manage): Is this tenet grounded in reality?

  • Search codebase for evidence supporting the tenet
  • Output: SUPPORTED, WEAK_EVIDENCE, NOT_SUPPORTED, CONTRADICTED

Verification (verify): Does this code follow the tenets?

  • Analyze code against existing tenets
  • Output: COMPLIANT or VIOLATED with confidence scores

Confidence Scoring

ScoreCriteriaExample
90-100Explicit violationForbidden import present
70-89Likely violationPattern suggests violation
50-69Possible violationAmbiguous code
1-49UncertainProbably false positive

Good Tenet Characteristics

  1. Actionable: "X must/must not Y" format
  2. Evidence-based: Grounded in actual codebase patterns
  3. Architectural: About structure, not style
  4. Persistent: Unlikely to change frequently
  5. Verifiable: Can determine compliance with reasonable effort

Reference Documentation

For detailed specifications and examples:

Stats
Stars0
Forks0
Last CommitFeb 2, 2026
Actions

Similar Skills