← Back to context

Comment by DenisM

6 days ago

> Another tool blocks code which violates our separation of layering - this forces the HTTP route handler code to only access the database via service layer.

Is that an llm agent or some other type of tool (e.g. language service or build toolset)?

When I say "tool" I really mean a python script. This particular one is ~100 lines of python with a main() method, that Claude Code wrote in a single shot, that I then committed to the repo in a scripts/ directory. That lets me include it in pre-commit hooks, run it when I run the tests, and have it run during CI.

A 100 line script finishes in milliseconds and burns no tokens. So you can run it hundreds of times per day.

The mindset is: will you need repeatability? If so, have the LLM write code, because code gives you determinism.