Loading...
Loading...
Use when working with camera, photos, audio, haptics, ShazamKit, or Now Playing. Covers AVCaptureSession, PHPicker, PhotosPicker, AVFoundation, Core Haptics, audio recognition, MediaPlayer, CarPlay, MusicKit.
npx skill4agent add charleswiltgen/axiom axiom-media| Symptom / Task | Reference |
|---|---|
| Camera capture, AVCaptureSession | See |
| Camera API (RotationCoordinator, etc.) | See |
| Camera freezes, black preview, rotation | See |
| Photo pickers, library access | See |
| PHPicker, PhotosPicker API reference | See |
| Audio, AVFoundation, spatial audio | See |
| Audio recognition, ShazamKit | See |
| ShazamKit API reference | See |
| Haptic feedback, Core Haptics | See |
| Now Playing metadata, remote commands | See |
| CarPlay Now Playing | See |
| MusicKit Now Playing | See |
digraph media {
start [label="Media task" shape=ellipse];
what [label="Which media feature?" shape=diamond];
start -> what;
what -> "skills/camera-capture.md" [label="camera capture"];
what -> "skills/photo-library.md" [label="photo pickers\n/ library"];
what -> "skills/avfoundation-ref.md" [label="audio / AVFoundation"];
what -> "skills/shazamkit.md" [label="ShazamKit\n/ audio recognition"];
what -> "skills/haptics.md" [label="haptic feedback"];
what -> "skills/now-playing.md" [label="Now Playing\n/ remote commands"];
}skills/camera-capture.mdskills/camera-capture-ref.mdskills/camera-capture-diag.mdskills/photo-library.mdskills/photo-library-ref.mdskills/avfoundation-ref.mdskills/shazamkit.mdskills/shazamkit-ref.mdskills/haptics.mdskills/now-playing.mdskills/now-playing-carplay.mdskills/now-playing-musickit.mdcamera-auditor| Thought | Reality |
|---|---|
| "Camera capture is just AVCaptureSession setup" | Camera has interruption handlers, rotation, and threading requirements. |
| "I'll add haptics with a simple API call" | Haptic design has patterns for each interaction type matching HIG. |
| "ShazamKit is just SHSession + a delegate" | iOS 17+ has SHManagedSession which eliminates all AVAudioEngine boilerplate. |
| "Now Playing info is just setting metadata" | Remote commands, artwork handling, and state sync have 15+ gotchas. |
| "I'll use UIImagePickerController for photos" | PHPicker/PhotosPicker are the modern API — no permissions required. |
skills/camera-capture.mdskills/camera-capture-diag.mdskills/photo-library.mdskills/haptics.mdskills/now-playing.mdskills/shazamkit.mdcamera-auditor