Skip to content

Commit 7af0af2

Browse files
DrSatyrclaude
andcommitted
chore: add Claude Code config alongside AGENTS.md
- CLAUDE.md imports AGENTS.md so both Claude Code and opencode share one source of truth for agent guidance - .claude/settings.json allowlists common mvnw/git read commands - .gitignore ignores personal .claude/settings.local.json Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 90a7f17 commit 7af0af2

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

‎.claude/settings.json‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(./mvnw:*)",
5+
"Bash(git status:*)",
6+
"Bash(git diff:*)",
7+
"Bash(git log:*)",
8+
"Bash(git show:*)"
9+
]
10+
}
11+
}

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ target/
2727

2828
# OpenCode
2929
.opencode/
30+
31+
# Claude Code (personal/local settings; shared config is CLAUDE.md -> AGENTS.md)
32+
.claude/settings.local.json

‎CLAUDE.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CLAUDE.md
2+
3+
Project guidance for agentic coding tools lives in a single shared file so that
4+
Claude Code, opencode, and other agents stay in sync. Read it here:
5+
6+
@AGENTS.md

0 commit comments

Comments
 (0)