rust-engineering
Skill0 starsChanged 25 days agoMITView on GitHub
Rust engineering baseline: Cargo workspaces and features, error types, unsafe, public API, lints and verification. Trigger: When editing .rs files, Cargo.toml or Cargo.lock in a Rust package.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- pirafrank/skillstheir own version, first seen Nov 8, 2026
- nledford/engineering-review-boardtheir own version, first seen Nov 3, 2026
- cmdr-chara/chara-toolkittheir own version, first seen Nov 1, 2026
- cmdr-chara/codex-toolkittheir own version, first seen Nov 1, 2026
- sammasak/skillstheir own version, first seen Oct 17, 2026
- sammasak/claude-code-skillstheir own version, first seen Oct 15, 2026
Used with
Projects with it also use python-engineering and go-engineering.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
yariv1025Skillpython-engineering
Production Python engineering patterns covering architecture, observability, testing, performance/concurrency, and core practices. Use when designing Python systems, implementing async/sync APIs, setting up monitoring, structuring tests, optimizing performance, or following Python best practices.
Also in 4 projects that use this
caseyngSkillgo-engineering
Senior Go engineering standards for production code. Module structure, error handling, interface design, concurrency, context propagation, testing, security, observability. Includes gomobile-specific constraints for cross-language bindings. Compose with code-integrity-guardrail go for verification. Trigger on: any Go implementation task, any gomobile binding, any Go component in pipeline.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- nledford/engineering-review-board★ 11same name
- cmdr-chara/chara-toolkit★ 2same name
- cmdr-chara/codex-toolkit★ 2same name
- nafeeur/MaskShift★ 2same name
- sammasak/claude-code-skills★ 1same name
- sammasak/skills★ 1same name
- pirafrank/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository219 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/behavioral-discipline.mdcCursor rule
- .cursor/rules/context-budget.mdcCursor rule
- .cursor/rules/orchestration.mdcCursor rule
- .cursor/rules/yagni-stdlib.mdcCursor rule
- androidSkill
- android-ui-designSkill
- api-versioningSkill
- astroSkill
- auth-token-inspectorSkill
- backlogSkill
- cc-api-contractSkill
- cc-db-migrationSkill
- cc-featureSkill
- cc-fixSkill
- cc-pagespeedSkill
- cc-refactorSkill
- cc-reviewSkill
- cc-spec-mutationSkill
- cc-tdd-cycleSkill
- cc-test-planSkill
- code-reviewSkill
- commitSkill
- conductor-setupSkill
- councilSkill
- database-migrationsSkill
- django-ormSkill
- django-testingSkill
- django-uvSkill
- drizzle-schema-architectSkill
- evaluationSkill
- fastapi-pydantic-strictSkill
- find-skillsSkill
- jpa-nplusone-detectorSkill
- jpa-postgresSkill
- laravel-specialistSkill
- livewire-alpine-bridgeSkill
- multi-agent-orchestrationSkill
- nextjs-typescriptSkill
- openspecSkill
- pagespeed-insightsSkill
- pagespeed-perfSkill
- php-proSkill
- python-django-stackSkill
- python-fastapi-stackSkill
- pythonSkill
- rust-asyncSkill
- rust-sqlxSkill
- security-ai-llmSkill
- security-blue-teamSkill
- security-cloudSkill
- security-cryptoSkill
- security-exploit-devSkill
- security-grcSkill
- security-incident-responseSkill
- security-log-analysisSkill
- security-malware-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 55
Do not add anyhow/thiserror unless already used or approved.
“Common” is measured: kept by at least 6 in 10 of the 5 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.
Files
Rust engineering
Activation
Apply to any .rs, Cargo.toml or Cargo.lock change. Rules are defaults;
a repository rule with the same id wins over this skill.
Inputs
- Nearest
Cargo.toml(package,[features],[lints]) and workspace root. rust-toolchain.toml,clippy.toml,rustfmt.tomlwhen present.- The repository's existing error type and module layout.
Procedure
- Locate the package. Condition: a change spans crates. Action: resolve the
owning package per file and run checks with
-p <package>. Exception: a workspace-wide refactor named in the Task Card. Verify:cargo metadata --no-deps --format-version 1lists the package. - Errors. Condition: a function can fail. Action: return
Resultwith the crate's existing error type; add context where the error crosses a module boundary. Exception: tests and examples mayunwrap/expect. Verify:cargo clippy -- -D clippy::unwrap_usedon touched non-test code, or a grep of the diff. - Public API. Condition: a
pubitem changes. Action: treat as a breaking change unless it only adds; update docs and CHANGELOG. Exception: crate ispublish = falseand private to the workspace. Verify:cargo doc --no-depsand, for published crates,cargo semver-checksif installed. - unsafe. Condition:
unsafeis needed. Action: smallest block, a// SAFETY:comment stating the invariant, a safe wrapper. Exception: none for newunsafewithout an owner approval in the Task Card. Verify: Miri when the toolchain has it, else a test of the invariant. - Features (
cargo.feature-unification). Condition: a dependency or feature changes. Action: remember Cargo unifies features across the build; never rely on a feature being off. Features must be additive. Exception: mutually exclusive features guarded bycompile_error!. Verify:cargo check -p <package>andcargo check --workspace --all-targets. - Lockfile. Condition: a dependency changes. Action: commit
Cargo.lockfor binaries; justify each new dependency. Exception: libraries that gitignore the lockfile. Verify:cargo check --locked.
Decisions and exceptions
- Match the repository's formatting, naming and error style; do not import
personal preferences. Edition and MSRV come from
Cargo.toml, not this skill. - Do not add
anyhow/thiserrorunless already used or approved. - Dependency added "just in case": reject; prefer
std.
Evidence
Report each command run with its exit code, per package: cargo fmt --check,
cargo clippy --all-targets -- -D warnings, cargo test -p <package>. A
check that was not run is reported as not run, never as passed.
References
- Cargo features: https://doc.rust-lang.org/cargo/reference/features.html
- Cargo workspaces: https://doc.rust-lang.org/cargo/reference/workspaces.html
- Rust API Guidelines: https://rust-lang.github.io/api-guidelines/
- Unsafe code guidelines: https://doc.rust-lang.org/nomicon/
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
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.

