CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

swiftui-webkit

Embeds and controls web content in SwiftUI with WebKit for SwiftUI, including WebView, WebPage, navigation policies, JavaScript execution, observable page state, link interception, local HTML or data loading, and custom URL schemes. Use when building iOS 26+ article/detail views, help centers, in-app documentation, or other embedded web experiences backed by HTML, CSS, and JavaScript.

Quality

88%

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

78%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.

The body is a well-structured, actionable overview with exemplary progressive disclosure into a real, verified bundle of four reference files. The main improvement opportunities are tightening token use (TOC, duplicate reference pointers, Mistakes/Checklist overlap) and making the fragmentary snippets (custom scheme handler, script examples) fully self-contained.

Suggestions

Remove the Contents table-of-contents and the repeated inline "See [references/...]" pointers (keeping only the final References section) to cut tokens without losing navigation, since the section headers and reference file names already make the structure discoverable.

Make the custom-scheme snippet self-contained — either define or stub DocsSchemeHandler, or state explicitly that its implementation is shown in references/local-content-and-custom-schemes.md — so the main-file example is copy-paste runnable.

Deduplicate Common Mistakes and Review Checklist, which restate the same points (OAuth, WKWebView fallback, callJavaScript function body, navigations try/catch, one WebPage per WebView, custom-scheme overuse); merging or cross-referencing them would tighten conciseness and sharpen the checklist as a validation pass.

DimensionReasoningScore

Conciseness

The body is efficient and focused on iOS 26 WebKit-for-SwiftUI API specifics Claude cannot be assumed to know, with no padding explaining familiar concepts. Minor trims remain: the 10-item Contents TOC, repeated "See [references/...]" pointers, the "Apple's WWDC25 guidance frames..." framing sentence, and notable overlap between Common Mistakes and Review Checklist. This fits anchor 4 (efficient with minor instances that could be trimmed) rather than anchor 5, but is tighter than anchor 3's unnecessary explanation.

4 / 5

Actionability

Concrete, mostly executable Swift code appears in every section ("struct ArticleView: View { WebView(url: url) }", the ArticleModel/WebPage load loop, the full ArticleNavigationDecider, callJavaScript examples, and the URLSchemeHandler configuration). It stops short of anchor 5 because several snippets are fragments: "DocsSchemeHandler(bundle: .main)" is never defined in the file and the JavaScript script snippets are bare let-statements without runnable context. It is well above anchor 3 since the guidance is real code, not pseudocode.

4 / 5

Workflow Clarity

"Use the narrowest tool that matches the job" plus the container-choice table gives a clear decision entry point, sections progress from display to observation to policy to JS to local content, and the Review Checklist supplies checkpoints with error paths noted ("Handle WebPage.NavigationError or cancellation"). It matches anchor 4 rather than anchor 5 because there is no explicit multi-step build sequence with inline validation and feedback loops; it is above anchor 3 because checkpoints are present and clearly signaled.

4 / 5

Progressive Disclosure

The SKILL.md is a genuine overview: each section keeps a short example inline and defers depth to one-level-deep references ("See [references/loading-and-observation.md]", etc.), all four referenced files exist and are non-empty, and the References section labels all of them. This matches anchor 5 (clear overview, well-signaled one-level-deep references, easy navigation); it does not exhibit anchor 4's organization gaps.

5 / 5

Total

17

/

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.

The description is strong: third person, specific, and comprehensive about capabilities, with an explicit and concrete "Use when" trigger clause. The only weakness is moderate synonym coverage — legacy terms like "WKWebView" and everyday phrases like "in-app browser" that users might actually say are missing.

DimensionReasoningScore

Specificity

"Embeds and controls web content in SwiftUI with WebKit for SwiftUI, including WebView, WebPage, navigation policies, JavaScript execution, observable page state, link interception, local HTML or data loading, and custom URL schemes" names eight distinct concrete capabilities in third person. This matches the anchor for multiple specific concrete actions with comprehensive coverage; it exceeds anchor 4 because there are no meaningful capability gaps within its domain.

5 / 5

Completeness

It explicitly answers both questions: the "what" is the full capability list, and "Use when building iOS 26+ article/detail views, help centers, in-app documentation, or other embedded web experiences backed by HTML, CSS, and JavaScript" is an explicit, concrete trigger clause. This matches anchor 5 and is clearer than anchor 4's merely adequate "when".

5 / 5

Trigger Term Quality

Natural phrases like "WebView", "JavaScript execution", "article/detail views, help centers, in-app documentation", and "HTML, CSS, and JavaScript" give good keyword coverage. It falls short of anchor 5 because common variations users might say — "WKWebView", "in-app browser", "web page" — are absent.

4 / 5

Distinctiveness Conflict Risk

A clear niche (SwiftUI WebKit embedding scoped to iOS 26+ and later platforms) with distinct triggers; the broad term "JavaScript execution" is confined to embedded iOS web experiences by the "Use when" clause, so conflict risk is minimal. It matches anchor 5 rather than anchor 4's "minor overlap risk with closely related skills".

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

thienqo/ios-skills

Path

skills/swiftui-webkit/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.