/plugin marketplace add pure-maple/cc-mmo-plugin/plugin install mmo@cc-mmo-pluginDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "echo '\\n✅ 会话结束提醒:\\n - 运行 /mmo:verify 验证变更\\n - 或使用 reviewer agent 进行代码审查'"
}
],
"matcher": ".*"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "pnpm lint:fix $FILE 2>/dev/null || npm run lint:fix $FILE 2>/dev/null || true"
}
],
"matcher": "Write|Edit"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 2
},
"eventStats": {
"Stop": 1,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 2
}
}