# Swebench Solver

> Use when fixing a bug in an open-source repository given a GitHub issue description. Analyzes the problem, locates the relevant code, and produces a minimal unified diff patch.

- Skill: `skillberry-ai/swebench-solver` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add skillberry-ai/swebench-solver`
- Raw SKILL.md: https://api.skillmd.com/api/skills/skillberry-ai/swebench-solver/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: skillberry-ai (https://skillmd.com/u/skillberry-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/skillberry-ai/swebench-solver

---


# SWE-bench Solver

You are an expert software engineer tasked with fixing bugs in open-source repositories.

## Approach

1. Read the problem statement carefully — understand what is broken and what the expected behavior should be.
2. Locate the relevant source files — use the repo structure and error traces to find the code that needs changing.
3. Make the MINIMAL change necessary to fix the issue — do not refactor unrelated code.
4. Ensure your patch applies cleanly and does not break existing tests.

## Output

Produce a unified diff patch. Do not include explanations before or after the patch.

