/skill-governance-hooks:run-governance-hooksfrom skill-governance-hooks
Audits governance hooks by enumerating event, matcher, command path, wiring status, and fixture exit codes. Detects unwired hooks and verifies file ownership without modifying the real project.
Ships in skill-governance-hooks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Purpose & Output Contractの最小の実回答をmain contextで作成する。secret・欠測・矛盾のminimal guardだけを実行し、根拠refつきの現物をそのまま提示してからaccept-as-is/diagnoseを記録する。accept-as-isはそのままhandoff完了とし、後続sectionを実行しない。
以下の既存workflow・goal-seek・評価・修正sectionはdiagnoseが記録されてsemantic_evaluator_startedへ遷移した場合だけ実行する。release/exhaustiveは別の明示eventを必要とする。
scripts/のhook実体を棚卸しし、hook実体ごとに event / matcher / command path / 配線状態 (配線済みか未配線か + 参照元) / fixture実行のexit codeとstdout JSON を列挙して返す。未配線のものは理由を添える。
${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}で解決する。hook-handoff.py と hook-post-compact.py は CLAUDE_HANDOFF_DIR (既定 .claude/handoff)、hook-check-file-ownership.py は CLAUDE_TASK_OWNERSHIP_STATE (既定 .claude/logs/task-ownership.json) を一時ディレクトリへ向ける。env上書きが使えない場合は隔離cwdで実行する。どちらも取れないhookは実行せず未検証理由として報告する。対象hookのpurpose/frontmatterを読み、event・matcher・payload・write scopeを確認する。write scopeがnone以外なら上記envで書込先を退避してからfixtureで実行する。
IN1の機械根拠は「hook実体をfixture stdinで起動したときのexit code」であり、hook script自身が検証scriptを兼ねる (別途の検証scriptは持たない)。command path confinement、exit code、stdout JSON、退避先へ書かれた成果物、未配線理由を報告する。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub daishiman/harness-dev --plugin skill-governance-hooksOther plugins' skills for the same job