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.
npx claudepluginhub claude-world/director-mode-liteThis skill uses the workspace's default tool permissions.
Validate hooks configuration in `.claude/settings.json` and hook scripts.
Guides 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.
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.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
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]