axiom-media

Guide AVFoundation camera capture, photo library access, and media playback on Apple platforms.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-media
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-media
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-media
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-media

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a centralized, expert-level guide for handling complex media tasks, including camera capture, photo library management, audio processing, and media playback, ensuring you follow Apple's latest best practices and avoid common pitfalls.

Core Features & Use Cases

  • Camera & Photo Control: Manage AVCaptureSession, PHPicker, and PhotosPicker with professional-grade configuration.
  • Audio & Media Engine: Implement advanced audio sessions, AVFoundation pipelines, and spatial audio capture.
  • Use Case: If you are building a high-performance camera app, use this skill to correctly implement deferred start for fast launch times, handle rotation with the RotationCoordinator, and manage system pressure to prevent dropped frames during ProRes recording.

Quick Start

Invoke the axiom-media skill to guide you through setting up a camera preview with proper rotation handling and session management.

Frequently Asked Questions about axiom-media

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

FAQPage Schema
How do I handle AVCaptureSession rotation and prevent dropped frames during ProRes recording?

To handle AVCaptureSession rotation and prevent dropped frames, use the RotationCoordinator for orientation changes and monitor system pressure to proactively manage hardware resources during demanding ProRes recording.

What's the best way to implement deferred start for fast camera launch times in iOS?

The best way to achieve fast camera launch times is by implementing a deferred start for your AVCaptureSession, which delays resource-heavy initialization until after the initial UI renders, ensuring a smooth user experience.

How does AVFoundation handle spatial audio capture in high-performance media engines?

AVFoundation handles spatial audio capture through advanced audio session configurations integrated into its media engine pipelines, allowing developers to process complex audio workflows with hardware acceleration.

Can I use PHPicker and PhotosPicker for photo library access while maintaining privacy compliance?

Yes, you can use PHPicker and PhotosPicker for photo library access; both components manage photo selection securely, ensuring your app maintains strict privacy compliance by minimizing required system permissions.

Why does async writing matter for media capture workflows on Apple platforms?

Async writing matters for media capture because it prevents disk I/O bottlenecks from blocking the camera pipeline, ensuring smooth frame processing and maintaining overall application responsiveness.

How do I set up a camera preview with proper rotation handling in Swift?

To set up a camera preview with proper rotation handling in Swift, configure your AVCaptureSession with the RotationCoordinator to dynamically adjust video orientation based on device movement and UI layout.