Sign inGet started
–

sqlx-query-validator

by macro-inc/macro · Coding & Development

Reviews changed Rust code for SQLx query correctness, enforcing compile-time macros, refreshing the offline query cache, and checking queries for performance and security issues.

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
79
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Inspect Rust changes for SQLx queries. Use after modifying Rust code that adds or changes SQLx queries to ensure compile-time SQLx macros are used, run `just prepare_db` for offline query cache, and review queries for security issues. Writing a query and measuring its plan is the query-writing skill; reviewing a diff's query cost is query-review.

#code-review#performance#rust#security#sql#sqlx

Quality judgment

completeness
9.0/10
clarity
8.5/10
trigger quality
7.5/10
examples
7.0/10
structure
9.0/10
overall
8.0/10

The document provides thorough, well-structured guidance for validating SQLx queries after Rust changes. It covers scope identification, macro preference, cache refresh, performance handoff, and security review. The checklist is comprehensive and the examples are clear. The only deduction is that trigger quality is slightly lower since the tool requires explicit VCS interaction rather than being fully automatic.

allowed-tools

Bash Read Edit Glob Grep

Files (1)

SKILL.md · 4.1 KB