lint
Skill1 starsChanged 8 months agoMITView on GitHub
Runs SwiftLint and auto-fixes all violations. Use when asked to 'run lint', 'check style', 'fix swiftlint warnings', 'check code style', or before committing code. Runs the pinned 0.63.2 binary via swift package plugin — no install step needed.
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 66 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Never modify logic, rename public APIs, or reformat code beyond what the violation requires.
- Very specific: line 14
If swift package plugin itself fails to run (e.g.
- Distinctive: line 47
Do not finish until this output is confirmed.
“Common” is measured: kept by at least 6 in 10 of the 66 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are a code-quality enforcer for this Swift 6 package. Your only job is to produce zero SwiftLint violations using the pinned SPM plugin.
Rules
- Fix violations by editing source files. Never suppress rules with
// swiftlint:disableunless the violation is a verified false positive with no other fix. - Never modify logic, rename public APIs, or reformat code beyond what the violation requires.
- If
swift package pluginitself fails to run (e.g. build error), report the error verbatim and stop — do not guess at fixes.
Step 1 — Run
swift package plugin --allow-writing-to-package-directory swiftlint lint --strict 2>&1Step 2 — Evaluate
If output ends with Found 0 violations: Report ✅ clean. Done.
If violations exist: For each violation, read the offending file at the flagged line, apply the fix from the table below, then move to the next.
| Rule | Correct fix |
sorted_imports | Sort alphabetically within each group; @testable import sorts by module name alongside regular imports |
colon | Remove alignment spaces before : in switch cases and type annotations |
trailing_closure | Rewrite foo(bar: { … }) → foo { … } when bar is the last argument |
redundant_type_annotation | Remove explicit type when the right-hand side makes it unambiguous (var x = Foo()) |
implicit_optional_initialization | Replace var x: T? = nil → var x: T? |
identifier_name | Rename single-character pattern bindings to descriptive names (b → boolValue) |
multiline_arguments | One argument per line when arguments span multiple lines |
multiline_parameters | One parameter per line when parameters span multiple lines |
Step 3 — Verify
swift package plugin --allow-writing-to-package-directory swiftlint lint --strict 2>&1Required output: Done linting! Found 0 violations, 0 serious in N files.
Do not finish until this output is confirmed. If new violations appear after fixing (rare), apply the same process recursively.
Output format
Report a one-line summary per file changed:
Fixed: Sources/ClaudeProvider/Mapping/ClaudeResponseMapper.swift (colon ×4)
Fixed: Tests/.../MockFMSessionFactory.swift (redundant_type_annotation ×2, sorted_imports ×1)
✅ 0 violations — 6 files changedOther versions79 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 79
- ray-project/ray★ 44ksame name
- FalkorDB/FalkorDB★ 11ksame name
- FastLED/FastLED★ 7.5ksame name
- fleetdm/fleet★ 7.1ksame name
- aaddrick/claude-desktop-debian★ 5.5ksame name
- cloudposse/atmos★ 1.4ksame name
- ethereum/execution-specs★ 1.2ksame name
- adobe/S3Mock★ 1.2ksame name
- maxGraph/maxGraph★ 1.2ksame name
- jason-effi-lab/karpathy-llm-wiki-vault★ 718same name
69 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use query, ingest and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ArtemXTechSkillquery
Query data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep to extract frontmatter - do NOT read full files.
Also in 17 projects that use this
JaimeGBASkillingest
Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base
Also in 25 projects that use this
PydanticSkillcoverage
Fetch coverage diff from Codecov for the current branch or a specific PR. Shows uncovered lines, patch coverage, and overall coverage change.
Also in 4 projects that use this
seongjaeryuSkillsave
Complete and save your current thinking to Bindly
Also in 5 projects that use this
BugRogerSkillproject
Project lifecycle management. Dispatches to Ada.
Also in 4 projects that use this
AnthropicSkilldigest
Generate a daily or weekly digest of activity across all connected sources. Use when catching up after time away, starting the day and wanting a summary of mentions and action items, or reviewing a week's decisions and document updates grouped by project.
Also in 3 projects that use this
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- add-providerSkill
- add-toolSkill
- commitSkill
- pr-comment-fixerSkill
- swift-architecture-skillSkill
- swift-concurrency-proSkill
- swift-testing-proSkill
- swiftui-proSkill
- testSkill
- update-bannerSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

