Skip to content

Commit 5a7e453

Browse files
shadowdevcodeclaude
andcommitted
chore(config): update Claude Code hooks, add Cursor and MCP config
Update hooks to match Write|Edit|MultiEdit events with restructured command format. Add Cursor IDE settings (.cursor/) and MCP server configuration (.mcp.json) for local development environment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f360a0f commit 5a7e453

3 files changed

Lines changed: 38 additions & 4 deletions

File tree

.claude/settings.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,24 @@
2222
"hooks": {
2323
"PreToolUse": [
2424
{
25-
"matcher": "Write|Edit",
26-
"hooks": ["node scripts/lib/check-gate-before-write.js"]
25+
"matcher": "Write|Edit|MultiEdit",
26+
"hooks": [
27+
{
28+
"type": "command",
29+
"command": "node scripts/lib/check-gate-before-write.js"
30+
}
31+
]
2732
}
2833
],
2934
"PostToolUse": [
3035
{
31-
"matcher": "Write|Edit",
32-
"hooks": ["node scripts/lib/check-function-sizes.js"]
36+
"matcher": "Write|Edit|MultiEdit",
37+
"hooks": [
38+
{
39+
"type": "command",
40+
"command": "node scripts/lib/check-function-sizes.js"
41+
}
42+
]
3343
}
3444
]
3545
}

.cursor/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"plugins": {
3+
"linear": {
4+
"enabled": true
5+
},
6+
"neon-postgres": {
7+
"enabled": true
8+
},
9+
"vercel": {
10+
"enabled": true
11+
}
12+
}
13+
}

.mcp.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"neon": {
4+
"type": "http",
5+
"url": "https://mcp.neon.tech/mcp",
6+
"headers": {
7+
"Authorization": "Bearer napi_mnnlxkt8gvdbtqtn6l19h7964qsjd5emwi4h0npwr9j8j0ch4pw2u302hl1rbfip"
8+
}
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)