[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-5fa8b869-f3f8-4549-8ee1-2fe687f3b409":3,"$f_djvC78AB3cXXh56kOjO1ldsjet4IB2vvEJhGlroaDQ":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"5fa8b869-f3f8-4549-8ee1-2fe687f3b409","file-organizer","6. 减少杂乱：识别你可能不再需要的旧文件","cat_life_career","mod_other","sickn33,other","---\nname: file-organizer\ndescription: \"6. Reduces Clutter: Identifies old files you probably don't need anymore\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# File Organizer\n\n## When to Use This Skill\n\n- Your Downloads folder is a chaotic mess\n- You can't find files because they're scattered everywhere\n- You have duplicate files taking up space\n- Your folder structure doesn't make sense anymore\n- You want to establish better organization habits\n- You're starting a new project and need a good structure\n- You're cleaning up before archiving old projects\n\n## What This Skill Does\n\n1. **Analyzes Current Structure**: Reviews your folders and files to understand what you have\n2. **Finds Duplicates**: Identifies duplicate files across your system\n3. **Suggests Organization**: Proposes logical folder structures based on your content\n4. **Automates Cleanup**: Moves, renames, and organizes files with your approval\n5. **Maintains Context**: Makes smart decisions based on file types, dates, and content\n6. **Reduces Clutter**: Identifies old files you probably don't need anymore\n\n## Instructions\n\nWhen a user requests file organization help:\n\n1. **Understand the Scope**\n\n   Ask clarifying questions:\n\n   - Which directory needs organization? (Downloads, Documents, entire home folder?)\n   - What's the main problem? (Can't find things, duplicates, too messy, no structure?)\n   - Any files or folders to avoid? (Current projects, sensitive data?)\n   - How aggressively to organize? (Conservative vs. comprehensive cleanup)\n\n2. **Analyze Current State**\n\n   Review the target directory:\n\n   ```bash\n   # Get overview of current structure\n   ls -la [target_directory]\n\n   # Check file types and sizes\n   find [target_directory] -type f -exec file {} \\; | head -20\n\n   # Identify largest files\n   du -sh [target_directory]\u002F* | sort -rh | head -20\n\n   # Count file types\n   find [target_directory] -type f | sed 's\u002F.*\\.\u002F\u002F' | sort | uniq -c | sort -rn\n   ```\n\n   Summarize findings:\n\n   - Total files and folders\n   - File type breakdown\n   - Size distribution\n   - Date ranges\n   - Obvious organization issues\n\n3. **Identify Organization Patterns**\n\n   Based on the files, determine logical groupings:\n\n   **By Type**:\n\n   - Documents (PDFs, DOCX, TXT)\n   - Images (JPG, PNG, SVG)\n   - Videos (MP4, MOV)\n   - Archives (ZIP, TAR, DMG)\n   - Code\u002FProjects (directories with code)\n   - Spreadsheets (XLSX, CSV)\n   - Presentations (PPTX, KEY)\n\n   **By Purpose**:\n\n   - Work vs. Personal\n   - Active vs. Archive\n   - Project-specific\n   - Reference materials\n   - Temporary\u002Fscratch files\n\n   **By Date**:\n\n   - Current year\u002Fmonth\n   - Previous years\n   - Very old (archive candidates)\n\n4. **Find Duplicates**\n\n   When requested, search for duplicates:\n\n   ```bash\n   # Find exact duplicates by hash\n   find [directory] -type f -exec md5 {} \\; | sort | uniq -d\n\n   # Find files with similar names\n   find [directory] -type f -printf '%f\\n' | sort | uniq -d\n\n   # Find similar-sized files\n   find [directory] -type f -printf '%s %p\\n' | sort -n\n   ```\n\n   For each set of duplicates:\n\n   - Show all file paths\n   - Display sizes and modification dates\n   - Recommend which to keep (usually newest or best-named)\n   - **Important**: Always ask for confirmation before deleting\n\n5. **Propose Organization Plan**\n\n   Present a clear plan before making changes:\n\n   ```markdown\n   # Organization Plan for [Directory]\n\n   ## Current State\n\n   - X files across Y folders\n   - [Size] total\n   - File types: [breakdown]\n   - Issues: [list problems]\n\n   ## Proposed Structure\n\n   [Directory]\u002F\n   ├── Work\u002F\n   │ ├── Projects\u002F\n   │ ├── Documents\u002F\n   │ └── Archive\u002F\n   ├── Personal\u002F\n   │ ├── Photos\u002F\n   │ ├── Documents\u002F\n   │ └── Media\u002F\n   └── Downloads\u002F\n   ├── To-Sort\u002F\n   └── Archive\u002F\n\n   ## Changes I'll Make\n\n   1. **Create new folders**: [list]\n   2. **Move files**:\n      - X PDFs → Work\u002FDocuments\u002F\n      - Y images → Personal\u002FPhotos\u002F\n      - Z old files → Archive\u002F\n   3. **Rename files**: [any renaming patterns]\n   4. **Delete**: [duplicates or trash files]\n\n   ## Files Needing Your Decision\n\n   - [List any files you're unsure about]\n\n   Ready to proceed? (yes\u002Fno\u002Fmodify)\n   ```\n\n6. **Execute Organization**\n\n   After approval, organize systematically:\n\n   ```bash\n   # Create folder structure\n   mkdir -p \"path\u002Fto\u002Fnew\u002Ffolders\"\n\n   # Move files with clear logging\n   mv \"old\u002Fpath\u002Ffile.pdf\" \"new\u002Fpath\u002Ffile.pdf\"\n\n   # Rename files with consistent patterns\n   # Example: \"YYYY-MM-DD - Description.ext\"\n   ```\n\n   **Important Rules**:\n\n   - Always confirm before deleting anything\n   - Log all moves for potential undo\n   - Preserve original modification dates\n   - Handle filename conflicts gracefully\n   - Stop and ask if you encounter unexpected situations\n\n7. **Provide Summary and Maintenance Tips**\n\n   After organizing:\n\n   ```markdown\n   # Organization Complete! ✨\n\n   ## What Changed\n\n   - Created [X] new folders\n   - Organized [Y] files\n   - Freed [Z] GB by removing duplicates\n   - Archived [W] old files\n\n   ## New Structure\n\n   [Show the new folder tree]\n\n   ## Maintenance Tips\n\n   To keep this organized:\n\n   1. **Weekly**: Sort new downloads\n   2. **Monthly**: Review and archive completed projects\n   3. **Quarterly**: Check for new duplicates\n   4. **Yearly**: Archive old files\n\n   ## Quick Commands for You\n\n   # Find files modified this week\n\n   find . -type f -mtime -7\n\n   # Sort downloads by type\n\n   [custom command for their setup]\n\n   # Find duplicates\n\n   [custom command]\n   ```\n\n   Want to organize another folder?\n\n## Best Practices\n\n### Folder Naming\n\n- Use clear, descriptive names\n- Avoid spaces (use hyphens or underscores)\n- Be specific: \"client-proposals\" not \"docs\"\n- Use prefixes for ordering: \"01-current\", \"02-archive\"\n\n### File Naming\n\n- Include dates: \"2024-10-17-meeting-notes.md\"\n- Be descriptive: \"q3-financial-report.xlsx\"\n- Avoid version numbers in names (use version control instead)\n- Remove download artifacts: \"document-final-v2 (1).pdf\" → \"document.pdf\"\n\n### When to Archive\n\n- Projects not touched in 6+ months\n- Completed work that might be referenced later\n- Old versions after migration to new systems\n- Files you're hesitant to delete (archive first)\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,116,2074,"2026-05-16 13:17:56",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"033797b7-881a-4fd2-980a-a2ff9f272af2","1.0.0","file-organizer.zip",2999,"uploads\u002Fskills\u002F5fa8b869-f3f8-4549-8ee1-2fe687f3b409\u002Ffile-organizer.zip","b0a0179edad31951abe6a46aa399ead8256eb66a3553f288f92d9a1a5d808663","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":6619}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]