← 返回 Skills 市场
evolinkai

Git Assistant

作者 EvolinkAI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
89
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-git-assistant
功能描述
AI-powered git commit messages, changelogs, release notes, PR descriptions, and commit review. Analyzes staged changes and git history to generate profession...
使用说明 (SKILL.md)

Git Assistant

AI-powered git workflow assistant. Generate commit messages from staged changes, review commit quality, create changelogs from git history, generate release notes between tags, and write PR descriptions from branch diffs.

Powered by Evolink.ai

When to Use

  • User has staged changes and wants a commit message
  • User asks to review or improve a commit message
  • User needs a changelog from recent commits
  • User wants release notes between two tags
  • User needs a PR description for the current branch
  • User asks about Conventional Commits format

Quick Start

1. Set your EvoLink API key

export EVOLINK_API_KEY="your-key-here"

Get a free key: evolink.ai/signup

2. Generate a commit message

git add .
bash scripts/git-assist.sh commit

3. Generate a changelog

bash scripts/git-assist.sh changelog --from v1.0.0

Capabilities

Local Commands (no API key needed)

Command Description
conventions Conventional Commits quick reference

AI Commands (require EVOLINK_API_KEY)

Command Description
commit AI generate commit message from staged changes
review \x3Cmessage> AI review commit message for quality and conventions
changelog [--from \x3Ctag>] AI generate changelog from git log
release [--from \x3Ctag>] [--to \x3Ctag>] AI generate release notes between tags
pr AI generate PR description from branch diff

Examples

Generate commit message from staged changes

git add src/auth.ts src/middleware.ts
bash scripts/git-assist.sh commit

Output:

feat(auth): add JWT refresh token rotation

- Implement automatic token rotation on refresh
- Add refresh token family tracking to detect reuse
- Update middleware to handle expired access tokens gracefully

BREAKING CHANGE: refresh endpoint now returns both access and refresh tokens

Review a commit message

bash scripts/git-assist.sh review "fixed stuff"

Output:

Commit Review: 3/10

Issues:
  [FAIL] No type prefix (should be fix:, feat:, etc.)
  [FAIL] Vague description — what was fixed?
  [WARN] All lowercase is fine, but be consistent
  [FAIL] No scope — which module was affected?

Suggested rewrite:
  fix(auth): resolve token expiration race condition

Generate changelog

bash scripts/git-assist.sh changelog --from v1.2.0

Generate release notes

bash scripts/git-assist.sh release --from v1.0.0 --to v2.0.0

Generate PR description

bash scripts/git-assist.sh pr

Configuration

Variable Default Required Description
EVOLINK_API_KEY Yes (AI commands) Your EvoLink API key. Get one free
EVOLINK_MODEL claude-opus-4-6 No Model for AI analysis

Required binaries: python3, curl, git

Security

Data Transmission

AI commands send git diff output or commit history to api.evolink.ai for analysis by Claude. By setting EVOLINK_API_KEY and using these commands, you consent to this transmission. Data is not stored after the response is returned. The conventions command runs entirely locally.

Network Access

  • api.evolink.ai — AI analysis (AI commands only)

Persistence & Privilege

No files are written. No credentials stored. Temporary files for API payloads are cleaned up automatically. This skill never runs git commit, git push, or any destructive git operations — it only reads.

Links

安全使用建议
This skill is internally consistent with being a git commit/changelog/PR helper that sends truncated diffs and commit logs to api.evolink.ai for analysis and requires an EvoLink API key. Before installing or using it, consider: (1) Data exposure — AI commands transmit repository diffs and commit history to a third-party service; do not send secrets or sensitive data in staged changes. (2) Installer behavior — the included installer copies files into your project/workdir and writes .clawhub lock/origin files; review the install.js and scripts/git-assist.sh yourself before running. (3) Origin verification — the registry source is listed as unknown; confirm the GitHub homepage and package author if you need provenance. (4) Least privilege — provide an EvoLink API key with only the permissions you intend and avoid putting long-lived credentials into shared CI or public environments. If any of these are unacceptable, inspect or run the scripts in an isolated repository or container first.
功能分析
Type: OpenClaw Skill Name: ai-git-assistant Version: 1.0.0 The skill is classified as suspicious because it exfiltrates potentially sensitive data (git diffs and commit history) to a third-party API (api.evolink.ai). While this behavior is disclosed in SKILL.md and README.md as necessary for AI analysis, the transmission of source code to an external service is a high-risk activity. Additionally, the script scripts/git-assist.sh contains a shell injection vulnerability in the cmd_changelog function, where the eval command is used on the user-provided $from_tag variable. Although a git rev-parse check is performed, the use of eval on external input is a dangerous practice that could lead to arbitrary command execution if the validation is bypassed.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, required binaries (python3, curl, git) and the required env EVOLINK_API_KEY line up with an AI-backed git workflow helper. The primary credential (EVOLINK_API_KEY) is appropriate for the claimed remote AI analysis.
Instruction Scope
Runtime instructions and the bash script only read git state (staged diffs, names, logs) and send that truncated data to api.evolink.ai. They do not request unrelated credentials or read unrelated system files. Minor mismatch: SKILL.md asserts 'No files are written' at runtime, but the installer copies files into the user's workdir (see install.js) and the runtime creates temporary files (deleted via trap).
Install Mechanism
Registry metadata said 'No install spec (instruction-only)', but the package includes an npm installer (npm/bin/install.js) that copies skill files into a discovered workdir and updates a .clawhub lock file — not a remote download. The installer writes files into the workspace (skills/ai-git-assistant and .clawhub), which is expected but worth noting.
Credentials
Only EVOLINK_API_KEY is required (EVOLINK_MODEL optional). That is proportionate: AI features need an API key for the external service. No other unrelated secrets or cross-service credentials are requested.
Persistence & Privilege
Skill does not request permanent 'always' privilege and does not attempt to change other skills. However installation will write files into the detected workdir and update .clawhub/lock.json and .clawhub-origin.json — the SKILL.md's runtime claim of 'no files are written' is inaccurate for the install step.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-git-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-git-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Git Assistant, an AI-powered tool for improving git workflow. - Generates Conventional Commits-compliant commit messages from staged changes. - Reviews commit messages for quality and adherence to conventions. - Creates changelogs and detailed release notes from git history. - Produces PR descriptions from branch diffs. - Supports local and AI-assisted commands; requires EvoLink API key for AI features. - No destructive git operations; all analysis is read-only.
元数据
Slug ai-git-assistant
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Git Assistant 是什么?

AI-powered git commit messages, changelogs, release notes, PR descriptions, and commit review. Analyzes staged changes and git history to generate profession... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 89 次。

如何安装 Git Assistant?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-git-assistant」即可一键安装,无需额外配置。

Git Assistant 是免费的吗?

是的,Git Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Git Assistant 支持哪些平台?

Git Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Git Assistant?

由 EvolinkAI(@evolinkai)开发并维护,当前版本 v1.0.0。

💬 留言讨论