Claude Skill
openclaw/clawpatch
ClawPatch is a TypeScript GitHub bot that automates code review, bug patching, and PR merging. Streamline your development workflow with intelligent automation.
Overview
Repository
Install this Skill
pnpm add -g clawpatchRegistry
Summary
ClawPatch is a TypeScript-based bot that automates code review, bug patching, and pull request merging on GitHub. It streamlines the development workflow by intelligently reviewing code changes, suggesting fixes, and landing PRs with minimal human intervention.
审查代码。修补漏洞。合并PR。
Key features
- Automated code review for pull requests
- Intelligent bug patching suggestions
- Automated PR merging with safety checks
- Built as a GitHub bot for seamless integration
- Written in TypeScript for reliability and maintainability
Use cases
- Streamlining open-source project maintenance
- Reducing manual code review overhead for teams
- Automating bug fixes in CI/CD pipelines
- Enabling faster PR turnaround in active repositories
README excerpt
# 🩹 clawpatch  Automated code review that lands fixes. `clawpatch` maps a repo into semantic feature slices, reviews each slice with a provider, persists findings, and can run an explicit fix loop for one finding at a time. Current status: early CLI. Review/report/state are implemented; patching exists behind `clawpatch fix --finding <id>` and still requires manual review of the resulting worktree changes. ## Install ```bash pnpm add -g clawpatch ``` From source: ```bash pnpm install pnpm build pnpm link --global ``` ## Workflow ```bash clawpatch init clawpatch map clawpatch review --limit 3 --jobs 3 clawpatch review --mode deslopify --limit 3 clawpatch ci --since origin/main --output clawpatch-report.md clawpatch report clawpatch next clawpatch show --finding <id> clawpatch triage --finding <id> --status false-positive --note "covered by tests" clawpatch fix --finding <id> clawpatch open-pr --patch <patchAttemptId> --draft clawpatch revalidate --finding <id> clawpatch revalidate --all --status open ``` `fix` does not commit, push, open PRs, or land changes. It runs configured validation commands and records a patch attempt under `.clawpatch/`. ## What It Maps Today - npm package bins - selected root and workspace package scripts: `start`, `build`, `test`, `lint`, `typecheck`, `format` - Node/TypeScript workspace packages under `apps/*`, `packages/*`, and package workspace patterns - package-less Node/TypeScript app roots under monorepo folders such as `apps/*` and `packages/*` when source or positive framework signals are present - generic extension/plugin packages under workspace roots such as `extensions/*` and `plugins/*`, including package metadata, source, docs, and nearby tests - semantic No