claude

zhanghandong-rust-skills

Identifies and explains common anti-patterns in Rust code with refactoring suggestions. Helps developers write safer, more idiomatic Rust.

0 on GitHubby ZhangHanDongv2.1.0MITupdated 6 months agocode_languages
/

Plugin zhanghandong-rust-skills from marketplace cascade-code-languages-misc-1 in joshuarweaver/cascade-code-languages-misc-1. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.

What it installs

Skills (38)

  • coding-guidelines

    Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名

  • core-actionbook

    Internal support skill for actionbook MCP selectors used by Rust documentation research workflows. Use only when another rust-skills workflow explicitly requests actionbook-backed selectors.

  • core-agent-browser

    Internal support skill for agent-browser CLI workflows used by rust-learner, docs-researcher, and crate-researcher. Use only when browser automation is explicitly required.

  • core-dynamic-skills

    Internal command support for dynamic Rust crate skill management. Use only when explicitly invoked by /sync-crate-skills, /clean-crate-skills, or /update-crate-skill.

  • core-fix-skill-docs

    Internal maintenance support for checking and fixing generated Rust skill documentation references. Use only when explicitly invoked by /fix-skill-docs.

  • domain-cli

    Use when building CLI tools. Keywords: CLI, command line, terminal, clap, structopt, argument parsing, subcommand, interactive, TUI, ratatui, crossterm, indicatif, progress bar, colored output, shell completion, config file, environment variable, 命令行, 终端应用, 参数解析

  • domain-cloud-native

    Use when building cloud-native apps. Keywords: kubernetes, k8s, docker, container, grpc, tonic, microservice, service mesh, observability, tracing, metrics, health check, cloud, deployment, 云原生, 微服务, 容器

  • domain-embedded

    Use when developing embedded/no_std Rust. Keywords: embedded, no_std, microcontroller, MCU, ARM, RISC-V, bare metal, firmware, HAL, PAC, RTIC, embassy, interrupt, DMA, peripheral, GPIO, SPI, I2C, UART, embedded-hal, cortex-m, esp32, stm32, nrf, 嵌入式, 单片机, 固件, 裸机

  • domain-fintech

    Use when building fintech apps. Keywords: fintech, trading, decimal, currency, financial, money, transaction, ledger, payment, exchange rate, precision, rounding, accounting, 金融, 交易系统, 货币, 支付

  • domain-iot

    Use when building IoT apps. Keywords: IoT, Internet of Things, sensor, MQTT, device, edge computing, telemetry, actuator, smart home, gateway, protocol, 物联网, 传感器, 边缘计算, 智能家居

  • domain-ml

    Use when building ML/AI apps in Rust. Keywords: machine learning, ML, AI, tensor, model, inference, neural network, deep learning, training, prediction, ndarray, tch-rs, burn, candle, 机器学习, 人工智能, 模型推理

  • domain-web

    Use when building web services. Keywords: web server, HTTP, REST API, GraphQL, WebSocket, axum, actix, warp, rocket, tower, hyper, reqwest, middleware, router, handler, extractor, state management, authentication, authorization, JWT, session, cookie, CORS, rate limiting, web 开发, HTTP 服务, API 设计, 中间件

  • m01-ownership

    CRITICAL: Use for ownership/borrow/lifetime issues. Triggers: E0382, E0597, E0506, E0507, E0515, E0716, E0106, value moved, borrowed value does not live long enough, cannot move out of, use of moved value, ownership, borrow, lifetime, 'a, 'static, move, clone, Copy, 所有权, 借用, 生命周期

  • m02-resource

    CRITICAL: Use for smart pointers and resource management. Triggers: Box, Rc, Arc, Weak, RefCell, Cell, smart pointer, heap allocation, reference counting, RAII, Drop, should I use Box or Rc, when to use Arc vs Rc, 智能指针, 引用计数, 堆分配

  • m03-mutability

    CRITICAL: Use for mutability issues. Triggers: E0596, E0499, E0502, cannot borrow as mutable, already borrowed as immutable, mut, &mut, interior mutability, Cell, RefCell, Mutex, RwLock, 可变性, 内部可变性, 借用冲突

  • m04-zero-cost

    CRITICAL: Use for generics, traits, zero-cost abstraction. Triggers: E0277, E0308, E0599, generic, trait, impl, dyn, where, monomorphization, static dispatch, dynamic dispatch, impl Trait, trait bound not satisfied, 泛型, 特征, 零成本抽象, 单态化

  • m05-type-driven

    CRITICAL: Use for type-driven design. Triggers: type state, PhantomData, newtype, marker trait, builder pattern, make invalid states unrepresentable, compile-time validation, sealed trait, ZST, 类型状态, 新类型模式, 类型驱动设计

  • m06-error-handling

    CRITICAL: Use for error handling. Triggers: Result, Option, Error, ?, unwrap, expect, panic, anyhow, thiserror, when to panic vs return Result, custom error, error propagation, 错误处理, Result 用法, 什么时候用 panic

  • m07-concurrency

    CRITICAL: Use for concurrency/async. Triggers: E0277 Send Sync, cannot be sent between threads, thread, spawn, channel, mpsc, Mutex, RwLock, Atomic, async, await, Future, tokio, deadlock, race condition, 并发, 线程, 异步, 死锁

  • m09-domain

    CRITICAL: Use for domain modeling. Triggers: domain model, DDD, domain-driven design, entity, value object, aggregate, repository pattern, business rules, validation, invariant, 领域模型, 领域驱动设计, 业务规则

  • m10-performance

    CRITICAL: Use for performance optimization. Triggers: performance, optimization, benchmark, profiling, flamegraph, criterion, slow, fast, allocation, cache, SIMD, make it faster, 性能优化, 基准测试

  • m11-ecosystem

    Use when integrating crates or ecosystem questions. Keywords: E0425, E0433, E0603, crate, cargo, dependency, feature flag, workspace, which crate to use, using external C libraries, creating Python extensions, PyO3, wasm, WebAssembly, bindgen, cbindgen, napi-rs, cannot find, private, crate recommend

  • m12-lifecycle

    Use when designing resource lifecycles. Keywords: RAII, Drop, resource lifecycle, connection pool, lazy initialization, connection pool design, resource cleanup patterns, cleanup, scope, OnceCell, Lazy, once_cell, OnceLock, transaction, session management, when is Drop called, cleanup on error, guar

  • m13-domain-error

    Use when designing domain error handling. Keywords: domain error, error categorization, recovery strategy, retry, fallback, domain error hierarchy, user-facing vs internal errors, error code design, circuit breaker, graceful degradation, resilience, error context, backoff, retry with backoff, error

  • m14-mental-model

    Use when learning Rust concepts. Keywords: mental model, how to think about ownership, understanding borrow checker, visualizing memory layout, analogy, misconception, explaining ownership, why does Rust, help me understand, confused about, learning Rust, explain like I'm, ELI5, intuition for, comin

  • m15-anti-pattern

    Use when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern, better way to do this, common mistake to avoid, why is this bad, idiomatic way, beginner mistake, fighting borrow checker, clone everywhere, unw

  • meta-cognition-parallel

    EXPERIMENTAL: Three-layer parallel meta-cognition analysis. Triggers on: /meta-parallel, 三层分析, parallel analysis, 并行元认知

  • rust-call-graph

    Visualize Rust function call graphs using LSP. Triggers on: /call-graph, call hierarchy, who calls, what calls, 调用图, 调用关系, 谁调用了, 调用了谁

  • rust-code-navigator

    Navigate Rust code using LSP. Triggers on: /navigate, go to definition, find references, where is defined, 跳转定义, 查找引用, 定义在哪, 谁用了这个

  • rust-daily

    CRITICAL: Use for Rust news and daily/weekly/monthly reports. Triggers on: rust news, rust daily, rust weekly, TWIR, rust blog, Rust 日报, Rust 周报, Rust 新闻, Rust 动态

  • rust-deps-visualizer

    Visualize Rust project dependencies as ASCII art. Triggers on: /deps-viz, dependency graph, show dependencies, visualize deps, 依赖图, 依赖可视化, 显示依赖

  • rust-learner

    Use when asking about Rust versions or crate info. Keywords: latest version, what's new, changelog, Rust 1.x, Rust release, stable, nightly, crate info, crates.io, lib.rs, docs.rs, API documentation, crate features, dependencies, which crate, what version, Rust edition, edition 2021, edition 2024, c

  • rust-refactor-helper

    Safe Rust refactoring with LSP analysis. Triggers on: /refactor, rename symbol, move function, extract, 重构, 重命名, 提取函数, 安全重构

  • rust-router

    CRITICAL: Use for ALL Rust questions including errors, design, and coding. HIGHEST PRIORITY for: 比较, 对比, compare, vs, versus, 区别, difference, 最佳实践, best practice, tokio vs, async-std vs, 比较 tokio, 比较 async, Triggers on: Rust, cargo, rustc, crate, Cargo.toml, 意图分析, 问题分析, 语义分析, analyze intent, questio

  • rust-skill-creator

    Use when creating skills for Rust crates or std library documentation. Keywords: create rust skill, create crate skill, create std skill, 创建 rust skill, 创建 crate skill, 创建 std skill, 动态 rust skill, 动态 crate skill, skill for tokio, skill for serde, skill for axum, generate rust skill, rust 技能, crate

  • rust-symbol-analyzer

    Analyze Rust project structure using LSP symbols. Triggers on: /symbols, project structure, list structs, list traits, list functions, 符号分析, 项目结构, 列出所有, 有哪些struct

  • rust-trait-explorer

    Explore Rust trait implementations using LSP. Triggers on: /trait-impl, find implementations, who implements, trait 实现, 谁实现了, 实现了哪些trait

  • unsafe-checker

    CRITICAL: Use for unsafe Rust code review and FFI. Triggers on: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, MaybeUninit, NonNull, SAFETY comment, soundness, undefined behavior, UB, safe wrapper, memory layout, bindgen, cbindgen, CString, CStr, 安全抽象,

Slash commands (21)

  • /zhanghandong-rust-skills:achievement

    View coding achievements, stats, and progress

  • /zhanghandong-rust-skills:ai-daily

    Generate AI daily/weekly news report from Reddit communities

  • /zhanghandong-rust-skills:audit
  • /zhanghandong-rust-skills:cache-clean

    Clean Rust docs cache

  • /zhanghandong-rust-skills:cache-status

    Show Rust docs cache status

  • /zhanghandong-rust-skills:clean-crate-skills

    Remove local dynamic crate skills

  • /zhanghandong-rust-skills:crate-info
  • /zhanghandong-rust-skills:create-llms-for-skills

    Generate comprehensive llms.txt from URLs using agent-browser

  • /zhanghandong-rust-skills:create-llms-from-source

    Generate llms.txt from local Rust source code

  • /zhanghandong-rust-skills:create-skills-via-llms

    Create high-quality Rust crate skills from llms.txt

  • /zhanghandong-rust-skills:docs

    Fetch Rust API documentation from docs.rs

  • /zhanghandong-rust-skills:fix-skill-docs

    Check and fix missing reference files in dynamic skills

  • /zhanghandong-rust-skills:guideline
  • /zhanghandong-rust-skills:rust-daily

    Generate Rust daily/weekly/monthly news report

  • /zhanghandong-rust-skills:rust-features
  • /zhanghandong-rust-skills:rust-review
  • /zhanghandong-rust-skills:skill-index
  • /zhanghandong-rust-skills:sync-crate-skills

    Sync dynamic skills for Cargo.toml dependencies or local source

  • /zhanghandong-rust-skills:unsafe-check
  • /zhanghandong-rust-skills:unsafe-review
  • /zhanghandong-rust-skills:update-crate-skill

    Update a specific crate skill to latest version

Subagents (11)

  • browser-fetcher

    Generic web content fetcher.

  • clippy-researcher

    Fetch Clippy lint information.

  • crate-researcher

    Fetch crate metadata from lib.rs / crates.io.

  • docs-cache

    Documentation cache helper for agents.

  • docs-researcher
  • layer1-analyzer
  • layer2-analyzer
  • layer3-analyzer
  • rust-changelog
  • rust-daily-reporter
  • std-docs-researcher

MCP servers (1)

  • actionbook

    runs: npx -y @actionbookdev/mcp@latest

Hooks (1)

  • UserPromptSubmit

    ${CLAUDE_PLUGIN_ROOT}/.claude/hooks/rust-skill-eval-hook.sh

View source on GitHub

More from joshuarweaver/cascade-code-languages-misc-1

All 150 plugins →

Curated AI prompts for iOS and Swift development tasks, helping developers write better code with guided prompting strategies.

200 skills

0

Optimizes context usage and improves Claude integration performance. Targets React development workflows.

155 skills · 28 agents · 2 MCP servers

0

Production-ready Claude Code skills for Cloudflare, React, Tailwind CSS v4, and AI integrations. Accelerates full-stack development with modern tooling.

182 skills

0

Claude skill for building accessible, styled UI components with DaisyUI and Tailwind CSS. Accelerates frontend development with pre-built design system.

170 skills

0

Implement computer vision and image processing in iOS using Apple's Vision framework. Covers object detection, face recognition, and barcode scanning.

86 skills · 1 MCP server

0

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

ecc

claudecodex

Harness-native ECC operator layer - 71 agents, 314 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses

200 skills · 98 commands · 71 agents · 1 MCP server · hooks

affaan-m/ECC 302,088

Automated code review for pull requests using multiple specialized agents with confidence-based scoring to filter false positives

1 command

anthropics/claude-code 155,476

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

Investigate incidents, review code and execute UAT for release readiness, scan code for vulnerabilities, and run penetration tests with AWS DevOps Agent and AWS Security Agent.

13 skills · 9 commands · 1 MCP server

anthropics/claude-plugins-official 47,076

ship-mate

claudecodex

Your AI development teammate. Turns a story file into a shipped, reviewed, and tested feature via orchestrator → architect → developer → PR reviewer → QA → Playwright.

1 skill · 2 commands · 6 agents

wshobson/agents 42,461

Maintain zhanghandong-rust-skills?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins150 plugins