Install
1
Install the plugin$
npx claudepluginhub psd401/psd-claude-plugins --plugin psd-coding-systemWant just this hook?
Then install: npx claudepluginhub u/[userId]/[slug]
Risk Indicators
Modifies files
Source
Defined in hooks/hooks.json
Configuration
{
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/post-edit-validate.sh",
"timeout": 10
}
],
"matcher": "Edit|Write"
}
],
"WorktreeCreate": [
{
"hooks": [
{
"type": "command",
"command": "echo '=== Worktree created: ${worktree_path:-unknown} ==='; if [ -n \"${worktree_path}\" ] && [ -d \"${worktree_path}\" ] && [ -f .env ]; then if ln -sf \"$(pwd)/.env\" \"${worktree_path}/.env\"; then echo 'Symlinked .env to worktree'; else echo 'Warning: Failed to symlink .env to worktree' >&2; fi; fi; true",
"timeout": 10
}
]
}
],
"WorktreeRemove": [
{
"hooks": [
{
"type": "command",
"command": "echo '=== Worktree removed: ${worktree_path:-unknown} ==='",
"timeout": 5
}
]
}
]
}Summary
{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 3
},
"eventStats": {
"PostToolUse": 1,
"WorktreeCreate": 1,
"WorktreeRemove": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}Stats
Stars0
Forks2
Last CommitMar 13, 2026