What problem does it solve?
This skill provides guardrails to keep the Searchlite Rust workspace compliant with formatting, linting, building, testing, and performance expectations; ensuring changes are reviewable, reproducible, and safe.
Core Features & Use Cases
- Enforces formatting, linting, building, and testing across the repository with --all-features to ensure a consistent baseline.
- Guides changes to core indexing code, storage/durability, CLI flags, HTTP endpoints, and feature-gated areas (vectors, gpu, zstd, ffi, wasm) to keep PRs safe and auditable.
- Keeps artifacts in sync with contracts by updating openapi.yaml, search-request.schema.json, and example documents when APIs change.
Quick Start
Use the code-quality skill to validate a PR by running the canonical checks:
- cargo fmt --all
- cargo clippy --all --all-features -- -D warnings
- cargo build --all --all-features
- cargo test --all --all-features
If you touch API or schema, also run and update openapi.yaml and search-request.schema.json and provide updated examples in docs.