Skip to content

Commit df451ad

Browse files
authored
Merge pull request #540 from nanotaboada/chore/claude-code-integration
chore(claude): improve Claude Code integration
2 parents cf4b80b + 35049d3 commit df451ad

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
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 `uv run flake8 .` — must pass.
5+
3. Run `uv run black --check .` — must pass (run `uv run black .` to auto-fix).
6+
4. Run `uv run pytest --cov=./ --cov-report=term` — all tests must pass, coverage must be ≥80%.
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: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
2-
"model": "claude-sonnet-4-6",
32
"permissions": {
43
"allow": [
5-
"Bash(gh issue:*)",
6-
"Bash(gh auth:*)",
7-
"Bash(uv run:*)",
4+
"Bash(uv run *)",
85
"Bash(source .venv/bin/activate)",
96
"WebFetch(domain:github.com)",
107
"WebFetch(domain:api.github.com)"

.vscode/extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ms-python.python", // Python language support
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
@@ -46,6 +46,6 @@
4646
"unwantedRecommendations": [
4747
"ms-azuretools.vscode-docker", // Docker (legacy) - Use vscode-containers instead
4848
"docker.docker", // Docker DX - Use ms-azuretools.vscode-containers
49-
"github.copilot" // Copilot (base) - Unified into copilot-chat
49+
"github.copilot" // GitHub Copilot - legacy base extension
5050
]
5151
}

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)