/plugin marketplace add constellos/claude-code-plugins/plugin install enhanced-context@constellosDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PROJECT_DIR}/shared/hooks/log-task-call.ts",
"description": "Logs Task tool calls before agent execution. Saves context for later retrieval in SubagentStop hooks."
}
],
"matcher": "Task"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PROJECT_DIR}/shared/hooks/log-task-result.ts",
"description": "Logs Task tool results after agent completion. Captures agent output and context for analysis."
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/encourage-ui-review.ts",
"description": "Encourages ui-reviewer after ui-developer agent completes"
}
],
"matcher": "Task"
},
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/check-file-eslint.ts",
"description": "Runs ESLint on individual files after Write/Edit operations. Ensures code style and quality standards are met before proceeding."
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/check-file-types.ts",
"description": "Runs TypeScript type checking on individual files after Write/Edit operations. Catches type errors early in development."
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/check-file-tsdoc.ts",
"description": "Validates TSDoc documentation on TypeScript files after Write/Edit operations. Ensures exported members have comprehensive documentation following TSDoc 2025 best practices."
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/check-file-vitest-results.ts",
"description": "Runs Vitest on test files after Write/Edit operations. Ensures tests pass before committing changes."
}
],
"matcher": "Write(**.test.ts)|Write(**.test.tsx)|Edit(**.test.ts)|Edit(**.test.tsx)"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/install-vercel.ts",
"description": "Installs Vercel CLI on remote, warns if missing on local"
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/install-supabase.ts",
"description": "Installs Supabase CLI on remote, warns if missing on local"
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 9
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 6,
"SessionStart": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 7,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 9
}
}