Skip to content

Swift-lint enforcement that runs in Xcode builds and CI, with baselines for legacy codebases.

CCM score
75 of 100
skills.sh installs
3.1K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers setup through a SimplyDanny/SwiftLintPlugins build tool plugin, plus .swiftlint.yml rule selection, suppressions, and autocorrect
  • Includes reporter formats (sarif, json, checkstyle), analyzer rules, nested and multiple configs, and rollout steps for existing codebases
  • Enforces a baseline workflow in which CI fails only on new violations, so legacy code never blocks adoption
  • Designed for Swift packages and Xcode projects adopting SwiftLint for the first time or moving it into CI

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swiftlint -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SwiftLint

SwiftLint enforces Swift style and conventions by linting source files against a configurable rule set. This skill covers setup, configuration, rule selection, suppression, CI integration, and rollout strategy.

SwiftLint is a style enforcement tool, not a style guide. For underlying Swift naming and design conventions, see swift-api-design-guidelines. For architecture patterns, see swift-architecture.

Contents


Recommended Setup

Default: build tool plugin via SimplyDanny/SwiftLintPlugins.

Add the plugin package to Package.swift or via Xcode's package dependencies:

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Code Review & Quality, Mobile Apps
First seen
Jun 3, 2026

Questions

What does the swiftlint skill help with?

The swiftlint skill configures and enforces SwiftLint in Swift projects, covering .swiftlint.yml setup, rule selection, suppressions, baselines, autocorrect, and CI integration. It recommends a build tool plugin via SimplyDanny/SwiftLintPlugins as the default setup. It also covers rollout strategies for existing codebases.

How do I install the swiftlint skill?

Run npx -y skills add dpearson2699/swift-ios-skills --skill swiftlint -y in a project to install it. Once installed, the agent can set up SwiftLint, write lint configuration, create baselines, and wire SwiftLint into your build and CI.

When should I use the swiftlint skill instead of a general code review skill?

The swiftlint skill is in the Code Review & Quality category, alongside code-review and caveman-review. It focuses on SwiftLint specifically, covering rule configuration, reporter formats such as sarif and json, and baselines for legacy code. Use it when you need to set up or tune SwiftLint rather than review code by hand.

Can the swiftlint skill help me adopt SwiftLint in an existing codebase?

Yes, the skill describes a rollout strategy for existing codebases: start with default rules, create a baseline to suppress current violations, then fail CI only on new violations. It also explains how to burn down the baseline incrementally over time.

More from dpearson2699/swift-ios-skills

All 94

Similar to Swiftlint

More Code Review & Quality