swift

Installation
SKILL.md

Google Swift Style Guide

Official Google Swift coding standards for consistent, maintainable iOS/macOS code.

Golden Rules

  1. Clear, descriptive names — readability at the call site
  2. Prefer let over var — immutability by default
  3. Use optionals properly — avoid force unwrapping (!)
  4. Protocol-oriented programming — prefer protocols over inheritance
  5. guard for early returns — reduce nesting with early exits
  6. Use type inference — let Swift infer types when obvious
  7. SwiftLint for consistency — automate style enforcement

Quick Reference

Naming Conventions

Installs
2
GitHub Stars
11
First Seen
Sep 14, 2026