.skills/lint/SKILL.md
Check code quality and formatting before committing changes.
Run this skill to check for lint errors and formatting issues.
Run the lint check:
make lint
If clippy reports warnings or errors, fix them before proceeding
Check formatting:
make fmt CHECK=1
If formatting check fails, apply formatting:
make fmt
If license headers are missing, add them:
cd src/redisearch_rs && cargo license-fix
// SAFETY: comment explaining why the unsafe code is sound#[expect(...)]: Prefer over #[allow(...)] for lint suppressionsFor Rust-only linting:
cd src/redisearch_rs && cargo clippy --all-targets --all-features