skilly. Buy ad slot
All skills
Rust / AGENT SKILL

fmt

OGKevin/cadmus
0 installs 45 GitHub stars
0

Check or apply rustfmt formatting throughout a Rust workspace.
Check or apply rustfmt formatting across the workspace. Use this when asked to format code, check formatting, or fix rustfmt issues.

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

Always use `cargo xtask fmt` to format or check formatting in this project —
never bare `cargo fmt`.

## Basic usage

```sh
# Check formatting (default — exits non-zero if any file would change)
cargo xtask fmt

# Apply formatting in place
cargo xtask fmt --apply
```

## When to use each mode

| Goal                   | Command                   |
| ---------------------- | ------------------------- |
| CI formatting gate     | `cargo xtask fmt`         |
| Fix formatting locally | `cargo xtask fmt --apply` |

## Notes

- Without `--apply` the command runs `cargo fmt --all --check`, which is the
  correct mode for CI.
- Always run `cargo xtask fmt --apply` before committing to avoid CI failures.

Skill folder

Files included alongside SKILL.md in the publisher’s repository.