AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ub Governance

skill-robert-hoffmann-uncle-bob-ub-governance · by robert-hoffmann

A Claude skill from robert-hoffmann/uncle-bob.

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-robert-hoffmann-uncle-bob-ub-governance

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-robert-hoffmann-uncle-bob-ub-governance)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ub Governance? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

UB Governance

Overview

Use this skill as the owner for governance in the current repository or project where it is adopted.

This skill should stay lean for ordinary workflow-backed work and should only activate heavier controls when the selected mode or scope actually requires them.

Embedded Contract

These rules are the base contract of this skill and must not depend on a secondary document to be applied correctly.

  1. Default to the lean profile unless the user explicitly requests

advanced with rationale.

  1. Use only these governance gate states: pass, fail, blocked.
  2. Every bounded exception must include owner, rationale, created_at,

expires_at, and follow_up.

  1. For ordinary Level 1 workflow-backed work, treat workflow artifacts as the

default durable operational record.

  1. Escalate to ADR and claim machinery only when the decision is durable

beyond one initiative, repository-wide, high-risk, or explicitly governed at Level 2.

  1. Keep blocking governance decisions tied to deterministic artifacts.

Operating Modes

  1. repository mode: repository hygiene, CI and release governance,

branch or ruleset policy, deterministic tooling

  1. testing mode: behavior-first TDD governance and low-signal testing

anti-pattern review

  1. evidence mode: evidence lifecycle, ADR alignment, claim verification,

and gate readiness

  1. core-contract mode: shared profile, gate, exception, and report

semantics

  1. full governance audit mode: run repository, testing, and evidence checks

in one deterministic sequence

Testing Signal Model

Use descriptive names in normal guidance. Keep the numeric IDs as stable internal codes for tooling and compatibility.

Blocking signals:

  1. Type Redundancy (TG001): runtime tests that restate type-system

guarantees

  1. Interaction Without Outcome (TG002): interaction assertions without

observable outcome assertions

  1. Pass-Through Test (TG003): trivial getter or setter pass-through tests
  2. Happy-Path-Only Suite (TG004): repeated happy-path focus without

boundary or error representation

Warning-only signal:

  1. Internal-Detail Bias (TG005): probable verification of internal details

over public behavior

Functional-realism signals use risk-scaled guidance rather than automatic new gates:

  1. Local Source Mocking (TG006): a test replaces local application source

involved in the behavior under review

  1. Uncontracted Test Double (TG007): a mock, stub, fake, fixture, or route

intercept has no visible boundary reason or contract evidence

  1. Mock-Dominant Test (TG008): the test is mostly double setup or call

assertions instead of observable outcomes

  1. Missing Functional Guard (TG009): risky behavior lacks a public-surface

functional, integration, contract, component, or E2E check

  1. Mutation Survivor on Changed Logic (TG010): changed critical logic has

unreviewed surviving mutants when mutation evidence is already in scope

  1. Snapshot/Coverage-Only Proof (TG011): behavior change relies only on

snapshots, render smoke, coverage, or does-not-throw proof

Load References By Trigger

Use these load tiers literally. If a trigger is not active, do not read the reference just because it exists.

  • [phase:decision-boundary] Read

references/decision-memory-and-claims.md when deciding whether workflow artifacts are sufficient or ADR and claim escalation is required.

  • [phase:testing-mode] Read

references/testing-policy-and-signals.md when reviewing testing policy or applying the testing anti-pattern model.

  • [phase:testing-mode] Read references/execution-playbook.md when the task

is about TDD execution order, regression-first bug fixing, or testing workflow hygiene.

  • [phase:command-or-audit] Read references/governance-commands.md when the

user asks how to run checks or an audit path is being executed.

  • [edge:glossary-or-normalization] Read references/vocabulary.md only when

glossary help or wording normalization matters.

  • [edge:repository-mode] Read references/repository-baseline.md,

references/github-implementation-playbook.md, and references/release-please-playbook.md only when repository governance is actually in scope.

  • [edge:evidence-level-2] Read references/evidence-baseline.md,

references/evidence-lifecycle.md, references/evidence-artifact-taxonomy.md, references/ci-artifact-contract.md, and references/stack-baseline.md only when explicit Level 2 or evidence-heavy governance is active.

  • [edge:schema-or-data] Read references/high-risk-paths.yaml,

references/agent-validation-record.schema.json, references/adr-registry.schema.json, references/claim-register.schema.json, and references/adr-template-madr.md only when those concrete artifacts are being authored or validated.

  • [edge:authoring-conventions] Read ../ub-authoring/references/authoring-conventions.md

only when adjusting routing or shared authoring structure.

Core Workflow

  1. Detect the requested governance mode and evaluated scope from repository

truth.

  1. Select profile: lean by default, advanced only with explicit rationale.
  2. For ordinary workflow-backed work, prefer the Level 1 fast path and keep

the durable record in workflow artifacts.

  1. Escalate only when the decision scope, risk, or explicit governance run

requires it.

  1. Run the selected mode's controls and keep outputs deterministic.
  2. Apply bounded exceptions only through the canonical exception contract.
  3. Emit a traceable gate outcome with artifact paths.

Quick Examples

  1. Does this auth change need an ADR or claim work?

Use evidence mode and the decision-boundary reference to decide whether ordinary workflow artifacts are sufficient or whether the change is truly repository-wide, high-risk, or Level 2.

  1. `Are these tests mostly checking mock calls without user-visible outcome

assertions? Use testing mode, apply the test-signal model, and treat likely TG002` findings as blocking only when the suite is asserting interaction without externally observable outcome.

  1. `Show me the host repository's maintenance checks for README, AGENTS,

and skill schema.` Do not route that through governance. Those checks belong to the host repository's own maintenance/check surface.

When Not To Use

  • Do not use this skill for workflow intake, PRD shaping, roadmap generation,

sprint preparation, or resumable initiative orchestration; defer those to ub-workflow.

  • Do not use this skill as the primary surface for framework-specific

implementation guidance when the task is about code changes rather than governance policy or gate semantics.

  • Do not use this skill as a generic documentation-normalization layer when

ub-quality is the actual owner of the task.

Mode Workflows

Repository Mode

  1. verify repository baseline artifacts and deterministic tooling policy
  2. verify CI, permissions, and merge-gate controls
  3. verify release policy with Conventional Commits and release-please

Testing Mode

  1. detect stack and test runner
  2. treat reported defects as regression-first work before code fixes are

accepted

  1. enforce TG001 through TG004 as blocking and TG005 as warning-only
  2. apply TG006 through TG011 as functional-realism guidance, escalating

only when risk, evidence level, or explicit gate scope justifies it

  1. require behavior-first TDD flow for behavior-changing work
  2. keep testing guidance readable, boundary-aware, and deterministic without

turning advisory guidance into new gates

Evidence Mode

  1. classify changeType, evidenceLevel, and profile
  2. detect high-risk path impact when the scope requires it
  3. choose the lightest durable record that matches the decision scope
  4. treat workflow-backed initiative artifacts as the default operational record

for ordinary Level 1 work

  1. escalate to ADR alignment only when Level 2, repository-wide durable

decisions, or explicit high-risk governance applies

  1. require claim-register validation only when blocking rationale depends on

claims

  1. validate required artifacts and freshness for the selected path

Core-Contract Mode

  1. apply canonical profile, gate, exception, and report semantics
  2. normalize status language and report contract usage
  3. reject duplicate or conflicting schema definitions

Full Governance Audit Mode

  1. execute repository mode
  2. execute testing mode
  3. execute evidence mode
  4. consolidate output under canonical report sections

Rules

  • Keep defaults lean and activate advanced controls explicitly.
  • Do not imply that repository ADR machinery is the default record for

ordinary Level 1 workflow-backed work.

  • Exception metadata must stay bounded, explicit, and time-limited.
  • Do not duplicate canonical contract definitions across files when the main

skill already embeds the short rule.

  • Repository-maintenance tooling is not automatically the same thing as lean

governance guidance.

Output Requirements

When producing non-trivial governance output, include:

  1. environment_note
  2. scope_note
  3. decision_note
  4. gate_note
  5. exception_note
  6. validation_note

Add mode-specific sections when applicable:

  1. quality_gate_note for testing mode
  2. evidence_inventory and claim_note for evidence mode

Completion Checklist

  • Selected mode is explicit.
  • Profile choice is explicit (lean or advanced).
  • The ordinary Level 1 fast path versus Level 2 escalation path is explicit.
  • Required deterministic artifacts are present or explicitly missing.
  • Gate result is traceable and reproducible.
  • Exceptions use the canonical fields and remain bounded.
  • Governance guidance stays self-contained and internally consistent.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.