From itp-hooks
Check and install dependencies for itp-hooks (silent failure detection + fake-data-guard).
How this skill is triggered — by the user, by Claude, or both
Slash command
/itp-hooks:setup [--install|--check][--install|--check]haikuThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify and install dependencies for the itp-hooks plugin:
Verify and install dependencies for the itp-hooks plugin:
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Run dependency check:
/usr/bin/env bash << 'SETUP_EOF'
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/itp-hooks}"
bash "$PLUGIN_DIR/scripts/install-dependencies.sh" --check
SETUP_EOF
/usr/bin/env bash << 'CHECK_EOF'
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/itp-hooks}"
bash "$PLUGIN_DIR/scripts/install-dependencies.sh" --check
CHECK_EOF
After running the check, present the findings to the user:
| Tool | Status | Purpose |
|---|---|---|
| jq | ? | Required for hook I/O |
| bun/node | ? | Required for fake-data-guard |
| ruff | ? | Python silent failure rules |
| shellcheck | ? | Shell script analysis |
| oxlint | ? | JavaScript/TypeScript linting |
If optional linters are missing, use AskUserQuestion:
question: "Install optional linters for full silent failure detection coverage?"
header: "Linters"
options:
- label: "Install all"
description: "Install ruff, shellcheck, and oxlint for Python, Shell, and JS/TS coverage"
- label: "Skip"
description: "Continue with graceful degradation (detection only for installed linters)"
/usr/bin/env bash << 'INSTALL_EOF'
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/itp-hooks}"
bash "$PLUGIN_DIR/scripts/install-dependencies.sh" --install
INSTALL_EOF
| Flag | Behavior |
|---|---|
| (none) | Check dependencies, show status |
--check | Same as default |
--install | Check then install all missing tools |
The hooks work with graceful degradation:
| Tool Missing | Effect |
|---|---|
| bun/node | Fake-data-guard hook fails |
| ruff | Python files skip silent failure check |
| shellcheck | Shell scripts skip analysis |
| oxlint | JS/TS files skip linting |
| jq | All hooks fail (required for JSON I/O) |
After setup, install the hooks to your settings:
/itp:tether install
IMPORTANT: Restart Claude Code session for hooks to take effect.
| Issue | Cause | Solution |
|---|---|---|
| jq not found | jq not installed | brew install jq |
| bun/node not found | Runtime not installed | mise install bun |
| mise not installed | Missing tool manager | Install from https://mise.jdx.dev |
| ruff version error | Outdated ruff | brew upgrade ruff |
| Plugin dir not found | Plugin not installed | Re-install plugin via marketplace |
| PATH issues | Shims not in PATH | Add mise shims to ~/.zshenv |
After this skill completes, reflect before closing the task:
Do NOT defer. The next invocation inherits whatever you leave behind.
npx claudepluginhub terrylica/cc-skills --plugin itp-hooksCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.