This repository contains an AGENTS.md file aimed at Swift and SwiftUI developers using LLMs with their projects. It’s designed to avoid a number of common problems in AI-generated Swift code, based on the original list in this article.
The rules very strongly focus on using new API, targeting iOS 26 and later. If you need to support older versions of iOS or other Apple platforms, you’ll need to adjust the rules a little.
Contributions are welcome – please open PRs as needed.
561 followers · starred Jun 2026
211 followers · starred Mar 2026
343 followers · starred Dec 2025
109 followers · starred Dec 2025
This repository contains an AGENTS.md file aimed at Swift and SwiftUI developers using LLMs with their projects. It’s designed to avoid a number of common problems in AI-generated Swift code, based on the original list in this article.
The rules very strongly focus on using new API, targeting iOS 26 and later. If you need to support older versions of iOS or other Apple platforms, you’ll need to adjust the rules a little.
Contributions are welcome – please open PRs as needed.
561 followers · starred Jun 2026
211 followers · starred Mar 2026
343 followers · starred Dec 2025
109 followers · starred Dec 2025