or counterintuitive pieces of code • Build the app with gw assembleDebug • Run unit tests with gw unitTest • Run spotless apply before committing • We prefer coroutines, the RxJava code is legacy
../getsentry look at the code to understand how the build upload API works • Implement the sentry-cli build upload command based on the build upload API • Write a python server based on the build upload endpoint for my integration test
code in to the new codebase • In AGENTS.md, this old code is the base for the new features being implemented. Use it as a reference but don’t add new code there. • Examine the duplicate file analysis in the Emerge codebase to understand how it works • Write the duplicate file analysis feature based on the Emerge implementation in the Sentry codebase
new feature • Can you write a test that proves that the bug was resolved? • How would you test X feature? • Write a script to submit series of apk to the backend for testing load
commit message for these changes • Write commit message or PR title conventions in AGENTS.md • Rebase my branch for me • Remove this commit from my git history
bash scripts but for your agent • Create a commit message, push branch and create PR • /commit-push-pr • https:/ /github.com/anthropics/claude-code/blob/main/.cla ude/commands/commit-push-pr.md • Look at Anthropic repos for inspiration
Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(gh pr create:*) description: Commit, push, and open a PR --- ## Context - Current git status: !`git status` - Current git diff (staged and unstaged changes): !`git diff HEAD` - Current branch: !`git branch --show-current` ## Your task Based on the above changes: 1. Create a new branch if on main 2. Create a single commit with an appropriate message 3. Push the branch to origin 4. Create a pull request using `gh pr create` 5. You have the capability to call multiple tools in a single response. You MUST do all of the above in a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.
on this PR? • Can you check for any failures on this PR in 5 minutes? ◦ That doesn’t work yet, but I wish it did! ◦ It just echoed something to nowhere • Create a CI investigator agent /agents with permission to examine CI
to this issue and mark the issue as “In Review”? • Can you implement a fix for issue E-203? • Write your prompt in the issue ◦ Pretend the person reading the issue has 0 context
for errors in specific files • Query projects and organizations • List and create Sentry DSN's for projects • Invoke Seer to automatically fix issues and retrieve the status and details of an issue fix
is the only AI agent that uses the whole of Sentry’s context (errors, stack traces, commit history, logs, traces) to automatically debug the root cause of an issue and open a PR with a fix (and tests).
Claude auto-compacts when approaching the context window (summarizes) • Clear before doing new work or switching branches • Claude can get confused or slow down