← 返回 Skills 市场
anderskev

Sqlx Code Review

作者 Kevin Anderson · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
172
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install sqlx-code-review
功能描述
Reviews sqlx database code for compile-time query checking, connection pool management, migration patterns, and PostgreSQL-specific usage. Use when reviewing...
安全使用建议
This is an instruction-only checklist for reviewing sqlx usage in Rust projects and appears coherent with that purpose. Before installing/using it: 1) confirm what the referenced "beagle-rust:review-verification-protocol" means in your environment (it looks like an external verification step or another skill/protocol but is not declared); 2) only run the review on code you permit the agent to read — the skill expects the agent to open Cargo.toml, sqlx.toml, .rs files and may look for DATABASE_URL/sqlx cached metadata; and 3) there are no network endpoints or credentials declared by the skill, but if you see prompts later to provide a DATABASE_URL or other secret for live verification, treat that as an optional external action and confirm you want to provide such secrets. Overall the skill is internally consistent and low-risk, aside from the minor undeclared protocol dependency.
能力评估
Purpose & Capability
Name and description (sqlx code review) match the SKILL.md and reference docs: it asks the reviewer to inspect Cargo.toml, sqlx.toml, .rs files, queries, pools, and migrations — all directly relevant. No unrelated binaries, credentials, or config paths are required.
Instruction Scope
The runtime instructions stay on-topic (open Cargo.toml/sqlx.toml/source files and report file:line anchored findings). One minor ambiguity: the SKILL.md requires the reviewer to "Load and complete beagle-rust:review-verification-protocol" after certain gates — that references an external protocol/skill ID without explanation. This could simply be a verification step in your environment, but it is an external dependency the skill doesn't declare. Otherwise the instructions do not ask the agent to read unrelated system files or exfiltrate data.
Install Mechanism
Instruction-only skill with no install spec and no code files to execute. This is the lowest-risk install profile; nothing is downloaded or written to disk by an installer.
Credentials
The skill declares no required environment variables (and none are needed to perform a static code review). The SKILL.md does instruct the reviewer to check for DATABASE_URL, sqlx.toml, and cached `.sqlx/` metadata when assessing offline/compile-time checks — this is reasonable for accuracy but is an implicit request to examine those files/env if present. It's not asking for arbitrary secrets, but you should be aware it may look for a DATABASE_URL documented in the repo or environment when validating offline checks.
Persistence & Privilege
always is false and there are no install scripts or persistent configuration changes. The skill does not request persistent presence or elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sqlx-code-review
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sqlx-code-review 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
**Tightened code review protocol to require specific evidence before severity claims.** - Added "Gates" section with mandatory evidence collection steps before reporting Critical or Major issues. - Clarified review sequence, requiring identification of file paths, configuration files, and line referencing for all significant findings. - Output and severity guidelines updated to enforce new evidence requirements. - Existing checklists and references retained; instructions strengthened for better review reproducibility.
v1.0.1
**Rust 2024 edition support and static pool best practices added.** - Added review points for Rust 2024 edition: RPIT lifetime capture, use of `std::sync::LazyLock`, and reserved keyword handling (`gen`). - Expanded checklist for type mapping and migration safety regarding edition 2024 reserved names and static pool singleton patterns. - Clarified and extended Minor/Major findings for edition 2024-specific constructs. - Augmented "Valid Patterns" to clarify edition 2024 compliance and new Rust language features. - References and checklist now emphasize best practices for future Rust compatibility.
v1.0.0
Initial release of sqlx-code-review skill. - Reviews Rust code using sqlx for query safety, pool management, transaction patterns, and migrations. - Provides checklist and output format for clear, actionable code review findings. - Calibrates issue severity (Critical, Major, Minor, Informational) with examples. - Includes quick references and patterns not to flag. - Emphasizes secure query construction, proper pool usage, and sound migration practices.
元数据
Slug sqlx-code-review
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Sqlx Code Review 是什么?

Reviews sqlx database code for compile-time query checking, connection pool management, migration patterns, and PostgreSQL-specific usage. Use when reviewing... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 172 次。

如何安装 Sqlx Code Review?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sqlx-code-review」即可一键安装,无需额外配置。

Sqlx Code Review 是免费的吗?

是的,Sqlx Code Review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Sqlx Code Review 支持哪些平台?

Sqlx Code Review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Sqlx Code Review?

由 Kevin Anderson(@anderskev)开发并维护,当前版本 v1.0.2。

💬 留言讨论