File Organizer
Paste the following prompt into your AI chat to install this skill:
Please install @user_1a377f33/file-organize according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When a directory contains a mix of documents, images, installers, code, logs, and unknown files, manual sorting is time-consuming and easy to do inconsistently. file-organize targets a specific case: organizing files in the current folder by extension without recursing into existing subfolders. It is especially direct for engineers handling scattered project files.
How it works
The skill scans the specified folder and matches file extensions against built-in rules. For example, .pdf and .docx are grouped into Documents; .png and .svg go into Images; .zip, .rar, and .7z go into Archives; .exe and .msi go into Installers; .dll goes into DLL files; .log goes into Logs; .litematic and .schematic go into Minecraft; .java, .py, and .go go into Code; and unmatched files are placed into Other. It creates the target subfolder if needed, moves the file, and returns a summary report.
Scope and caveats
It is intended for flattening a cluttered directory into category folders, not for reorganizing project structure by content, semantics, or permissions. It does not move existing subfolders or recursively clean nested directories. If a destination already contains a file with the same name, it appends a numeric suffix to avoid overwriting. It is suitable for download folders, asset directories, and temporary working folders.
Use Cases
- Move mixed PDF, JPG, ZIP, and EXE files from a Downloads folder into type-based subfolders for faster lookup.
- Clean a temporary assets folder by moving PNG, SVG, HTML, CSS, and LOG files into image, code, and log directories.
- Group DOCX, XLSX, MD, and code files from a project bundle into Document and Code folders, then return a report.
- Separate Minecraft LITEMATIC and SCHEMATIC files from documents and archives while organizing a map assets folder.
Best For
- Engineers who need to batch-sort documents, images, and installers in a Downloads folder.
- Frontend or full-stack developers maintaining temporary project asset folders by extension.
- Mod users who want to keep Minecraft map files separate from logs and archives.
- Operations or support staff who clean up scattered shared-drive files into type-based folders.
Related Skills
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Supports inline SVG/HTML rendering and Mermaid code output, covering common technical diagram creation like architecture and flow diagrams.
Publish HTML, static assets, or build output as a public link, with account management, update, deletion, and AI safety review.
A comprehensive browser automation guide covering navigation, interaction, multi-tab management, and data collection, tailored for domestic web ecosystems and tools like Playwright/Selenium.