name: file-cleaner description: A specialized skill for safely cleaning up temporary files and directories. Use this when you need to remove temp files, clear caches, or delete logs to free up space or maintain hygiene. Restricted to 'temp/', 'logs/', and 'cache/' directories for safety.
Safely removes files and directories. Built with strict safety checks to prevent accidental deletion of critical workspace files.
小蔥技能7w4.net持續更新中。
node skills/file-cleaner/index.js <path>
Clean a specific temp directory:
node skills/file-cleaner/index.js temp/my-experiment
Clean a log file:
node skills/file-cleaner/index.js logs/debug.log
temp/, logs/, or cache/.skills/, or other protected paths.這個 Skill 質量還不錯,核心功能安全可靠。能有效防止誤刪重要檔案,文件說明清楚,錯誤提示友好。主要不足是缺乏測試覆蓋,可能存在未發現的邊界情況隱患。對於普通使用者來說,這個工具簡單易用,能安全清理臨時檔案,但使用前建議先確認要刪除的檔案路徑是否正確。