app-extensions

Generate Swift code for iOS app extensions with App Groups.

603|51|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill app-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: app-extensions
Source: https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/generators/app-extensions
Command: npx skills add https://github.com/rshankras/claude-code-apple-skills --skill app-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies the complex process of creating and integrating various types of app extensions, enabling seamless functionality sharing between your main app and other applications or the system.

Core Features & Use Cases

  • Multiple Extension Types: Generates code for Share Extensions, Action Extensions, Keyboard Extensions, and Safari Web Extensions.
  • Data Sharing: Configures App Groups for secure data sharing between the host app and extensions.
  • Use Case: You need to add a Share Extension to your iOS app so users can share photos directly from the Photos app into your app for editing. This Skill will generate the necessary ShareViewController, Info.plist, and data sharing infrastructure.

Quick Start

Use the app-extensions skill to add a share extension that handles images.

Frequently Asked Questions about app-extensions

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

FAQPage Schema
How do I create a Share Extension in SwiftUI to handle images from the Photos app?

To create a Share Extension for handling images, you need a ShareViewController and an Info.plist configured for image content types. This Skill generates this production-ready Swift code infrastructure, including the necessary data sharing setup for your host app.

How does data sharing between app extensions and host apps work?

Data sharing between app extensions and host apps works by configuring App Groups. This Skill facilitates this secure data sharing by generating shared data managers that allow your main iOS app and its extensions to access common data.

What iOS and Swift versions are required for building keyboard and Safari extensions?

Building keyboard and Safari extensions requires iOS 16+ and Swift 5.9+. This Skill specifically supports these version requirements to generate extension targets and handle content types for Share, Action, Keyboard, and Safari Web Extensions.

Can I generate an Action Extension and a Safari Web Extension using the same infrastructure?

Yes, you can generate both Action and Safari Web Extensions using the same infrastructure. This Skill supports multiple extension types, providing the Swift code infrastructure needed to integrate various extension targets within your iOS application.

What is the best way to add a custom keyboard extension to my iOS app?

The best way to add a custom keyboard extension is to generate the required Swift code infrastructure for the extension target. This Skill simplifies creating Keyboard Extensions and handles the App Groups configuration for secure data sharing with your host app.