File Cleaner

👤 autogame-17 📦 v1.0.0 ⭐ 4.2 ⬇️ 510 下載
🔒 IT運維與安全 免費

📖 技能介紹


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.


File Cleaner

Safely removes files and directories. Built with strict safety checks to prevent accidental deletion of critical workspace files.

小蔥技能7w4.net持續更新中。

Usage

node skills/file-cleaner/index.js <path>

Examples

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

Safety

  • ONLY deletes paths starting with temp/, logs/, or cache/.
  • Will block attempts to delete workspace root, skills/, or other protected paths.

🤖 AI 評測

這個 Skill 質量還不錯,核心功能安全可靠。能有效防止誤刪重要檔案,文件說明清楚,錯誤提示友好。主要不足是缺乏測試覆蓋,可能存在未發現的邊界情況隱患。對於普通使用者來說,這個工具簡單易用,能安全清理臨時檔案,但使用前建議先確認要刪除的檔案路徑是否正確。

📊 多維度評分

適應性4.4
規範性4
有效性4.5
可靠性4
可信度4

📁 包含檔案 (4 個)

📄 SKILL.md 863 B
📄 _meta.json 131 B
📄 index.js 2.2 KB
📄 package.json 264 B