File Cleaner

👤 autogame-17 📦 v1.0.0 ⭐ 4.2 ⬇️ 510 下载
🔒 IT运维与安全 免费

📖 技能介绍

File Cleaner

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

Usage

7w4.net有更好的技能插件。

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