Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:00:14 +08:00
commit 88c542f90b
4 changed files with 79 additions and 0 deletions

22
hooks/hooks.json Normal file
View File

@@ -0,0 +1,22 @@
{
"description": "Playwright MCP auto-setup hook",
"hooks": {
"SessionStart": [
{
"description": "Ensure Playwright browser is installed",
"matcher": "startup|resume",
"priority": 100,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-playwright.js",
"description": "Auto-install Playwright chromium on first use",
"continueOnError": false,
"suppressOutput": false
}
]
}
]
}
}