lint
/lint
Check code quality and formatting before committing changes. Use this to verify your changes meet our coding standards.
- Author
- RediSearch ↗
- Repository
- RediSearch ↗
- Licence
- AGPL-3.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
What it does and when to use it
Check code quality and formatting before committing changes. Use this to verify your changes meet our coding standards.
Original author description
Check code quality and formatting before committing changes. Use this to verify your changes meet our coding standards.
How it works
- Usage
- Instructions
SKILL.md preview
--- 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 ### C Code 1. Check C/C++ formatting against `.clang-format`: ```bash clang-format --dry-run -Werror <modified .c and .h files> ``` 2. If formatting check fails, apply formatting: ```bash clang-format -i <modified .c and .h files> ``` 3. Verify the project compiles without warnings-as-errors: ```bash ./build.sh ``` The CMake build promotes key warnings to errors (`-Werror=incompatible-pointer-types`, `-Werror=implicit-function-declaration`). A successful build confirms these pass. ### Rust Code 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) # subshell: custom subcommand, no --manifest-path ``` ### 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-Only Quick Check ```bash cargo clippy --manifest-path src/redisearch_rs/Cargo.toml --all-targets --all-features ```
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · RediSearch/RediSearch | 100 | AGPL-3.0 |
| pmdevsolutions/aurelius | 100 | MIT |
| rvdbreemen/adr-kit | 100 | MIT |
| mehrad-dm/mastermind | 100 | MIT |
| rjroy/vibe-garden | 100 | MIT |
| muon-m2/magento2-tools | 100 | MIT |
| arbazkhan971/godmode | 100 | MIT |
| plato-corp/skills | 100 | MIT |
| Zate/cc-plugins | 100 | MIT |
Database snapshot: 13.11.2026 · package version e609c765d776 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100go-lint
Run golangci-lint to check Go code quality. Use when the user asks to lint, check for lint issues, or verify code quality in a Go project, or when linting is appropriate before committing Go code changes. - 90check
Validate code quality — auto-fix formatting/lint, verify types, run tests. Use when asked to "validate code", "check code", or validate before committing; also lint-only asks ("run linter", "fix lint errors"). Don't use for committing (/commit), pushing (/to-pr), or writing new tests (/tdd). - 100run-tests
Use this skill when the user asks to "run tests", "test this", "check if tests pass", "cargo test", "run clippy", "lint this", "check formatting", "cargo fmt", "CI checks", "verify changes", "does this pass tests", "run the full check", "pre-commit check", or wants to verify… - 100trellis-check
Comprehensive quality verification: spec compliance, lint, type-check, tests, cross-layer data flow, code reuse, and consistency checks. Use when code is written and needs quality verification, before committing changes, or to catch context drift during long sessions. - 100writing-code
Apply Gather V2 coding standards (STANDARDS.md) when writing or modifying code. Use when writing new code, refactoring, or reviewing code for standards compliance. - 100review
Review code quality, security, and maintainability before committing. Use when reviewing code changes, checking code quality, performing security review, or validating changes before commit.