CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

avkit

Create media playback experiences using AVKit. Use when adding video players with AVPlayerViewController, enabling Picture-in-Picture, routing media with AirPlay, using SwiftUI VideoPlayer views, configuring transport controls, displaying subtitles and closed captions, or integrating AVFoundation playback with system UI.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is dpearson2699/swift-ios-skills

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A high-quality reference skill body: dense with executable framework-specific code, honest about platform-specific API traps (tvOS-only skipping APIs), and well-structured with advanced patterns pushed to a real bundle file. Minor room to trim beginner-level explanations and add an explicit test/retry loop for PiP and audio-session setup.

Suggestions

Trim lines that explain widely known concepts (e.g., "PiP lets users watch video in a floating window while using other apps") to raise conciseness toward the lean anchor.

Add an explicit validation feedback loop for the fragile setup path (configure audio session -> run on device -> verify PiP button activates -> fix category/background mode and retest) so workflow clarity reaches the top anchor.

Consider moving the more basic AVPlayerViewController presentation examples into the patterns reference, keeping SKILL.md focused on the non-obvious configuration and pitfalls.

DimensionReasoningScore

Conciseness

Nearly every token is framework-specific guidance or executable code, but a few lines explain concepts Claude already knows ("PiP lets users watch video in a floating window while using other apps") and some basic sections (e.g., Basic Presentation) could be trimmed. This is minor over-explanation, matching the 4 anchor rather than the lean 5 anchor.

4 / 5

Actionability

Fully executable, copy-paste-ready Swift code throughout — presentation, child-controller embedding, PiP configuration and restore delegate, AVRoutePickerView, AVPlaybackSpeed, media selection group subtitle selection — plus WRONG/CORRECT pairs in Common Mistakes. Covers the common cases completely.

5 / 5

Workflow Clarity

Setup is a clearly numbered sequence with ordering rationale ("Defer setActive(true) until playback begins"), and the 17-item Review Checklist provides validation checkpoints. It is not 5 because no explicit validate-then-fix-then-retry feedback loop is given for fragile steps like audio-session/PiP verification.

4 / 5

Progressive Disclosure

A Contents TOC, well-organized sections, and advanced material (custom player UI, interstitials, sample-buffer PiP, error handling) correctly split into the real one-level-deep references/avkit-patterns.md, signaled inline at the exact points of need and again in the References section.

5 / 5

Total

18

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete, comprehensive, third-person, with an explicit "Use when" clause covering the skill's main capabilities. The only weakness is a few missing natural synonyms (e.g., "PiP", "playback speed").

DimensionReasoningScore

Specificity

The description lists multiple concrete actions with named APIs — "adding video players with AVPlayerViewController", "enabling Picture-in-Picture", "routing media with AirPlay", "using SwiftUI VideoPlayer views", "configuring transport controls", "displaying subtitles and closed captions" — covering the skill's full scope comprehensively. It cannot be 4 because there are no meaningful coverage gaps, and it is written in third person.

5 / 5

Completeness

It explicitly answers both questions: the "what" ("Create media playback experiences using AVKit... integrating AVFoundation playback with system UI") and the "when" via a concrete "Use when..." clause enumerating trigger scenarios. Clearly matches the top anchor.

5 / 5

Trigger Term Quality

Good keyword coverage with natural phrases users would say ("video players", "Picture-in-Picture", "AirPlay", "subtitles and closed captions") plus API names. It falls short of 5 only because common shorthand variations like "PiP" and "playback speed" are absent.

4 / 5

Distinctiveness Conflict Risk

The niche is clear (AVKit system playback UI) and triggers are anchored to distinct APIs (AVPlayerViewController, VideoPlayer, AirPlay). Adjacency to a pure AVFoundation skill is explicitly disambiguated by "integrating AVFoundation playback with system UI", keeping conflict risk minimal.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

dpearson2699/swift-ios-skills

Path

skills/avkit/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.