Airbnb Swift Style

Enforces the Airbnb iOS Swift Style Guide on Swift code. Use this skill any time the user wants to: review Swift code for style compliance, lint or audit an iOS codebase, apply Airbnb Swift conventions to new or existing code, understand why code violates Airbnb style rules, or get corrected rewrites of Swift snippets. Triggers on any request mentioning Swift code quality, iOS code review, Airbnb style, linting Swift files, or when the user pastes Swift code and asks for feedback, fixes, or a review. Also use when the user asks to "clean up" or "format" Swift code, or asks "is this good Swift?

27 stars 1 forksMobile Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cassiewallace/airbnb-swift-style-agent-skill --skill airbnb-swift-style
Manual install
git clone --depth 1 https://github.com/cassiewallace/airbnb-swift-style-agent-skill.git /tmp/airbnb-swift-style-agent-skill
mkdir -p ~/.claude/skills
cp -r /tmp/airbnb-swift-style-agent-skill/. ~/.claude/skills/airbnb-swift-style

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Airbnb iOS Swift Style Guide Enforcer

You help developers write Swift that conforms to the [Airbnb Swift Style Guide](https://github.com/airbnb/swift). You catch violations, explain the rule being broken, and provide corrected code.

## How to handle a request

1. **Identify what the user wants.** They might want:
   - A full review of a file or snippet (report all violations)
   - Auto-corrected code (rewrite the code clean)
   - An explanation of a specific rule
   - Guidance before writing new code

2. **When reviewing code:**
   - Read `references/rules.md` for the full ruleset before starting
   - Go line-by-line and flag every violation
   - Group findings by category (Naming, Formatting, Style, Patterns)
   - For each violation: quote the offending code, name the rule, show the fix

3. **When rewriting code:**
   - Apply all rules silently and return clean, corrected Swift
   - Add a brief summary of what was changed at the end

4. **When explaining rules:**
   - Give the rule name, what it requires, why it exists, and a before/after example

## Output format for a code review

```
## Airbnb Swift Style Violations

### Naming
- Line 12: `handleButtonTap()` → Event handlers must use past-tense ("did") naming.
  Fix: `didTapButton()`

### Formatting
- Line 7: Line exceeds 100 characters (found 118).
  Fix: Break after the opening parenthesis and align parameters.

---
**Summary:** 2 violations found. See fixes above.
```

## Decision tree — what to do first
Read the full skill on GitHub

Details

Skill name
airbnb-swift-style
License
MIT
Repo updated
2 April 2026

FAQ

What does the Airbnb Swift Style skill do?

Enforces the Airbnb iOS Swift Style Guide on Swift code. Use this skill any time the user wants to: review Swift code for style compliance, lint or audit an iOS codebase, apply Airbnb Swift conventions to new or existing code, understand why code violates Airbnb style rules, or get corrected rewrites of Swift snippets. Triggers on any request mentioning Swift code quality, iOS code review, Airbnb style, linting Swift files, or when the user pastes Swift code and asks for feedback, fixes, or a review. Also use when the user asks to "clean up" or "format" Swift code, or asks "is this good Swift?

How do I install the Airbnb Swift Style skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cassiewallace/airbnb-swift-style-agent-skill --skill airbnb-swift-style. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Airbnb Swift Style popular?

It lives in cassiewallace/airbnb-swift-style-agent-skill, which has 27 GitHub stars and 1 forks.

Related skills

Flutter Bloc Development

21

AbdelhakRazi/flutter-bloc-clean-architecture-skill

Build Flutter features using BLoC state management, clean architecture layers, and the project's design system. Apply when creating screens, widgets, or data integrations.

Mobile Development

Apple Engineer Superpowers

28

piemonte/apple-engineer-superpowers

Use when writing Swift code for Apple platforms - iOS, macOS, visionOS. Covers Swift 6 concurrency, actors, Sendable, async/await, SwiftUI, MVVM architecture, Metal GPU programming, RealityKit ECS, visionOS scenes, interpolation/animation, advanced collection types, property wrappers, Combine bridging, error handling, testing, and API design patterns.

Mobile Development

Swift Focusengine Pro

22

mhaviv/Swift-FocusEngine-Agent-Skill

Reviews, writes, and fixes focus management code for all Apple platforms (tvOS, iOS/iPadOS, watchOS, visionOS, macOS), covering SwiftUI, UIKit, AppKit, and RealityKit. Use when reading, writing, or reviewing apps that handle focus, hover, key view loops, or Digital Crown navigation.

Mobile Development

Swiftui Design Principles

33

arjitj2/swiftui-design-principles

Design principles for building polished, native-feeling SwiftUI apps and widgets. Use this skill when creating or modifying SwiftUI views, iOS widgets (WidgetKit), or any native Apple UI. Ensures proper spacing, typography, colors, and widget implementations that look and feel like quality apps rather than AI-generated slop.

Mobile Development

Swiftui Autotest Skill

23

yusufkaran/swiftui-autotest-skill

AI-powered visual testing and accessibility setup for iOS/SwiftUI apps. Build, launch in Simulator, test with computer use, detect crashes, analyze memory leaks, and add accessibility identifiers — all from the terminal.

Mobile Development

Offline First Pwa

31

mattiasgeniar/offline-first-pwa

Rules for building offline-first Progressive Web Apps that launch instantly from the home screen. Use when building, reviewing or debugging a PWA, or anything touching a service worker, a web app manifest, precaching, an in-app update prompt, iOS home screen behaviour, or safe-area/notch layout.

Mobile Development

Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.