Airbnb Swift Style

Teaches your agent to follow Airbnb's Swift style guide when it writes code.

View on GitHub ↗
Stars
★ 27
Last commit
2 Apr 2026
Maintenance
Slowing
Licence
MIT
Category
Agent Skills
GitHub
cassiewallace/airbnb-swift-style-agent-skill

Overview

An agent skill that teaches your AI coding tool the Airbnb Swift Style Guide rule by rule. It reviews Swift code against the guide, explains which rule was broken and why, and rewrites code to match. It's for iOS and Swift developers and teams who want consistent style in new code and in pull request reviews.

Features

  • Scans Swift files or snippets for style violations, grouped by naming, formatting, style and patterns
  • Checks naming conventions such as casing, boolean prefixes and acronym capitalisation
  • Flags long lines, tab indentation and trailing whitespace
  • Applies patterns such as removing redundant self and replacing force unwrapping
  • Rewrites a snippet to follow the guide and summarises every change
  • Designed to sit alongside SwiftFormat and SwiftLint rather than replace them

Requirements

The source doesn't list any requirements, so check the project's own docs before you install.

Install

  1. Install with the skills CLI

    npx skills add https://github.com/cassiewallace/Airbnb-Swift-Style-Agent-Skill --skill airbnb-swift-style
  2. Or install as a Claude Code plugin

    /plugin marketplace add cassiewallace/Airbnb-Swift-Style-Agent-Skill
    /plugin install airbnb-swift-style@airbnb-swift-style-agent-skill
  3. Or clone the repo and copy the airbnb-swift-style folder into your agent's skills directory, then reload skills

Example

After installing, ask your agent "What Swift style rules do you know about?" to check it is loaded, then paste a Swift file and ask for a style review.

Works with

Claude CodeCursorWindsurf

Listed in

swiftskills.dev

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

More in this category