- CLAUDE.md: Java/Spring Boot/Gradle 프로젝트 가이드 - .claude/settings.json: Gradle 빌드 도구 권한 설정 - .claude/rules/: Java 코드 스타일, 네이밍, 테스트 규칙 - .githooks/pre-commit: Gradle 컴파일 검증 - gradle.properties.example: Nexus 레포지토리 설정 예시 - .sdkmanrc: JDK 17 버전 고정
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(./gradlew *)",
|
|
"Bash(gradle *)",
|
|
"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)"
|
|
]
|
|
}
|
|
}
|