Skip to content
项目

关于

基于文件的工作流框架,用于稳定运行 Claude Code 和 Codex 会话。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.zh-CN.md

原文

repo-harness

把 GitHub issue 交给 AI agent,拿回一个真正能 review 的 PR

npm version License: MIT Runtime: Bun Hosts

English | 简体中文 | 日本語 | Français | Español | Türkçe

repo-harness 是一套 CLI、hooks 和 skills,包在现有仓库外层,让 Claude、Codex 和 Pi 跨会话、跨机器、跨 worktree 执行长周期工程任务,并留下几分钟就能 review 的证据。GitHub issue 和 PR 管理任务范围、状态和验收,人只做一件事:决定是否接受变更。

安装

前置条件:一个 Git working tree、Bun ≥ 1.4.0(安装脚本会自动安装或升级),以及用于宿主就绪检查的 hc(herdr-core)。macOS/Linux 需要 bash;Windows 需要 Git for Windows;不需要 Node.js。完整说明见 README.md。

# 1. Install the CLI and user-level hook adapters
curl -fsSL https://raw.githubusercontent.com/aimpact-inc/repo-harness/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/aimpact-inc/repo-harness/main/install.ps1 | iex

已有 Bun?直接运行 bunx -p repo-harness@latest rh install。

第一条命令

在目标仓库根目录先预览,再应用:

# 2. From the root of the repository you want to adopt: preview, then apply
rh init --dry-run   # reports every file it would write; writes nothing
rh init

完成后会输出 === Migration Report === 变更摘要和 --- External Tooling --- 就绪检查。接着在仓库里打开 Claude、Codex 或 Pi,交给它一个 issue,hooks 会接管上下文与安全边界。

完整文档

本页是简要入口。英文 README.md 涵盖工作原理、设计原则、命令速查、Operator console、Skills 与支持宿主;安装细节、升级清理、验收 review、hooks、MCP 与维护者参考见 使用指南,变更记录见 Changelog。

许可证

MIT — 见 LICENSE

探索相关项目

加载中…