Skip to content

Impertio-Studio/Rust-Claude-Skill-Package

Repository files navigation

Rust : Claude Skill Package

44 Deterministic Skills for Rust

Claude Code Ready Rust Skills License Agent Skills

44 deterministic Claude skills for Rust 1.85+, edition 2024 : ownership, borrowing, lifetimes, traits, generics, async, macros, unsafe, cargo, error handling, and more. Companion to the Tauri-2 skill package.

Built on the Agent Skills open standard. Discoverable via npm-agentskills manifest and OpenAI Codex skill discovery.

Why This Exists

Without skills, Claude reaches for .clone() to silence the borrow checker instead of restructuring:

// Wrong : clone to dodge a move error, paying an allocation on every call
fn process(data: Vec<String>) -> usize {
    let copy = data.clone();
    analyze(data);
    copy.len()
}

With this skill package, Claude reads the length before the move and keeps zero-cost ownership:

// Correct : take what you need before transferring ownership
fn process(data: Vec<String>) -> usize {
    let len = data.len();
    analyze(data);
    len
}

What's Inside

Category Count Purpose
core/ 6 Architecture, runtime model, cross-cutting concerns
syntax/ 15 Language mechanics, API syntax, code patterns
impl/ 13 Step-by-step development workflows
errors/ 7 Error codes, debugging, recovery recipes
agents/ 3 Routing, code review, compile-error iteration
Total 44

See INDEX.md for the complete skill catalog with descriptions and dependency graph.

Installation

Claude Code (recommended)

# Clone the full package
git clone https://github.com/OpenAEC-Foundation/Rust-Claude-Skill-Package.git
cp -r Rust-Claude-Skill-Package/skills/source/ ~/.claude/skills/rust/

As git submodule

git submodule add https://github.com/OpenAEC-Foundation/Rust-Claude-Skill-Package.git .claude/skills/rust

Via npm-agentskills standard

npx skills add @openaec/rust-claude-skill-package

Claude.ai (web)

Upload individual SKILL.md files as project knowledge.

Skill Structure

Every skill follows 3-level progressive disclosure:

rust-{category}-{topic}/
├── SKILL.md              # Main guidance (< 500 lines)
└── references/
    ├── methods.md        # Complete API signatures
    ├── examples.md       # Working code examples
    └── anti-patterns.md  # What NOT to do (with explanations)

YAML frontmatter uses folded scalar >, "Use when..." opener, and a Keywords: line with technical + symptom-based + plain-language terms for maximum discoverability.

Quality Guarantees

  • Deterministic language : ALWAYS / NEVER, no "you might consider"
  • Version-explicit code : every example annotated with applicable versions
  • WebFetch-verified : all code-snippets validated against official docs
  • CI/CD validated : frontmatter, line count, structure, language, em-dash checks on every push
  • Compliance audit : score >= 90% required for releases

Companion Skills : Cross-Technology Integration

For projects combining Rust with other AEC technologies, see Cross-Tech-AEC-Claude-Skill-Package.

Related Skill Packages (OpenAEC Foundation)

Package Skills Repo
Blender-Bonsai-ifcOpenshell-Sverchok 73 Link
Frappe 61 Link
Speckle 25 Link

See full list at OpenAEC-Foundation.

License

MIT : OpenAEC Foundation

Contributing

See CONTRIBUTING.md. Built with the Skill Package Workflow Template methodology.

About

44 deterministic Claude skills for Rust 1.85+, edition 2024 : ownership, borrowing, lifetimes, traits, async, macros, unsafe, cargo, error handling

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors