Token导航 LogoToken导航

Agent Skill · 前端设计

semantic-git(语义 git)

semantic-git 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

semantic-git 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 2,456。

总安装 2,258周安装 97GitHub Stars 11下载 792核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:semantic-git(语义 git)
来源仓库:https://github.com/siviter-xyz/dot-agent
仓库路径:skills/semantic-git
安装命令:
npx skills add https://github.com/siviter-xyz/dot-agent --skill semantic-git
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/siviter-xyz/dot-agent --skill semantic-git

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库和原始 README 核验具体用法。安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加。

注意权限范围和维护状态,确认是否会触发联网、命令执行或文件读写。

来源仓库内路径:skills/semantic-git

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/siviter-xyz/dot-agent --skill semantic-git;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

semantic-git 怎么安装?

在终端执行 npx skills add https://github.com/siviter-xyz/dot-agent --skill semantic-git。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

semantic-git 支持哪些 AI 工具?

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

semantic-git 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/siviter-xyz/dot-agent --skill semantic-git;npx skills add siviter-xyz/dot-agent --skill "semantic-git" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

semantic-git 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

semantic-git 用的人多吗?

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

semantic-git 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
semantic-git

语义 git · 本页

2,25811执行命令MIT通过

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

SKILL.md 原文

Semantic Git

Manage Git commits using conventional commit format with atomic commits and concise messages.

This skill is zagi-aware and is designed to work well with AI IDEs (Cursor, etc.)

Tooling

  • Preferred: zagi (a better git interface for agents).

- Assume zagi is installed if: - git is aliased to zagi in the shell or - a zagi binary is available. - When in doubt, treat git as if it may be zagi-compatible and avoid using exotic flags. - Even when zagi is available, generate plain git commands and let any git → zagi integration handle them.

  • Fallback: plain git when zagi is not available.

When to Use

  • Committing changes to git
  • Staging files for commit
  • Creating commit messages
  • Managing atomic commits
  • Before pushing changes

Core Principles

  • Atomic commits: Stage and commit related changes together. Tests go with implementation code.
  • User confirmation: Always confirm with user before committing and before moving to the next commit.
  • Conventional format: Use conventional commit message format (feat, fix, etc.) unless directed otherwise.
  • Concise messages: Keep messages brief and to the point. Omit description unless change is complicated.
  • Command transparency: Always show the exact git commands that will be run (which may be handled by zagi via alias/wrapper), and ask whether the user wants:

- to run them manually, or - to have the agent run them.

Commit Message Format

<type>[optional scope]: <subject>

[optional body]

[optional footer(s)]

Types

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Maintenance tasks (updating build tasks, dependencies, etc.; no production code change)
  • revert: Revert a previous commit

Breaking Changes

Use ! after the type/scope to indicate breaking changes:

  • feat!: add new API
  • fix(api)!: change response format

Subject Line

  • Use imperative mood: "add feature" not "added feature" or "adds feature"
  • First letter lowercase (unless starting with proper noun)
  • No period at the end
  • Keep under 72 characters when possible

Body and Footer

  • Omit body unless change is complicated or requires explanation
  • When needed, be concise and reference issues, PRs, or documentation
  • Use footer for breaking changes: BREAKING CHANGE: <description>

Workflow

  1. Implement atomic change: Code + tests together.

- Use test: for test-only changes.

  1. Run CI checks: Verify types, tests, and linting pass before staging.

- Prefer a single CI command if it exists (e.g., pnpm ci, npm run ci, just ci). - If no CI command, run checks individually (typecheck, test, lint). - If any check fails, stop and report – do not proceed.

  1. Stage atomic changes: Group related files together (implementation + tests).
  2. Suggest commit message: Generate a conventional commit message based on changes.
  3. Generate commands:

- Construct explicit shell commands using git (which may be an alias or wrapper such as zagi), for example: git add path/to/file1 path/to/file2 GIT_AUTHOR_DATE="YYYY-MM-DD HH:MM:SS" \ GIT_COMMITTER_DATE="YYYY-MM-DD HH:MM:SS" \ git commit -m "feat: add feature" - Always print these commands to the user in order.

  1. Ask for execution preference:

- Ask the user whether they want: - to copy-paste and run the commands themselves, or - to have the agent run them. - Only execute commands after explicit user approval.

  1. Commit:

- When executing, run exactly the printed commands. - Respect any user instructions about backdating timestamps or additional flags.

  1. Next commit:

- Before staging the next set of changes, confirm with the user that the previous commit is complete and understood.

Automation Mode

If user requests "continue to X" or "automate until X":

  • Proceed with atomic commits automatically, but still print commands.
  • For each commit:

- Show the staging and commit commands. - Optionally execute them automatically, as per the user’s automation request.

  • Resume asking for confirmation when X is reached.
  • X can be: specific file, feature completion, test passing, etc.

Stop and Ask Protocols

Stop and ask user before:

  • Adding type ignores (@ts-ignore, # type: ignore, etc.).
  • Adding suppressions (ESLint disable, pylint disable, etc.).
  • Using any type or similar type escapes.
  • When uncertain how to proceed with implementation.
  • When requirements are unclear.
  • When a destructive git operation is proposed (reset --hard, checkout., clean -f, push --force); prefer safer alternatives and explain the risks.

Examples

Simple feature or behaviour change:

feat: add user authentication

Feature with scope:

feat(api): add user endpoint

Bug fix:

fix: resolve memory leak in cache

Breaking change:

feat!: migrate to new API version

Test-only change:

test: improve unit tests for auth service

Refactor (no behavior change):

refactor: extract validation logic into separate function

Complex change (with body):

feat(api): add pagination support

Implements cursor-based pagination for large datasets.
See docs/api/pagination.md for details.

References

For detailed guidance, see:

  • references/conventional-commits.md – Commit format and examples
  • references/ci-verification.md – CI check patterns and verification
  • references/co-authors.md – Handling Co-Authored-By trailers and zagi co-author stripping

平台分布

Claude Code

25.09%
按下载量换算199

Codex

23.2%
按下载量换算184

Antigravity

19.21%
按下载量换算152

Gemini CLI

11.07%
按下载量换算88

OpenCode

7.67%
按下载量换算61

Cursor

3.39%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/siviter-xyz/dot-agent --skill semantic-git;npx skills add siviter-xyz/dot-agent --skill "semantic-git" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills