# Peter Steinberger 分享 test-audit 技能，助 OpenClaw 删除约 40 万行低价值测试

- 来源：Peter Steinberger 🦞 (@steipete)
- 发布时间：2026-09-24 23:41
- AIHOT 分数：63
- AIHOT 链接：https://aihot.news/items/cmufpzblx03xsroxz5zdcntmk
- 原文链接：https://x.com/steipete/status/2103147927313199260

## AI 摘要

Peter Steinberger 称 OpenClaw 删除了约 40 万行自己的测试代码，代码覆盖率没有太大变化。他认为现代模型热衷于为每个微小改动写测试，即使这些测试没什么用，而一个 test-audit 技能对此有帮助，技能文件见 https://github.com/openclaw/openclaw/blob/main/.agents/skills/test-audit/SKILL.md

## 正文

OpenClaw deleted around 400k LOC of its own tests without much change in code coverage. Modern models just love writing tests for every tiny change, even if they aren't useful. This skill helped. https://github.com/openclaw/openclaw/blob/main/.agents/skills/test-audit/SKILL.md
