-
-
Notifications
You must be signed in to change notification settings - Fork 291
Expand file tree
/
Copy pathsettings.example.json
More file actions
133 lines (133 loc) · 3.85 KB
/
Copy pathsettings.example.json
File metadata and controls
133 lines (133 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"defaultMode": "auto",
"deny": [
"Bash(rm -rf *)",
"Bash(curl * | bash)",
"Bash(wget * | sh)",
"Edit(/vendor/**)",
"Edit(/node_modules/**)",
"Read(**/.env)",
"Read(**/.env.*)"
],
"ask": [
"Bash(git push --force*)",
"Bash(git push * --force*)",
"Bash(git push -f*)",
"Bash(git push * main)",
"Bash(git push * main *)",
"Bash(git push *:main)",
"Bash(git push *:main *)",
"Bash(git push *:refs/heads/main*)",
"Bash(git push * master)",
"Bash(git push * master *)",
"Bash(git push *:master)",
"Bash(git push *:master *)",
"Bash(git push *:refs/heads/master*)",
"Bash(gh pr merge *)",
"Bash(npm publish*)",
"Bash(pnpm publish*)",
"Bash(cargo publish*)",
"Bash(vercel --prod*)",
"Bash(vercel deploy*)"
],
"allow": [
"Bash(npm test)",
"Bash(npm run lint)",
"Bash(npm run typecheck)",
"Bash(npm run build)",
"Bash(git status)",
"Bash(git branch *)",
"Bash(git add *)",
"Bash(npx tsc *)",
"Bash(npx vitest *)",
"Bash(npx eslint *)",
"mcp__github__get_*",
"mcp__github__list_*",
"mcp__context7"
]
},
"autoMode": {
"environment": [
"$defaults",
"Source control: every repository under github.com/your-org is trusted; pushes to feature branches are routine.",
"Package registries: registry.npmjs.org and pypi.org are normal read sources; publishing always needs an explicit request.",
"Local services: dev servers and test databases on localhost are disposable development infrastructure."
],
"allow": [
"$defaults",
"Running the project's own test, lint, typecheck, and build scripts is routine."
],
"soft_deny": [
"$defaults",
"Outward writes need explicit intent: opening or commenting on pull requests and issues, sending messages, creating releases, and deploying, unless the user asked for that specific action in this session.",
"Merging a pull request needs the user to approve that specific merge in this session."
],
"hard_deny": [
"$defaults"
]
},
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": true,
"allowUnsandboxedCommands": true,
"excludedCommands": [
"docker *",
"gh *"
],
"filesystem": {
"allowWrite": [
"/tmp",
"~/.npm",
"~/.cache"
]
},
"network": {
"allowedDomains": [
"github.com",
"api.github.com",
"*.githubusercontent.com",
"registry.npmjs.org"
],
"allowLocalBinding": true
},
"credentials": {
"files": [
{ "path": "~/.ssh", "mode": "deny" },
{ "path": "~/.aws", "mode": "deny" }
]
}
},
"outputStyle": "Explanatory",
"statusLine": "model branch tokens",
"plansDirectory": ".claude/plans",
"enableAllProjectMcpServers": false,
"attribution": {
"commitMessage": "",
"prDescription": ""
},
"env": {
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "80"
},
"spinnerVerbs": [
"Thinking",
"Analyzing",
"Exploring",
"Investigating",
"Crafting",
"Reviewing"
],
"spinnerTipsOverride": [
"Use /compact at task boundaries to keep context fresh",
"Shift+Tab cycles modes: Manual > Accept edits > Plan",
"Auto mode blocked something? /permissions > Recently denied, press r to retry",
"Ask rules always prompt, even in auto mode",
"Ctrl+B sends the current task to background",
"Use subagents for parallel exploration",
"claude -w creates an instant parallel worktree session",
"Esc Esc rewinds to the last checkpoint",
"Write tests alongside code for better AI output",
"/doctor diagnoses configuration issues"
]
}