跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/apollographql/rust-best-practices/rust-code-review

Codex Rust Code Review for Ownership and Error Handling

Review ordinary Rust changes for borrowing, avoidable allocation, error propagation, public API documentation, and relevant tests.

中文

Install in Codex

Codex, a Rust checkout, and the repository's Cargo toolchain.

  1. Copy the pinned `.codex/skills/rust-code-review/` directory into `.agents/skills/rust-code-review/` in the project.
  2. Invoke `$rust-code-review` with a local diff and the project's own validation commands.

Example task

In a practice crate, review a change that clones a string before iterating over it. Ask for findings that preserve the return contract.

What to check

Expect the allocation location, a borrowing alternative where suitable, and a related behavior check.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Should every crate use the same Clippy command?

Follow the target workspace's supported lint command and feature configuration.

Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯