Files
Maksim Dimitrov 6792e91735 feat: add Swift language-specific rules
Add 5 rule files for Swift following the established pattern used by
TypeScript, Python, and Go rule sets. Covers Swift 6 strict concurrency,
Swift Testing framework, protocol-oriented patterns, Keychain-based
secret management, and SwiftFormat/SwiftLint hooks.
2026-02-17 15:43:14 +02:00

509 B

paths
paths
**/*.swift
**/Package.swift

Swift Hooks

This file extends common/hooks.md with Swift specific content.

PostToolUse Hooks

Configure in ~/.claude/settings.json:

  • SwiftFormat: Auto-format .swift files after edit
  • SwiftLint: Run lint checks after editing .swift files
  • swift build: Type-check modified packages after edit

Warning

Flag print() statements — use os.Logger or structured logging instead for production code.