main
json 44 lines 997 Bytes
Raw
1 {
2 "hooks": {
3 "SessionStart": [
4 {
5 "hooks": [
6 {
7 "type": "command",
8 "command": "if [[ \"$PWD\" != */compiler* ]]; then cat .claude/instructions.md 2>/dev/null || true; fi"
9 }
10 ]
11 }
12 ]
13 },
14 "permissions": {
15 "allow": [
16 "Skill(extract-errors)",
17 "Skill(feature-flags)",
18 "Skill(fix)",
19 "Skill(flags)",
20 "Skill(flow)",
21 "Skill(test)",
22 "Skill(verify)",
23 "Bash(yarn test:*)",
24 "Bash(yarn test-www:*)",
25 "Bash(yarn test-classic:*)",
26 "Bash(yarn test-stable:*)",
27 "Bash(yarn linc:*)",
28 "Bash(yarn lint:*)",
29 "Bash(yarn flow:*)",
30 "Bash(yarn prettier:*)",
31 "Bash(yarn build:*)",
32 "Bash(yarn extract-errors:*)",
33 "Bash(yarn flags:*)"
34 ],
35 "deny": [
36 "Bash(yarn download-build:*)",
37 "Bash(yarn download-build-for-head:*)",
38 "Bash(npm:*)",
39 "Bash(pnpm:*)",
40 "Bash(bun:*)",
41 "Bash(npx:*)"
42 ]
43 }
44 }