Format rust

From shannonshell/shannon · View interactive version

Format rust is an AI agent skill from the GitHub repository shannonshell/shannon. Format Rust files with cargo fmt. Use after creating or editing any Rust file (.rs).

How to use this skill

Skill file

Format Rust

Run cargo fmt on every Rust file after creating or editing it.

When This Skill Applies

After every Write or Edit to any .rs file in the project. This includes:

Process

After your edits to a Rust file are complete, run:

cargo fmt -- <file_path>

That's it. No other steps needed.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.