axint.swift.validate
Validate Swift source against 140+ Apple-specific build-time rules to catch concurrency, Live Activities, and coding errors Xcode hides. Read-only diagnostics for pre-build checks.
Instructions
Validate existing Swift source against Axint's Apple-specific build-time rules (AX700–AX749) including Swift 6 concurrency and Live Activities. Catches bugs Xcode buries behind generic 'type does not conform' errors: missing perform() on AppIntent, missing var body on Widget, @State let instead of var, Sendable violations, @MainActor misuse on actors, missing ActivityAttributes ContentState, and 140+ more. Use: use on generated or edited Swift before build; pair with swift.fix for mechanical repairs. Effects: read-only Swift diagnostics; writes no files and uses no network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file name to attach to diagnostics for editor integration. | |
| source | Yes | Full Swift source code to validate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| isError | No |