Rust Change
Developmentrust-changeRust Change is an Agent Skill for development published in the tombi-toml/tombi repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
tombi の Rust workspace (crates/, extensions/, rust/, toml-test/, xtask/) に変更を入れるとき、対象 crate の特定から最小範囲の cargo 検証までの標準フローを示す
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/tombi-toml/tombi/blob/HEAD/.claude/skills/rust-change/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/rust-change, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
rust-change
Rust workspace に変更を入れるときの標準フロー。
手順
- 対象 crate と責務を特定する
- 近い既存実装と既存テストマクロを確認する
- 実装を変更する
- 必要なら
cargo fmt --allを実行する - 最小範囲の
cargo check -p <crate>またはcargo test -p <crate>で検証する - 変更が広い場合だけ
cargo check --workspace --all-targetsやcargo test --workspaceへ広げる
注意
- 新しいテスト helper を足す前に、既存の
test_...!マクロを再利用できるか確認する xtaskで提供済みのフローがあるなら、それを再利用する