mirror of
https://github.com/duthaho/claudekit.git
synced 2026-07-13 18:45:18 +03:00
74 lines
1.5 KiB
JSON
74 lines
1.5 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(git:*)",
|
|
"Bash(npm:*)",
|
|
"Bash(npx:*)",
|
|
"Bash(pnpm:*)",
|
|
"Bash(yarn:*)",
|
|
"Bash(pip:*)",
|
|
"Bash(poetry:*)",
|
|
"Bash(python:*)",
|
|
"Bash(node:*)",
|
|
"Bash(pytest:*)",
|
|
"Bash(ruff:*)",
|
|
"Bash(eslint:*)",
|
|
"Bash(prettier:*)",
|
|
"Bash(tsc:*)",
|
|
"Bash(docker:*)",
|
|
"Bash(gh:*)",
|
|
"Read(*)",
|
|
"Write(*)",
|
|
"Edit(*)"
|
|
],
|
|
"deny": []
|
|
},
|
|
"mcpServers": {
|
|
"_comment": "Uncomment servers to enable. See .claude/mcp/README.md for setup.",
|
|
"_context7": {
|
|
"command": "npx",
|
|
"args": ["-y", "@context7/mcp-server"]
|
|
},
|
|
"_sequential": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
},
|
|
"_puppeteer": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-puppeteer"]
|
|
},
|
|
"_magic": {
|
|
"command": "npx",
|
|
"args": ["-y", "@anthropic/magic-mcp-server"]
|
|
}
|
|
},
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": {
|
|
"tool": "Write",
|
|
"files": ["*.py"]
|
|
},
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "ruff check --fix $FILE 2>/dev/null || true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"tool": "Write",
|
|
"files": ["*.ts", "*.tsx"]
|
|
},
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "npx eslint --fix $FILE 2>/dev/null || true"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|