# twostraws/SwiftAgents

An AGENTS.md file for Swift and SwiftUI projects.

Repository: https://github.com/twostraws/SwiftAgents
Canonical: https://ross.abutalabs.com/products/swiftagents
License Family: other
Last push: 2026-03-05T16:13:56+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 35, longevity 19
- inputs: {"age_days": 270, "days_push": 181, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1408, forks 89 (observed 2026-08-28T04:04:38.573505+00:00)

## What it is
A curated AGENTS.md file providing rules and guidelines for LLMs generating Swift and SwiftUI code. It encodes best practices to avoid common mistakes in AI-generated Swift, targeting iOS 26 and later APIs.

## Use cases
- give coding agents rules for writing correct Swift code
- reduce common mistakes in AI-generated SwiftUI code
- add an AGENTS.md to my Swift project for LLM tools
- make Cursor or Copilot follow modern Swift API conventions
- guide LLMs to use iOS 26 APIs

## When to choose
- you build Swift/SwiftUI apps with AI coding assistants
- you want a maintained, opinionated rules file for LLM-generated Swift
- you target iOS 26+ and want modern API usage

## When to avoid
- you support older iOS versions or non-Apple platforms
- you need rules for languages other than Swift
- you want executable tooling rather than a prompt/rules file

## Facets
- artifact type: learning-resource
- maturity: active
- function: prompt-engineering, documentation
- domain: large-language-models, developer-tools, mobile-development
- platform: -
- tags: agents-md, swiftui, ai-generated-code, coding-standards, llm-guidelines, ios, swift, macos

## Member repositories
- twostraws/SwiftAgents (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.573505+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:36.746629+00:00, confidence not recorded.
  - readme: https://github.com/twostraws/SwiftAgents (fetched 2026-08-28T04:04:38.573505+00:00, sha 5794b2c1d591)
- Data as of 2026-08-30T08:39:29.467469+00:00.
