agentleFS
koshkinvvkoshkinvv/ios-agent-skills/AGENTS.md

ios-agent-skills

AGENTS.md6 starsChanged 9 months agoMITView on GitHub

You have access to 9 expert-level iOS development skills. Each skill activates based on the topic you're working on.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository9 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 1 is common, 8 are distinctive, and 0 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when building SwiftUI views, layouts, navigation, animations, or working with state management.

    line 8
  2. Distinctive:

    Use when designing app architecture, setting up project structure, or choosing patterns (MVVM, Clean, TCA).

    line 13
  3. Distinctive:

    Use when building API clients, handling HTTP requests, implementing authentication, or working with WebSockets.

    line 18
  4. Distinctive:

    Use when persisting data, creating models, querying databases, handling migrations, or syncing with iCloud.

    line 23
  5. Common:

    Use when working with Keychain, biometrics, encryption, authentication flows, or privacy features.

    line 28
  6. Distinctive:

    Use when writing async/await code, working with actors, implementing background tasks, or migrating to Swift 6.

    line 33
  7. Distinctive:

    Use when writing unit tests, UI tests, creating mocks, or setting up test infrastructure.

    line 38
  8. Distinctive:

    Use when implementing VoiceOver support, Dynamic Type, or auditing accessibility compliance.

    line 43
  9. Distinctive:

    Use when optimizing memory, profiling with Instruments, improving launch time, or fixing frame drops.

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

iOS Agent Skills

You have access to 9 expert-level iOS development skills. Each skill activates based on the topic you're working on.

Available Skills

ios-swiftui

Use when building SwiftUI views, layouts, navigation, animations, or working with state management. Core rules: Use @Observable (iOS 17+) over ObservableObject. Use NavigationStack (not NavigationView). Use LazyVStack for large collections. Keep body pure. Avoid AnyView. Use .task for async work. Detailed guidance: skills/ios-swiftui/SKILL.md

ios-architecture

Use when designing app architecture, setting up project structure, or choosing patterns (MVVM, Clean, TCA). Core rules: Default to MVVM + @Observable. ViewModels must not import SwiftUI. Use protocols for all external dependencies. Domain layer = pure Swift only. Use SPM for modules at 50k+ LOC. Detailed guidance: skills/ios-architecture/SKILL.md

ios-networking

Use when building API clients, handling HTTP requests, implementing authentication, or working with WebSockets. Core rules: Use URLSession async/await. Create typed API client with generic request method. Use Codable. Implement retry with exponential backoff. Never store tokens in UserDefaults. Detailed guidance: skills/ios-networking/SKILL.md

ios-data

Use when persisting data, creating models, querying databases, handling migrations, or syncing with iCloud. Core rules: Use SwiftData for iOS 17+ projects. Repository pattern for all data access. isStoredInMemoryOnly for test containers. Never expose persistence framework to UI. Detailed guidance: skills/ios-data/SKILL.md

ios-security

Use when working with Keychain, biometrics, encryption, authentication flows, or privacy features. Core rules: Use Keychain for all sensitive data. Implement biometrics as convenience (password as fallback). Use CryptoKit (not CommonCrypto). Validate SSL certificates. Add privacy manifest entries. Detailed guidance: skills/ios-security/SKILL.md

ios-concurrency

Use when writing async/await code, working with actors, implementing background tasks, or migrating to Swift 6. Core rules: Use async/await over callbacks/Combine. Prefer structured concurrency. Use actors for shared mutable state. Mark UI code @MainActor. Make value types Sendable. Detailed guidance: skills/ios-concurrency/SKILL.md

ios-testing

Use when writing unit tests, UI tests, creating mocks, or setting up test infrastructure. Core rules: Use Swift Testing (@Test, #expect) for new tests. Keep XCTest for UI and performance tests. Protocol-based DI for testability. URLProtocol for network mocking. isStoredInMemoryOnly for SwiftData. Detailed guidance: skills/ios-testing/SKILL.md

ios-accessibility

Use when implementing VoiceOver support, Dynamic Type, or auditing accessibility compliance. Core rules: Every interactive element needs accessibilityLabel. Use built-in text styles for Dynamic Type. Touch targets minimum 44x44pt. Test with VoiceOver. Support Bold Text and Reduce Motion. Detailed guidance: skills/ios-accessibility/SKILL.md

ios-performance

Use when optimizing memory, profiling with Instruments, improving launch time, or fixing frame drops. Core rules: Profile before optimizing. Use weak self in closures capturing self. Prefer @Observable over ObservableObject. Use lazy containers for large lists. Never block main thread. Detailed guidance: skills/ios-performance/SKILL.md

Quick Reference

TaskSkill
Build a SwiftUI viewios-swiftui
Choose an architectureios-architecture
Make an API callios-networking
Save data locallyios-data
Store a password/tokenios-security
Write async codeios-concurrency
Write a testios-testing
Add VoiceOver supportios-accessibility
Fix a memory leakios-performance

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.