ios-agent-skill
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 14 GitHub stars
Code Gecti
- Code scan — Scanned 5 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Production-ready iOS SwiftUI guidance for AI coding agents.
ios-agent-skill
An Agent Skill for production-oriented iOS, Swift, and SwiftUI development.
Helps AI coding assistants generate safer Swift code, follow modern Apple APIs, and work inside existing Xcode projects.
Adoption and Community Usage
This repository tracks public adoption evidence in ADOPTION.md, including repository metrics, public mentions, user feedback, and projects built with the skill.
If you use this skill in a public project, tutorial, or workflow, please open an issue or discussion so it can be listed as community evidence.
:book: Complete AI Setup Guide (Mac + Windows) for ALL 28 Tools
:warning: Important: Create Your Xcode Project FIRST
This skill generates Swift files, not a full Xcode project. You must create the Xcode project first, then use your AI agent to build features inside it.
Step 1: Create the Xcode Project
- Open Xcode (macOS only — required for iOS development)
- Click File → New → Project (or press
Cmd + Shift + N) - Select App under iOS (or Multiplatform for cross-platform)
- Fill in the project details:
- Product Name:
YourAppName - Team: Select your Apple Developer account (or Personal Team)
- Organization Identifier:
com.yourname(e.g.,com.nagarjuna) - Interface: SwiftUI
- Language: Swift
- Storage: SwiftData (or None if you don't need persistence)
- Product Name:
- Click Next → Choose a folder → Click Create
- Xcode creates the full project structure:
YourAppName/ ├── YourAppName.xcodeproj ← Xcode project file ├── YourAppName/ │ ├── YourAppNameApp.swift ← App entry point │ ├── ContentView.swift ← Main view │ ├── Assets.xcassets ← App icons, colors, images │ ├── Preview Content/ ← Preview assets │ └── Info.plist ← (if visible) └── YourAppNameTests/ └── ...
Step 2: Clone This Skill Into Your Project
cd /path/to/YourAppName
git clone https://github.com/Nagarjuna2997/ios-agent-skill.git .ios-skill
Step 3: Open Your AI Agent and Start Building
Now open your project folder in your preferred AI coding tool:
# Claude Code
cd /path/to/YourAppName && claude
# Codex
cd /path/to/YourAppName && codex
# Cursor — just open the folder in Cursor
# Any other tool — open the folder in your IDE
Step 4: Ask the AI to Build Features
The AI will create/modify .swift files inside your Xcode project:
"Add a login screen with email and password fields"
"Create a settings page with dark mode toggle"
"Add a tab bar with Home, Search, and Profile tabs"
"Implement a networking layer to fetch data from my API"
Step 5: Run in Xcode
Go back to Xcode → Press Cmd + R (or click the Play button) to build and run on the simulator.
Why this workflow? AI agents generate Swift source files (
.swift), but iOS apps need a proper Xcode project (.xcodeproj) with build settings, signing, asset catalogs, and simulator configuration. Xcode is the only tool that can compile, sign, and run iOS apps. Your AI agent writes the code — Xcode builds and runs it.
Alternative: Use the Template
If you want to skip Xcode project creation, copy our ready-made template files into a new Xcode project:
# After creating Xcode project, copy template files
cp ios-agent-skill/templates/ios-app/*.swift /path/to/YourAppName/YourAppName/
cp -r ios-agent-skill/templates/ios-app/Views/ /path/to/YourAppName/YourAppName/Views/
cp -r ios-agent-skill/templates/ios-app/ViewModels/ /path/to/YourAppName/YourAppName/ViewModels/
cp -r ios-agent-skill/templates/ios-app/Models/ /path/to/YourAppName/YourAppName/Models/
Then open Xcode → Right-click the project → Add Files to "YourAppName" → Select the new folders.
:zap: One-Line Install
curl -sL https://raw.githubusercontent.com/Nagarjuna2997/ios-agent-skill/main/install.sh | bash
:robot: Works With Every AI Coding Agent
:large_blue_diamond: Claude Codegit clone https://github.com/Nagarjuna2997/ios-agent-skill.git && cd ios-agent-skill && claude
Auto-reads CLAUDE.md
git clone https://github.com/Nagarjuna2997/ios-agent-skill.git ~/.codex/skills/ios-agent-skill
Auto-reads AGENTS.md
git clone https://github.com/Nagarjuna2997/ios-agent-skill.git && cd ios-agent-skill
Auto-reads GEMINI.md and AGENTS.md
cp ios-agent-skill/.cursorrules /path/to/your/project/
# Or use modern format:
cp -r ios-agent-skill/.cursor /path/to/your/project/
Auto-reads .cursor/rules/ios-skill.md or .cursorrules
Auto-reads .github/copilot-instructions.md when repo is cloned.
Auto-reads .windsurf/rules/ios-skill.md or .windsurfrules
Auto-reads .aiassistant/rules/ios-skill.md or .junie/guidelines.md
| Platform | File | Auto-detected |
|---|---|---|
| Zed AI | .rules |
:white_check_mark: |
| Trae (ByteDance) | .trae/rules/ios-skill.md |
:white_check_mark: |
| Amazon Q Developer | .amazonq/rules/ios-skill.md |
:white_check_mark: |
| Cline | .clinerules |
:white_check_mark: |
| Roo Code | .roo/rules/ios-skill.md |
:white_check_mark: |
| KiloCode | .kilocode/rules/ios-skill.md |
:white_check_mark: |
| Continue.dev / PearAI | .continue/rules/ios-skill.md |
:white_check_mark: |
| Augment Code | .augment/rules/ios-skill.md |
:white_check_mark: |
| Tabnine | .tabnine/guidelines/ios-skill.md |
:white_check_mark: |
| Aider | CONVENTIONS.md |
:white_check_mark: |
| Sourcegraph Amp | AGENTS.md |
:white_check_mark: |
| Replit Agent | replit.md |
:white_check_mark: |
| Lovable | AGENTS.md |
:white_check_mark: |
| OpenCode / OpenHands | AGENTS.md |
:white_check_mark: |
| Bolt.new | CLAUDE.md |
:white_check_mark: |
:brain: What's Inside
:gear: The Skill Brain
CLAUDE.md/SKILL.md/AGENTS.md/GEMINI.md— all identical
- :white_check_mark: Zero-error Swift code generation rules
- :white_check_mark: Framework selection guide (SwiftUI vs UIKit, SwiftData vs CoreData)
- :white_check_mark: MVVM project structure with naming conventions
- :white_check_mark: Platform-specific guidance (iOS, macOS, watchOS, tvOS, visionOS)
- :white_check_mark: UI design standards (colors, typography, spacing, animations)
- :white_check_mark: Top 10 pitfalls and how to avoid them
:books: Documentation Reference
:orange_book: Swift Language — docs/swift/
| File | Topics | |
|---|---|---|
| :abc: | swift-language.md | Types, protocols, generics, property wrappers, result builders, macros, pattern matching |
| :arrows_counterclockwise: | swift-concurrency.md | async/await, Task, actors, @MainActor, Sendable, AsyncSequence, continuations |
| :package: | swift-standard-library.md | Collections, String, Codable, Result, Regex, Clock/Duration |
:art: SwiftUI — docs/swiftui/
| File | Topics | |
|---|---|---|
| :jigsaw: | views-and-controls.md | Text, Image, Button, List, ScrollView, Form, Menu, ViewModifier, lifecycle |
| :floppy_disk: | state-and-data-flow.md | @State, @Binding, @Observable, @Environment, @Query |
| :compass: | navigation.md | NavigationStack, sheets, TabView, deep linking, iOS 18 zoom transitions |
| :triangular_ruler: | layout.md | Stacks, Grid, GeometryReader, LazyVGrid, custom Layout protocol |
| :sparkles: | animations.md | Spring, transitions, matchedGeometry, PhaseAnimator, MeshGradient, TextRenderer |
| :point_up_2: | gestures.md | Tap, drag, magnify, rotate, gesture composition |
:iphone: UIKit — docs/uikit/
| File | Topics | |
|---|---|---|
| :building_construction: | uikit-essentials.md | UIViewController, Auto Layout, diffable data sources, compositional layout |
| :bridge_at_night: | uikit-swiftui-interop.md | UIViewRepresentable, UIHostingController, Coordinator pattern |
| :movie_camera: | animations.md | UIViewPropertyAnimator, custom VC transitions, Core Animation, CAShapeLayer |
:rainbow: Design System — docs/design/
| File | Topics | |
|---|---|---|
| :art: | color-system.md | 5 color palettes, hex codes, 10 gradient recipes, materials, dark mode |
| :capital_abcd: | typography-system.md | Text styles, SF Symbols, Dynamic Type, gradient/animated text effects |
| :star2: | stunning-ui-patterns.md | 20+ UI patterns: glassmorphism, neumorphism, parallax, shimmer, card stacks |
| :joystick: | interaction-standards.md | Animation curves, haptics, button styles, states, localization, privacy manifest |
| :pencil2: | fonts-catalog.md | Every iOS font, 100+ Google Fonts, 15 pairings, variable fonts, international |
| :clapper: | third-party-animations.md | Lottie integration, Rive state machines, decision table |
:wrench: Drop-In Components — templates/common-patterns/
| File | Includes | |
|---|---|---|
| :paintbrush: | design-system.swift | 5 themes, spacing/radius/shadow tokens, 6 ButtonStyles, ViewState, AnimationStandard |
| :bricks: | ui-components.swift | GradientButton, GlassCard, AvatarView, StatCard, RatingView, CircularProgress, ToastView, SearchBar + 9 more |
:gear: Apple Frameworks — docs/frameworks/
| File | Framework | |
|---|---|---|
| :globe_with_meridians: | foundation.md | URLSession, FileManager, Codable, NotificationCenter |
| :ocean: | combine.md | Publishers, operators, error handling |
| :floppy_disk: | core-data.md | NSManagedObject, fetch requests, migration |
| :sparkle: | swiftdata.md | @Model, @Query, #Predicate, History API, custom DataStore |
| :satellite: | networking.md | API client, auth tokens, WebSocket |
| :round_pushpin: | core-location.md | GPS, geofencing, iBeacon |
| :world_map: | mapkit.md | Map views, annotations, directions, LookAround |
| :film_projector: | avfoundation.md | Audio/video playback, camera capture |
| :credit_card: | storekit.md | In-app purchases, subscriptions, EU marketplace |
| :cloud: | cloudkit.md | iCloud sync, CKSyncEngine, sharing |
| :bell: | usernotifications.md | Local/remote notifications, actions |
| :card_index_dividers: | widgetkit.md | Widgets, Live Activities, Control Center |
| :wheelchair: | accessibility.md | VoiceOver, Dynamic Type, contrast |
| :iphone: | arkit.md | World/face/body/image/object/geo tracking, mesh, anchors |
| :eyeglasses: | realitykit.md | ECS, RealityView, ARView, PBR materials, physics, USDZ |
:robot: AI & Machine Learning — docs/frameworks/ml/
| File | Framework | |
|---|---|---|
| :brain: | coreml.md | Model loading, prediction, Neural Engine |
| :eye: | vision.md | OCR, face detection, barcode, segmentation |
| :speech_balloon: | natural-language.md | Tokenization, sentiment, embeddings |
| :microphone: | speech.md | Speech-to-text, live transcription |
| :crystal_ball: | on-device-ai.md | Foundation Models, MLX Swift, on-device LLM |
:rocket: Advanced App Experience
| File | Framework | |
|---|---|---|
| :green_circle: | activitykit.md | Live Activities, Dynamic Island |
| :raised_hands: | app-intents.md | Siri, Shortcuts, Spotlight, Apple Intelligence |
| :bulb: | tipkit.md | Feature discovery tooltips |
| :scissors: | app-clips.md | App Clips, NFC/QR triggers |
| :camera: | photosui.md | PhotosPicker, custom camera, PiP |
:electric_plug: Hardware — docs/frameworks/hardware/
| File | Framework | |
|---|---|---|
| :signal_strength: | core-bluetooth.md | BLE scanning, connecting |
| :heart: | healthkit.md | Health data, workouts |
| :running: | core-motion.md | Accelerometer, pedometer |
| :vibration_mode: | core-nfc.md | NFC tag reading/writing |
| :house: | homekit.md | Home automation, Matter |
:briefcase: Services — docs/frameworks/services/
| File | Framework | |
|---|---|---|
| :moneybag: | passkit.md | Apple Pay, Wallet passes |
| :partly_sunny: | weatherkit.md | Weather forecasts, alerts |
| :calendar: | eventkit.md | Calendar, reminders |
| :busts_in_silhouette: | contacts.md | Contact access, picker |
:shield: Security & Engineering
| File | Framework | |
|---|---|---|
| :lock: | cryptokit.md | SHA256, AES-GCM, Secure Enclave |
| :mag: | oslog.md | Logger, MetricKit diagnostics |
| :hourglass_flowing_sand: | background-tasks.md | BGTaskScheduler |
| :white_check_mark: | device-integrity.md | DeviceCheck, AppAttest |
:earth_americas: Platform Guides — docs/platforms/
| File | Platform | |
|---|---|---|
| :iphone: | ios.md | iOS — lifecycle, deep linking, extensions |
| :computer: | macos.md | macOS — menu bar, toolbar, sandboxing |
| :watch: | watchos.md | watchOS — complications, workouts |
| :tv: | tvos.md | tvOS — focus engine, Siri Remote |
| :eyeglasses: | visionos.md | visionOS — spatial computing, RealityKit |
:building_construction: Code Templates
:iphone: iOS App Template
templates/ios-app/
|- App.swift # @main with SwiftData
|- ContentView.swift # TabView (Home, Profile, Settings)
|- Models/Item.swift # Data model
|- Views/ # HomeView, ProfileView, SettingsView
|- ViewModels/ # @Observable view models
|- Tests/ # Swift Testing + XCTest examples
|- Info.plist
:globe_with_meridians: Multiplatform Template
templates/multiplatform-app/
|- Shared/ # NavigationSplitView, shared logic
|- iOS/ # iOS-specific (haptics, etc.)
|- macOS/ # Menu commands, window styling
|- watchOS/ # Compact layouts
:toolbox: Common Patterns
| File | What It Does | |
|---|---|---|
| :satellite: | networking-layer.swift | Actor-based API client, auth tokens |
| :floppy_disk: | persistence-layer.swift | SwiftData setup, @Query, previews |
| :key: | auth-flow.swift | AuthManager, Keychain, Sign in with Apple |
| :compass: | navigation-router.swift | Type-safe router, deep linking |
| :syringe: | dependency-injection.swift | Protocol-based DI, Environment |
:classical_building: Architecture Patterns
| Pattern | Guide | |
|---|---|---|
| :arrows_counterclockwise: | MVVM | @Observable, DI, testing |
| :bricks: | Clean Architecture | Domain/Data/Presentation layers |
| :compass: | Coordinator | NavigationPath, deep linking |
| :file_cabinet: | Repository | Offline-first, caching |
| :warning: | Error Handling | Custom errors, retry, circuit breaker |
| :atom_symbol: | TCA | Composable Architecture, TestStore |
:rocket: CI/CD Templates
| File | What It Does | |
|---|---|---|
| :octocat: | github-actions.yml | Build, test, TestFlight deploy, SPM cache |
| :gem: | Fastfile | Test, beta, release lanes, match signing |
:clipboard: Quality Checklists
| Checklist | When to Use | |
|---|---|---|
| :apple: | App Store Submission | Before submitting — metadata, privacy, entitlements |
| :racing_car: | Performance | Instruments, SwiftUI perf, image optimization |
| :shield: | Security | Keychain, pinning, biometrics, encryption |
| :test_tube: | Testing | XCTest, Swift Testing, UI tests, CI/CD |
:bar_chart: Tech Stack
| Category | Technology | Version | |
|---|---|---|---|
| :abc: | Language | Swift 5.9+ | Xcode 15+ |
| :art: | UI (primary) | SwiftUI | iOS 15+ |
| :iphone: | UI (interop) | UIKit / AppKit | iOS 13+ |
| :floppy_disk: | Persistence | SwiftData | iOS 17+ |
| :arrows_counterclockwise: | Concurrency | async/await, actors | iOS 15+ |
| :eyes: | State | @Observable | iOS 17+ |
| :building_construction: | Architecture | MVVM / TCA | All |
| :eyeglasses: | Spatial | RealityKit + ARKit | visionOS 1.0+ |
| :brain: | AI/ML | CoreML + Vision | iOS 15+ |
:speech_balloon: Example Prompts
| What You Want | What to Ask | |
|---|---|---|
| :iphone: | New app | "Create a SwiftUI habit tracker with SwiftData persistence" |
| :bell: | Push notifications | "Add local and remote notification support" |
| :bug: | Fix a bug | "My NavigationStack isn't preserving state on back" |
| :satellite: | Networking | "Create a REST API client that fetches user data" |
| :eyeglasses: | visionOS | "Build a visionOS app with 3D models in immersive space" |
| :watch: | watchOS | "Add a watchOS companion that syncs with iPhone" |
| :card_index_dividers: | Widget | "Create a home screen widget showing today's tasks" |
| :credit_card: | In-app purchase | "Add a subscription paywall with StoreKit 2" |
| :star2: | Stunning UI | "Build onboarding with gradient glass cards and animations" |
| :art: | Design system | "Apply Ocean Blue theme across the entire app" |
| :bar_chart: | Dashboard | "Add stat cards with circular progress and animated counters" |
| :brain: | ML feature | "Add on-device text recognition with Vision framework" |
| :heart: | Health app | "Read step count data from HealthKit and display weekly chart" |
:handshake: Contributing
- :fork_and_knife: Fork this repository
- :pencil2: Add or update documentation in
docs/ - :hammer_and_wrench: Add new templates or patterns
- :arrow_heading_up: Submit a pull request
:scroll: License
MIT License | Copyright (c) 2026 Nagarjuna Reddy
95+ files | 50,000+ lines | 25+ AI platforms | All Apple frameworks
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi