Lint
Skill ComeOnOliver/skillshub/skills/RediSearch/RediSearch/lint
🧠The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill lintAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 221 tokens by cl100k_base, as published. Nobody here has run it
Lint Skill
Check code quality and formatting before committing changes.
Usage
Run this skill to check for lint errors and formatting issues.
Instructions
-
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
Common Clippy Fixes
- Document unsafe blocks: Add
// SAFETY:comment explaining why the unsafe code is sound - Use
#[expect(...)]: Prefer over#[allow(...)]for lint suppressions
Rust-Specific Checks
For Rust-only linting:
cd src/redisearch_rs && cargo clippy --all-targets --all-features