AI should help us produce better code
https://simonwillison.net/guides/agentic-engineering-patterns/better-code/
https://simonwillison.net/guides/agentic-engineering-patterns/better-code/
@simon What's your opinion on using AI to improve existing code? I'm taking a stab at it in https://github.com/devdanzin/code-review-toolkit. It defines agents and scripts to review code, and you can ask your agent to use it and improve/fix the issues it finds.
For my projects, it seems to catch important improvement opportunities and issues to fix. Works like a supercharged linter, linting behavior, architecture, macro and micro implementation details, etc. Not sure whether it's a real effect or just placebo though.