Skip to content

chore(claude): improve Claude Code integration#431

Merged
nanotaboada merged 2 commits intomasterfrom
chore/claude-code-integration
Mar 24, 2026
Merged

chore(claude): improve Claude Code integration#431
nanotaboada merged 2 commits intomasterfrom
chore/claude-code-integration

Conversation

@nanotaboada
Copy link
Copy Markdown
Owner

@nanotaboada nanotaboada commented Mar 24, 2026

Summary

  • Replace github.copilot-chat with anthropic.claude-code in .vscode/extensions.json
  • Update .claude/settings.json: move model to user-level, add dotnet * tool permissions
  • Add .claude/commands/precommit.md with the full pre-commit checklist as a /precommit slash command
  • Add ## Claude Code section to CLAUDE.md pointing to /precommit

Notes

.claude/settings.json and .claude/commands/ are committed intentionally — they contain no secrets and are useful for any contributor using Claude Code. .claude/settings.local.json remains gitignored for machine-specific overrides.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Added a manual pre-commit checklist covering changelog updates, build verification, test execution, formatting checks, and commit/branch guidance.
    • Added documentation entry for invoking the project’s pre-commit workflow.
  • Chores

    • Adjusted tooling permissions to allow automated development tooling to run during checks.
    • Updated recommended VS Code extension from prior AI assistant to a different AI code assistant.

- Replace github.copilot-chat with anthropic.claude-code in extensions.json
- Update .claude/settings.json: move model to user-level, add dotnet permissions
- Add .claude/commands/precommit.md with full pre-commit checklist
- Add Claude Code section to CLAUDE.md pointing to /precommit

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 74bc653c-b9c5-4f1c-a4a9-548932040009

📥 Commits

Reviewing files that changed from the base of the PR and between 7135480 and 4132944.

📒 Files selected for processing (1)
  • .claude/commands/precommit.md
✅ Files skipped from review due to trivial changes (1)
  • .claude/commands/precommit.md

Walkthrough

Adds Claude AI tooling and a manual pre-commit checklist: new .claude/commands/precommit.md, updated .claude/settings.json permissions, VS Code recommendation switching to Claude Code, and a reference in CLAUDE.md.

Changes

Cohort / File(s) Summary
Claude config & precommit
/.claude/commands/precommit.md, /.claude/settings.json
Added a manual pre-commit checklist (build, test, format, commit guidance) and replaced model config with a permissions entry allowing Bash(dotnet *) execution.
Documentation
/CLAUDE.md
Added a "Claude Code" section referencing the /precommit command.
Editor recommendations
/.vscode/extensions.json
Replaced github.copilot-chat with anthropic.claude-code in recommended AI Assistance extensions.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(claude): improve Claude Code integration' follows Conventional Commits format with appropriate prefix, is 46 characters (well under 80), and accurately summarizes the main objective of integrating Claude Code tooling into the project.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/claude-code-integration
  • 🛠️ sync documentation: Commit on current branch
  • 🛠️ sync documentation: Create PR
  • 🛠️ enforce http error handling: Commit on current branch
  • 🛠️ enforce http error handling: Create PR
  • 🛠️ idiomatic review: Commit on current branch
  • 🛠️ idiomatic review: Create PR
  • 🛠️ verify api contract: Commit on current branch
  • 🛠️ verify api contract: Create PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/commands/precommit.md:
- Line 8: Update the existing instruction that references "Conventional Commits"
(the sentence starting "Run steps 2–4, report the results clearly...") to
explicitly require the repo's commit format: "type(scope): description (`#issue`)"
with a maximum description length of 80 characters and the allowed types listed
(feat, fix, chore, docs, test, refactor, ci, perf); ensure the example and prose
reflect the required "(`#issue`)" suffix and the 80-character max so contributors
follow the repo convention.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 07d2912e-be8f-413c-b119-72eb2c9c97c9

📥 Commits

Reviewing files that changed from the base of the PR and between 9f5bea3 and 7135480.

📒 Files selected for processing (4)
  • .claude/commands/precommit.md
  • .claude/settings.json
  • .vscode/extensions.json
  • CLAUDE.md

Comment thread .claude/commands/precommit.md Outdated
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@nanotaboada nanotaboada merged commit 5a976c7 into master Mar 24, 2026
9 checks passed
@nanotaboada nanotaboada deleted the chore/claude-code-integration branch March 24, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant