Skip to content

build: Add initial Claude Code context #93549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025
Merged

build: Add initial Claude Code context #93549

merged 1 commit into from
Jun 17, 2025

Conversation

dcramer
Copy link
Member

@dcramer dcramer commented Jun 13, 2025

Baseline conext for Claude Code. Avoids the cost of anyone else doing this, and will be used as we experiment with Claude Code in this repo.

@dcramer dcramer marked this pull request as ready for review June 13, 2025 19:29

## Key Commands

### Development Setup
Copy link
Member

Choose a reason for hiding this comment

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

I see sentry devserver is mentioned in the Debugging section, should that be moved up here?

Copy link
Member Author

Choose a reason for hiding this comment

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

@trevor-e unlikely to matter - this is consumed by the LLM

CLAUDE.md Outdated
Comment on lines 98 to 105
flake8
black --check
isort --check
Copy link
Member

Choose a reason for hiding this comment

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

i've got this in my context:

## Linting and Code Quality
- Run pre-commit on specific files: `pre-commit run --files src/sentry/path/to/file.py`

that's usually better as running flake8 before black will make claude grind through formatting issues manually.

@dcramer
Copy link
Member Author

dcramer commented Jun 17, 2025

Think this is an ok starting point. Lets not expect perfection. If you are using Claude Code and you find some common mistakes, feel free to publish improvements to this file.

@dcramer dcramer merged commit 36a9860 into master Jun 17, 2025
35 checks passed
@dcramer dcramer deleted the feat/CLAUDE-init branch June 17, 2025 16:54
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
Baseline conext for Claude Code. Avoids the cost of anyone else doing
this, and will be used as we experiment with Claude Code in this repo.
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.

3 participants