Install/uninstall statusline-tools Stop hook to ~/.claude/settings.json. TRIGGERS - statusline hooks, install statusline hook, statusline stop hook.
From statusline-toolsnpx claudepluginhub terrylica/cc-skills --plugin statusline-toolsThis skill is limited to using the following tools:
references/evolution-log.mdManage Stop hook installation for link validation and path linting.
The Stop hook runs at session end to:
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.
| Action | Description |
|---|---|
install | Add Stop hook to settings.json |
uninstall | Remove Stop hook from settings.json |
status | Show current hook configuration |
This hook can coexist with other Stop hooks (like check-links-hybrid.sh). Both will run on session end - statusline-tools caches results for display, while other hooks may take different actions.
install, uninstall, status) -> execute directlystatus to show current hook configurationWhen invoked without arguments, guide the user interactively:
Question: "What would you like to do with the statusline-tools Stop hook?"
Options:
- "Install" -> "Add Stop hook for link validation and path linting on session end"
- "Uninstall" -> "Remove the Stop hook from settings.json"
- "Status" -> "Show current hook configuration"
Parse $ARGUMENTS and run the management script:
/usr/bin/env bash << 'HOOKS_SCRIPT_EOF'
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/statusline-tools}"
ACTION="${ARGUMENTS:-status}"
bash "$PLUGIN_DIR/scripts/manage-hooks.sh" $ACTION
HOOKS_SCRIPT_EOF
After install/uninstall operations:
IMPORTANT: Restart Claude Code session for changes to take effect.
Hooks are loaded at session start. Modifications to settings.json require a restart.
# Check current installation status
/statusline-tools:hooks status
# Install the Stop hook for link validation
/statusline-tools:hooks install
# Uninstall hooks
/statusline-tools:hooks uninstall
| Issue | Cause | Solution |
|---|---|---|
| jq not found | jq not installed | brew install jq |
| lychee not found | Link validator not installed | brew install lychee |
| Hooks not working | Session not restarted | Restart Claude Code session |
| lint-relative-paths errors | Invalid path patterns | Check file paths in SKILL.md files |
| Cache stale | Stop hook failed | Check ~/.claude/statusline/ logs |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.