Swiftlint
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
Own this skill? Claim it
What it does
- Covers setup through a
SimplyDanny/SwiftLintPluginsbuild tool plugin, plus.swiftlint.ymlrule 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 -yInstalls 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
- Configuration
- Rule Selection Strategy
- Suppressions
- Baselines
- Autocorrect
- CI Integration
- Integration Decision Tree
- Multiple Configurations
- Common Mistakes
- Review Checklist
- References
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- Swift Formatstyle3K
- Core Data3K
- Focus Engine3K
- Mapkit Location461
- Eventkit Calendar415
- Cloudkit Sync413
- Metrickit Diagnostics409
- Musickit Audio409
- Realitykit Ar407
- Callkit Voip403
- Pencilkit Drawing403
- Homekit Matter402
- Passkit Wallet401
- Swiftui Animation6K
- Ios Accessibility5.5K
- App Store Review5.1K
- Swiftui Performance5K
- Swiftui Patterns5K
- Ios Networking4.8K
- Swiftui Navigation4.8K
- Swift Testing4.8K
- Ios Localization4.8K
- Swift Concurrency4.7K
- Swiftui Layout Components4.6K
Similar to Swiftlint
More Code Review & Qualityxcode-build-fixerSkillavdlee/xcode-build-optimization-agent-skill3.8K installsAutomated Xcode build optimization fixer that applies approved changes, then re-benchmarks to verify gains or flag regressions.
xcode-project-analyzerSkillavdlee/xcode-build-optimization-agent-skill3.7K installsAudit Xcode project settings, schemes, and script phases for build-time fixes that need explicit approval.
harmonizePluginperrystreetsoftware/Harmonize365 starsArchitectural linting for Swift, for humans and AI agents: run Harmonize rules with machine-readable output, fix violations, and write new rules.
golang-lintSkillsamber/cc-skills-golang43.3K installsConfiguration and workflow guidance for golangci-lint, covering linter selection, nolint suppression rules, and output interpretation.
Pare LintMCP serverdave-london141 starsStructured linting and formatting via ESLint, Prettier, Biome, and Oxlint as typed JSON.
static-code-analysisSkillaj-geddes/useful-ai-prompts625 installsConfigurable static analysis setup covering linting, formatting, and security scanning for code standards enforcement.