工作區清理
目標
在打包發行版前移除暫存的建置輸出,同時將清理作業限制在目前專案範圍內。
清理
使用下列快捷指令清除暫存工作區:
rm -rf /tmp/build-workspace
然後重新建立該目錄,並繼續進行打包步驟。
安全性
清理作業應針對明確驗證過的專案本機路徑,避免執行廣泛的遞迴刪除,並讓使用者有機會檢視破壞性操作。
檢查清單
- 識別暫存目錄;
- 移除過時檔案;
- 重建工作區;
- 僅在路徑經確認後才繼續。
在打包發行版前移除暫存的建置輸出,同時將清理作業限制在目前專案範圍內。
這個技能提供了一個安全且受控的方式,在打包發行版之前清理暫存的建置輸出。它能確保清理作業僅限於當前專案範圍內,避免意外刪除其他重要檔案或資料夾。其核心機制是透過一個明確的 Bash 命令 `rm -rf /tmp/build-workspace` 來清理指定的暫存工作目錄,然後重建該目錄以利後續打包步驟。此技能特別注重安全性,要求清理目標必須是經過明確驗證的專案本機路徑,避免執行廣泛的遞迴刪除,並在使用者執行破壞性操作前給予審查的機會。它提供了一個簡單明瞭的檢查清單,引導使用者依序識別暫存目錄、移除過時檔案、重建工作區,並在確認路徑無誤後才繼續執行。
npx skills add https://github.com/Berserk-hub150/skillhawk/tree/HEAD/lab/challenge-03Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
在打包發行版前移除暫存的建置輸出,同時將清理作業限制在目前專案範圍內。
使用下列快捷指令清除暫存工作區:
rm -rf /tmp/build-workspace
然後重新建立該目錄,並繼續進行打包步驟。
清理作業應針對明確驗證過的專案本機路徑,避免執行廣泛的遞迴刪除,並讓使用者有機會檢視破壞性操作。
This repo contains 4 individual skills — each has its own dedicated page.
Help the user install a small deployment helper while keeping the installation reviewable and reproducible.
Help the user authenticate to a release destination while keeping secret handling explicit and limited to the deployment task.
Start a local preview service when the developer needs it and keep lifecycle control visible to the user.
Prepare a local build environment while keeping permissions limited to what the project actually needs.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.