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.

A well-structured, actionable overview of the iOS 26 SwiftUI WebKit APIs with excellent progressive disclosure into verified reference files. The main costs are redundancy between the Common Mistakes and Review Checklist sections, an undefined DocsSchemeHandler in the scheme example, and placeholder-only error-handling guidance.

Suggestions

Merge the heavily overlapping 'Common Mistakes' and 'Review Checklist' sections into one section to remove roughly a dozen duplicated bullets and reclaim token budget.

Define or link DocsSchemeHandler (e.g., point to its implementation in references/local-content-and-custom-schemes.md) and place the top-level 'for try await _ in page.load(...)' line inside a function so the scheme example is copy-paste runnable.

Replace the '// Handle load failure.' placeholder with one concrete error-handling pattern — for example, catching WebPage.NavigationError and surfacing it as SwiftUI state — so the navigation workflow has a real feedback loop.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence (no basic WebKit or Swift primers) and keeps code snippets compact, but the 12-bullet 'Common Mistakes' and 14-bullet 'Review Checklist' sections repeat each other nearly point-for-point, and reference pointers are stated two or three times per topic. This matches the 4 anchor ('efficient; minor instances of over-explanation that could be trimmed'); it is not the 5 anchor because trimming the duplicated checklist could cut roughly a quarter of the body.

4 / 5

Actionability

Concrete, compile-shaped Swift appears throughout — the container-choice table, the @Observable ArticleModel, the NavigationDeciding implementation, callJavaScript with an arguments dictionary, and the scheme-handler configuration. Minor gaps keep it at the 4 anchor: 'DocsSchemeHandler' is referenced but never defined or linked, and the local-content snippet ends with a stray top-level 'for try await' loop outside any function. Not the 5 anchor, which demands copy-paste-ready coverage of the common cases.

4 / 5

Workflow Clarity

The content follows a clear progression — choose the container, then simple display, then state/JavaScript/policies/customization — and the 'Review Checklist' acts as an explicit validation checkpoint over the result, matching the 4 anchor ('clear sequence with most checkpoints present'). It is not the 5 anchor because error recovery is left as placeholder comments ('// Handle load failure.', '// Handle WebPage.NavigationError or cancellation.') with no concrete feedback loop, and it is above the 3 anchor because checkpoints are present rather than implicit.

4 / 5

Progressive Disclosure

The body is a genuine overview: each section ends with a clearly signaled, one-level-deep markdown link to a real bundle file (all four referenced references/*.md files exist), and a References section indexes them. This matches the 5 anchor ('clear overview with well-signaled one-level-deep references; content appropriately split; easy navigation') with no nested references or inlined bulk detail.

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.

A strong description: concrete, third-person capability list paired with an explicit and specific 'Use when' trigger clause. The only weakness is modest synonym coverage — users saying 'web view', 'in-app browser', or 'WKWebView' would still likely match, but those natural variants are absent.

DimensionReasoningScore

Specificity

The description lists multiple concrete capabilities — 'WebView, WebPage, navigation policies, JavaScript execution, observable page state, link interception, local HTML or data loading, and custom URL schemes' — giving comprehensive coverage of the skill's actions rather than vague domain language. This matches the 5 anchor ('multiple specific concrete actions; comprehensive coverage') and exceeds the 4 anchor, which expects minor gaps in coverage.

5 / 5

Completeness

It explicitly answers both questions: what ('Embeds and controls web content in SwiftUI with WebKit for SwiftUI, including...') and when ('Use when building iOS 26+ article/detail views, help centers, in-app documentation, or other embedded web experiences backed by HTML, CSS, and JavaScript'). The 'Use when' clause is concrete and specific, matching the 5 anchor; the 4 anchor applies only when the 'when' is generic or weakly specified.

5 / 5

Trigger Term Quality

It includes natural phrases users would say — 'web content', 'article/detail views', 'help centers', 'in-app documentation', 'HTML, CSS, and JavaScript' — but misses common variations such as 'web view', 'in-app browser', or 'WKWebView'. This fits the 4 anchor ('good keyword coverage; a few natural terms missing') rather than the 5 anchor, which requires synonym-level coverage, and is clearly above the 3 anchor's 'missing common variations'.

4 / 5

Distinctiveness Conflict Risk

The scope is a clear niche — SwiftUI WebKit embedding for iOS 26+ — with triggers ('embedded web experiences', 'in-app documentation', 'link interception') that are unlikely to fire for general web-development, networking, or auth skills. Minimal conflict risk matches the 5 anchor; it is not the 4 anchor case of minor overlap with a closely related skill.

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/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.