gitrs - Patch-first Rust refactoring with gitrs
Performs Rust refactoring and modification through semantic or ordinary gitrs hunks, then validates, applies, and verifies the changes.
Tags
Updated: 2026-11-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Read targeted source spans
- Search Rust symbol sites
- Compose complete patch files
- Validate patches with gitrs check
- Apply semantic hunks
- Verify git diffs
- Run Cargo checks and tests
Inputs
- Rust source files
- Refactoring targets
- Symbol names
- Patch file
- Named test requirements
Outputs
- Applied source changes
- Patch validation report
- Git diff statistics
- Cargo check results
- Test results
Requirements
- gitrs toolchain
- Matching applyrs and diffrs versions
- Rust and Cargo toolchain
- Repository write permissions
