Communitygithub.com

ASoudy/AGS

智能地組織電腦中的檔案與資料夾,透過理解上下文、尋找重複檔案、建議更佳結構,並自動化清理工作。減少認知負擔,無需手動操作即可保持數位工作區整潔。

AGS 是什麼?

這個技能(ASoudy/AGS,檔案整理助手)能充當個人組織助理,協助你維持電腦中清晰且邏輯化的檔案結構,省去持續手動整理的心力。它支援多種平台(如 Claude Code、Cursor、Codex),透過分析當前結構、尋找重複檔案並計算雜湊值、根據檔案類型、用途和日期提出分組建議,並在使用者確認後執行移動、重新命名和清理。使用時需先釐清範圍(如 Downloads 或 Documents 資料夾)、分析現狀(透過 ls、find、du 指令)、提出整理計畫(含新結構樹狀圖),最後在安全前提下執行,並提供維護建議(如每週分類新下載、每月歸檔完成專案)。此技能特別適合處理混亂的下載資料夾、散落的檔案、重複佔用空間、舊專案歸檔,以及建立一致的命名習慣,能顯著減少認知負載並提升工作效率。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ASoudy/AGS/tree/HEAD/claude_skills_libraries/landing-page-mastery/skills/file-organizer

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

檔案整理助手

此技能扮演您的個人整理助理,協助您在電腦中維持乾淨、邏輯的檔案結構,無需耗費心力進行繁複的手動整理。

何時使用此技能

  • 您的「下載」資料夾一片混亂
  • 檔案散落在各處,難以找到
  • 重複檔案佔用大量空間
  • 資料夾結構已不合邏輯
  • 您想建立更好的整理習慣
  • 正要啟動新專案,需要良好的結構
  • 在歸檔舊專案前進行清理

此技能的功能

  1. 分析當前結構:檢視您的資料夾與檔案,了解您擁有什麼
  2. 尋找重複檔案:在系統中辨識重複的檔案
  3. 建議整理方式:根據內容提出邏輯化的資料夾結構
  4. 自動化清理:經您同意後移動、重新命名和整理檔案
  5. 維持上下文:根據檔案類型、日期和內容做出明智決策
  6. 減少雜亂:辨識您可能不再需要的舊檔案

使用方法

從您的主目錄開始

cd ~

然後執行 Claude Code 並請求協助:

幫我整理 Downloads 資料夾
在 Documents 資料夾中找出重複檔案
檢查我的專案目錄並建議改善方式

特定整理任務

將這些下載檔案依據類型整理到對應的資料夾中
找出重複檔案並幫我決定保留哪些
清理我超過 6 個月未觸碰的舊檔案
為我的 [工作/專案/照片/等] 建立更好的資料夾結構

操作說明

當使用者請求檔案整理協助時:

  1. 了解範圍

    提出釐清問題:

    • 哪個目錄需要整理?(Downloads、Documents、整個家目錄?)
    • 主要問題是什麼?(找不到檔案、重複、太雜亂、無結構?)
    • 是否有要避開的檔案或資料夾?(進行中的專案、敏感資料?)
    • 整理的程度?(保守 vs. 全面清理)
  2. 分析現狀

    檢視目標目錄:

    # 取得當前結構概覽
    ls -la [target_directory]
    
    # 檢查檔案類型和大小
    find [target_directory] -type f -exec file {} \; | head -20
    
    # 找出最大檔案
    du -sh [target_directory]/* | sort -rh | head -20
    
    # 統計檔案類型
    find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
    

    總結結果:

    • 檔案與資料夾總數
    • 檔案類型分布
    • 大小分布
    • 日期範圍
    • 明顯的組織問題
  3. 辨識組織模式

    根據檔案內容決定邏輯分組:

    依類型:

    • 文件(PDF、DOCX、TXT)
    • 圖片(JPG、PNG、SVG)
    • 影片(MP4、MOV)
    • 壓縮檔(ZIP、TAR、DMG)
    • 程式碼/專案(含程式碼的目錄)
    • 試算表(XLSX、CSV)
    • 簡報(PPTX、KEY)

    依用途:

    • 工作 vs. 個人
    • 進行中 vs. 歸檔
    • 專案專屬
    • 參考資料
    • 暫存/草稿檔案

    依日期:

    • 今年/本月
    • 往年
    • 久遠(歸檔候選)
  4. 尋找重複檔案

    當使用要求時,搜尋重複檔案:

    # 以雜湊值找出完全相同的檔案
    find [directory] -type f -exec md5 {} \; | sort | uniq -d
    
    # 找出同名檔案
    find [directory] -type f -printf '%f\n' | sort | uniq -d
    
    # 找出大小相近的檔案
    find [directory] -type f -printf '%s %p\n' | sort -n
    

    對於每組重複檔案:

    • 顯示所有檔案路徑
    • 顯示大小與修改日期
    • 建議保留哪個(通常是最新或命名最佳的)
    • 重要:刪除前務必先取得確認
  5. 提出整理計畫

    在進行變更前提出明確計畫:

    # [目錄] 的整理計畫
    
    ## 當前狀態
    - X 個檔案分布在 Y 個資料夾
    - 總計 [大小]
    - 檔案類型:[分布]
    - 問題:[列出問題]
    
    ## 建議結構
    
    

    [Directory]/ ├── Work/ │ ├── Projects/ │ ├── Documents/ │ └── Archive/ ├── Personal/ │ ├── Photos/ │ ├── Documents/ │ └── Media/ └── Downloads/ ├── To-Sort/ └── Archive/

    
    ## 我將進行的變更
    
    1. **建立新資料夾**:[列出]
    2. **移動檔案**:
       - X 個 PDF → Work/Documents/
       - Y 個圖片 → Personal/Photos/
       - Z 個舊檔案 → Archive/
    3. **重新命名檔案**:[任何重新命名模式]
    4. **刪除**:[重複檔案或垃圾檔案]
    
    ## 需您決定的檔案
    
    - [列出任何您不確定的檔案]
    
    準備好繼續了嗎?(yes/no/modify)
    
  6. 執行整理

    在獲得批准後,系統化地整理:

    # 建立資料夾結構
    mkdir -p "path/to/new/folders"
    
    # 移動檔案並清楚記錄
    mv "old/path/file.pdf" "new/path/file.pdf"
    
    # 以一致模式重新命名檔案
    # 範例:"YYYY-MM-DD - Description.ext"
    

    重要規則:

    • 每次刪除前務必確認
    • 記錄所有移動操作以便復原
    • 保留原始修改日期
    • 妥善處理檔名衝突
    • 遇到意外情況時暫停並詢問
  7. 提供摘要與維護建議

    整理完成後:

    # 整理完成!✨
    
    ## 變更內容
    
    - 建立 [X] 個新資料夾
    - 整理 [Y] 個檔案
    - 清除重複檔案釋放 [Z] GB 空間
    - 歸檔 [W] 個舊檔案
    
    ## 新結構
    
    [顯示新的資料夾樹狀圖]
    
    ## 維護建議
    
    為保持整潔:
    
    1. **每週**:分類新的下載檔案
    2. **每月**:檢視並歸檔已完成的專案
    3. **每季**:檢查是否有新重複檔案
    4. **每年**:歸檔舊檔案
    
    ## 給您的快速指令
    
    ```bash
    # 找出本週修改的檔案
    find . -type f -mtime -7
    
    # 按類型分類下載
    [客製化指令]
    
    # 尋找重複檔案
    [客製化指令]
    

    想整理其他資料夾嗎?

範例

範例 1:整理下載資料夾(來自 Justin Dielmann)

使用者:「我的 Downloads 資料夾有超過 500 個檔案,一團亂。幫我整理。」

過程:

  1. 分析 Downloads 資料夾
  2. 找出模式:工作文件、個人照片、安裝程式、隨機 PDF
  3. 建議結構:
    • Downloads/
      • Work/
      • Personal/
      • Installers/(DMG、PKG 檔案)
      • Archive/
      • ToSort/(需決定的檔案)
  4. 取得確認
  5. 根據內容和名稱智慧移動檔案
  6. 結果:500 個檔案 → 5 個組織後的資料夾

範例 2:尋找並移除重複檔案

使用者:「在我的 Documents 中尋找重複檔案,並幫我決定保留哪些。」

輸出:

# 找到 23 組重複檔案(共 156 MB)

## 重複組 1:"proposal.pdf"
- `/Documents/proposal.pdf`(2.3 MB,修改日期:2024-03-15)
- `/Documents/old/proposal.pdf`(2.3 MB,修改日期:2024-03-15)
- `/Desktop/proposal.pdf`(2.3 MB,修改日期:2024-03-10)

**建議**:保留 `/Documents/proposal.pdf`(位置正確且最新)
刪除其他 2 個副本?

[對所有重複組繼續...]

範例 3:重組專案資料夾

使用者:「檢視我的 ~/Projects 目錄並建議改善方式。」

輸出:

# ~/Projects 分析

## 當前結構問題
- 進行中與已歸檔的專案混雜(3 年以上)
- 命名方式不一致
- 有些專案在根目錄,有些在隨機子資料夾
- 重複資料夾(project-name、project-name-old、project-name-v2)

## 建議結構

Projects/ ├── Active/ │ ├── client-work/ │ ├── side-projects/ │ └── learning/ ├── Archive/ │ ├── 2022/ │ ├── 2023/ │ └── 2024/ └── Templates/


## 具體變更
1. 將 12 個自 2022 年未觸碰的專案移至 Archive/
2. 合併 4 個重複的專案資料夾
3. 將專案重新命名為一致格式:「client-name-project-name」
4. 為舊工作建立歸檔

想讓我執行嗎?

範例 4:依日期整理照片

使用者:「將我的照片資料夾依年份和月份整理。」

輸出:建立結構如下:

Photos/
├── 2023/
│   ├── 01-January/
│   ├── 02-February/
│   └── ...
├── 2024/
│   ├── 01-January/
│   └── ...
└── Unsorted/

然後根據 EXIF 資料或檔案修改日期移動照片。

常見整理任務

下載資料夾清理

整理我的 Downloads 資料夾 - 將文件移到 Documents,
圖片移到 Pictures,保持安裝程式獨立,並歸檔超過 3 個月的檔案。

專案整理

檢視我的 Projects 資料夾結構,幫我區分進行中的專案與該歸檔的舊專案。

移除重複檔案

在我的 Documents 資料夾中找出所有重複檔案,並幫我決定保留哪些。

桌面清理

我的桌面堆滿了檔案。幫我將所有內容妥善整理到 Documents 資料夾。

照片整理

將此資料夾中的所有照片依據拍攝日期(年/月)整理。

工作/個人分離

幫我將 Documents 資料夾中的工作檔案與個人檔案分開。

專業技巧

  1. 從小處開始:先從一個混亂的資料夾(如下載)著手,建立信任感
  2. 定期維護:每週清理下載資料夾
  3. 一致命名:重要檔案使用「YYYY-MM-DD - Description」格式
  4. 積極歸檔:將舊專案移到 Archive 而非直接刪除
  5. 保持進行中的獨立:嚴格區分進行中與歸檔的工作
  6. 信任流程:讓 Claude 處理檔案歸類的認知負擔

最佳實踐

資料夾命名

  • 使用清晰、描述性的名稱
  • 避免空格(使用連字符或底線)
  • 具體明確:使用「client-proposals」而非「docs」
  • 使用前綴排序:「01-current」、「02-archive」

檔案命名

  • 包含日期:「2024-10-17-meeting-notes.md」
  • 描述性強:「q3-financial-report.xlsx」
  • 避免在名稱中使用版本號(改用版本控制)
  • 移除下載產生的贅詞:「document-final-v2 (1).pdf」→「document.pdf」

何時歸檔

  • 超過 6 個月未觸碰的專案
  • 已完成但日後可能參考的工作
  • 遷移至新系統後的舊版本
  • 猶豫是否刪除的檔案(先歸檔)

相關使用案例

  • 為新電腦設定整理結構
  • 準備備份/歸檔的檔案
  • 清理儲存空間前的整理
  • 整理團隊共享資料夾
  • 建立新專案目錄結構

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ASoudy/AGS

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

ASoudy/AGS

Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

ASoudy/AGS

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

ASoudy/AGS

One sentence - what this skill does and when to invoke it

ASoudy/AGS

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

ASoudy/AGS

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

ASoudy/AGS

Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.

ASoudy/AGS

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

ASoudy/AGS

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

ASoudy/AGS

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

ASoudy/AGS

CRITICAL: Use for Makepad animation system. Triggers on: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

ASoudy/AGS

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

ASoudy/AGS

Next.js App Router principles. Server Components, data fetching, routing patterns.

ASoudy/AGS

Expert integration of Supabase Auth with Next.js App Router

ASoudy/AGS

React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

ASoudy/AGS

Best practices for Remotion - Video creation in React

ASoudy/AGS

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

ASoudy/AGS

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

ASoudy/AGS

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

ASoudy/AGS

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

相關技能