avfoundation

Community

AVFoundation patterns for media capture & playback

AuthorAutisticAF
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Working with AVFoundation is complex and error-prone across camera capture, audio/video playback, session configuration, permissions, and media export; this skill centralizes patterns, safe threading, and common code examples to help developers implement these features correctly.

Core Features & Use Cases

  • Camera capture setups including photo and video recording with AVCaptureSession and AVCapturePhotoOutput/AVCaptureMovieFileOutput.
  • Playback patterns using AVPlayer, AVPlayerViewController, and SwiftUI VideoPlayer with status and time observation.
  • Audio session configuration and interruption handling for playback, recording, and video chat use cases.
  • Media composition and export using AVMutableComposition, AVVideoComposition, and AVAssetExportSession, plus guidance on permissions and Info.plist requirements.

Quick Start

Ask the skill to generate a SwiftUI camera preview using AVCaptureSession with proper permission checks, a dedicated session queue, and start/stop lifecycle handling.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: avfoundation
Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#avfoundation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.