/plugin marketplace add lenneTech/claude-code/plugin install lt-dev@lenne-techDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx ts-node \"$CLAUDE_PROJECT_DIR/plugins/lt-dev/hooks/scripts/validate-plugin-frontmatter.ts\""
}
],
"matcher": "Write"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/plugins/lt-dev/hooks/scripts/detect-nuxt.sh\""
},
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/plugins/lt-dev/hooks/scripts/detect-nest-server.sh\""
},
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/plugins/lt-dev/hooks/scripts/detect-lt-cli.sh\""
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 4
},
"eventStats": {
"PreToolUse": 1,
"UserPromptSubmit": 3
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 4
},
"timeoutStats": {
"commandsWithoutTimeout": 4
}
}