agentsclimarketplace

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.

Install
npx -y skills add ComeOnOliver/skillshub --skill lint

Assembled 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

  1. Run the lint check:

    make lint
    
  2. If clippy reports warnings or errors, fix them before proceeding

  3. Check formatting:

    make fmt CHECK=1
    
  4. If formatting check fails, apply formatting:

    make fmt
    
  5. 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.