swiftui-review

Reviews SwiftUI code for deprecated and non-idiomatic macOS API usage.

2|1|Updated Jun 7, 2026
One-click install
npx skills add https://github.com/yigitkonur/plugin-swiftui --skill swiftui-review-yigitkonur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-review
Source: https://github.com/yigitkonur/plugin-swiftui/tree/main/plugins/swiftui/skills/swiftui-review
Command: npx skills add https://github.com/yigitkonur/plugin-swiftui --skill swiftui-review-yigitkonur

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? SwiftUI code written by coding agents often contains deprecated modifiers, outdated API shapes, and idioms that no longer match how shipping macOS apps are written. This Skill reviews SwiftUI files or diffs against a catalog of real-world usage from 1,857 open-source macOS apps to flag stale patterns with evidence. ## Core Features & Use Cases - Deprecated API Detection: Runs the bundled swiftui-ctx CLI to check each SwiftUI symbol against a deprecation catalog parsed from the macOS SDK. - Idiom Verification: Looks up how real shipping apps use a given API, with GitHub permalinks pinned to commit SHAs as evidence. - Prioritized Findings: Reports issues as path:line entries ordered by severity, from deprecated APIs down to minor style nits. - Use Case: After generating a new SwiftUI settings window, ask for a review to catch deprecated modifiers and non-consensus patterns before committing. ## Quick Start Ask the agent to use $swiftui-review to review your changed SwiftUI files for deprecated and non-idiomatic macOS usage.

Frequently Asked Questions about swiftui-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review SwiftUI code for deprecated APIs?

Invoke $swiftui-review on a file path or your changed Swift files. It runs the swiftui-ctx CLI to check each SwiftUI symbol against a deprecation catalog and reports findings as path:line entries with fixes and permalink evidence.

What does the SwiftUI review check for?

It checks for deprecated APIs, outdated or non-consensus API shapes, and minor style nits. Findings are ranked high, medium, and low severity, each backed by usage data from 1,857 real open-source macOS apps.

Does swiftui-review rewrite my code automatically?

No, it only reports findings with suggested fixes. The Skill explicitly does not rewrite code unless you ask for fixes, keeping the review step separate from code changes.

Can I use swiftui-review without specifying a file path?

Yes, when no path is given it reviews your changed Swift files by default. You can also name a specific path to scope the review to particular files.

What happens if the catalog cannot verify an API claim?

The Skill reports that the claim cannot be verified instead of guessing. This keeps review findings grounded in the parsed SDK surface and real-world usage data rather than speculation.