agentleFS
refpathrefpath/chatgpt-team/.agents/skills/stack-rust/SKILL.md

stack-rust

Skill0 starsChanged 2 months agoMITView on GitHub

Apply repository-native Rust and Cargo practices with attention to ownership, concurrency, unsafe boundaries, error contracts, and feature/workspace configuration.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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. Distinctive:

    Avoid unnecessary allocation, cloning, locking, or async complexity, but optimize only when evidence/scope warrants it.

    line 13
  2. Very specific:

    Treat unsafe, FFI, raw pointers, filesystem/process/network access, and serialization boundaries as review-sensitive.

    line 14
  3. Distinctive:

    Keep error types/contracts consistent with surrounding code.

    line 15
  4. Distinctive:

    Do not enable all features blindly when mutually exclusive or platform-specific features exist.

    line 16
  5. Distinctive:

    Use repository-native commands.

    line 20
  6. Very specific:

    Only use --all-features when the repository's feature model makes that valid.

    line 29
  7. Distinctive:

    Run platform/feature combinations required by the local repository instructions and report combinations not exercised.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Rust

Inspect Cargo.toml, workspace membership, feature flags, toolchain files, lint configuration, and applicable AGENTS.md before editing.

Working rules

  • Preserve crate/workspace boundaries unless the task requires architectural change.
  • Avoid unnecessary allocation, cloning, locking, or async complexity, but optimize only when evidence/scope warrants it.
  • Treat unsafe, FFI, raw pointers, filesystem/process/network access, and serialization boundaries as review-sensitive.
  • Keep error types/contracts consistent with surrounding code.
  • Do not enable all features blindly when mutually exclusive or platform-specific features exist.

Validation

Use repository-native commands. Where supported, typical checks include:

cargo fmt --check
cargo check
cargo test <relevant scope>
cargo clippy --all-targets -- -D warnings

Only use --all-features when the repository's feature model makes that valid.

Run platform/feature combinations required by the local repository instructions and report combinations not exercised.

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.