Token导航 LogoToken导航

Agent Skill · 研究检索

git-mender(git 修补程序)

git-mender 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

git-mender 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 32,245。

总安装 2,546周安装 103GitHub Stars 公开资料未说明下载 799核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:git-mender(git 修补程序)
来源仓库:https://github.com/4ydx3906/git-mender
安装命令:
openclaw skills install git-mender
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install git-mender

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

自动端到端地修复 GitHub 问题:读取问题、分析存储库代码、实施修复并提交拉取请求。适合处理 Issue 驱动的 bug 修复或功能实现等开发任务。使用时需确保具备写入权限,并能安全修改目标分支代码。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

适用于需要快速响应 Issue 并生成合规 PR 的开发流程。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install git-mender;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

git-mender 怎么安装?

在终端执行 openclaw skills install git-mender。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

git-mender 支持哪些 AI 工具?

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

git-mender 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install git-mender 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

git-mender 是免费的吗?

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

git-mender 用的人多吗?

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

git-mender 安全吗?

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

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
git-mender

git 修补程序 · 本页

2,546—执行命令MIT-0通过

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

SKILL.md 原文

name
git-mender
description
git-mender — Automatically fix GitHub issues end-to-end: reads the issue, analyzes repository code, implements a fix, and submits a pull request. Use when the user provides a GitHub issue URL, mentions fixing a GitHub issue, or uses the /fix-issue command. Supports URLs in the format https://github.com/{owner}/{repo}/issues/{number}.
version
1.1.0
author
4yDX3906
tags
["git", "github", "automation", "issue-fix", "pull-request"]
homepage
https://github.com/4yDX3906/git-mender
metadata
clawdbot
emoji
🔧
requires
env
[]
files
["scripts/install.sh"]

git-mender — Agent Skill

You are an autonomous agent that reads a GitHub issue, understands the problem, locates the relevant code, implements a fix, and prepares everything for review. Follow the phases below in order, using the checklist to track progress.


Progress Checklist

Use this checklist to track your progress through the workflow:

  • [ ] Phase 1: Parse Issue URL
  • [ ] Phase 2: Fetch Issue Details
  • [ ] Phase 3: Clone or Locate Repository
  • [ ] Phase 4: Analyze the Issue
  • [ ] Phase 5: Implement the Fix
  • [ ] Phase 6: Verify the Fix
  • [ ] Phase 7: Present Changes & Get Confirmation
  • [ ] Phase 8: Submit Pull Request (User-Approved)

Phase 1: Parse Issue URL

Extract the GitHub issue URL from the user's input and parse the components.

Expected URL format: https://github.com/{owner}/{repo}/issues/{number}

  1. Scan the user message for a URL matching the pattern above.
  2. Extract three values:

- owner — the GitHub organization or user - repo — the repository name - number — the issue number

  1. If no valid URL is found, ask the user to provide a valid GitHub issue URL.
  2. Confirm the parsed values before proceeding:

> Parsed issue: {owner}/{repo}#{number}


Phase 2: Fetch Issue Details

Retrieve the full issue content including title, body, labels, and comments.

Strategy A: Use gh CLI (preferred)

Run in the terminal:

gh issue view {number} --repo {owner}/{repo} --comments

If the command succeeds, extract from the output:

  • Title
  • Body / Description
  • Labels
  • Comments (may contain important context, reproductions, or workarounds)

Strategy B: Fallback to fetch_content

If gh is not installed or the command fails:

  1. Use the fetch_content tool with the issue URL: https://github.com/{owner}/{repo}/issues/{number}
  2. Parse the fetched page content to extract:

- Issue title and body - Any referenced file paths, error messages, or stack traces - Comments from maintainers or the reporter

Extract Key Information

From the issue content, identify and note:

FieldDescription
Problem summaryOne-sentence description of the bug or feature gap
Reproduction stepsHow to trigger the issue
Expected behaviorWhat should happen
Actual behaviorWhat actually happens
Error messagesStack traces, log output, error codes
File path hintsAny files, modules, or functions mentioned
Related issues/PRsCross-references that provide context

Phase 3: Clone or Locate Repository

Ensure you have local access to the repository source code.

Step 1: Check current workspace

git remote -v 2>/dev/null
  • If the output contains github.com/{owner}/{repo} (or github.com:{owner}/{repo}), you are already in the correct repo. Skip to Step 3.

Step 2: Clone if needed

Check if the repo exists locally in a common location:

ls -d ~/Desktop/{repo} ~/projects/{repo} ~/repos/{repo} /tmp/{repo} 2>/dev/null

If not found, clone it:

gh repo clone {owner}/{repo} /tmp/{repo}

If gh is not available:

git clone https://github.com/{owner}/{repo}.git /tmp/{repo}

Then inform the user about the clone location.

Step 2.5: Change into the repository directory

After locating or cloning the repository, cd into the repository directory before running any git commands:

cd {repo_path}

Step 3: Ensure correct branch

First, detect the default branch:

# Detect the default branch
default_branch=$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||')
if [ -z "$default_branch" ]; then
  default_branch="main"
fi

Then check out the default branch and pull latest changes:

git checkout $default_branch
git pull --ff-only

Create the fix branch:

git checkout -b fix/issue-{number}

Phase 4: Analyze the Issue

Systematically locate the problem in the codebase.

4.1 Keyword Search

Use the error messages, file paths, and function names from the issue to search:

  • Use grep_code to search for error strings, function names, or variable names mentioned in the issue.
  • Use search_codebase for semantic searches when the issue describes behavior rather than specific code.
  • Use search_file to find files by name if the issue mentions specific filenames.

4.2 Understand the Context

Once you find candidate files:

  1. Read the relevant files to understand the current implementation.
  2. Trace the code path that leads to the reported bug.
  3. Check related tests to understand expected behavior.
  4. Review recent git history for the affected files if useful:
   git log --oneline -10 -- {file_path}

4.3 Root Cause Analysis

Before writing any code, clearly state:

  1. Root cause: Why the bug occurs.
  2. Affected code: Which file(s) and function(s) need changes.
  3. Fix approach: What the minimal change should be.

Phase 5: Implement the Fix

Apply the minimal code change to resolve the issue.

Guidelines

  • Minimal diff: Change only what is necessary to fix the issue. Do not refactor unrelated code.
  • Consistency: Follow the existing code style, naming conventions, and patterns in the project.
  • No new dependencies unless absolutely required and justified.
  • Use the search_replace tool to make precise edits.

If Multiple Files Need Changes

  1. Plan the full set of changes before starting.
  2. Apply changes one file at a time.
  3. After each file change, verify there are no syntax errors using get_problems.

Phase 6: Verify the Fix

Validate that the fix works and doesn't break anything.

6.1 Detect Project Type and Test Runner

Look for common indicators:

FileLikely runner
package.jsonnpm test or npx jest or npx vitest
Cargo.tomlcargo test
go.modgo test ./...
pyproject.toml / setup.pypytest
Makefilemake test
pom.xmlmvn test
build.gradle./gradlew test

6.2 Run Tests

# Run the full test suite or scoped tests related to the changed files
{test_command}
  • If tests pass, proceed to Phase 7.
  • If tests fail, analyze the failure, adjust the fix, and re-run.

6.3 Lint / Format Check (if available)

Check if the project has lint or format tools configured, and run them:

# Examples
npm run lint 2>/dev/null
cargo clippy 2>/dev/null
go vet ./... 2>/dev/null

Fix any lint issues introduced by your changes.


Phase 7: Present Changes & Get Confirmation

Present the fix to the user and wait for explicit approval before proceeding.

7.1 Show Fix Summary

## Fix Summary for {owner}/{repo}#{number}

**Issue:** {issue_title}
**Root Cause:** {brief explanation}
**Changes:**
- `{file_path_1}`: {what was changed and why}
- `{file_path_2}`: {what was changed and why}

7.2 Show Diff

Display the actual code changes so the user can review them:

git diff

Highlight the key modifications and explain their impact.

7.3 Wait for User Confirmation

Ask the user:

Do you want to adopt these changes? If anything needs adjustment, let me know.
  • If the user approves, proceed to Phase 8.
  • If the user requests changes, revise the fix (return to Phase 5) and re-present.

Phase 8: Submit Pull Request (User-Approved)

Only execute this phase after the user has confirmed the changes in Phase 7.

First, ask the user:

Would you like me to automatically commit and submit a PR to the repository?
  • If the user declines, show the suggested commit message and gh pr create command for manual execution (see Fallback below).
  • If the user agrees, execute Steps 1–4 automatically.

Step 1: Stage and Commit

git add -A
git commit -m "fix: {short description} (#{number})

{Detailed explanation of what was wrong and how this commit fixes it.}

Closes #{number}"

Step 2: Check Push Permission & Handle Fork

Attempt to push to the origin repository:

git push origin fix/issue-{number}
  • If the push succeeds, continue to Step 3 with --head fix/issue-{number}.
  • If the push fails (permission denied / 403):

1. Fork the repository:

     gh repo fork {owner}/{repo} --clone=false

2. Detect your GitHub username:

     gh api user --jq '.login'

3. Add fork as a remote:

     git remote add fork https://github.com/{your_username}/{repo}.git

4. Push to the fork:

     git push fork fix/issue-{number}

5. Continue to Step 3 with --head {your_username}:fix/issue-{number}.

Step 3: Create Pull Request

gh pr create \
  --repo {owner}/{repo} \
  --title "fix: {short description}" \
  --body "## Summary

Fixes #{number}.

### Problem
{Brief problem description}

### Solution
{Brief solution description}

### Changes
- {change 1}
- {change 2}

### Testing
- [x] Existing tests pass
- [x] {Any additional verification performed}" \
  --base {default_branch} \
  --head {head_ref}
{head_ref} is fix/issue-{number} for direct push or {your_username}:fix/issue-{number} for fork push.

Step 4: Verify & Report

  • Capture the PR URL from the gh pr create output.
  • Report to the user:

> ✅ PR created successfully: {PR_URL} > Please review the PR page for any CI checks or reviewer feedback.

  • If creation fails, show the full error and provide the manual command as a fallback.

Fallback: Manual Instructions

If the user declines auto-submission or any step fails, present:

  1. Suggested commit message:
   fix: {short description} (#{number})

   {Detailed explanation}

   Closes #{number}
  1. PR creation command:
   gh pr create \
     --title "fix: {short description}" \
     --body "..." \
     --base {default_branch}
  1. Recommend next steps:

- Review the diff: git diff {default_branch} - Commit and push the changes - Create the PR and verify CI passes


Error Handling

Handle these common failure scenarios gracefully:

ScenarioAction
gh CLI not installedFall back to git clone and fetch_content. Suggest installing gh: brew install gh or see https://cli.github.com
gh auth not configuredPrompt user to run gh auth login and retry
Repository is private / 403Inform the user that authentication is required and guide them to authenticate
Issue not found / 404Double-check the URL and ask the user to verify
No write access to /tmpClone to the workspace directory instead
Tests fail after fixAnalyze failure output, revise the fix, and re-verify
Cannot determine root causePresent findings so far and ask the user for guidance
Large / complex issueBreak the issue into sub-tasks, fix the most critical part first, and note remaining work
git push permission deniedAuto-fork the repository and push to fork
gh pr create failsShow error details and provide manual command
User's gh not authenticatedPrompt user to run gh auth login first
Branch already exists on remoteAsk user whether to force-push or create a new branch name
PR already exists for this branchShow existing PR URL and ask whether to update

External Endpoints

This skill interacts with the following external services:

EndpointPurposeData Sent
github.comClone repositories, fetch issue details, push branches, create PRsGit operations, branch names, PR metadata
GitHub API (via gh CLI)Read issues/comments, create PRs, fork repos, check authIssue number, repo owner/name, PR title/body

No other external services are contacted. All code analysis and modification happens locally.


Security and Privacy

  • Local operations: All code reading, analysis, and modification happens on your local machine.
  • Data sent externally: Only standard Git and GitHub API operations (clone, push, PR creation) send data to GitHub. No code is sent to third-party services.
  • Authentication: Uses your existing gh CLI authentication. No additional credentials are stored or transmitted.
  • No telemetry: This skill does not collect or transmit any usage data.

Model Invocation

This skill is designed for autonomous execution within an AI coding assistant. When triggered, the agent will:

  1. Parse the GitHub issue URL from user input
  2. Fetch issue details via gh CLI or web scraping
  3. Clone or locate the repository locally
  4. Analyze the codebase to identify the root cause
  5. Implement a minimal fix
  6. Run tests and verification
  7. Present changes for user review
  8. Submit a PR only after explicit user approval

Steps 7 and 8 require explicit user confirmation before proceeding. The agent will not push code or create PRs without user consent.


Trust Statement

By using this skill, you authorize the agent to:

  • Read GitHub issue content from public or authenticated-accessible repositories
  • Clone repositories to your local machine
  • Make code modifications in a dedicated branch
  • Push changes and create pull requests only with your explicit approval

All Git operations use your existing gh CLI credentials. Only install this skill if you trust the repositories you intend to use it with.

平台分布

OpenClaw

97.33%
按下载量换算778

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install git-mender 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills