Lint
Lint analyzes your Redis search queries for potential performance issues and suggests improvements to optimize speed and efficiency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add lint npx -- -y @trustedskills/lint
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"lint": {
"command": "npx",
"args": [
"-y",
"@trustedskills/lint"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Lint skill checks code quality and formatting before committing changes. It analyzes your codebase for lint errors and identifies any formatting issues that need to be addressed. This helps ensure a consistent coding style and catches potential problems early in the development process, improving overall code maintainability. The skill uses make commands and cargo for Rust-specific checks.
When to use it
- Before committing changes to a repository.
- To enforce consistent code formatting within a project.
- When identifying and resolving linting errors.
- As part of a continuous integration/continuous delivery (CI/CD) pipeline.
Key capabilities
- Runs lint checks for potential errors.
- Checks code formatting according to defined standards.
- Provides instructions on fixing common Clippy warnings and errors.
- Includes guidance on adding missing license headers.
- Supports Rust-specific linting using
cargo clippy.
Example prompts
- "Run a lint check on the current codebase."
- "Check the formatting of my code."
- "Fix any formatting issues I have."
Tips & gotchas
- The skill relies on
makecommands and cargo, so these tools must be available in your environment. - If Clippy reports warnings or errors, it's important to fix them before proceeding.
- For Rust-only linting, navigate to the
src/redisearch_rsdirectory and runcargo clippy --all-targets --all-features.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.