From director-mode-lite
Validates Claude hooks config in .claude/settings.json and scripts: structure, types, paths, executability, JSON output, shebang. Outputs report with issues and auto-fixes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/director-mode-lite:hooks-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate hooks configuration in `.claude/settings.json` and hook scripts.
Validate hooks configuration in .claude/settings.json and hook scripts.
Verify hooks section exists and is valid.
{
"hooks": {
"PreToolUse": [...],
"PostToolUse": [...],
"UserPromptSubmit": [...],
"Stop": [...],
"SubagentStop": [...],
"SessionStart": [...],
"SessionEnd": [...],
"PreCompact": [...],
"PostCompact": [...],
"Notification": [...],
"Elicitation": [...],
"ElicitationResult": [...]
}
}
type is "command" or "prompt"type: "command": command path exists and script is executabletype: "prompt": prompt string is non-emptytimeout is positive integer if present (default: 60s command, 30s prompt)once is boolean if present## Hooks Validation Report
### Configuration Status: VALID / INVALID
### Configured Hooks
| Type | Matcher | Script | Status |
|------|---------|--------|--------|
| Stop | * | auto-loop-stop.sh | OK |
### Script Validation
| Script | Exists | Executable | Valid Output |
|--------|--------|------------|--------------|
| auto-loop-stop.sh | OK | OK | OK |
### Issues Found
1. [Issue and fix]
npx claudepluginhub claude-world/director-mode-liteGuides development of event-driven hooks for Claude Code plugins using prompt-based and command-based configurations in hooks.json for events like PreToolUse, PostToolUse, Stop, and SessionStart to validate tools and automate workflows.
Scaffolds Claude Code hooks with templates, validation, and conflict analysis. Analyzes existing hooks, prevents conflicts, and generates boilerplate code automatically.
Guides creation of Claude Code plugin hooks with prompt-based and bash command types for PreToolUse, PostToolUse, Stop, and other events. Covers plugin hooks.json and settings.json formats.