agents-md
Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update…
Perform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing feedback on code quality. Covers security, performance, testing, and design review.
Claude Code
$ npx -y skills add getsentry/skills --skill code-review --agent claude-code
Codex
$ npx skills add getsentry/skills --skill code-review -a codex -y
Cursor
$ npx skills add getsentry/skills --skill code-review -a cursor -y
Gemini CLI
$ npx skills add getsentry/skills --skill code-review -a gemini-cli -y
GitHub Copilot
$ npx skills add getsentry/skills --skill code-review -a github-copilot -y
OpenCode
$ npx skills add getsentry/skills --skill code-review -a opencode -y
Windsurf
$ npx skills add getsentry/skills --skill code-review -a windsurf -y
name: code-review description: Perform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing feedback on code quality. Covers security, performance, testing, and design review.
Follow these guidelines when reviewing code for Sentry projects.
Look for these issues in code changes:
Every PR should have appropriate test coverage:
Verify tests cover actual requirements and edge cases. Avoid excessive branching or looping in test code.
Flag for senior engineer review when changes involve:
# Bad: N+1 query
for user in users:
print(user.profile.name) # Separate query per user
# Good: Prefetch related
users = User.objects.prefetch_related('profile')// Bad: Missing dependency in useEffect
useEffect(() => {
fetchData(userId);
}, []); // userId not in deps
// Good: Include all dependencies
useEffect(() => {
fetchData(userId);
}, [userId]);# Bad: SQL injection risk
cursor.execute(f"SELECT * FROM users WHERE id = {user_id}")
# Good: Parameterized query
cursor.execute("SELECT * FROM users WHERE id = %s", [user_id])Agent skills for Sentry employees, following the Agent Skills open format.
Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update…
Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and…
Write copy following Sentry brand guidelines. Use when writing UI text, error messages, empty states, onboarding flows, 404…
Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing…
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to…
Use for every request to commit changes or draft a commit message. Creates Sentry-style conventional commits with issue…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.