What problem does it solve? AI-generated Swift Charts code frequently contains invented chart types (BarChart, PieMark), mis-floored availability gates, hand-rolled bar charts built from Rectangles, and missing accessibility descriptors. This Skill audits a macOS SwiftUI project to detect and, where safe, fix these defects using a corpus of 1,857 real shipping apps and Apple documentation. ## Core Features & Use Cases - Hallucination detection: Flags invented symbols like BarChart, PieMark, DonutMark, and .chartType, replacing them with real Swift Charts APIs (Chart, SectorMark, PointMark). - Availability gating checks: Verifies SectorMark (macOS 14), LinePlot (macOS 15), and chart selection modifiers are correctly gated, including detecting wrong-arm #available(iOS) gates in macOS targets. - Hybrid lint engine: Combines ripgrep tells with ast-grep structural rules to locate hand-rolled charts and gate-scope containment that grep cannot express, emitting JSON and SARIF reports. - Use Case: Run the audit on an in-progress macOS app to find a Chart hand-rolled from a ForEach of Rectangles, receive a finding with the correct Chart { BarMark } rewrite sourced from a real shipping app, and apply the fix under a safety protocol. ## Quick Start Audit the Swift Charts code in my macOS project for incorrect APIs, wrong marks, and availability gating issues.