fmt

SkillDev tools

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

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the fmt skill

What this skill tells your AI

The instructions your AI receives, as published by ogkevin/cadmus in .agents/skills/fmt/SKILL.md and read by ahel’s review.

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

Basic usage

# 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

GoalCommand
CI formatting gatecargo xtask fmt
Fix formatting locallycargo 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.

Signals

GitHub stars
44
Forks
10
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
fmt-ogkevin
Source
github.com/ogkevin/cadmus