What problem does it solve?
This Skill provides comprehensive, non-negotiable context for developing Rust code within the claude-trace project, ensuring adherence to strict quality, safety, and convention standards.
Core Features & Use Cases
- Enforces Project Standards: Ensures all Rust code meets the project's Minimum Supported Rust Version (MSRV), pedantic clippy rules, zero-unsafe policy, and specific error handling conventions.
- PyO3 Integration Guidance: Details correct patterns for integrating Rust with Python via PyO3, including GIL management and thread safety.
- Testing and Documentation: Mandates specific testing strategies (coverage, location, naming) and documentation standards for public APIs.
- Use Case: When writing a new Rust function for the
claude-trace library, this Skill guides you on how to correctly implement it, add necessary tests, document it according to project standards, and ensure it doesn't violate any safety or linting rules.
Quick Start
Write a new Rust function in src/spans/turn.rs that calculates the duration of a turn span, ensuring it adheres to the project's zero-unsafe policy and includes a comprehensive doc comment.