willsigmon

swiftlint-autofix

Run SwiftFormat and fix all auto-correctable SwiftLint issues

willsigmon 10 1 Updated 3mo ago
GitHub

Install

npx skillscat add willsigmon/sigstack/swiftlint-autofix

Install via the SkillsCat registry.

SKILL.md

SwiftLint Auto-Fix Workflow

Automatically fix code style issues:

  1. Run SwiftFormat:
make format
  1. Run SwiftLint with autocorrect:
swiftlint --fix --quiet
  1. Check remaining issues:
swiftlint | grep -E "(error:|warning:)" | head -20
  1. Report:
  • Files formatted count
  • Issues auto-fixed count
  • Remaining manual issues
  • File paths needing manual attention

Return concise summary of what was fixed.