Four times in four days I've been asked for advice on working with AI-generated Swift code, so here you go – here's a brief article about dubious code I suggest you watch out for, and what to replace it with instead: https://www.hackingwithswift.com/articles/281/what-to-fix-in-ai-generated-swift-code
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/twostraws/statuses/115661996542729807 on your instance and quote it. (Note that quoting is not supported in Mastodon.)
RE: https://mastodon.social/@twostraws/115661996542729807
A number of folks asked for this article as an AGENTS.md file, so here you go! All contributions are welcome; please open a PR, so we can make it great for everyone. https://github.com/twostraws/SwiftAgents
