en un clic
testing
Run tests, linting, and formatting checks for rhusky
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Run tests, linting, and formatting checks for rhusky
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Create commits following Angular Conventional Commits format with proper scope naming for consistent changelog generation
Prepare a release including version bump, testing, and PR creation
Bump version in Cargo.toml
| name | testing |
| description | Run tests, linting, and formatting checks for rhusky |
Use this skill when running tests, checking code quality, or verifying the codebase compiles and passes all checks.
# Run all tests
cargo test
# Run a specific test
cargo test test_name
# Run tests with output
cargo test -- --nocapture
Formatting requires the nightly toolchain:
# Check formatting (CI mode)
cargo +nightly fmt --all -- --check
# Apply formatting fixes
cargo +nightly fmt --all
Clippy also requires nightly with strict settings:
cargo +nightly clippy --all-targets --all-features -- -D warnings -W missing-docs
This enforces:
-D warnings)-W missing-docs)Run all checks in sequence:
cargo +nightly fmt --all -- --check && \
cargo +nightly clippy --all-targets --all-features -- -D warnings -W missing-docs && \
cargo test
# Debug build
cargo build
# Release build
cargo build --release
# Check only (faster, no codegen)
cargo check
Git hooks in .githooks/ run automatically on commit:
Activate hooks: git config core.hooksPath .githooks
rustup install nightly
All public items need documentation. Add doc comments:
/// Brief description of the function.
pub fn my_function() {}