Directory Structure
skills/apple-media/
SKILL.md
references/
avf-playback/
README.md
avplayer.md
avqueueplayer.md
avplayeritem.md
avplayerlayer.md
avplayerviewcontroller.md
videoplayer.md
avasset.md
avurlasset.md
avassettrack.md
avplayeritemvideooutput.md
avmutablecomposition.md
avf-capture/
README.md
avcapturesession.md
avcapturedevice.md
avcapturedevice-discoverysession.md
avcapturedeviceinput.md
avcaptureoutput.md
avcapturephotooutput.md
avcapturephotosettings.md
avcapturemoviefileoutput.md
avcapturevideodataoutput.md
avcapturevideopreviewlayer.md
avcapturemetadataoutput.md
avf-audio/
README.md
avaudioplayer.md
avaudiorecorder.md
avaudioengine.md
avaudiosession.md
avaudioplayernode.md
avaudiofile.md
avaudiopcmbuffer.md
avaudiomixernode.md
avaudiouniteffect.md
avspeechsynthesizer.md
avspeechutterance.md
photokit/
README.md
phphotolibrary.md
phasset.md
phassetcollection.md
phfetchresult.md
phfetchoptions.md
phimagemanager.md
phcachingimagemanager.md
phassetchangerequest.md
phphotolibrarychangeobserver.md
phauthorizationstatus.md
photospicker.md
photospickeritem.md
Exploration Procedure
Derive the category from the task, and identify the target page in the category's README.md:
- Find the category corresponding to the task in the mapping table below
- of that category
references/{category}/README.mdRefer to and identify the target page - Read the
.mdof the relevant page to check the details
Task → Category Mapping
| Task | Category | Reference README |
|---|---|---|
| I want to play a video (AVPlayer / VideoPlayer) | avf-playback | references/avf-playback/README.md |
| I want to implement HLS / streaming playback | avf-playback | references/avf-playback/README.md |
| I want to retrieve an asset's tracks and metadata | avf-playback | references/avf-playback/README.md |
| I want to create custom video compositing / composition | avf-playback | references/avf-playback/README.md |
| I want to take photos and videos with the camera | avf-capture | references/avf-capture/README.md |
| I want to set up an AVCaptureSession | avf-capture | references/avf-capture/README.md |
| I want to display a live preview | avf-capture | references/avf-capture/README.md |
| I want to perform QR code and face detection in real time | avf-capture | references/avf-capture/README.md |
| I want to play and record audio | avf-audio | references/avf-audio/README.md |
| I want to build a node graph with AVAudioEngine | avf-audio | references/avf-audio/README.md |
| I want to configure the AVAudioSession category and mode | avf-audio | references/avf-audio/README.md |
| I want to implement text-to-speech (TTS) | avf-audio | references/avf-audio/README.md |
| I want to obtain permission to access the photo library | photokit | references/photokit/README.md |
| I want to retrieve and search albums and photos with PHAsset | photokit | references/photokit/README.md |
| I want to retrieve thumbnails and full images with PHImageManager | photokit | references/photokit/README.md |
| I want to use PhotosPicker (SwiftUI) | photokit | references/photokit/README.md |