agentleFS
ai-agent-assemblyai-agent-assembly/agent-assembly/.claude/skills/rust-development/SKILL.md

rust-development

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Give any Horonom repo with a Rust workspace the company-common Cargo/ nextest/clippy execution knowledge — repository discovery, the cargo check vs. build/link/native boundary, targeted test iteration, and lint/format/doc validation. It reuses the durable Rust-development evidence from ai-agent-assembly/agent-assembly's AAASM-5991/5992 benchmark campaign rather than re-deriving it, while keeping that repo's own machine/benchmark specifics out of company-wide fact — see references/aa-evidence-classification.md for exactly which claims transfer and which don't. Auto-used, stack-gated. Applies whenever the touched repo/surface carries Rust evidence (Cargo.toml, per manifest.yaml's applicability.stacks:…

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Discover the workspace: before running anything — references/cargo-workflow.md § Repository/workspace discovery.

    line 51
  2. Very specific:

    Escalate (engineering-loop): read the actual rustc/clippy diagnostic before assuming a fix — references/cargo-workflow.md § High-signal …

    line 61
  3. Very specific:

    Full Gate (engineering-loop, always): before declaring a Rust change done, run the repo's own authoritative full build/test/clippy gate.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “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
<!-- horonom:generated --><!-- Source: horonomy/.github agents/skills/rust-development/SKILL.md. Do not hand-edit — rerun `python3 agents/common/project_skills.py`. -->

SKILL.md — rust-development

Purpose

Give any Horonom repo with a Rust workspace the company-common Cargo/ nextest/clippy execution knowledge — repository discovery, the cargo check vs. build/link/native boundary, targeted test iteration, and lint/format/doc validation. It reuses the durable Rust-development evidence from ai-agent-assembly/agent-assembly's AAASM-5991/5992 benchmark campaign rather than re-deriving it, while keeping that repo's own machine/benchmark specifics out of company-wide fact — see references/aa-evidence-classification.md for exactly which claims transfer and which don't.

Type

Auto-used, stack-gated. Applies whenever the touched repo/surface carries Rust evidence (Cargo.toml, per manifest.yaml's applicability.stacks: [rust]). Composes with engineering-loop (agents/skills/engineering-loop/SKILL.md) — that skill owns the Explore→Narrow→Validate→Escalate→Full Gate execution model and the L0–L3 diagnostic contract; this skill does not restate either. It supplies the concrete Cargo/nextest/clippy commands engineering-loop's Narrow and Full Gate stages call.

When to use

  • Iterating on a change inside a Rust crate or workspace: editing, compiling, testing, linting.
  • Choosing the right-sized Cargo/nextest invocation for the current execution stage (fast edit vs. targeted test vs. full verification).
  • Interpreting a Cargo/rustc/clippy/nextest failure before escalating through engineering-loop's diagnostic ladder.

When NOT to use

  • Non-Rust repos or surfaces — no Rust evidence means this skill does not apply; don't project or follow it merely because the org has it.
  • As a substitute for engineering-loop's execution model or diagnostic contract — this skill never redefines Explore/Narrow/Validate/Escalate/ Full Gate, it only fills in the Rust-specific commands for each stage.
  • As a source of release/dist-profile guidance — release/dist profile tuning is a correctness/size boundary, not a dev-speed lever, and is out of this skill's scope (see references/cargo-workflow.md).

Routing

  1. Discover the workspace before running anything — references/cargo-workflow.md § Repository/workspace discovery.
  2. Narrow stage (engineering-loop): cargo check gives the fastest syntax/type feedback but is never build/link/native/release proof — it skips codegen and linking, so it cannot surface link errors, native/FFI symbol-resolution failures, build-script problems, #[cfg]-gated codegen failures, or release-profile-only breakage (LTO, codegen-units, panic=abort). Scope every cargo nextest run invocation (--lib, --test <stem>, or -p <crate> at minimum) — see references/cargo-workflow.md § Targeted test loops.
  3. Escalate (engineering-loop): read the actual rustc/clippy diagnostic before assuming a fix — references/cargo-workflow.md § High-signal diagnostics.
  4. Full Gate (engineering-loop, always): before declaring a Rust change done, run the repo's own authoritative full build/test/clippy gate. A passing cargo check or scoped nextest run is evidence the fix works, never proof the workspace is releasable.
  5. Optional accelerators (RTK/CodeGraph) follow the shared preferred→fallback contract in agents/skills/engineering-loop/references/optional-tool-fallback.md — this skill does not define its own variant of that contract.

References

  • references/cargo-workflow.md — discovery, the check/build/link/native boundary, targeted test/lint/doc commands, high-signal diagnostics.
  • references/aa-evidence-classification.md — what from ai-agent-assembly/agent-assembly's bench-5992 evidence is a reusable company-level Rust pattern vs. AA-specific fact vs. machine-specific vs. needing revalidation, and the deference rule to that repo's own policy.

Examples

  • examples/targeted-nextest-then-full-gate.md — a failing test, targeted cargo nextest run --lib iteration, then the full workspace gate before declaring the change done.

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.