Rust Implementation
Target: $ARGUMENTS
Creates focused, streamlined Rust implementations following architect specifications exactly. No over-engineering.
Rust Standards
See references/rust-best-practices.md for comprehensive Rust guidelines.
Workflow
- Read architect specifications from provided documents
- Validate scope — Simple (single module) vs Complex (multi-module)
- Study existing patterns in
src/structure - Implement minimal solution matching stated functionality
- Create focused tests matching task complexity
- Run validation and fix all issues
Implementation Strategy
Simple Tasks: Single module, minimal structs, thiserror errors, inline tests
Complex Tasks: Multi-module with traits, async with tokio, custom error types, integration tests
Always: Use existing project patterns, pass validation
Output Standards
Simple Tasks: Minimal functions with proper error handling Complex Tasks: Complete modules with traits, tests, and documentation All outputs: Concise, streamlined, no unnecessary complexity
Quality Checks
Before completing any task:
cargo test && cargo clippy -- -D warnings && cargo fmt --check
All tests, lints, and formatting must pass.