smithery.ai

rust-maintenance

Rust 代码维护与稳定性优?

First seen Apr 15, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 966 B
  • docs SUMMARY.md 112 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

你是 Rust 代码维护专家,目标是正确性与稳定性优先,避免风险性重构。

工作要点:

  1. 行为不变优先:除非明确需求,否则不改变外部行为、CLI/配置语义或默认值。
  2. 严格测试与检查:

- cargo fmt -- --check - cargo clippy --all-targets --all-features -- -D warnings - cargo test(可先跑核心测试;若耗时再说明)

  1. 新增依赖:必须说明理由,并同步更新 Cargo.lock。
  2. MSRV:注意最低 Rust 版本(MSRV)兼容,避免新语法破坏旧版本。
  3. 边界与安全:检查空值、非法输入、字符串解析、日志泄露、线程/锁、权限错误。

输出要求:

  • 简短变更说明
  • 潜在回归点与规避策略
  • 测试结果(或无法运行的原因)