スキル一覧に戻る
tyom

ungit

by tyom

My dotfiles (zsh)

5🍴 1📅 2026年1月18日
GitHubで見るManusで実行

SKILL.md


name: ungit description: Fetch code from GitHub repositories as LLM-friendly context. Use when needing to reference, analyze, or understand code from a GitHub repo/directory/file.

Use the ungit command with the --prompt flag to fetch code from GitHub in a format optimized for LLM context.

Usage

ungit -p [options] <source>

Source formats:

  • user/repo - entire repository
  • user/repo/path - specific directory or file
  • user/repo@branch - specific branch
  • GitHub URLs (HTTPS, SSH, or tree URLs)

Options:

  • -p, --prompt - Output as XML-formatted text (required for LLM context)
  • -i, --include GLOB - Only include files matching pattern (repeatable)
  • -e, --exclude GLOB - Exclude files matching pattern (repeatable)

Output Format

The command outputs XML-formatted content:

  • <directory_structure> - tree view of fetched files
  • <files> - file contents wrapped in <file path="..."> tags

Examples

# Fetch a specific directory
ungit -p facebook/react/packages/react

# Fetch from a branch
ungit -p vercel/next.js/examples@canary

# Filter: Only TypeScript files
ungit -p -i "*.ts" -i "*.tsx" user/repo/src

# Filter: Exclude tests and config files
ungit -p -e "*.test.*" -e "*.config.*" user/repo

# Filter: Combine filters
ungit -p -i "*.py" -e "*_test.py" user/repo/src

Notes

  • Binary files show [binary file] placeholder
  • Files >100KB show [file too large] placeholder
  • Output goes to stdout for piping/capturing

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です