RediSearch / lint
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/lint && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/4165" && unzip -o skill.zip -d .claude/skills/lint && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/lint/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Check code quality and formatting before committing changes
0 views
0 installs
Skill Content
--- name: lint description: Check code quality and formatting before committing changes. Use this to verify your changes meet our coding standards. --- # 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: ```bash make lint ``` 2. If clippy reports warnings or errors, fix them before proceeding 3. Check formatting: ```bash make fmt CHECK=1 ``` 4. If formatting check fails, apply formatting: ```bash make fmt ``` 5. If license headers are missing, add them: ```bash 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: ```bash cd src/redisearch_rs && cargo clippy --all-targets --all-features ```