Skip to content
rd-skills
All skills

rust-professional-usage

FoundationJIT only

analysis-agent/task-agent/review-agent: use when Rust changes cross ownership, unsafe/FFI, panic, cancellation, or Send/Sync boundaries; skip tool-only work.

Group
Language usage
Supported roles
MainAnalysisTaskReview
Source
SKILL.md

Use when

Trigger signals that make this skill the right owner

  • Rust ownership lifetime borrowing movement pinning mutation clone Arc interior mutability drop order
  • Rust unsafe safety contract provenance aliasing alignment initialization panic unwind cancellation Send Sync FFI

Do not use when

Anti-triggers — as binding as the triggers above

  • language runtime selection package policy build mechanics test strategy or measured performance is the open decision
  • no task-local Rust-specific ownership unsafe concurrency panic cancellation or foreign boundary requires inspection or change

Required inputs

What must be supplied before this skill can decide anything

  • changed Rust ownership mutation drop async and task boundaries
  • unsafe invariants panic policy Send Sync obligations and foreign representation ownership

Output contract

What this skill owes the next role

  • Rust safety decision with ownership lifetime unsafe panic cancellation Send Sync FFI risks proof limits and specialist routes

Escalation signals

When this skill must hand the decision back

  • Rust compile safety can be bypassed by unsound unsafe contracts panic or cancellation boundaries incorrect auto-traits and foreign ownership skew

Targeted references

Each reference carries its own load condition. None of them enter context by default.

ReferenceLoad whenDo not load whenRequired by
benchmarks-and-patterns.mdbenchmark-patternRust change crosses ownership unsafe panic cancellation Send Sync or FFI boundary whose soundness remains unclearCurrent Rust ownership contracts and focused safety checks settle the changed boundaryTaskReviewAnalysis