Rust cli
Complete guide to minimal universal configuration files compatible with all major AI coding agents.
npx -y skills add MYMDO/AGENTSKILL --skill rust-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Implement or review Rust CLI argument parsing, command behavior, error handling, and tests. Use when the user asks to add flags, change CLI output, fix clap behavior, improve Rust errors, or update cargo tests.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
0.8 KB, 118 tokens by cl100k_base, as published. Nobody here has run it
Rust CLI Change
Steps
- Read
src/main.rs,src/lib.rs, and modules related to the command. - Keep command parsing separate from core logic.
- Return clear errors for invalid user input.
- Add unit tests for core logic and integration tests for CLI behavior.
- Run the smallest relevant
cargo test, thencargo clippyandcargo fmtif needed.
Example
Input: "Add a --json output mode."
Output: CLI flag, report formatting branch, and tests for text and JSON modes.