git-mender
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}.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/4ydx3906/git-mendergit-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}
- Scan the user message for a URL matching the pattern above.
- Extract three values:
owner— the GitHub organization or userrepo— the repository namenumber— the issue number
- If no valid URL is found, ask the user to provide a valid GitHub issue URL.
- 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:
- Use the
fetch_contenttool with the issue URL:https://github.com/{owner}/{repo}/issues/{number} - 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:
| Field | Description |
|---|---|
| Problem summary | One-sentence description of the bug or feature gap |
| Reproduction steps | How to trigger the issue |
| Expected behavior | What should happen |
| Actual behavior | What actually happens |
| Error messages | Stack traces, log output, error codes |
| File path hints | Any files, modules, or functions mentioned |
| Related issues/PRs | Cross-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}(orgithub.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:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-4ydx3906-git-mender": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
obsidian-cli
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
deep-research-suite
Deep Research Suite - One command to aggregate, analyze, and synthesize research from multiple sources. Search → Extract → Summarize → Report.
Repo Insights
AI-powered GitHub repository analysis. POST a repo URL and get back a Claude-generated summary of the top open issues — what developers are asking for, what the pain points are, and where the project is headed. Built as a Flask API, deployed and running on Albion AI.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.
no-prompt
Stop learning prompt engineering. Tell AI what you want in plain language — AI writes the perfect instruction for you in I-Lang. Copy it to any other AI, it executes perfectly. Zero prompt skills needed. Text-to-text translator only, no code, no install, no credentials.