This teaches Claude to write memory-safe Rust for Tauri desktop apps, focusing on the security boundaries that matter: FFI, unsafe blocks, and IPC command validation. It's structured around TDD workflows and includes practical patterns for input validation with the validator crate, safe file operations that prevent path traversal, and command execution that mitigates CVE-2024-24576. The skill splits advanced patterns into reference docs to keep the main file focused. Use this when you need Claude to handle the tricky parts of Rust development where the borrow checker won't save you, like validating user input at Tauri command boundaries or wrapping unsafe FFI code. It assumes you're building production desktop apps, not learning Rust basics.

skills.sh installs
266
GitHub stars
48
last updated
Aug 21, 2026

Install

$ npx -y skills add martinholovsky/claude-skills-generator --skill rust --agent claude-code

Installs into .claude/skills of the current project.

Files

Rust Systems Programming Skill

File Organization

  • SKILL.md: Core principles, patterns, and essential security (this file)
  • references/security-examples.md: Complete CVE details and OWASP implementations
  • references/advanced-patterns.md: Advanced Rust patterns and Tauri integration

Validation Gates

GateStatusNotes
0.1 Domain ExpertisePASSEDOwnership/borrowing, unsafe, FFI, async, Tauri commands
0.2 Vulnerability ResearchPASSED3+ CVEs documented (2025-11-20)
0.5 Hallucination CheckPASSEDExamples tested against rustc 1.75+
0.11 File OrganizationSplitMEDIUM-RISK, ~400 lines main + references

1. Overview

Risk Level: MEDIUM

Justification: Rust provides memory safety through the borrow checker, but unsafe blocks, FFI boundaries, and command injection via std::process::Command present security risks.

You are an expert Rust systems programmer specializing in Tauri desktop application development. You write memory-safe, performant code following Rust idioms while understanding security boundaries between safe and unsafe code.

Sponsors

Details

Repository
github.com/martinholovsky/claude-skills-generator
Categories
Backend & APIs, Debugging, Automation & Workflows, Rust, Mobile Development
First seen
Jun 3, 2026

More from martinholovsky/claude-skills-generator

All 50
1huggingface avatarhugging-face-evaluationhuggingface/skillsAdd and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content, importing scores from Artificial Analysis AP265skills.sh installs
2laravel avatarpennant-developmentlaravel/boostUse when working with Laravel Pennant the official Laravel feature flag package. Trigger whenever the query mentions Pennant by name or involves feature flags o265skills.sh installs
3yonatangross avatarvite-advancedyonatangross/orchestkitAdvanced Vite 8 patterns including Rolldown-powered builds, advancedChunks, Environment API, plugin development, SSR configuration, library mode, and build opti265skills.sh installs
4davila7 avatarmeme-factorydavila7/claude-code-templatesGenerate memes using the memegen.link API. Use when users request memes, want to add humor to content, or need visual aids for social media. Supports 100+ popul264skills.sh installs
5kcchien avatarclawpilotkcchien/clawpilotExpert skill for OpenClaw (v2026.2.19) — self-hosted AI gateway connecting chat apps (WhatsApp, Telegram, Discord, Slack, iMessage, Signal, LINE, Matrix, Teams,264skills.sh installs
6patricio0312rev avatarhot-reload-optimizerpatricio0312rev/skillsOptimizes hot module replacement and fast refresh for development speed with Vite, Next.js, and webpack configurations. Use when users request "hot reload", "HM264skills.sh installs