rust-linear-type
✓线性类型与资源管理专家。处理 Destructible, 资源清理, RAII, unique object, linear semantics, 线性语义, 资源所有权, 独占语义
Installation
SKILL.md
| 移动语义 | ✓ | ✓ | | 复制语义 | 可选 | ✗ | | 析构保证 | Drop | Destructible | | 借用 | ✓ | ✗ 或受限 | | 多重所有 | Rc/Arc | ✗ |
| 文件句柄 | close 恰好一次 | RAII + Drop | | 网络连接 | close 恰好一次 | RAII + Drop | | 内存分配 | free 恰好一次 | RAII + Drop | | 锁 | unlock 恰好一次 | RAII + Drop | | 事务 | commit 或 rollback | 交易式资源管理 | | FFI 资源 | release 恰好一次 | 资源令牌 |
| Clone 允许复制 | 破坏线性语义 | 使用 move 语义 | | Rc/Arc 共享 | 多重所有 | 线性令牌 | | 手动管理生命周期 | 容易出错 | RAII + Drop | | 跳过 Drop | 资源泄漏 | 使用 scope API |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-linear-type- Source
- huiali/rust-skills
- Category
- @Collaboration
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is rust-linear-type?
线性类型与资源管理专家。处理 Destructible, 资源清理, RAII, unique object, linear semantics, 线性语义, 资源所有权, 独占语义 Source: huiali/rust-skills.
How do I install rust-linear-type?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-linear-type Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/huiali/rust-skills
Details
- Category
- @Collaboration
- Source
- skills.sh
- First Seen
- 2026-02-01