- .claude/rules: team-policy, git-workflow, code-style, naming, testing - .claude/skills: init-project, sync-team-workflow, create-mr, fix-issue - .claude/scripts: on-pre-compact, on-post-compact, on-commit (v1.2.0) - .claude/settings.json: 팀 표준 권한 allow/deny + script hooks - .githooks: commit-msg, pre-commit (mvn compile), post-checkout - .mvn/settings.xml: Nexus 미러 설정 - .editorconfig: 팀 표준 포맷 - CLAUDE.md: 팀 규칙 참조 섹션 추가 - .gitignore: !.claude/ negation 추가 (글로벌 gitignore override) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
85 lines
1.9 KiB
JSON
85 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(./mvnw *)",
|
|
"Bash(mvn *)",
|
|
"Bash(java -version)",
|
|
"Bash(java -jar *)",
|
|
"Bash(git status)",
|
|
"Bash(git diff *)",
|
|
"Bash(git log *)",
|
|
"Bash(git branch *)",
|
|
"Bash(git checkout *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit *)",
|
|
"Bash(git pull *)",
|
|
"Bash(git fetch *)",
|
|
"Bash(git merge *)",
|
|
"Bash(git stash *)",
|
|
"Bash(git remote *)",
|
|
"Bash(git config *)",
|
|
"Bash(git rev-parse *)",
|
|
"Bash(git show *)",
|
|
"Bash(git tag *)",
|
|
"Bash(curl -s *)",
|
|
"Bash(sdk *)"
|
|
],
|
|
"deny": [
|
|
"Bash(git push --force*)",
|
|
"Bash(git push -f *)",
|
|
"Bash(git push origin --force*)",
|
|
"Bash(git reset --hard*)",
|
|
"Bash(git clean -fd*)",
|
|
"Bash(git checkout -- .)",
|
|
"Bash(git restore .)",
|
|
"Bash(rm -rf /)",
|
|
"Bash(rm -rf ~)",
|
|
"Bash(rm -rf .git*)",
|
|
"Bash(rm -rf /*)",
|
|
"Read(./**/.env)",
|
|
"Read(./**/.env.*)",
|
|
"Read(./**/secrets/**)",
|
|
"Read(./**/application-local.yml)",
|
|
"Read(./**/application-local.properties)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "compact",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/scripts/on-post-compact.sh",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/scripts/on-pre-compact.sh",
|
|
"timeout": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/scripts/on-commit.sh",
|
|
"timeout": 15
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|