/plugin marketplace add ANcpLua/ancplua-claude-plugins/plugin install dotnet-architecture-lint@ancplua-claude-pluginsDefined in ./hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "If you just edited a .props, .targets, .csproj, global.json, or nuget.config file, run the architecture linter:\n\n```bash\nbash \"${CLAUDE_PLUGIN_ROOT}/scripts/lint-dotnet.sh\" .\n```\n\nIf VIOLATIONS found, fix them before git operations. If CLEAN, proceed normally."
}
],
"matcher": "Edit"
},
{
"hooks": [
{
"type": "prompt",
"prompt": "If you just wrote a .props, .targets, .csproj, global.json, or nuget.config file, run the architecture linter:\n\n```bash\nbash \"${CLAUDE_PLUGIN_ROOT}/scripts/lint-dotnet.sh\" .\n```\n\nIf VIOLATIONS found, fix them before git operations. If CLEAN, proceed normally."
}
],
"matcher": "Write"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"prompt": 2
},
"eventStats": {
"PostToolUse": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}