npx claudepluginhub brothelmdzz/dev-harnessDev Harness - 自驱动开发流水线 | 命令: /dev (全流程) /fix (快速修复) /test (运行测试) /audit (代码审计) /review (代码审查) /ask (对话问答) | 特性: 三层 Skill 解析 + 多模式(pipeline/single/conversation) + Web HUD 实时面板 + 12 专用 Agent
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 79 focused plugins, 184 specialized agents, and 150 skills - optimized for granular installation and minimal token usage
Agent skills for building and maintaining promptfoo evaluations
Harness Engineering development pipeline for Claude Code. Three-layer skill resolution · AutoLoop iteration · Web HUD · 12 specialized agents.
Dev Harness turns Claude Code into a self-driving development pipeline. Type /dev and it automatically:
Inspired by Karpathy's autoresearch (autonomous experiment loop) and OpenAI's Harness Engineering (constraints > prompts).
pip install rich,增强版终端 HUD 需要# 在 Claude Code 中执行
/plugin marketplace add https://github.com/brothelmdzz/dev-harness
/plugin install dev-harness
安装后,插件文件会被复制到 ~/.claude/plugins/cache/dev-harness-marketplace/dev-harness/{version}/。
# 验证 Python 可用
python --version
# 运行安装验证脚本(在 Claude Code 中执行)
bash "${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh"
Dev Harness 通过 hooks/hooks.json 自动注册 Stop Hook,无需手动修改 settings.json。
验证方法:启动新的 Claude Code 会话后,Stop Hook 即自动生效。
~/.claude/plugins/cache/dev-harness-marketplace/dev-harness/{version}/
├── .claude-plugin/
│ ├── plugin.json # 插件元数据(版本、名称)
│ └── marketplace.json # Marketplace 定义
├── hooks/
│ ├── hooks.json # 自动注册 Stop Hook(Claude Code 自动发现)
│ └── stop-hook.py # 六道防线续跑逻辑
├── scripts/
│ ├── harness.py # 状态管理 + HUD + Web HUD + CLI
│ ├── skill-resolver.py # 三层 Skill 解析
│ ├── detect-stack.sh # 技术栈自动检测
│ ├── worktree.sh # Git Worktree 隔离
│ ├── scaffold.sh # Skill 脚手架生成
│ ├── find-dh-home.sh # Fallback 路径发现
│ ├── setup.sh # 安装验证
│ └── skill-index.py # Skill 索引
├── skills/ # 18 个内置 Skill
│ ├── dev/ # /dev 入口编排器
│ ├── generic-audit/ # 通用代码审计
│ ├── generic-implement/ # 通用计划执行
│ ├── generic-research/ # 通用代码库研究
│ ├── generic-review/ # 三路联合审查
│ ├── generic-test/ # 通用测试执行
│ └── ...
├── agents/ # 12 个 Agent 定义
├── defaults/ # pipeline.yml + skill-map.yml
├── templates/ # 项目配置模板
└── eval/ # 评测框架
Claude Code 为已安装的插件提供两个环境变量:
| 变量 | 说明 |
|---|---|
${CLAUDE_PLUGIN_ROOT} | 插件安装目录的绝对路径。在 Skill/Agent/Hook 内容中自动替换,在子进程中作为环境变量导出。 |
${CLAUDE_PLUGIN_DATA} | 插件持久化数据目录,跨版本更新存活。用于缓存、配置等。 |
# 在 Claude Code 中执行
/plugin update dev-harness
更新后需要重启 Claude Code 会话才能生效(缓存机制)。
/plugin uninstall dev-harness
# 在任何项目中输入
/dev
# AutoLoop 模式(全自主)
/dev --auto-loop
# 在另一个终端打开 Web HUD(实时可视化面板)
python "${CLAUDE_PLUGIN_ROOT}/scripts/harness.py" web-hud
# 然后打开浏览器访问 http://localhost:1603
Priority: L1 Project > L2 User > L3 Built-in
L1: .claude/skills/{name}/ → Your project's deep audit (Spring Boot, Django, etc.)
L2: ~/.claude/skills/{name}/ → Your personal audit customization
L3: generic-audit (built-in) → Works for any project out of the box
Same /dev command, different depth per project. Zero config for new projects, deep customization for mature ones.
| Stage | What it does | Auto-fix |
|---|---|---|
| research | Parallel subagent code scanning | — |
| prd | Multi-turn requirements alignment | — |
| plan | Interactive phase-based planning | — |
| implement | Code changes + gate checks (build/test) | Build failures, test failures |
| audit | Code quality + business logic review | HIGH severity issues |
| docs | API documentation updates | — |
| test | Full test suite + E2E validation | P0 bugs |
| review | 3-way review (Codex x2 + Claude) | CRITICAL issues |
| wiki | Confluence/Lark knowledge sync | — |
| remember | Save progress to semantic memory | — |