Claude Skill
openclaw/clawpatch
ClawPatch 是一个基于 TypeScript 的 GitHub 机器人,可自动执行代码审查、漏洞修补和 PR 合并。通过智能自动化简化您的开发工作流程。
概览
仓库信息
安装这个 Skill
pnpm add -g clawpatchRegistry 信息
项目简介
ClawPatch 是一个基于 TypeScript 的机器人,可自动执行 GitHub 上的代码审查、漏洞修补和拉取请求合并。它通过智能审查代码变更、建议修复并以最少的人工干预合并 PR 来简化开发工作流程。
Review code. Patch bugs. Land PRs.
要点
- 自动审查拉取请求中的代码
- 智能漏洞修补建议
- 带安全检查的自动 PR 合并
- 作为 GitHub 机器人构建,实现无缝集成
- 使用 TypeScript 编写,确保可靠性和可维护性
使用场景
- 简化开源项目的维护工作
- 减少团队的代码审查负担
- 在 CI/CD 流水线中自动修复漏洞
- 在活跃仓库中实现更快的 PR 周转
README 摘要
# 🩹 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