← all repositories

twostraws/SwiftAgents

An AGENTS.md configuration file providing Swift and SwiftUI coding rules for LLM agents to avoid common AI-generated code problems.

1.4k stars Coding Assistants
SwiftAgents
Not currently ranked — collecting fresh signals.
star history

This repository contains an AGENTS.md file designed to help LLMs produce better Swift and SwiftUI code by providing targeted rules and constraints. It addresses common issues found in AI-generated Swift code, with particular focus on using modern iOS 26+ APIs and Apple platform conventions. Developers add this file to their Swift projects to improve LLM output quality when working with AI coding assistants.

Frequently asked

What is twostraws/SwiftAgents?
An AGENTS.md configuration file providing Swift and SwiftUI coding rules for LLM agents to avoid common AI-generated code problems.
Is SwiftAgents open source?
Yes — twostraws/SwiftAgents is an open-source project tracked on heatdrop.
How popular is SwiftAgents?
twostraws/SwiftAgents has 1.4k stars on GitHub.
Where can I find SwiftAgents?
twostraws/SwiftAgents is on GitHub at https://github.com/twostraws/SwiftAgents.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.