Skip to content

Commit 9486265

Browse files
ci: add claude perms, hooks
1 parent dc3d549 commit 9486265

1 file changed

Lines changed: 83 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(cat:*)",
5+
"Bash(curl:*)",
6+
"Bash(deno fmt:*)",
7+
"Bash(deno lint:*)",
8+
"Bash(fd:*)",
9+
"Bash(git add:*)",
10+
"Bash(git bisect:*)",
11+
"Bash(git checkout:*)",
12+
"Bash(git cherry-pick:*)",
13+
"Bash(git commit:*)",
14+
"Bash(git fetch:*)",
15+
"Bash(git log:*)",
16+
"Bash(git merge:*)",
17+
"Bash(git pull:*)",
18+
"Bash(git push:*)",
19+
"Bash(git push:*)",
20+
"Bash(git rev-parse:*)",
21+
"Bash(git revert:*)",
22+
"Bash(git show:*)",
23+
"Bash(git status:*)",
24+
"Bash(head:*)",
25+
"Bash(ln:*)",
26+
"Bash(ls:*)",
27+
"Bash(lsof:*)",
28+
"Bash(npm:*)",
29+
"Bash(npx:*)",
30+
"Bash(prek:*)",
31+
"Bash(pytest:*)",
32+
"Bash(python:*)",
33+
"Bash(python3:*)",
34+
"Bash(rg:*)",
35+
"Bash(ruff:*)",
36+
"Bash(sqlite3:*)",
37+
"Bash(task:*)",
38+
"Bash(tee:*)",
39+
"Bash(timeout:*)",
40+
"Bash(tree:*)",
41+
"Bash(uv:*)",
42+
"mcp__backlog__get_task_creation_guide",
43+
"mcp__backlog__get_workflow_overview",
44+
"mcp__backlog__get_workflow_overview",
45+
"mcp__backlog__task_create",
46+
"mcp__backlog__task_create",
47+
"mcp__backlog__task_edit",
48+
"mcp__backlog__task_edit",
49+
"mcp__backlog__task_list",
50+
"mcp__backlog__task_view",
51+
"mcp__context7__query-docs",
52+
"mcp__context7__query-docs",
53+
"mcp__serena__activate_project",
54+
"mcp__serena__find_file",
55+
"mcp__serena__find_referencing_symbols",
56+
"mcp__serena__find_symbol",
57+
"mcp__serena__get_current_config",
58+
"mcp__serena__get_symbols_overview",
59+
"mcp__serena__initial_instructions",
60+
"mcp__serena__list_dir",
61+
"mcp__serena__read_memory",
62+
"mcp__serena__think_about_task_adherence",
63+
"Read(//tmp/**)",
64+
"Read(//Users/**)",
65+
"WebFetch(domain:meetup.com)",
66+
"WebSearch"
67+
],
68+
"deny": []
69+
},
70+
"hooks": {
71+
"PostToolUse": [
72+
{
73+
"matcher": "Write",
74+
"hooks": [
75+
{
76+
"type": "command",
77+
"command": "git diff --name-only HEAD | xargs -r prek run --files"
78+
}
79+
]
80+
}
81+
]
82+
}
83+
}

0 commit comments

Comments
 (0)