LLM side quests Software developer and blogger Bartosz Owsiany proposes adding a single line to CLAUDE.md or AGENTS.md files to instruct large language models to create GitHub issues for any bugs or improvements they spot during unrelated coding tasks, rather than fixing them inline. This technique, dubbed 'LLM side quests,' aims to capture incidental codebase findings that models typically discard, turning them into actionable issues for faster tech-debt cleanup. Owsiany reports that while not every issue is a real problem, most findings are genuine and help maintain a healthier codebase. In the previous post, Domain-Driven Agents, I talked about ways we can improve our codebase to maintain better quality for ourselves and the agents we use on a daily basis. I mentioned analyzing the codebase from the strategic point of view and pushing the tactical part to agents when it comes to implementation. I mentioned how I operate on GitHub issues, and that's true. From time to time, I lock some time for a general cleanup of my codebase. I run audits with agents, and I also explore the codebase manually, like in the old days, to look for things which went wrong, far from the quality I need. I use skills to catch DRY violations so common for LLMs to produce or check test quality, looking for cases where tests are not testing real behavior but just some simple assertions. Strong coupling, in situations where I aim for deep modules with small public interfaces to communicate with each other. And it helps. I have GitHub issues. Agents can implement fixes according to the target I defined in the given issue, and my code is cleaner. With agents' help, I can improve the health of the codebase much faster. What if we could also push that part to the LLMs? What if we could just use their reasoning during every implementation to find problems in our codebase - tech debt, bugs, smells - without a dedicated audit? Let me show you. If you want the quick answer and to see the results for yourself, drop this line into your CLAUDE.md or AGENTS.md file. If you spot a bug or a needed improvement unrelated to the current task, do NOT fix it inline. Run gh issue create describing the finding, its location and why it matters, then continue. Implement a handler that adds a new patch operation for the purchase entity, using domain functions from