Skill / SKILL.md

Sqlx Query Validator

macro-inc/macro

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.
2 views 6,575 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/macro-inc/macro' skill-source

Use the complete skill-source/.agents/skills/sqlx-query-validator directory with your client’s skill installer.

  • .agents/skills/sqlx-query-validator

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/sqlx-query-validator

Compatibility & requirements

Declared tools

Bash Read Edit Glob Grep

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
1a7d5ab043f0e6f2d6c19f757b5fca0acf3cc0cee910b93860de4d799a08b41c
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills