CtrlK
BlogDocsLog inGet started
Tessl Logo

swiftui-view-refactor

SwiftUI view refactor/review: layout, DI, Observation, view models.

62

Quality

72%

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 ./skills/swiftui-view-refactor/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

87%

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

The content is lean, well-structured, and highly actionable with complete code examples and a clean overview-plus-reference split. Its main gap is the lack of an explicit validation/verification checkpoint in the refactor workflow.

Suggestions

Add an explicit verification step to the workflow (e.g. build/compile check or behavior-preservation checklist) and a fix-and-retry loop so Claude confirms behavior is intact before finishing.

Optionally signal when to consult references/mv-patterns.md within the relevant guideline section (view model handling) rather than only in the Notes, to make the reference discoverable at the point of decision.

DimensionReasoningScore

Conciseness

The body is lean and assumes SwiftUI competence, with compact code examples and no padding explaining basic concepts, matching the 'lean and efficient; every token earns its place' anchor.

3 / 3

Actionability

It provides multiple complete, executable Swift examples (view ordering, body splitting, computed-view extraction, view-model init, Observation) that are copy-paste ready, matching the 'fully executable code; specific examples' anchor.

3 / 3

Workflow Clarity

A clear five-step sequenced workflow is present, but there is no explicit validation/verification checkpoint or fix-and-retry loop; the 'Keep behavior intact' guard is not a validate step, so it sits at the 'steps listed but checkpoints missing' anchor.

2 / 3

Progressive Disclosure

The body is a well-organized overview and references the existing references/mv-patterns.md exactly once with a clearly signaled one-level-deep pointer, matching the 'clear overview with well-signaled one-level-deep references' anchor.

3 / 3

Total

11

/

12

Passed

Description

57%

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 domain-specific and reasonably concrete but reads as a feature list rather than a complete trigger description. It states what the skill covers but never says when Claude should use it.

Suggestions

Add an explicit 'Use when...' trigger clause naming the situations that call for this skill (e.g. 'Use when refactoring or reviewing SwiftUI views, reordering properties, or reconsidering view models/Observation usage').

Replace the bare area list with concrete actions a user would voice (e.g. 'reorder view properties, split large bodies, inject dependencies, fix Observation wiring') to raise specificity and trigger-term quality.

Include common trigger variations users naturally say ('reorder', 'split views', 'MVVM', '@Observable') to broaden trigger coverage.

DimensionReasoningScore

Specificity

Quotes 'refactor/review' plus four named areas ('layout, DI, Observation, view models'), naming the domain and several concerns but not multiple distinct concrete actions, matching the 'names domain and some actions' anchor.

2 / 3

Completeness

Answers 'what' (refactor/review across the listed areas) but provides no 'Use when...' trigger clause, so 'when' is only implied; per the judging guidelines a missing trigger clause caps completeness at 2.

2 / 3

Trigger Term Quality

Contains natural terms a user would say ('SwiftUI', 'view', 'refactor', 'view models', 'Observation') but lacks common variations like 'reorder', 'split', or 'MVVM', fitting the 'some relevant keywords but missing common variations' anchor.

2 / 3

Distinctiveness Conflict Risk

The SwiftUI-specific niche with distinctive terms (Observation, view models, DI) is unlikely to trigger for unrelated skills, matching the 'clear niche with distinct triggers' anchor.

3 / 3

Total

9

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
steipete/agent-scripts
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.