金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

git-local

git-local 是面向效率工具、开发运维的 Agent Skill,来自 caarlos0/dotfiles。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Prefer local git commands over GitHub MCP tools for operations on the current repository. Use when asked about commits, diffs, file history, branches, logs, blame, or viewing file contents at specific revisions in the current repo.

SKILL.md

下载 MD ↓
namegit-local
descriptionPrefer local git commands over GitHub MCP tools for operations on the current repository. Use when asked about commits, diffs, file history, branches, logs, blame, or viewing file contents at specific revisions in the current repo.

Git Local-First Operations

Always prefer local git commands over GitHub MCP tools when working in the current repository.

When to Use Local Git

Any operation that can be done locally: - Viewing commits (git show, git log) - Viewing files at revisions (git show <sha>:<path>) - Diffs (git diff) - Blame (git blame) - Search (git grep) - Branch operations (git branch, git log main..HEAD)

When to Use GitHub MCP

Only for remote-only operations: - PR metadata, reviews, CI status (mcp_github_pull_request_read) - Issues (mcp_github_issue_read) - Operations on OTHER repositories (not the current working directory)

来源:caarlos0/dotfiles · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本