/rust-skills:rust-java-migrationfrom rust-skills
Plans and verifies behavior-preserving migration from Java (Maven/Gradle) to Rust (Cargo), handling crate boundaries, test migration, and differential parity audits.
Ships in rust-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Migrate contracts and observable behavior, not Java syntax. Preserve the Java project's public concepts and source traceability while selecting Rust-native ownership, error, concurrency, async, serialization, and framework mechanisms.
snake_case.rs; keep the Rust type in PascalCase and do not add suffixes such as _trait..rs files above 800 lines.lib.rs and mod.rs to declarations and re-exports. Update parent modules after moves and qualify ambiguous external re-exports with ::.#[cfg(test)] modules when useful. Put public-boundary, cross-module, differential, host, and whole-project tests under tests/ or a non-published <project>-test package; keep source fixtures under <project>-test/tests/fixtures/.Read Directory path alignment and Layout and governance, then run the layout audit after moves.
Use this skill for full-project migrations, one Maven/Gradle module, parity audits, migration planning, or continuation of an existing Rust port.
This is the Rust adapter of the cross-language migration profile. Route crate/layout/API, dependency, macro, and domain mechanics to the corresponding Rust skills. Route verification to rust-java-migration-testing plus relevant test skills.
Do not modify migration code when the user requested only an audit, plan, or documentation. A plan-only or read-only request does not authorize running a write-producing document scaffolder: return the proposed four-document content in the response, use --dry-run, or write only to a user-approved destination. Do not broaden a module migration into a repository rewrite without authorization.
Resolve or explicitly mark unknown:
src/main/java root and guess which segments to strip.Never silently infer that the newest branch, a generated manifest, or an API registration list is the behavioral baseline.
Treat one declared Java source module and its Rust target crate/module as the default migration batch. A user-authorized multi-module scope may be one batch, but freeze its boundary before implementation. Apply: freeze scope/contracts → implement the batch → freeze → audit → unified verification.
Dependency-ordered editing inside the implementation batch is allowed. Per-object completion loops are not.
Record both repository SHAs, dirty worktrees, Java/Rust toolchains, module manifests, enabled features, and generated-code boundaries. Preserve existing Rust work and unrelated changes.
Verify the Rust toolchain satisfies the workspace MSRV: an older default rustc fails with rustc X is not supported by the following packages — run gates via rustup run <ver> cargo ..., never silently lower rust-version.
If a repository contains .codegraph/, use CodeGraph before text search or file-by-file reading:
If no index exists, do not initialize one without authorization. Use language-aware tooling or targeted source inspection and disclose the weaker evidence.
Read CodeGraph parity audit for query patterns and inventory rules. Read Case-study lessons when designing a large utility-library migration or an annotation/macro split.
Do not map Maven/Gradle modules one-to-one to Cargo packages. Derive Rust packages from independent publishing/reuse, dependency/feature/target isolation, proc-macro or FFI constraints, and distinct lifecycles; source modules remain traceability scopes.
Select placement with rust-workspace: small cohesive results are normally root-flat; real adapter/binding/example/test families support a hybrid; large, root-heavy, or multi-language repositories may use crates/. Counts are review triggers, not laws. Record the source-module-to-crate mapping, chosen topology, rejected alternatives, and compatibility plan in the roadmap. See Layout and governance.
Create separate machine-readable or tabular inventories for:
<project>-test package owning project-level source replay, cross-component paths, and differential acceptance.Exclude package-info, generated sources, BOMs, aggregators, test support, facades, and Rust-only infrastructure only through explicit categories. Do not hide them by changing the denominator.
Freeze the inventory as the batch manifest before production edits. Cover the complete denominator, dependency order, shared mechanisms, component decisions, test disposition, and approved exceptions; do not discover scope object-by-object.
Resolve SKILL_DIR from this SKILL.md; never assume a fixed install path. Run commands from the Rust migration root and prefer repository-relative inputs/artifacts.
Run the static Rust layout audit as an early signal:
python3 "$SKILL_DIR/scripts/audit_migration_layout.py" \
--java-package-root ../java-project/source-module/src/main/java/org/example/module \
--rust-root . \
--retain-segments 2 \
--require-source-comments \
--fail-on-warning
The script calculates expected paths and distinguishes missing from misplaced
objects. It also detects non-snake-case paths, multi-object files, facade
definitions, wildcard imports, stub macros/panics, empty function bodies, and
missing Chinese source comments. Record an approved 501–800-line cohesion review
with repeated --reviewed-large-file path/to/file.rs; this never exempts a file
above 800 lines. Any strict blocker keeps migration completion blocked; a clean
scan still does not prove Java/Rust semantic parity.
When documentation writes are authorized, generate a documentation directory for each Java module before implementation:
python3 "$SKILL_DIR/scripts/scaffold_migration_docs.py" \
--module source-module \
--java-root ../java-project/source-module \
--java-package-root ../java-project/source-module/src/main/java/org/example/module \
--rust-root <selected-target-crate-or-workspace> \
--output-dir docs/source-module \
--java-baseline <sha-or-tag> \
--rust-baseline <sha> \
--retain-segments 2
The command creates:
迁移路线图.md — scope, baselines, phases, dependencies, risks, and evidence gates.对象级对照表.md — every Java object and its Rust file/type/status.语义迁移对照表.md — every behavior family and its Rust-native implementation.对象名称一致性检查.md — counts, missing/extra/merged objects, names, methods, parameters, and logic gaps.Populate every placeholder from source evidence. A generated template is
DRAFT, not evidence and never completion. Keep documents synchronized with
code in the same change. Templates:
Every one of the four documents must be independently detailed and must contain
the module's current migration contract: source/Rust SHAs, exact object
denominator, target root, retain_segments = 2, status snapshot, strict
completion rules, and that document's responsibility. Reject a title-only,
count-only, or placeholder-only document. As an anti-summary floor, require at
least three substantive level-2 sections plus an evidence table or task matrix;
use a repository-configured size floor (45 nonblank lines by default) while
allowing a proportionally smaller generated object table for a genuinely tiny
module.
Every document must show separate Java and Rust baselines, its last-audited date, and a document status. Every migrated/verified row needs an evidence anchor: source file or symbol, target file or symbol, test/oracle, exact command, and artifact where applicable. During implementation, do not upgrade rows one at a time. After the batch freeze, cross-check all four documents against the current Rust SHA and update statuses in one consolidated pass. A later count table must not silently contradict a technical-requirements document or an earlier semantic gap.
Keep exactly one current four-document set at the module root. Do not leave
*-历史详细版.md or a second history/**/<current-name>.md beside it. Merge
useful old package grouping, design context, and decision history into a clearly
delimited “历史设计附录” in the corresponding current document. The generated
current-fact region must remain first and regeneration must preserve the
appendix. Old counts, paths, statuses, tests, and completion marks never override
current facts.
Treat scaffold --force as destructive and use it only for a disposable,
untouched DRAFT; never use it to merge or refresh a populated current
document. Merge historical details into the current document in place and
preserve both its generated fact region and existing appendix.
Use these object states consistently. Keep verification levels (V0–V7)
separate; do not invent a friendlier state or translate a test result directly
into an object state.
| State | Meaning |
|---|---|
MISSING | Expected Rust object file does not exist |
MISPLACED | Same-name file/type exists but not at the deterministic expected path |
STUB | Shape or placeholder exists but real behavior is absent |
PARTIAL | Real behavior exists but methods, callbacks, errors, ordering, lifecycle, or integration semantics are incomplete |
UNVERIFIED | File/logic exists but source comments, object boundary, or semantic test evidence is insufficient |
IMPLEMENTED | Expected path, one-object boundary, real complete logic, Chinese source semantics, and current semantic tests all exist |
DEPENDENCY_REUSED | A pinned dependency provides the exact capability; crate/version or commit, upstream symbol, adapter, and local integration test are recorded |
PLATFORM_NA | The capability is genuinely JVM/bytecode/class-loader/platform-only and explicit evidence records why no Rust object applies |
RUST_EXTENSION | Intentional Rust-only capability, excluded from Java parity numerator |
Only IMPLEMENTED, DEPENDENCY_REUSED, and PLATFORM_NA count as handled
source objects. MISSING, MISPLACED, STUB, PARTIAL, and UNVERIFIED are
incomplete. RUST_EXTENSION never enters the Java denominator.
Allow a planned placeholder only when the user explicitly approves it. Record
the blocker in the roadmap, but keep each affected object in its factual
MISSING or STUB state. A blocker is metadata, not a completion-like object
state.
Never upgrade from MISSING merely because an object name appears in a manifest,
facade, lib.rs, mod.rs, re-export, generated registry, or compatibility
module. Never upgrade from UNVERIFIED merely because cargo test is green.
Do not map framework names directly. For every external Java component or framework subsystem:
The Java source module remains authoritative for object names, package
structure, and public contracts. A Rust dependency is only an implementation
reuse boundary. Do not restructure the migration around the dependency's file
tree and do not copy dependency-owned implementations into local files merely
to improve parity counts. For AOP-like work, for example, Spring defines the
Advice/Interceptor/Advisor object inventory while an aspect crate may satisfy
specific runtime symbols through DEPENDENCY_REUSED.
PLATFORM_NA.rust-crate-discovery when available. Apply migration-specific contract and compatibility gates here; its numeric health score does not select the replacement.DEPENDENCY_REUSED only when the exact upstream symbol,
pinned dependency evidence, adapter boundary, and local integration test are
all recorded. “The ecosystem has it” or “semantically similar” remains
UNVERIFIED.For multiple target frameworks, define a framework-neutral contract and thin adapters, then run one shared conformance suite against every adapter. Keep runtime traits/types separate from thin procedural macros and generated code.
Read Component replacement decision SOP, crate replacement discovery and evaluation, and Component candidate catalog before choosing or approving a third-party replacement. The catalog is discovery input, never an approval list; re-verify release, maintenance, license, MSRV, targets, advisories, unsafe/build-script surface, and required contracts at decision time.
Read Layout and migration rules, Directory path alignment patterns and error catalog, and Semantic mappings before changing code. Then execute the entire frozen batch without object-level acceptance pauses:
.rs file per Java object and real logic in the
corresponding object or explicit collaborator files.@param, @return, @throws, @since, @deprecated,
relevant @see, and semantic inline comment without omission. Preserve the
parameter-specific contracts. Keep Java-to-Rust name, signature, and exception
mappings in the four migration documents; keep generated Rust documentation
Rust-native.During this pass, do not run cargo check, tests, Clippy, coverage,
differential comparison, per-object CodeGraph re-queries, or per-object
completion reviews. Do not report an object as accepted merely because its file
was edited. Recovery commits are allowed, but they are not verification gates.
Read Comment migration contract and example before migrating documentation. Treat missing source comments as migration gaps, not optional cleanup.
snake_case for Rust directories, files, methods, and parameters.PascalCase for Rust types.loadOrCreateAgentState(slotKey) to load_or_create_agent_state(slot_key).factory/xml/support/Foo.java → xml/support/foo.rs;
propertyeditors/PatternEditor.java → propertyeditors/pattern_editor.rs.lib.rs and mod.rs as declarations and re-exports only.clippy::too_many_lines as a function/method review signal at its 100-line default; refactor long routines when they combine distinct responsibilities.#[cfg(test)] modules, and place public-boundary, cross-module, differential, host, and whole-project tests in tests/ or a test/testkit package.Rust has no method overloading. Keep one canonical snake_case name only when the signatures have one semantic operation. Give additional variants stable semantic suffixes such as _with_charset, _into, or _from_reader; record the exact Java signature mapped to each Rust function. Never collapse overloads that differ in defaults, validation, side effects, or error behavior.
Apply the local rust-api-design conventions to every migrated public Rust
surface. Do not mechanically translate JavaBean accessors: prefer name() over
get_name() (except genuine lookup operations), set_name(value) for controlled
mutation, name_mut() only when it cannot bypass invariants,
into_name()/into_inner() for ownership transfer, semantic boolean predicates,
and chainable builders. Use as_/to_/into_, From/TryFrom/AsRef and
IntoIterator by their Rust meanings; do not use Deref to emulate Java
inheritance. Expose fields directly only when invariants and API evolution permit
it. Preserve validation, visibility, side effects, exceptions, synchronization,
and lazy-computation behavior.
When a script, expression engine, serializer, reflection facade, or other
compatibility surface exposes Java property semantics, keep the Rust API
idiomatic and implement the old field/getter/setter behavior in an explicit
registry or member resolver. Record this relationship as mapping form
ADAPTED; this is orthogonal to completion status and still requires
IMPLEMENTED, UNVERIFIED, or another factual state.
Read Rust API and JavaBean property adaptation before migrating getters, setters, builders, or script-visible properties.
Use this table as a common starting point, then verify the exact contract and current crate evidence:
| Java responsibility | Rust starting point |
|---|---|
| Jackson JSON annotations/modules | serde, serde_json, project-owned custom serializers |
| Jackson XML / JAXB-style XML | quick-xml plus explicit namespace, attribute, mixed-content, and ordering logic |
null, checked exceptions | Option<T>; typed thiserror enums and Result |
| SLF4J/Logback/MDC | tracing, tracing-subscriber, explicit field/context propagation and redaction |
synchronized / ConcurrentHashMap | ownership first; then std Mutex/RwLock or DashMap when the access pattern warrants it |
CompletableFuture, scheduled executors | async futures, supervised Tokio tasks, cancellation tokens, timers/intervals; select a scheduler crate only for richer contracts |
Reactor Mono<T> / Flux<T> | async fn -> Result<T, E>; bounded Stream<Item = Result<T, E>> |
| OkHttp / Apache HttpClient | reqwest for high-level clients; Hyper for protocol-level control; verify TLS, proxy, pool, redirect, retry, and streaming semantics |
| Spring MVC/WebFlux / JAX-RS | framework-neutral core plus approved Axum, Actix Web, Poem, or other thin host adapters |
| JDBC/JPA/MyBatis | SQLx, Diesel, SeaORM, RBatis, or another verified data layer selected by query, mapping, transaction, migration, and runtime contracts |
| Caffeine/Guava cache | Moka or a project-owned cache; verify eviction, TTL/TTI, loading, invalidation, and concurrency |
| Jedis/Lettuce | redis; verify cluster/sentinel, reconnect, pipeline/transaction, TLS, and async behavior |
| Kafka/RabbitMQ/Pulsar/NATS/MQTT | protocol-specific client such as rdkafka, Lapin, pulsar, async-nats, or rumqttc; require real-broker semantics and recovery tests |
| Protobuf / gRPC | Prost; Tonic plus Prost for gRPC |
| Bean Validation | validator or project-owned validation, kept separate from framework extractors |
java.time, UUID/ULID, BigDecimal, regex | time/chrono, uuid/ulid, rust_decimal/bigdecimal, regex; choose representations and compatibility before crate preference |
.properties, YAML, TOML, configuration binding | java-properties, serde_yaml_ng, toml, or a verified configuration crate plus project-owned precedence/profile rules |
| Apache Commons/Hutool general utilities | std first, then focused crates such as url, bytes, regex, base64, or hex; do not seek one umbrella crate by name |
| Micrometer/OpenTelemetry/Prometheus | metrics, OpenTelemetry ecosystem, Prometheus exporters, and tracing integration; preserve names, labels, cardinality, context, and shutdown |
| JavaMail | lettre; verify MIME, attachment, TLS/authentication, retry, and delivery reporting |
| JWT/passwords/general crypto | jsonwebtoken, argon2, and focused RustCrypto crates; select algorithms/formats from the security contract, never from convenience alone |
| Groovy/Nashorn/embedded scripts | rhai, boa_engine, mlua, PyO3, or Wasmtime according to language, sandbox, resource-limit, threading, and packaging requirements |
| Apache POI/document formats | format-specific crates such as rust_xlsxwriter, calamine, docx-rs, printpdf, or lopdf; validate actual Office/PDF fixtures and unsupported features |
| ServiceLoader/SPI | explicit registry first; inventory only when link-time registration is required |
| Spring IoC/AOP/runtime annotations | constructors/builders, traits, middleware, registries, wrappers; use macros only for compile-time behavior |
| FreeMarker / Velocity / compile-time views | Tera / Handlebars; Askama for compile-time templates; maud for Rust-native markup |
| Lombok data boilerplate | standard derives plus invariant-preserving APIs/builders; evaluate lombok-macros only against the generated API contract |
| JUnit/Testcontainers | Rust unit/integration tests; testcontainers for disposable real dependencies |
| JNI/manual Swift/Kotlin/Python bindings | UniFFI when its supported type/error/async model fits; shipping and packaging remain separate work |
Prefer composition of mature Rust crates over recreating a Java all-in-one implementation, but retain the source project's observable facade when compatibility requires it.
Do not place procedural macro entry points in a normal runtime crate. Use:
project-core # runtime traits, types, errors, and generated-code contract
project-macros # thin proc-macro entry points and syntax parsing
project-web-* # framework adapters that may re-export approved macros
Use -derive only for a derive-only public surface; use -macros for attribute/function-like or mixed macros, unless the existing crate family has a deliberate established spelling. Keep generated code dependent on public runtime APIs, not proc-macro internals. Test expansion success, compile failures, generics, visibility, renamed dependencies, and each framework re-export.
Java runtime annotations do not automatically become Rust macros. Use middleware, traits, registries, or explicit builders when runtime state and dynamic dispatch own the behavior.
After the implementation freeze, execute the applicable ladder for the whole declared batch:
MATCH; zero mismatches, harness failures, and not-run cases.
Execute this from the dedicated <project>-test package; local
production-crate tests remain subsystem evidence only.cargo-fuzz, unsafe
review, dependency advisories, and secret-redaction checks.When a gate fails, group failures by shared subsystem or root cause, repair the batch, and rerun the affected consolidated gate plus downstream invalidated gates. Never fall back to migrate-compare-test one object at a time.
Read Verification and acceptance for evidence design and use rust-java-migration-testing for the three-ledger testing SOP. Before repairing a non-compiling or warning-heavy workspace, read Compile drift and migration cleanup: dependency/version drift, MSRV, crate-root re-export chain breaks, duplicate cross-crate types, Java-mirror naming/scaffolding norms, and the zero-warning check workflow (default + --all-features, --keep-going layered errors, per-crate attribution, tests after cleanup).
Report structural, implementation, behavioral, test, integration, and production readiness separately. For behavior, distinguish mirrored contracts, golden differential, live differential, and approved equivalent oracles; for tests, separate losslessly migrated source tests from Rust-native additions.
Include exact commands, SHAs, test counts, failures, exceptions, and unverified boundaries. Never call a migration complete because code compiles or a parity manifest reaches 100%.
lib.rs, mod.rs, or compat.rs.compat.rs implementation.todo!(), or unimplemented!() as completed migration..rs file above 800 physical lines; review every file above 500 and split it when cohesion is weak.#[cfg(test)] unit tests remain valid for focused module-private behavior.get_* methods solely to mirror JavaBean spelling when an idiomatic Rust method plus an explicit compatibility adapter preserves the contract.DEPENDENCY_REUSED without pinned crate/commit, exact source symbol, adapter evidence, and local integration tests.PLATFORM_NA for work that is merely difficult or missing; require JVM/bytecode/class-loader/platform-specific evidence.MATCH; MISSING, BLOCKED, and NOT_APPLICABLE block completion.<project>-test whole-project acceptance package.crates/ or root-flat; record topology from product scale, families, repository noise, and compatibility.is_ok()/is_err(), or “at least one test per object”.-历史详细版/nested duplicate; merge useful history after the generated fact region.cargo doc alone.对应 Java in parameter, return, error-variant, field, or inline comments. Limit optional anchors to Rust type and constructor/method docs; keep detailed correspondence in the four documents.non_camel_case_types/dead_code; use #[allow(...)] + comment and keep the Java inventory intact.--all-features must also reach zero warnings, and do not silently lower rust-version to match an old local rustc — run the pinned toolchain via rustup run <ver> cargo ....--> path first.--keep-going output; errors surface in layers — fix the first layer, re-run, iterate.MISPLACED remains incomplete until physically aligned.<project>-test is a workspace member at the selected path with publish = false and owns the full source-suite/differential command and artifact.MATCH, with no harness failure or not-run case..rs file is at most 800 physical lines; files above 500 and functions above the Clippy 100-line signal have recorded cohesion reviews, and any split preserves Java object boundaries.tests/ or the non-published test package.agents/openai.yaml (opens in a new tab)assets/templates/对象名称一致性检查.md (opens in a new tab)assets/templates/对象级对照表.md (opens in a new tab)assets/templates/语义迁移对照表.md (opens in a new tab)assets/templates/迁移路线图.md (opens in a new tab)examples/golden-migration/Cargo.lock (opens in a new tab)examples/golden-migration/Cargo.toml (opens in a new tab)examples/golden-migration/src/agent_state.rs (opens in a new tab)examples/golden-migration/src/agent_state_store.rs (opens in a new tab)examples/golden-migration/src/in_memory_agent_state_store.rs (opens in a new tab)examples/golden-migration/src/lib.rs (opens in a new tab)examples/golden-migration/src/state_error.rs (opens in a new tab)examples/golden-migration/tests/state_store.rs (opens in a new tab)references/case-study-lessons.md (opens in a new tab)references/codegraph-parity-audit.md (opens in a new tab)references/comment-migration.md (opens in a new tab)references/compile-drift-and-cleanup.md (opens in a new tab)references/component-candidate-catalog.md (opens in a new tab)references/component-replacement-sop.md (opens in a new tab)references/crate-replacement-discovery.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
java-to-rust, language-migration, cargo-workspace, code-audit
Generated from the plugin's indexed repository (full-stack-skills/rust-skills) — no native marketplace selected
npx claudepluginhub p/full-stack-skills-rust-skills29 skills in this plugin
/rust-api-designDesign Rust library APIs that follow the Rust API Guidelines — naming (C-CASE, C-CONV, C-GETTER), interop traits (C-COMMON-TRAITS, C-CONVERT, C-ITER, C-SERDE), predictability (C-INTUITIVE, C-CONST), flexibility (C-GENERIC, C-NEWTYPE, C-EXT), type safety (C-BOOL, C-NONZERO, C-WRAPPER, C-STR), dependability (C-PANIC, C-UNWRAP), debuggability (C-DEBUG), and future-proofing (C-SEALED, C-STRUCT-FIELD, C-NON-EXHAUSTIVE). Use when users design a public crate API, choose between generics/concrete/newtype, decide trait bounds, hide implementation, avoid breakage, or ask "what is idiomatic Rust API design"; hand semver and publish workflow to rust-semver, lint config to rust-style-clippy, and in-crate layout to rust-module-layout./rust-by-exampleShow Rust patterns through short compilable examples — type conversions (From/Into/TryFrom/as/Deref), flow control (if let/while let/match/loop), functions and closures (Fn/FnMut/FnOnce, captures), modules (mod/use/pub/super/self), generics and traits (bounds/associated types/trait objects), error handling (?/Result/thiserror/anyhow), attributes (derive/cfg/inline/allow), unsafe (raw pointers/unions/ABI), procedural macros (derive/attribute/function-like), and inline asm. Use when users ask "how do I write X in Rust", need a concrete pattern with copy-pasteable code, or are migrating from Java/Python/Go/C++ and want the Rust equivalent; hand architecture decisions to rust-api-design/rust-workspace, std API selection to rust-stdlib, and async runtime to rust-concurrency./rust-cargo-buildConfigure, operate, diagnose, and automate Cargo for Rust packages and workspaces. Cover manifests and targets, commands, dependency resolution and features, profiles, build scripts, configuration and environment variables, caches and build diagnostics, cross-compilation, registries, packaging, publishing, metadata, CI reproducibility, and stable-versus-nightly feature gates. Use for Cargo.toml, Cargo.lock, .cargo/config.toml, cargo build/check/run/tree/metadata/package/publish, resolver or feature problems, build output and performance, private registries, and beginner Cargo workflows. Route crate selection and supply-chain audits to rust-dependencies, workspace topology to rust-workspace, test design to rust-testing, documentation design to rust-documentation, lint policy to rust-style-clippy, and API compatibility decisions to rust-semver./rust-cliDesign, implement, test, and release production Rust command-line applications, including command contracts, subcommands, configuration precedence, stdin/stdout/stderr, exit codes, file safety, daemon IPC, terminal handling, packaging, and process-level tests. Use when users ask for a Rust CLI, command parser, clap integration, Unix-style pipelines, daemon clients, PTY/TUI behavior, shell completion, or CLI release engineering./rust-code-reviewReview Rust changes for correctness, memory and thread safety, error semantics, unnecessary allocation or cloning, lock scope, API compatibility, test gaps, documentation, and dependency risk, applying the Rust API Guidelines checklist (C-PANIC, C-UNWRAP, C-TRANSMUTE, C-BOOL, C-NEWTYPE, C-COMMON-TRAITS, C-CONVERT, C-SEALED, C-NON-EXHAUSTIVE). Use when reviewing Rust diffs, pull requests, libraries, unsafe boundaries, or production incidents; report actionable findings by severity before summaries, route automated formatting or lint policy to rust-style-clippy, and route API shape decisions (trait sealing, error taxonomy, newtype design, builder patterns) to rust-api-design./rust-concurrencyDesign, implement, diagnose, and test Rust concurrency and parallelism with threads, Send and Sync, locks, atomics, channels, Tokio, Rayon, Crossbeam, bounded backpressure, actor ownership, task supervision, graceful shutdown, runtime diagnostics, and Loom model tests. Use when users ask about shared state, deadlocks, async tasks, CPU parallelism, high concurrency, daemon resource budgets, slow consumers, worker pools, lock-free structures, or concurrent correctness.Other plugins' skills for the same job