CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

swiftlint

Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI. Covers .swiftlint.yml configuration, disabled_rules, opt_in_rules, only_rules, analyzer_rules, 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 codebases. Use when setting up SwiftLint, configuring lint rules, suppressing warnings, creating baselines, choosing between build tool plugin and run script, or integrating SwiftLint into CI.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is dpearson2699/swift-ios-skills

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a well-structured, highly actionable overview: concrete configs, commands, and suppression syntax, clear sequenced adoption workflows with validation loops, and clean one-level progressive disclosure into five real reference files. The only weakness is mild duplication of the --fix and baseline guidance across sections, which keeps conciseness just below the top anchor.

DimensionReasoningScore

Conciseness

The body is efficient and assumes competence (e.g., "SwiftLint enforces Swift style and conventions by linting source files against a configurable rule set" is one line of scope, not a tutorial), with executable snippets throughout. However, there is minor duplication that could be trimmed: the --fix-in-build-phase warning appears in both "Autocorrect" and "Common Mistakes" #1, and baseline workflow guidance is repeated across "Baselines", "Rule Selection Strategy", and "CI Integration". This fits the 4 anchor (efficient, minor instances that could be trimmed) rather than the 5 anchor (every token earns its place).

4 / 5

Actionability

Guidance is fully executable and copy-paste ready: a complete Package.swift plugin dependency and target declaration, a full starter .swiftlint.yml, exact suppression comment syntax (swiftlint:disable:next/this/previous), baseline commands ("swiftlint --write-baseline .swiftlint.baseline"), the CI lint command ("swiftlint --strict --reporter sarif > swiftlint.sarif"), and a working child config example. The only placeholder, `<reviewed-version>`, is justified by the version-pinning guidance. This matches the 5 anchor; the 4 anchor would require missing key details.

5 / 5

Workflow Clarity

Multi-step processes are clearly sequenced with explicit validation and feedback loops: for existing codebases, "Create a baseline... Run the same strict, baseline-aware command used by CI and fix every new violation. Re-run until green", and "run the exact CI lint command locally... On a nonzero exit, inspect and fix the new violations, then rerun the same command until it passes; do not regenerate the baseline merely to hide the failure". The "Review Checklist" section provides a final checkpoint list. This matches the 5 anchor (explicit validation steps, error-recovery loops, checklists) rather than the 4 anchor (minor validation gaps).

5 / 5

Progressive Disclosure

SKILL.md is a clear overview with well-signaled, one-level-deep references that all exist in the bundle: each section ends with a targeted pointer such as "For full configuration details... see references/adoption-and-configuration.md" and "For baseline workflows and rollout strategy, see references/rules-suppressions-and-baselines.md", and a References section lists all five reference files with scope descriptions. No nested references or inlined bulk content that belongs elsewhere. This matches the 5 anchor.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is third-person, specific, and dense with genuine trigger terms. It explicitly states both what the skill does and when to use it, and is clearly distinguishable from adjacent Swift tooling skills. Its length is justified because nearly every token is either a capability or a trigger phrase rather than padding.

DimensionReasoningScore

Specificity

The description lists multiple concrete capabilities: "Configures and enforces SwiftLint... using build tool plugins, run scripts, and CI", plus specific config keys ("disabled_rules, opt_in_rules, only_rules, analyzer_rules"), "baselines, autocorrect, swiftlint:disable suppressions, reporter formats (sarif, json, checkstyle), strict and lenient modes". Coverage is comprehensive with no vague filler, matching the 5 anchor (multiple specific concrete actions, comprehensive coverage); the 4 anchor would require minor gaps that are not present.

5 / 5

Completeness

It explicitly answers both questions: what it does ("Configures and enforces SwiftLint in Swift projects... Covers .swiftlint.yml configuration, baselines, autocorrect, suppressions, reporter formats... rollout strategies") and when to use it ("Use when setting up SwiftLint, configuring lint rules, suppressing warnings, creating baselines..."). This is a textbook match for the 5 anchor; a 4 would have a less explicit or specific 'when' clause.

5 / 5

Trigger Term Quality

Natural user phrasings are comprehensively covered: "setting up SwiftLint, configuring lint rules, suppressing warnings, creating baselines, choosing between build tool plugin and run script, or integrating SwiftLint into CI", along with concrete tokens like ".swiftlint.yml", "swiftlint:disable", and "SwiftLintBuildToolPlugin". This matches the 5 anchor (comprehensive natural terms including synonyms and file extensions); the 4 anchor would need notable missing terms, which are absent.

5 / 5

Distinctiveness Conflict Risk

The description occupies a clear niche (SwiftLint lint enforcement and setup) with distinct triggers ("setting up SwiftLint", "creating baselines", "choosing between build tool plugin and run script") that would not fire for a general Swift style or architecture skill. Conflict risk is minimal, matching the 5 anchor; the 4 anchor would apply only if it overlapped noticeably with a closely related skill.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

dpearson2699/swift-ios-skills

Path

skills/swiftlint/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.