Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI.

Custom licenceAuto-check passedMobile

Install Swiftlint

skills CLI
$ npx skills add dpearson2699/swift-ios-skills --skill swiftlint -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dpearson2699/swift-ios-skills swiftlint --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dpearson2699/swift-ios-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/swiftlint .claude/skills/swiftlint && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swiftlint
GitHub stars
1.2k
Token cost
~3.8k tokens
SKILL.md length
1,447 words
Files
7 (incl. references)
Skills in repo
86
Repo updated
First seen
Licence
Custom licence

At a glance

Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI.

  • Works in 3 steps: Default rules — enabled automatically,… → Opt-in rules — disabled by default,… → Analyzer rules — require compiler logs,…
  • Setting up SwiftLint
  • SKILL.md covers Contents, Recommended Setup, Configuration and Rule Selection Strategy, plus 9 more sections
  • Calls swift; reaches github.com

What it does

Swiftlint is an agent skill from dpearson2699/swift-ios-skills. Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI. Covers .swiftlint.yml configuration, disabledrules, optinrules, onlyrules, analyzerrules, baselines, autocorrect, swiftlint:disable suppressions, reporter formats (sarif, json, checkstyle), strict and lenient modes, SwiftLintBuildToolPlugin via SimplyDanny/SwiftLintPlugins, swift package plugin swiftlint, Xcode run script phases, CI integration, multiple configuration files, and rollout strategies for existing…

Its SKILL.md is about 3.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `evals/evals.json`, `references/adoption-and-configuration.md` and `references/custom-rules-and-analyze.md`).

It sits in Mobile, covering iOS development. It works with Xcode and Swift. The repository describes itself as: Agent Skills for iOS 26+, Swift 6.3, SwiftUI, and modern Apple frameworks.

When your agent uses it

  • Setting up SwiftLint
  • Configuring lint rules
  • Suppressing warnings
  • Creating baselines

Example prompts

  • “Use the swiftlint skill to configure and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI”
  • “/swiftlint”

Requirements

  • Docker

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Default rules — enabled automatically, cover widely accepted conventions
  2. Opt-in rules — disabled by default, enable selectively via opt_in_rules
  3. Analyzer rules — require compiler logs, enabled via analyzer_rules

What it can do on your machine

Read from SKILL.md and the folder at commit 8d90fd1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • swift

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    Also links to:

    • realm.github.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swiftlint loads about 3.8k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 180 tokens; SKILL.md has 1,447 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~180
When it runs · the whole SKILL.md, loaded when a task matches
~3.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~15k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,447 words (~3,812 tokens).

“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.”

— opening of SKILL.md by dpearson2699, Custom licence
name
swiftlint

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (references) in skills/swiftlint of dpearson2699/swift-ios-skills.

  • SKILL.md
  • evals/evals.json
  • references/adoption-and-configuration.md
  • references/custom-rules-and-analyze.md
  • references/plugins-run-scripts-and-integrations.md
  • references/rule-reference.md
  • references/rules-suppressions-and-baselines.md

Open the folder on GitHubat commit 8d90fd1

Compare with similar skills

Swiftlint next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swiftlint compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swiftlint this skilldpearson2699/swift-ios-skills1.2k—~3.8kAutomated safety check: PassCustom licence
macOS Spm App PackagingDimillian/Skills4k5 repos~1.2kAutomated safety check: PassMIT
Spm Build Analysisomarshahine/HomeClaw1751 repos~1.5kAutomated safety check: PassMIT
Inspector MCPipedro/Inspector170—~3.4kAutomated safety check: PassMIT
Woo iOS Swift 6 Migrationwoocommerce/woocommerce-ios358—~3.2kAutomated safety check: NotesGPL-2.0
Mlkit Released-date/google-mlkit-swiftpm148—~1.7kAutomated safety check: PassApache-2.0

Similar skills

  • macOS Spm App Packaging

    Dimillian/Skills

    Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.

    4k GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Spm Build Analysis

    omarshahine/HomeClaw

    Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds.

    175 GitHub starsUsed in 1 repo~1.5k tokens
    MobileAuto-check passed
  • Inspector MCP

    ipedro/Inspector

    A skill your agent uses when an agent needs to inspect a live iOS app through the Inspector MCP bridge, register or troubleshoot InspectorMCPServer for a consumer Xcode project, or query, resolve…

    170 GitHub stars~3.4k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Woo iOS Swift 6 Migration

    woocommerce/woocommerce-ios

    Diagnose and fix Swift strict-concurrency warnings in WooCommerce iOS.

    358 GitHub stars~3.2k tokensUpdated today
    MobileAuto-check: notes
  • Mlkit Release

    d-date/google-mlkit-swiftpm

    A skill your agent uses when triaging incoming issues or PRs for google-mlkit-swiftpm, or when cutting a release.

    148 GitHub stars~1.7k tokensUpdated yesterday
    MobileAuto-check passed
  • Builds, tests, archives, and deploys Swift packages and Xcode projects for Apple platforms.

    208 GitHub stars~2.8k tokensUpdated 2 mo ago
    MobileAuto-check: notes

More from dpearson2699/swift-ios-skills

All 86 skills in this repo
  • iOS Memgraph Analysis

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…

    1.2k GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • iOS Ettrace Performance

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing ETTrace profiles for a focused iOS launch or runtime flow, including exact-build dSYM UUID matching, Simulator or device capture, processed…

    1.2k GitHub stars~2.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Accessorysetupkit

    dpearson2699/swift-ios-skills

    Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Activitykit

    dpearson2699/swift-ios-skills

    Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit.

    1.2k GitHub stars~4.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Adattributionkit

    dpearson2699/swift-ios-skills

    Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Alarmkit

    dpearson2699/swift-ios-skills

    Implement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, StandBy, and paired Apple Watch system UI.

    1.2k GitHub stars~3.3k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about Swiftlint

What does Swiftlint do?

Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI. Swiftlint is an agent skill from dpearson2699/swift-ios-skills. Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI.

When should I use Swiftlint?

Swiftlint fits situations like: setting up SwiftLint; configuring lint rules; suppressing warnings; creating baselines.

How do I install Swiftlint in Claude Code?

Run `npx skills add dpearson2699/swift-ios-skills --skill swiftlint -a claude-code`. Or copy the skill folder (skills/swiftlint in dpearson2699/swift-ios-skills) into .claude/skills/swiftlint in your project. Claude Code loads it when a task matches its description.

How do I install Swiftlint in Codex?

Run `npx skills add dpearson2699/swift-ios-skills --skill swiftlint -a codex`. Or copy the skill folder (skills/swiftlint in dpearson2699/swift-ios-skills) into .agents/skills/swiftlint in your project. Codex loads it when a task matches its description.

Can I use Swiftlint in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dpearson2699/swift-ios-skills --skill swiftlint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swiftlint, .gemini/skills/swiftlint, .github/skills/swiftlint and .opencode/skills/swiftlint in your project.

What does Swiftlint need to run?

Going by SKILL.md and its folder, Swiftlint needs the command-line tools its instructions call (swift). Our summary lists: Docker.

Does Swiftlint access the network?

SKILL.md names 2 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: realm.github.io. This is read from the text; nothing was executed.

Is Swiftlint safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Swiftlint use?

Swiftlint has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Swiftlint use?

About 3.8k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Swiftlint?

Skills that share tags, products or a category with Swiftlint: macOS Spm App Packaging (Dimillian/Skills, 4k stars), Spm Build Analysis (omarshahine/HomeClaw, 175 stars), Inspector MCP (ipedro/Inspector, 170 stars) and Woo iOS Swift 6 Migration (woocommerce/woocommerce-ios, 358 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swiftlint?

dpearson2699 (a GitHub user) maintains it in dpearson2699/swift-ios-skills, which has 1,182 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on July 31, 2026.

Source: dpearson2699/swift-ios-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.