Chrishaneus

Patchwork — Git skill for Claude Code

Git community

Describe a code change once, pick your GitHub or GitLab repositories, and a Claude agent makes it in an isolated copy of each.

How to install Patchwork

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Chrishaneus/patchwork and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Patchwork does

Describe a code change once, pick your GitHub or GitLab repositories, and a Claude agent makes it in an isolated copy of each. You review the diffs, and Patchwork opens the pull requests. It can also review PRs, answer questions about your code and compare approaches. Runs as a desktop app or a web app, locally or in Docker.

Alternatives in Git

  • PR Review Toolkit — Specialized agents for reviewing pull requests 14k ★
  • Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
  • Awesome ChatGPT — Search awesome-ChatGPT-repositories for open-source GitHub repositories related to ChatGPT and LLMs 3.2k ★

README

Patchwork

Describe a code change once, pick the repositories it applies to, and get reviewed pull requests.

Patchwork is a SvelteKit UI (Tailwind, shadcn-svelte, Paraglide with English and Spanish) and the Node **engine** that does the work: git, worktrees, the Claude agent, checks and pull requests. It runs as a desktop app (Electron), a web app (a local server, or Docker) and later a mobile app (Capacitor). The product plan and architecture are in [DESIGN.md](DESIGN.md).

Run the commands below from the project folder (`~/ai-tool`).

Ways to run it

How Command Open Local folders
Desktop app (development) npm run electron:dev its own window Anywhere, with a native folder picker
Web app, local mode npm run server:local http://localhost:3000 In your home folder, with a folder browser
Web app in Docker docker compose up --build -d http://localhost:8080 None by default: repositories are added by URL
UI development only npm run dev http://localhost:5173 Through the desktop or a server

Desktop app

npm install
npm run electron:dev       # live reload for the UI
npm run electron:start     # the production build, unpackaged
npm run electron:package   # a standalone app in out/
npm run electron:make      # installers (zip, plus .deb on Linux or Squirrel on Windows)
npm run electron:make:win  # the Windows app from any system: a zip in out/make/zip/win32/
  • Restarting: changes to electron/ and engine/ are rebuilt on save, but they only take effect after you restart the app.
  • Data: stored in Electron's user-data folder, under engine/.
  • **A