Skip to content

Commit d6c7442

Browse files
nanotaboadaclaude
andcommitted
chore(claude): improve Claude Code integration
- Add CLAUDE.md importing copilot-instructions.md with Claude Code section - Add .claude/settings.json with ./mvnw permissions - Add .claude/commands/precommit.md with full pre-commit checklist - Replace github.copilot-chat with anthropic.claude-code in extensions.json - Fix co-author in copilot-instructions.md to Claude Sonnet 4.6 - Add .claude/settings.local.json to .gitignore Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent dd8d3ea commit d6c7442

File tree

6 files changed

+24
-2
lines changed

6 files changed

+24
-2
lines changed

.claude/commands/precommit.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Run the pre-commit checklist for this project:
2+
3+
1. Remind me to update `CHANGELOG.md` `[Unreleased]` section (Added / Changed / Fixed / Removed) — I must do this manually.
4+
2. Run `./mvnw clean install` — must succeed with no compilation warnings and all tests passing.
5+
3. Remind me to open `target/site/jacoco/index.html` to verify coverage after the build completes.
6+
7+
Run step 2, report the results clearly, then propose a branch name and commit message for my approval using the format `type(scope): description (#issue)` (max 80 chars; types: `feat` `fix` `chore` `docs` `test` `refactor` `ci` `perf`). Do not create the branch or commit until I explicitly confirm.

.claude/settings.json

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

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,5 @@ Example: `feat(api): add player stats endpoint (#42)`
120120
```text
121121
feat(scope): description (#issue)
122122
123-
Co-authored-by: Claude <noreply@anthropic.com>
123+
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
124124
```

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
HELP.md
2+
.claude/settings.local.json
23
target/
34
!.mvn/wrapper/maven-wrapper.jar
45
!**/src/main/**/target/

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vscjava.vscode-spring-initializr", // Spring Initializr - Generate Spring Boot projects
1515

1616
// AI Assistance
17-
"github.copilot-chat", // GitHub Copilot Chat - AI-powered coding assistant
17+
"anthropic.claude-code", // Claude Code - AI-powered coding assistant
1818
"coderabbit.coderabbit-vscode", // CodeRabbit - AI-powered code review
1919

2020
// Code Quality

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# CLAUDE.md
2+
3+
@.github/copilot-instructions.md
4+
5+
## Claude Code
6+
7+
- Run `/precommit` to execute the full pre-commit checklist for this project.

0 commit comments

Comments
 (0)