install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/RediSearch/RediSearch/lint" ~/.claude/skills/comeonoliver-skillshub-lint && rm -rf "$T"
manifest:
skills/RediSearch/RediSearch/lint/SKILL.mdsource content
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
comment explaining why the unsafe code is sound// SAFETY: - Use
: Prefer over#[expect(...)]
for lint suppressions#[allow(...)]
Rust-Specific Checks
For Rust-only linting:
cd src/redisearch_rs && cargo clippy --all-targets --all-features