agentleFS
fabiocmazzofabiocmazzo/idetea/skills/novo-projeto-rust/SKILL.md

novo-projeto-rust

Skill37 starsChanged 6 days agoApache-2.0View on GitHub

Use when creating a new Rust project from the TEA IDE "Rust" template (AGENTS.md initial request mentions Rust). Says what the smallest runnable Rust project looks like - binary or library, workspace or single crate, tests, clippy and CI - and what to ask the user first.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use together with the novo-projeto skill (the common workflow).

    line 8
  2. Very specific:

    All of them must pass before the manual test.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

New Rust project

Use together with the novo-projeto skill (the common workflow). This one only covers Rust.

Ask first (in the same panel interface as the common questions)

  • Kind: command-line program (binary), library, or both (a library with a thin binary). Default: binary.
  • Layout: one crate, or a workspace with crates/ (only when the user already sees several parts). Default: one crate.
  • Edition: the newest stable edition cargo new uses on this machine. Do not ask unless the user cares.

Create

  • cargo new --vcs none <name> style in the current folder (cargo init --vcs none): git already exists.
  • src/main.rs (or src/lib.rs) that does one real, small thing from the initial request, not "Hello, world" only.
  • At least one test: a unit test next to the code, and for a binary an integration test in tests/ that runs the program (std::process::Command on env!("CARGO_BIN_EXE_<name>")).
  • .gitignore with /target.
  • Optional, only if the user said the project goes to GitHub: .github/workflows/ci.yml running cargo fmt --check, cargo clippy --all-targets -- -D warnings and cargo test.

Prove it works

cargo build
cargo test
cargo clippy --all-targets -- -D warnings
cargo run -- --help   # or whatever the program does

All of them must pass before the manual test. Do not run cargo fmt over files the user wrote by hand without asking; on files you created it is fine.

Manual test to hand over

Steps like: run cargo run -- <example> and see the expected output; run cargo test and see it pass; open README.md and check it explains how to run.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.