Command Palette

Search for a command to run...

Назад к скиллам
скилл № 99775

lint

Lint code with swiftlint and swiftformat

БесплатноБез исполняемых скриптов
adamayoungот adamayoung★ 182 звезды на GitHub

Установить lint в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

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.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл lint?

Lint code with swiftlint and swiftformat

Как установить скилл lint?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lint запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить lint с