CtrlK
BlogDocsLog inGet started
Tessl Logo

swiftui-ui-patterns

Apply proven SwiftUI UI patterns for navigation, sheets, async state, and reusable screens.

47

Quality

50%

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

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills/skills/swiftui-ui-patterns/SKILL.md

The canonical home for this skill is swiftui-ui-patterns in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

60%Scale 1-5

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

This is a well-structured SwiftUI patterns skill with good progressive disclosure and a solid workflow with validation checkpoints. Its main weaknesses are the lack of any concrete code examples (surprising for a UI patterns skill) and some verbosity in explaining concepts Claude already understands. Adding executable SwiftUI code snippets for the key patterns would significantly improve its actionability.

Suggestions

Add concrete, executable SwiftUI code examples for the most important patterns — at minimum: sheet(item:) usage, .task with loading/error states, and NavigationStack enum routing.

Trim the state ownership prose and iOS 16 fallback paragraph; the table alone is sufficient for Claude to understand the mapping.

Fill in the empty 'Quick start' section header with a brief, actionable example or remove it to avoid confusion.

Add a brief code snippet to the anti-patterns section showing the wrong pattern alongside the correct one for at least one case.

DimensionReasoningScore

Conciseness

The skill is reasonably efficient but includes some unnecessary explanation that Claude would already know (e.g., explaining what @State, @Binding, @Observable do, the iOS 16 fallback paragraph). The state ownership table is useful but the surrounding prose could be tighter. The anti-patterns section restates well-known SwiftUI best practices.

3 / 5

Actionability

The skill provides structured guidance and workflow steps but lacks any executable code examples. For a SwiftUI patterns skill, concrete code snippets showing the recommended patterns (e.g., sheet(item:) usage, .task with loading states, NavigationStack enum routing) would significantly improve actionability. The guidance remains at the descriptive/instructional level rather than copy-paste ready.

3 / 5

Workflow Clarity

The 'Workflow for a new SwiftUI view' section provides a clear 6-step sequence with explicit build-validation checkpoints at steps 3 and 6, including error recovery guidance ('If the build fails: read the error message carefully, fix the identified issue, then rebuild'). Minor gap: no validation for the earlier 'existing project' and 'new project scaffolding' tracks, which lack explicit checkpoints.

4 / 5

Progressive Disclosure

The skill has good structure with clear sections and well-signaled one-level-deep references to 7 separate reference files plus a components-index.md entry point. However, no bundle files were provided, so we cannot verify these references actually exist. The cross-cutting references section is well-organized with brief descriptions of each file's purpose. Minor gap: the 'Quick start' header is empty.

4 / 5

Total

14

/

20

Passed

Description

41%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 identifies the technology domain (SwiftUI) and lists pattern categories but lacks concrete actions and a 'Use when...' clause. It reads more like a topic label than a skill selector, making it harder for Claude to confidently choose this skill over other SwiftUI-related options.

Suggestions

Add a 'Use when...' clause with explicit trigger phrases, e.g., 'Use when the user asks about SwiftUI navigation patterns, presenting sheets or modals, handling async/loading states, or building reusable screen components.'

Replace category labels with concrete actions, e.g., 'Implements NavigationStack flows, presents modal sheets with bindings, manages async loading/error states with ObservableObject, and scaffolds reusable SwiftUI screen templates.'

Include additional natural trigger terms and synonyms such as 'modal', 'loading state', 'error view', 'iOS UI', 'view model', and '.swift' to improve keyword matching.

DimensionReasoningScore

Specificity

Names the domain (SwiftUI UI patterns) and lists several areas (navigation, sheets, async state, reusable screens), but these are categories rather than concrete actions. It doesn't specify what actions are performed—e.g., 'create navigation stacks', 'present modal sheets', 'handle loading/error states'.

3 / 5

Completeness

Has a partial 'what' (apply SwiftUI UI patterns for specific areas) but completely lacks a 'when' clause. There is no 'Use when...' guidance, which per the rubric should cap completeness at 3, and the 'what' itself is somewhat vague, placing this at a 2.

2 / 5

Trigger Term Quality

Includes relevant keywords like 'SwiftUI', 'navigation', 'sheets', 'async state', and 'reusable screens', but misses common natural terms users might say such as 'modal', 'loading state', 'error handling', 'view model', '.swift', or 'iOS UI'.

3 / 5

Distinctiveness Conflict Risk

Specifying 'SwiftUI' narrows the domain somewhat, but 'UI patterns' is broad enough to overlap with other SwiftUI-related skills (e.g., styling, animations, layout). The listed categories help but don't create a clearly distinct niche.

3 / 5

Total

11

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.