axiom-camera-capture

Build AVCaptureSession-based camera workflows with live preview and rotation-aware capture.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-camera-capture-pradeepmouli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: axiom-camera-capture
Source: https://github.com/pradeepmouli/swift-template/tree/main/.agents/skills/axiom-camera-capture
Command: npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-camera-capture-pradeepmouli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implementing a robust, customizable camera workflow for iOS and macOS apps that provides a live preview, rotation-safe capture, and resilient session management.

Core Features & Use Cases

  • Custom camera UI with live preview and seamless rotation handling
  • Photo capture with correct orientation for both front and back cameras
  • Video recording with audio and resilient session management during interruptions
  • Advanced features such as zero-shutter-lag, responsive capture, and readiness-based shutter state

Quick Start

Capture photos with rotation-aware preview and enable video recording in a custom camera UI.

Frequently Asked Questions about axiom-camera-capture

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

FAQPage Schema
How do I handle camera rotation for AVCaptureSession live preview in iOS?▼

Camera rotation handling requires a RotationCoordinator to ensure correct orientation for AVCaptureSession live preview. This architecture maintains rotation-safe capture across device orientations for both front and back cameras.

What's the best way to build a custom camera UI with live preview in Swift?▼

Building a custom camera UI with live preview in Swift requires an AVCaptureSession-based architecture. This approach provides photo capture, video recording, and seamless rotation handling within a single customizable workflow.

Can I record video with audio and handle session interruptions using AVFoundation?▼

Video recording with audio and resilient session management is supported during interruptions using AVFoundation. The architecture maintains session stability across camera switches and interruption events.

Does AVFoundation support zero-shutter-lag photo capture on iOS?▼

Zero-shutter-lag photo capture is supported as an advanced feature in AVFoundation. A readiness coordination mechanism enables responsive capture by managing shutter state based on session readiness.

Why do my captured photos have the wrong orientation when switching cameras in AVFoundation?▼

Incorrect photo orientation during camera switches occurs without proper RotationCoordinator implementation. Correct orientation handling for both front and back cameras requires an AVCaptureSession-based architecture with readiness coordination.