NewsCrawler.org

How one developer checks Claude Code's work without reading the code

Claude Codeが書いたコードを読む代わりにやっていること
Image: zenn.dev

What happened next

  1. How the Claude Code team approaches verifying code that AI writes

The whole story · 2 →

The author builds a personal Web app and has Claude Code write its features. Most pull requests are merged without reading the code, and the AI handles tests, review and checks. Instead of reading code, the author now does two things: approves the acceptance criteria and reads records of what the checks actually did.

Each Issue is processed by the issue-loop skill[1] in its own git worktree[2], and the change is deployed to a staging environment. Three checks run along the way. A Stop hook[3] runs lint, type checks and tests and makes the AI fix any failures. A reviewer subagent[4] compares the diff with the acceptance criteria. A verifier subagent operates the staging screen and judges only what it sees, without reading code. Only the criteria approval and the merge or release to production are human decisions, although the author reads changes to DB definitions, authentication and infrastructure before merging.

The author found that the Stop hook had been finishing in under 0.1 seconds every time and never ran the tests, because it checked the original develop directory instead of the AI's working directory. It now moves to the working directory given in its input and stops the AI when a check cannot run. A scheduled retro skill proposes process improvements each morning, and they are applied only after human approval.

Read the original zenn.dev

Sources

  • Zenn JA

    Claude Codeが書いたコードを読む代わりにやっていること

    26 likes14 bookmarks0 comments

Published: First seen: Читать по-русски

Open as a page