explaingit

openclaw/clawpatch

412TypeScript
This is a quick first-pass explanation. The richer sections — use-cases, tech stack, setup, prompts — are still being generated.

TLDR

Clawpatch is a TypeScript command-line tool that automates code review and bug fixing.

Mindmap

A visual breakdown will appear here once this repo is fully enriched.

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

In plain English

Clawpatch is a TypeScript command-line tool that automates code review and bug fixing. Instead of reviewing an entire codebase at once, it first builds a map of the project by breaking it into logical sections called feature slices, groupings of related code such as authentication, storage, API routes, or test suites. It then sends each slice to an AI provider for review, collects the findings, and stores them locally. Once findings are recorded, the workflow becomes interactive. You can browse the list, mark items as false positives, and pick individual findings to attempt a fix. The fix step runs the AI provider in a mode where it can edit files in a separate working directory, applies suggested changes, then runs the project's own test and lint commands to validate the result. Crucially, clawpatch never commits, pushes, or opens a pull request automatically, a developer always reviews the changes manually before merging. It supports a wide range of project types including TypeScript, Python, Go, Java, Kotlin, Ruby, Rust, Swift, C and C++, and PHP. The default AI provider is the local Codex CLI, but it also supports Claude, Gemini, and other ACP-compatible coding agents through a pluggable provider interface.

Open on GitHub → Explain another repo

← openclaw on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.