Agent skill

Rust Patterns

by kurealnum in kurealnum/dotfiles

Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.

No licenceAuto-check passedDevelopment

Install Rust Patterns

skills CLI
$ npx skills add kurealnum/dotfiles --skill rust-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kurealnum/dotfiles rust-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kurealnum/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rust-patterns .claude/skills/rust-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rust-patterns
GitHub stars
290
Used in
7 other repos
Token cost
~3.3k tokens
SKILL.md length
374 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.

  • Development work in your project
  • SKILL.md covers When to Use, How It Works, Core Principles and Error Handling, plus 7 more sections
  • Calls cargo

What it does

Rust Patterns is an agent skill from kurealnum/dotfiles. Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Rust.

When your agent uses it

  • Development work in your project

Example prompts

  • “/rust-patterns”

What it can do on your machine

Read from SKILL.md and the folder at commit bcd8741. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rust Patterns loads about 3.3k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 374 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 374 words (~3,307 tokens).

“Idiomatic Rust patterns and best practices for building safe, performant, and maintainable applications.”

— opening of SKILL.md by kurealnum
name
rust-patterns
origin
ECC

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/rust-patterns of kurealnum/dotfiles.

Open the folder on GitHubat commit bcd8741

Used in 7 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in kurealnum/dotfiles, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Rust Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rust Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Patterns this skillkurealnum/dotfiles2907 repos~3.3kAutomated safety check: PassNone
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
OpenLogi macOS Permissions TriageAprilNEA/OpenLogi23k—~2.5kAutomated safety check: NotesApache-2.0
RTK Rust Design Patternsrtk-ai/rtk83k—~1.9kAutomated safety check: PassApache-2.0
Release Skillsnexmoe/eve4213 repos~3.3kAutomated safety check: PassNone

Similar skills

  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes
  • Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.

    83k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release Skills

    nexmoe/eve

    Universal release workflow. An agent skill from nexmoe/eve.

    421 GitHub starsUsed in 3 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Pnpm Engine

    teambit/bit

    Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from kurealnum/dotfiles

All 13 skills in this repo
  • Continuous Learning V2

    kurealnum/dotfiles

    Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    290 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check passed
  • Frontend Patterns

    kurealnum/dotfiles

    Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

    290 GitHub starsUsed in 19 repos~3.7k tokens
    Auto-check passed
  • Coding Standards

    kurealnum/dotfiles

    Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

    290 GitHub starsUsed in 17 repos~2.9k tokens
    Auto-check passed
  • Python Patterns

    kurealnum/dotfiles

    Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.

    290 GitHub starsUsed in 8 repos~4.1k tokens
    Auto-check passed
  • Twitter Algorithm Optimizer

    kurealnum/dotfiles

    Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights.

    290 GitHub starsUsed in 8 repos~3.2k tokens
    Auto-check passed
  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 5 mo ago
    Auto-check passed

Works with

Categories

Questions about Rust Patterns

What does Rust Patterns do?

Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications. Rust Patterns is an agent skill from kurealnum/dotfiles. Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.

When should I use Rust Patterns?

Rust Patterns fits situations like: development work in your project.

How do I install Rust Patterns in Claude Code?

Run `npx skills add kurealnum/dotfiles --skill rust-patterns -a claude-code`. Or copy the skill folder (.agents/skills/rust-patterns in kurealnum/dotfiles) into .claude/skills/rust-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Rust Patterns in Codex?

Run `npx skills add kurealnum/dotfiles --skill rust-patterns -a codex`. Or copy the skill folder (.agents/skills/rust-patterns in kurealnum/dotfiles) into .agents/skills/rust-patterns in your project. Codex loads it when a task matches its description.

Can I use Rust Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kurealnum/dotfiles --skill rust-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-patterns, .gemini/skills/rust-patterns, .github/skills/rust-patterns and .opencode/skills/rust-patterns in your project.

What does Rust Patterns need to run?

Going by SKILL.md and its folder, Rust Patterns needs the command-line tools its instructions call (cargo).

Does Rust Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rust Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rust Patterns use?

No licence was found for Rust Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Rust Patterns use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rust Patterns?

Skills that share tags, products or a category with Rust Patterns: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Rust Best Practices (farm-fe/farm, 5.6k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars) and RTK Rust Design Patterns (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Patterns?

kurealnum (a GitHub user) maintains it in kurealnum/dotfiles, which has 290 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on April 13, 2026.

Source: kurealnum/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.