Claude-skill-registry governed-dev

Evidence-first development with fail-closed behavior

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/governed-dev" ~/.claude/skills/majiayu000-claude-skill-registry-governed-dev && rm -rf "$T"
manifest: skills/data/governed-dev/SKILL.md
source content

Governed Development Skill

This skill enforces evidence-first development practices for Interlock.

Core Principles

1. Evidence-First

Every claim must be backed by evidence:

  • If a command was not run: Mark the claim as
    UNVERIFIED
  • If output was not captured: Do not claim success
  • If artifacts were not produced: Do not claim completion
## Claim: Smoke tests pass

**Evidence**: `artifacts/claude/20260110T120000Z/smoke/summary.md`
**Status**: VERIFIED - Exit code 0, all steps passed

vs.

## Claim: Smoke tests pass

**Evidence**: None
**Status**: UNVERIFIED - Command not executed

2. Fail-Closed

Never "limp past" failures:

  • Any non-zero exit: Stop and report
  • Missing artifacts: Stop and report
  • Partial success: Report as failure
# WRONG - Ignoring failures
./scripts/claude/smoke.sh || true

# RIGHT - Respecting failures
./scripts/claude/smoke.sh
if [ $? -ne 0 ]; then
    echo "GATE FAILED"
    exit 1
fi

3. Artifacts Are Deliverables

Every operation should produce artifacts:

  • Link to artifacts in reports
  • Preserve artifacts for audit
  • Never overwrite without archiving
See: `artifacts/claude/20260110T120000Z/smoke/summary.md`

Verification Rules

Before Making Claims

  1. Run the relevant wrapper script
  2. Check exit code
  3. Read the summary.md artifact
  4. Only then make claims about results

After Failures

  1. Report the failure immediately
  2. Link to error artifacts (stderr.log)
  3. Do not attempt to "fix and continue" without explicit approval
  4. Mark all downstream claims as BLOCKED

Allowed Operations

OperationToolPurpose
Read filesReadInspect code and artifacts
Search filesGrep, GlobFind relevant code
Run wrappersBash(./scripts/claude/*)Execute verified scripts

Prohibited Operations

  • Arbitrary shell commands
  • Network requests (curl, wget)
  • Modifying production code without planning
  • Claiming success without evidence