Skip to content
Back to skills

Lint

ASecurity

Lint code with swiftlint and swiftformat

  • 181 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
developmentpythonswift

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add adamayoung/TMDb --skill lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adamayoung-lint/badge)](https://www.skillsdirectory.com/skills/adamayoung-lint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lint
description: Lint code with swiftlint and swiftformat
---

# Lint code

Run `make lint` from the project root to check code style. It runs **eight**
checks, in order: six Python scripts under `Scripts/` — `lint-witnesses`
(`check-defaulted-witnesses.py`, protocol conveniences that would witness their
own requirement), `lint-fixtures` (`check-fixtures.py`, JSON fixture hygiene),
`lint-curation` (`check-docc-curation.py`, public methods missing from their
DocC page), `lint-prose` (`check-prose-call-forms.py`, code samples calling a
method that does not exist), `lint-readme-version`
(`check-readme-version.py`, README's `.package(from:)` vs the newest
`CHANGELOG.md` release) and `lint-run-list` (`run-script-tests.py` — despite
the target's name, **every** suite under `Scripts/tests/`: the `/triage-issues`
run-list builder, the `/deliver` selection-prose anti-drift cases, the
`deliver-runfile.py` writer, and the workflow cache-key/change-gate cases) —
then `swiftlint --strict .`, then `swiftformat --lint .`.

Each script enforces something no single-file linter can see, and a failure in
any of them is **not** a formatting problem: `/format` will not fix it.

Run this directly — it is fast and low-output, so delegating to a subagent would
cost more (subagent overhead) than it saves.

If you see `superfluous_disable_command` errors on files you did not just change,
it is usually a swiftlint version-drift artifact (the pin is swiftlint 0.63.2 /
swiftformat 0.61.1), not a real violation. Run `/format` to auto-fix fixable
violations.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.