peterfei/ai-agent-team / .claude/skills/tidymydesktop
tidymydesktop
Flagged智能桌面和目录整理工具。根据用户提示词自动分类、整理文件和应用程序图标,去除重复版本,生成整理报告。支持整理桌面或指定目录。
| File | Kind | Size |
|---|---|---|
| .npmignore | other | 14 B |
| .test-summary.txt | markdown | 5.2 KB |
| CHANGELOG.md | markdown | 1.7 KB |
| LICENSE | other | 1.1 KB |
| README.md | markdown | 8.4 KB |
| SKILL.md | skill md | 8.1 KB |
| TEST_REPORT.md | markdown | 15.5 KB |
| package-lock.json | manifest | 18.6 KB |
| package.json | manifest | 686 B |
| scripts/classify.jsexecutable | script | 8.6 KB |
| scripts/organize.jsexecutable | script | 12.7 KB |
| scripts/run.bat | script | 849 B |
| scripts/run.jsexecutable | script | 1.0 KB |
| scripts/run.shexecutable | script | 893 B |
| scripts/scan.jsexecutable | script | 7.6 KB |
| test.bat | script | 1.6 KB |
| test.shexecutable | script | 1.7 KB |
| tidy-classifyexecutable | script | 158 B |
| tidy-classify.bat | script | 184 B |
| tidy-organizeexecutable | script | 158 B |
| tidy-organize.bat | script | 184 B |
| tidy-scanexecutable | script | 154 B |
| tidy-scan.bat | script | 180 B |
scripts/run.sh
View on GitHub#!/bin/bash
# TidyMyDesktop 运行包装脚本
# 自动检测 nvm 并使用合适的 Node.js 版本
# 检查是否安装了 nvm
if [ -f ~/.nvm/nvm.sh ]; then
# 使用 nvm
source ~/.nvm/nvm.sh > /dev/null 2>&1
nvm use 18 > /dev/null 2>&1
fi
# 检查 Node.js 是否可用
if ! command -v node &> /dev/null; then
echo "错误: 未找到 Node.js"
echo ""
echo "请安装 Node.js (>= 14.0.0):"
echo " - 使用 nvm: https://github.com/nvm-sh/nvm"
echo " - 使用 Homebrew: brew install node"
echo " - 官方下载: https://nodejs.org/"
exit 1
fi
# 检查 Node.js 版本
NODE_VERSION=$(node -v | cut -d'v' -f2 | cut -d'.' -f1)
if [ "$NODE_VERSION" -lt 14 ]; then
echo "警告: Node.js 版本过低 (当前: $(node -v), 要求: >= v14.0.0)"
echo "建议升级 Node.js"
fi
# 执行传入的脚本
cd ~/.claude/skills/tidymydesktop
exec node "$@"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |