claude-code: init module (#7685)

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-08-16 21:33:06 -05:00 committed by GitHub
parent 567312006a
commit 8b4ac14968
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 589 additions and 0 deletions

View file

@ -0,0 +1,55 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"hooks": {
"PreToolUse": [
{
"hooks": [
{
"command": "echo 'Running bash command: $CLAUDE_TOOL_INPUT'",
"type": "command"
}
],
"matcher": "Bash"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"command": "echo 'User submitted: $CLAUDE_USER_PROMPT'",
"type": "command"
}
],
"matcher": ""
}
]
},
"includeCoAuthoredBy": false,
"model": "claude-3-5-sonnet-20241022",
"permissions": {
"additionalDirectories": [
"../docs/"
],
"allow": [
"Bash(git diff:*)",
"Edit"
],
"ask": [
"Bash(git push:*)"
],
"defaultMode": "acceptEdits",
"deny": [
"WebFetch",
"Bash(curl:*)",
"Read(./.env)",
"Read(./secrets/**)"
],
"disableBypassPermissionsMode": "disable"
},
"statusLine": {
"command": "input=$(cat); echo \"[$(echo \"$input\" | jq -r '.model.display_name')] 📁 $(basename \"$(echo \"$input\" | jq -r '.workspace.current_dir')\")\"",
"padding": 0,
"type": "command"
},
"theme": "dark"
}