使用 Claude Code 作为 AGENTS.md 和日志记录的联合开发者

Use Claude Code as co-developer with AGENTS.md and logging

Claude Code 使用完成。作者使用 Claude Code 进行规划、编码、测试和调试,配合 AGENTS.md 和数值日志记录以提高准确性和上下文处理。

软件与开发运维 Claude Code Claude Codex Grok Bot hermes-agent Reddit · 2026-10-20

做了什么

The author spent about seven months building ThinkTerm, a Rust terminal multiplexer on top of WezTerm, with Claude Code acting as a co-developer. Claude Code handled planning, code writing, tests, and benchmarks, while the author reviewed the output; hard rules lived in AGENTS.md or Claude.md, and for UI work without a framework Claude saved frames as PNGs because it could not see the window.

效果如何

The result was an open-source app for macOS, Linux, and Windows that the author says lets them manage agent sessions across machines. The main shortcoming they call out is debugging accuracy: Claude guessed wrong repeatedly on one bug until they made it log actual numeric sizes.

值得注意

The most concrete catch is to force Claude to log numbers and real measurements instead of inferring them; the author says that fixed a bug after five wrong guesses.

试试这个 Prompt

Create an AGENTS.md file in [repo path] that describes the project's structure, how to run and test it, coding conventions, and rules for you to follow. Then help me with [feature or bug] by planning first, then coding, testing, and debugging, adding clear numbered log lines so you can verify behavior from the output. Stop when the tests pass and show me a summary of the changes.

阅读原文 ↗

相关用例