git-expert
Git history exploration and repository analysis. Use when users ask about git history ("what changed", "when did we add"), want to understand past changes, need to search commits, ask about branches, or want to explore the codebase evolution.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Git Expert Skill
Git history exploration and repository analysis.
Capabilities
History Analysis
- Search commit messages and code changes
- Trace file history to understand evolution
- Find when specific code was introduced or removed
- Identify who made changes and why
Repository Exploration
- Branch information and comparisons
- Diff analysis between commits/branches
- Blame to find who changed specific lines
Session Awareness
- Track what was done during the current session
- Show uncommitted work status
Tools Available
Use the git-intelligence MCP server tools:
-
get_recent_commits- Recent commit history -
search_commits- Search by message or code -
get_status- Current repository state -
get_diff_summary- Summary of changes -
get_file_history- History of a specific file -
get_branch_info- Branch information
For additional queries, use Bash:
-
git log --oneline -10 -- <filepath>- File-specific history -
git branch -a- All branches -
git blame <filepath>- Line-by-line attribution -
git show <commit>- Commit details -
git diff <ref1>..<ref2>- Compare refs
Example Interactions
User: "What changed in the auth module recently?"
- Use
search_commitswith query "auth" orgit log --oneline -10 -- src/auth/
User: "When did we add the login feature?"
- Use
search_commitswith query "login" andsearch_code: false
User: "Who changed this file?"
- Use
git blame <filepath>orget_file_history
User: "What branches exist?"
- Use
get_branch_infoorgit branch -a
User: "What did we do this session?"
- Use
get_recent_commitsandget_statusto summarize activity
For Committing Changes
Use the smart-commit skill for creating commits. This skill focuses on history exploration only.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-31
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!