repairing-hook-boundaries
Repair Claude and Codex hook failures at their first failing boundary. Use when a hook fails, blocks, times out, or emits invalid output, including a registration, launcher, import path, payload, or exit status fault.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- repairing-hook-boundaries
- description
- Repair Claude and Codex hook failures at their first failing boundary. Use when a hook fails, blocks, times out, or emits invalid output, including a registration, launcher, import path, payload, or exit status fault.
02 资源文件 1
- 参考文档reference/task-seeds.md305 B
03 SKILL.md 正文
Repairing hook boundaries
Principle
Find the first failing boundary and repair only that boundary. Treat source registration, installed configuration, launcher and import path, payload, output envelope, and exit status as separate boundaries.
Gotchas
- A correct source entry does not prove the installed configuration matches it.
- A valid launcher can receive an invalid payload or emit an invalid envelope.
- State exact source, installed, and repository-root paths for each claim.
- Get explicit approval before changing live configuration.
- Run
/privacy-hygienebefore durable output. - Reuse project validators. Do not copy their commands or implementation here.
When this applies
Use this skill for Claude or Codex hook failures involving registered events, settings, launchers, imports, paths, payloads, output envelopes, or exit status.
For installer-only work, say: Installer work with no hook-boundary failure belongs outside this skill.
Process
- When the session exposes a task tool, register the tasks in
reference/task-seeds.md. - Record expected and observed behavior. Record exact source, installed, and repository-root paths.
- Check each boundary in order and identify the first mismatch.
- Repair only that boundary. Leave unrelated hooks and user settings unchanged.
- Recheck the boundary and its direct consumer with existing project validators.
- Get explicit approval before a live configuration change.
- Run
/privacy-hygienebefore a durable report or publication.
Sub-skills
| Skill | Use | Produces |
|---|---|---|
/privacy-hygiene |
Durable-output privacy review | Privacy result |
Files
SKILL.md. Boundary model and repair process.reference/task-seeds.md. Ordered tasks for one repair.
repairing-hook-boundaries/
├── SKILL.md
└── reference/
└── task-seeds.md
04 同仓库更多 Skills
update
Fast-forwards a local repository's main branch to a remote's main after confirming the repo path and source remote through AskUserQuestion. Use when the user says '/update', 'update main', 'fast-forward main', 'sync main from origin', 'pull latest main into <path>', or 'bring main up to date'.
source-command-sr-loop
Converging cleanup loop: repeat /simplify until clean, then repeat /code-review --fix until clean
skill-builder
Skill lifecycle: classify, scaffold, write via the skill-writer-agent, self-audit, compose sub-skills, polish description triggers, enforce deterministic scripts. Triggers: build a skill, new skill workflow, improve this skill, optimize skill description, skill development lifecycle, skill modularity, skill composition, description trigger catalog, deterministic skill scripts.
session-tidy
Audit, clean, and consolidate session logs in the Obsidian vault. Fixes format drift, resolves orphaned next-steps, updates stale statuses, and generates project rollup summaries. Use when session logs feel cluttered or before starting a new project milestone. Triggers on '/session-tidy', 'tidy sessions', 'clean up session logs', 'session audit'.
session-log
Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a /rename command. Use for /session-log, 'journal this session', 'log this work', 'session report', 'summarize/log/record this session', 'save session', 'capture session', or 'document what we did'.
run-claude-dev-env
Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~/.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.