Skip to content

feat(skills): Add rust-development skill#53

Draft
lcian wants to merge 1 commit intomainfrom
feat/rust-development-skill
Draft

feat(skills): Add rust-development skill#53
lcian wants to merge 1 commit intomainfrom
feat/rust-development-skill

Conversation

@lcian
Copy link
Member

@lcian lcian commented Feb 18, 2026

Add a new skill that reviews Rust code changes against Sentry's Rust development conventions from https://develop.sentry.dev/engineering-practices/rust.md.

The skill is designed to be invoked when validating or finishing a Rust PR. It checks for:

  • Error handling (.unwrap(), unchecked indexing, arithmetic overflow)
  • Iterator patterns in public APIs (explicit types, FusedIterator, naming)
  • Async code (native async traits over async-trait, Send bounds)
  • Field visibility (private by default, accessor patterns)
  • Import organization (std / external / crate-local grouping)
  • Naming conventions (getters, conversions, constructors)
  • Documentation on public items (RFC 505/1574 style)
  • Declaration ordering within files and impl blocks
  • Semver compliance for version bumps (pre-1.0 vs post-1.0)

Intentionally excludes one-time setup concerns (Clippy config, IDE setup, Makefile targets, learning resources) since those don't need per-PR validation.

🤖 Generated with Claude Code

Add a skill that reviews Rust code changes against Sentry's Rust
conventions. Covers error handling, iterator patterns, async code,
field visibility, import organization, naming, documentation, and
versioning. Designed to be invoked when validating or finishing a PR.

Based on https://develop.sentry.dev/engineering-practices/rust.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

Comments