- /mr: 권한 확인 + RELEASE-NOTES.md 자동 갱신 + PR 승인/머지 옵션 - /release: admin 권한 확인 + claude-bot PR 자동 승인/머지 - /version: 신규 스킬 (RELEASE-NOTES → VERSION-HISTORY 생성) - /push: Gitea API 권한 확인 추가 - release-notes-guide.md: 2계층 릴리즈 노트 작성 지침 - settings.json: CLAUDE_BOT_TOKEN 환경변수 추가 - pre-commit: 모노레포 hook 유지 (템플릿은 단일 프로젝트용) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"env": {
|
|
"CLAUDE_BOT_TOKEN": "4804f9f63e799e25d9a8b381e89c8bff11471b7a"
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm run *)",
|
|
"Bash(npm install *)",
|
|
"Bash(npm test *)",
|
|
"Bash(npx *)",
|
|
"Bash(node *)",
|
|
"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(fnm *)"
|
|
],
|
|
"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 /*)",
|
|
"Bash(rm -rf node_modules)",
|
|
"Read(./**/.env)",
|
|
"Read(./**/.env.*)",
|
|
"Read(./**/secrets/**)"
|
|
]
|
|
},
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|