m01-ownership
✓關鍵:用於所有權/借用/生命週期問題。觸發器:E0382、E0597、E0506、E0507、E0515、E0716、E0106、值已移動、借用值壽命不夠長、無法移出、使用已移動值、所有權、借用、生命週期、'a、'靜態、移動、克隆、複製、循環生命、借用、週期
SKILL.md
| Error | Don't Just Say | Ask Instead |
| E0382 | "Clone it" | Who should own this data? | | E0597 | "Extend lifetime" | Is the scope boundary correct? | | E0506 | "End borrow first" | Should mutation happen elsewhere? | | E0507 | "Clone before move" | Why are we moving from a reference? | | E0515 | "Return owned" | Should caller own the data? |
| E0716 | "Bind to variable" | Why is this temporary? | | E0106 | "Add 'a" | What is the actual lifetime relationship? |
關鍵:用於所有權/借用/生命週期問題。觸發器:E0382、E0597、E0506、E0507、E0515、E0716、E0106、值已移動、借用值壽命不夠長、無法移出、使用已移動值、所有權、借用、生命週期、'a、'靜態、移動、克隆、複製、循環生命、借用、週期 來源:actionbook/rust-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/actionbook/rust-skills --skill m01-ownership- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 m01-ownership?
關鍵:用於所有權/借用/生命週期問題。觸發器:E0382、E0597、E0506、E0507、E0515、E0716、E0106、值已移動、借用值壽命不夠長、無法移出、使用已移動值、所有權、借用、生命週期、'a、'靜態、移動、克隆、複製、循環生命、借用、週期 來源:actionbook/rust-skills。
如何安裝 m01-ownership?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/actionbook/rust-skills --skill m01-ownership 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/actionbook/rust-skills
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01