What problem does it solve?
This Skill enables developers to add introspection support for a newly discovered SwiftUI API (view type, modifier, or View extension function) into ViewInspector, reducing manual boilerplate and accelerating test coverage.
Core Features & Use Cases
- API discovery & cataloging: Identify the SwiftUI entity in the local SDK and document available variants and availability.
- Code scaffolding: Generate the necessary ViewType or Modifier wrappers, and integrate into tests and metadata.
- Test & documentation updates: Create or adjust unit tests and readiness docs to reflect the new API, ensuring cross-platform availability.
- Use Case: When you run new-api-support for ContentUnavailableView, the skill will add introspection support so the entity can be inspected in tests via ViewInspector.
Quick Start
Use the tool to add introspection support for a new SwiftUI API, e.g., /new-api-support ContentUnavailableView.