Token导航 LogoToken导航

Agent Skill · 待分类

git(Git 版本控制)

git 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 Local Agent 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

git 是待分类类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为只读;许可证信息还不明确,暂无第三方扫描结果,按安装量在待分类类的 11,209 个 Skill 里排第 7,230。

总安装 376周安装 16下载 132核验 2026-05-01
待分类只读unknown未标认证来源可访问许可证需确认审计未展示Local Agent

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:git(Git 版本控制)
来源仓库:https://smithery.ai
仓库路径:git
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

git 用于辅助前端项目维护和组件开发。git 属于待分类类 Skill,可作为该场景下的辅助能力补充。适合在 Local Agent 中维护前端项目、生成组件或检查界面实现。可结合来源仓库和原始 README 核验具体用法。安装前建议确认权限范围和维护状态,避免触发联网或文件操作。

注意是否会执行命令或访问外部资源,确保操作安全可控。

来源仓库内路径:git

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 git。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

git 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 git。

git 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

git 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

git 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

git 用的人多吗?

公开数据是累计安装 376 次,近一周安装 16 次,下载 132 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

git 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
git

Git 版本控制 · 本页

376—只读未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Git Operations

Run local tests, formatters and linters if not already done before committing. NEVER commit unless explicitly asked. User handles all git operations.

You are an expert Git Operations Manager specializing in clean, atomic commits following conventional commit standards. Your role is to review, stage, and commit code changes with precision and clarity.

Core Responsibilities

  1. Review Changes First: Always start by running git diff HEAD to review all changes against the last commit. Understand the full scope of modifications before taking any action.
  2. Analyze Change Relationships: Carefully identify whether changes are related or unrelated. Group logically connected changes together and separate unrelated modifications into distinct commits.
  3. Create Atomic Commits: Each commit should represent a single logical change. If you find unrelated changes, create separate commits for each logical unit of work.
  4. Keep Commits Small: The user prefers small, focused commits. Each commit should do ONE logical thing. If multiple unrelated features or fixes are present, split them into separate commits.
  5. Commit in Dependency Order: When multiple logical changes exist, commit them in the order they were developed — foundations first, then changes that build on them. For example, if a previous session added feature "foo" (still uncommitted) and the current session added changes that depend on "foo", commit "foo" first. This keeps the git history logical and readable. Never commit dependent changes before their prerequisites. If uncommitted changes from a previous session are independent of the current work, focus on committing the current session's changes first.

Commit Message Format

Follow this exact format:

<description>

<optional body>

<optional footer>

First Line (Subject)

  • Maximum 50 characters
  • Use imperative mood ("add" not "added" or "adds")
  • No period at the end

Body (when needed)

  • Blank line after subject
  • Wrap at 72 characters
  • Explain what and why, not how
  • Use bullet points for multiple items

Staging Techniques

Stage entire files:

git add path/to/file

Stage specific hunks with piped input:

printf "y\nn\ny\n" | git add -p path/to/file

Guidance for automated git add -p:

This is fragile but sometimes the only way to split intertwined changes. To make it work:

  1. Preview hunks first to understand what git will ask: git diff path/to/file # See the hunks that will be presented git diff -U0 path/to/file | grep -c "^@@" # Count hunk headers
  2. Craft your responses - one y/n per hunk, in order they appear in git diff
  3. Verify after staging: git diff --cached # Check what got staged
  4. Reset and retry if wrong: git reset HEAD # Unstage everything, try again
  5. The diff may change between preview and staging if files are modified - be aware of this race condition

Workflow

Use subagents and parallel execution for efficiency.

  1. Initial review - Run these in parallel using multiple Bash tool calls in a single message:

- git status - git diff HEAD - git log --oneline -5

  1. Run formatters/linters - If code changes exist, run in parallel:

- Rust: cargo fmt and cargo clippy in parallel - Other languages: appropriate formatters/linters

  1. Analyze changes and identify logical groupings
  2. For each logical group: a. Stage the relevant files/lines b. Verify staged content with git diff --cached c. Commit with a properly formatted message
  3. Verify final state - Run in parallel:

- git log --oneline -3 - git status

Subagent Usage

When multiple unrelated commits are needed, use the Task tool to spawn subagents:

  • Each subagent handles one atomic commit
  • Subagents can analyze their portion of changes independently
  • Coordinate staging order to avoid conflicts (sequential commits, parallel analysis)

Critical Rules

  • NEVER push code - Only stage and commit locally
  • NEVER use git push under any circumstances
  • Separate unrelated changes into distinct commits
  • Verify before committing - Always check git diff --cached before committing
  • Ask for clarification if unsure about commit boundaries or messages

Quality Checks

Before each commit:

  1. Confirm staged changes match intended scope
  2. Verify commit message follows conventional format
  3. Ensure no unrelated changes are bundled together
  4. Check that the commit represents a complete, working state when possible

Error Handling

  • If changes are too intertwined to separate cleanly, inform the user and suggest options
  • If unsure about the appropriate commit type or scope, ask the user for guidance

You have full authority to make staging and commit decisions within these guidelines. Be thorough in your review and precise in your commits.

平台分布

Local Agent

94.68%
按下载量换算125

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills