Skip to content

Commit 5a976c7

Browse files
authored
Merge pull request #431 from nanotaboada/chore/claude-code-integration
chore(claude): improve Claude Code integration
2 parents 9f5bea3 + 4132944 commit 5a976c7

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.claude/commands/precommit.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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 `dotnet build --configuration Release` — must succeed.
5+
3. Run `dotnet test --settings .runsettings` — all tests must pass.
6+
4. Run `dotnet csharpier --check .` — must pass (run `dotnet csharpier .` to auto-fix).
7+
8+
Run steps 2–4, 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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"model": "claude-sonnet-4-6"
2+
"permissions": {
3+
"allow": [
4+
"Bash(dotnet *)"
5+
]
6+
}
37
}

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ms-dotnettools.csdevkit", // C# Dev Kit - Official Microsoft C# tooling
55

66
// AI Assistance
7-
"github.copilot-chat", // GitHub Copilot Chat - AI-powered coding assistant
7+
"anthropic.claude-code", // Claude Code - AI-powered coding assistant
88
"coderabbit.coderabbit-vscode", // CodeRabbit - AI-powered code review
99

1010
// Code Quality

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# CLAUDE.md
22

33
@.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)