mirror of
https://fastgit.cc/github.com/HKUDS/CLI-Anything
synced 2026-04-20 21:00:28 +08:00
268 lines
4.7 KiB
Plaintext
268 lines
4.7 KiB
Plaintext
# ============================================================
|
|
# Only track:
|
|
# - cli-anything-plugin/**
|
|
# - codex-skill/**
|
|
# - */agent-harness/** (under each software dir)
|
|
# - .gitignore
|
|
# Everything else is ignored.
|
|
# ============================================================
|
|
|
|
# Step 1: Ignore everything at the root
|
|
/*
|
|
|
|
# Step 2: Allow .gitignore, README, assets, and marketplace
|
|
!.gitignore
|
|
!/README.md
|
|
!/CONTRIBUTING.md
|
|
!/SECURITY.md
|
|
!/assets/
|
|
!/.pi-extension/
|
|
/.pi-extension/cli-anything/node_modules
|
|
!/.claude-plugin/
|
|
!/.github/
|
|
/.github/*
|
|
!/.github/workflows/
|
|
!/.github/scripts/
|
|
!/.github/PULL_REQUEST_TEMPLATE.md
|
|
!/.github/ISSUE_TEMPLATE/
|
|
|
|
# Allow examples directory
|
|
!/examples/
|
|
# Ignore everything inside examples first
|
|
/examples/*
|
|
# Then allow only the subdirs and files we need
|
|
!/examples/README.md
|
|
!/examples/drawio/
|
|
!/examples/slay_the_spire_ii/
|
|
!/examples/videocaptioner/
|
|
# Inside each subdir, ignore everything then allow specific files
|
|
/examples/drawio/*
|
|
!/examples/drawio/drawio_demo.gif
|
|
!/examples/drawio/https_handshake.png
|
|
/examples/slay_the_spire_ii/*
|
|
!/examples/slay_the_spire_ii/example_preview.gif
|
|
/examples/videocaptioner/*
|
|
!/examples/videocaptioner/videocaptioner_before.png
|
|
!/examples/videocaptioner/videocaptioner_after.png
|
|
|
|
# Step 3: Allow cli-anything-plugin, codex-skill, and skill_generation tests
|
|
!/cli-anything-plugin/
|
|
!/codex-skill/
|
|
!/skill_generation/
|
|
!/openclaw-skill/
|
|
!/cli-hub-meta-skill/
|
|
!/cli-hub/
|
|
!/cli-hub-matrix/
|
|
!/skills/
|
|
!/skills/**
|
|
|
|
# Ignore cli-hub-skill (auto-generated, not tracked)
|
|
/cli-hub-skill/
|
|
|
|
# Step 4: Allow each software dir (top level only)
|
|
!/gimp/
|
|
!/blender/
|
|
!/inkscape/
|
|
!/audacity/
|
|
!/libreoffice/
|
|
!/zotero/
|
|
!/mubu/
|
|
!/obs-studio/
|
|
!/kdenlive/
|
|
!/shotcut/
|
|
!/anygen/
|
|
!/zoom/
|
|
!/sketch/
|
|
!/drawio/
|
|
!/godot/
|
|
!/mermaid/
|
|
!/comfyui/
|
|
!/dify-workflow/
|
|
!/adguardhome/
|
|
!/novita/
|
|
!/ollama/
|
|
!/browser/
|
|
!/seaclip/
|
|
!/pm2/
|
|
!/chromadb/
|
|
!/musescore/
|
|
!/krita/
|
|
!/freecad/
|
|
!/iterm2/
|
|
!/slay_the_spire_ii/
|
|
!/eth2-quickstart/
|
|
!/rms/
|
|
!/renderdoc/
|
|
!/cloudcompare/
|
|
!/openscreen/
|
|
!/QGIS/
|
|
!/n8n/
|
|
!/obsidian/
|
|
|
|
# Step 5: Inside each software dir, ignore everything (including dotfiles)
|
|
/gimp/*
|
|
/gimp/.*
|
|
/blender/*
|
|
/blender/.*
|
|
/inkscape/*
|
|
/inkscape/.*
|
|
/audacity/*
|
|
/audacity/.*
|
|
/libreoffice/*
|
|
/libreoffice/.*
|
|
/zotero/*
|
|
/zotero/.*
|
|
/mubu/*
|
|
/mubu/.*
|
|
/obs-studio/*
|
|
/obs-studio/.*
|
|
/kdenlive/*
|
|
/kdenlive/.*
|
|
/shotcut/*
|
|
/shotcut/.*
|
|
/anygen/*
|
|
/anygen/.*
|
|
/zoom/*
|
|
/zoom/.*
|
|
/sketch/*
|
|
/sketch/.*
|
|
/drawio/*
|
|
/drawio/.*
|
|
/godot/*
|
|
/godot/.*
|
|
/mermaid/*
|
|
/mermaid/.*
|
|
/comfyui/*
|
|
/comfyui/.*
|
|
/dify-workflow/*
|
|
/dify-workflow/.*
|
|
/adguardhome/*
|
|
/adguardhome/.*
|
|
/ollama/*
|
|
/ollama/.*
|
|
/browser/*
|
|
/browser/.*
|
|
/seaclip/*
|
|
/seaclip/.*
|
|
/pm2/*
|
|
/pm2/.*
|
|
/chromadb/*
|
|
/chromadb/.*
|
|
/musescore/*
|
|
/musescore/.*
|
|
/krita/*
|
|
/krita/.*
|
|
/freecad/*
|
|
/freecad/.*
|
|
/iterm2/*
|
|
/iterm2/.*
|
|
/slay_the_spire_ii/*
|
|
/slay_the_spire_ii/.*
|
|
/eth2-quickstart/*
|
|
/eth2-quickstart/.*
|
|
/rms/*
|
|
/rms/.*
|
|
/renderdoc/*
|
|
/renderdoc/.*
|
|
/cloudcompare/*
|
|
/cloudcompare/.*
|
|
/openscreen/*
|
|
/openscreen/.*
|
|
/QGIS/*
|
|
/QGIS/.*
|
|
/cloudanalyzer/*
|
|
/cloudanalyzer/.*
|
|
/wiremock/*
|
|
/wiremock/.*
|
|
/exa/*
|
|
/exa/.*
|
|
/n8n/*
|
|
/n8n/.*
|
|
/obsidian/*
|
|
/obsidian/.*
|
|
|
|
# Step 6: ...except agent-harness/
|
|
!/gimp/agent-harness/
|
|
!/blender/agent-harness/
|
|
!/inkscape/agent-harness/
|
|
!/audacity/agent-harness/
|
|
!/libreoffice/agent-harness/
|
|
!/zotero/agent-harness/
|
|
!/mubu/agent-harness/
|
|
!/obs-studio/agent-harness/
|
|
!/kdenlive/agent-harness/
|
|
!/shotcut/agent-harness/
|
|
!/anygen/agent-harness/
|
|
!/zoom/agent-harness/
|
|
!/sketch/agent-harness/
|
|
!/drawio/agent-harness/
|
|
!/godot/agent-harness/
|
|
!/mermaid/agent-harness/
|
|
!/comfyui/agent-harness/
|
|
!/dify-workflow/agent-harness/
|
|
!/adguardhome/agent-harness/
|
|
!/novita/agent-harness/
|
|
!/ollama/agent-harness/
|
|
!/browser/agent-harness/
|
|
!/seaclip/agent-harness/
|
|
!/pm2/agent-harness/
|
|
!/chromadb/agent-harness/
|
|
!/musescore/agent-harness/
|
|
!/krita/agent-harness/
|
|
!/freecad/agent-harness/
|
|
!/iterm2/agent-harness/
|
|
!/slay_the_spire_ii/agent-harness/
|
|
!/slay_the_spire_ii/README.md
|
|
!/eth2-quickstart/agent-harness/
|
|
!/rms/agent-harness/
|
|
!/renderdoc/agent-harness/
|
|
!/cloudcompare/agent-harness/
|
|
!/openscreen/agent-harness/
|
|
!/cloudanalyzer/
|
|
!/cloudanalyzer/agent-harness/
|
|
!/wiremock/
|
|
!/wiremock/agent-harness/
|
|
!/exa/agent-harness/
|
|
!/QGIS/agent-harness/
|
|
!/n8n/agent-harness/
|
|
!/obsidian/agent-harness/
|
|
!/safari/
|
|
!/safari/agent-harness/
|
|
|
|
# Step 7: Ignore build artifacts within allowed dirs
|
|
**/__pycache__/
|
|
**/*.egg-info/
|
|
**/*.pyc
|
|
**/dist/
|
|
**/build/
|
|
**/.pytest_cache/
|
|
**/*.egg
|
|
**/*.wav
|
|
**/*.blend
|
|
**/*.xcf
|
|
**/*.mlt
|
|
|
|
# Step 8: But allow assets images
|
|
!/assets/*.png
|
|
!/assets/*.jpg
|
|
|
|
assets/gen_typing_gif.py
|
|
!README_CN.md
|
|
!opencode-commands/
|
|
!/qoder-plugin/
|
|
|
|
# Step 10: Allow CLI Hub registry and frontend
|
|
!/registry.json
|
|
!/public_registry.json
|
|
!/matrix_registry.json
|
|
!/docs/
|
|
/docs/*
|
|
!/docs/hub/
|
|
/docs/hub/registry-dates.json
|
|
!/notebooklm/
|
|
/notebooklm/*
|
|
/notebooklm/.*
|
|
!/notebooklm/agent-harness/
|
|
!/intelwatch/
|
|
!/intelwatch/agent-harness/
|