
investigating-git-repo
by yeyuan98
Claude Code Skills for development
SKILL.md
name: investigating-git-repo version: 1.0.0 description: Answers questions about GitHub repositories by cloning and analyzing them. Use when the user asks about GitHub repositories, needs code analysis, or wants to explore repository structure. allowed-tools: Read, Bash, AskUserQuestion
Follow steps below exactly. If the procedure below didn't work out. Do not try to resolve issues on your own. Message the user that which step errored and stop.
Step 01: Get full HTTPS URL of the remote repository
Use web search MCP to search for full path of the project specified by user.
The URL for git cloning will always end in .git. For example:
- Project at
https://github.com/gohugoio/hugo, the git URL ishttps://github.com/gohugoio/hugo.git
General rules:
- web search show explicitly ask for github.com results.
- the git URL will end with
.git.
This Step 01 is the ONLY step that use MCP server.
Step 02: Check git command existence
Run bash: git --version. If not found, stop.
Step 03: Create temporary folder
Run bash: mktemp -d. Record the return path.
Step 03: Clone github repository
Run bash: git clone <CLONE_URL_FROM_STEP01> <PATH_TO_TEMP_DIR_FROM_STEP03>
Step 04: Analyze repository and answer question
Inspect the cloned repository in the temporary folder to answer user's question(s). Focus your analysis on answering the questions. If you find certain question(s) unclear given the repo content, use AskUserQuestion tool to ask for user clarification.
Now return answers. Do not clean up the temporary directory.
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon