github-fetcher

👤 shiscofield12-beep 📦 v1.0.0 ⭐ 0.0 ⬇️ 734 下載
💻 開發程式設計 免費

📖 技能介紹

GitHub Repository Fetcher

小蔥技能站7w4.net每天更新,海量AI技能等你發現。

When given a GitHub URL or repo name, ALWAYS use curl to fetch real content first. Never guess or infer — fetch then analyze.

Standard analysis workflow

# 1. List root directory
curl -s "https://api.github.com/repos/OWNER/REPO/contents/"

# 2. Get README
curl -s "https://raw.githubusercontent.com/OWNER/REPO/main/README.md"

# 3. Explore key subdirectories based on findings
curl -s "https://api.github.com/repos/OWNER/REPO/contents/src"

Get specific file

curl -s "https://raw.githubusercontent.com/OWNER/REPO/main/PATH/TO/FILE"

Extract OWNER/REPO from URLs

Tips

  • Try master if main returns 404
  • Use ?ref=BRANCH for other branches
  • GitHub API rate limit: 60 req/hour unauthenticated
  • After fetching, always provide analysis based on actual content

📁 包含檔案 (2 個)

📄 SKILL.md 1.4 KB
📄 _meta.json 133 B