rust

A project-setup skill for stable Rust projects. Rust is a programming language, and Cargo is its tool for managing projects, dependencies, builds, tests, and publishing.

In plain words
What is it for?
Use it to create or assess Rust projects, configure Cargo workspaces and features, set an edition and minimum supported Rust version, improve Clippy and rustfmt settings, prepare CI, and run publishing dry runs.
Why use it?
It helps establish clear compiler and toolchain rules, manageable dependencies, consistent formatting, testing, and documented boundaries around unsafe code and foreign-language interfaces.

Plugin for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Claude Code
/plugin marketplace add photostructure/coding-skills
agentmods
npx agentmods add plugins/photostructure/coding-skills/rust
Clone the repo
git clone --depth 1 https://github.com/photostructure/coding-skills

Made for: Claude Code.

Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

rust scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/rust/.claude-plugin/plugin.json · 26 lines

What it actually says

{
  "name": "rust",
  "version": "1.0.1",
  "description": "A practical Rust project-setup skill for Claude Code. It creates, assesses, or improves stable Rust projects using profile-aware Cargo workspace and feature design, explicit edition/MSRV/toolchain policy, strict but usable rustc/Clippy/rustfmt configuration, layered testing and CI, idiomatic ownership and API design, narrow documented unsafe/FFI boundaries, and non-mutating crates.io package and publish dry runs. Assessment mode reports evidence-backed Met/Gap/Not applicable/Needs verification states rather than claiming unsoundness.",
  "author": {
    "name": "Matthew McEachen",
    "url": "https://photostructure.com/coding/"
  },
  "homepage": "https://photostructure.com/coding/",
  "license": "MIT",
  "keywords": [
    "claude-code",
    "skills",
    "rust",
    "cargo",
    "clippy",
    "rustfmt",
    "crates-io",
    "msrv",
    "unsafe-rust",
    "project-setup",
    "publishing",
    "maintainability"
  ]
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 26 lines scan A 0d9172dad45c

Subscribe to this mod's changes

rust is a plugin published in the GitHub repository photostructure/coding-skills (3 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other plugins, from other repositories

decision-records

Creates, supersedes and validates decision records (ADRs) against the convention a collection already follows, instead of against a published spec it may never have adopted. Ships the decision-records skill: a propose-then-write flow that never rewrites an accepted record, and check-decisions.sh, a validator that…

fvadicamo/dev-agent-skills · not measured

privacy-guard

Keeps private infrastructure details out of public repositories. Ships the privacy-guard skill: session rules for what must never cross the public boundary, plus a per-repo pre-commit gate built on a gitignored local denylist and gitleaks. The denylist is never committed, so the hook is a no-op for external…

fvadicamo/dev-agent-skills · not measured

github-workflow

Git commit, PR creation, review, and merge skills following Conventional Commits.

fvadicamo/dev-agent-skills · not measured

skill-authoring

Guide for creating Claude Code skills following Anthropic's best practices.

fvadicamo/dev-agent-skills · not measured

dev-agent-skills

Plugin marketplace listing 5 plugins: github-workflow, skill-authoring, guardrails, privacy-guard, decision-records.

fvadicamo/dev-agent-skills · not measured

guardrails

Safety guardrails for running Claude Code with reduced supervision. The guard-destructive PreToolUse hook matches against a normalized view of each command (heredoc bodies and comments stripped, quoted strings neutralized except interpreter arguments like ssh / sh -c / eval / su / doas), so a command that merely…

fvadicamo/dev-agent-skills · not measured