CtrlK
BlogDocsLog inGet started
Tessl Logo

view-refactor

Refactor macOS SwiftUI views and scenes into stable structure. Use when splitting large views, tightening scene state, or narrowing AppKit escapes.

66

Quality

79%

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

Quality

Content

75%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 an efficient, well-structured instruction-only skill with concrete file-shape and API guidance and a clear sequenced workflow. Its main limits are mild cross-section redundancy and a light validation feedback loop rather than an explicit validate-fix-retry cycle.

Suggestions

Add an explicit validate-fix-retry loop in the Workflow (e.g. 'Build → if errors, fix locally → rebuild before proceeding') to strengthen the feedback checkpoint for multi-file refactors.

De-duplicate the file-splitting guidance that recurs across section 2b, Workflow step 1, and the Refactor Checklist so each point is stated once and cross-referenced.

Consider moving the detailed file-shape ordering list (section 2) into a short reference snippet or consolidating it with the Checklist to reduce body length.

DimensionReasoningScore

Conciseness

The body is mostly lean bullet-point guidance that assumes SwiftUI/AppKit competence and avoids explaining basics, but there is mild redundancy between Core Guidelines, Workflow, and the Refactor Checklist (e.g. file-splitting restated), so it is not maximally tight.

4 / 5

Actionability

Guidance is concrete and executable for an instruction-only skill — specific file paths ('App/<AppName>App.swift', 'Services/*.swift'), a property ordering list, and named SwiftUI APIs (@SceneStorage, @AppStorage, @Observable) — with only minor gaps versus fully copy-paste-ready material.

4 / 5

Workflow Clarity

The Workflow lists a clear 7-step sequence with a validation checkpoint ('Build after each major split so compile errors stay local') and a behavior-preservation guard, but the feedback loop is light (no explicit validate-fix-retry) so it stops short of the top anchor.

4 / 5

Progressive Disclosure

Content is well-organized into clearly signaled sections (Overview, Core Guidelines, Workflow, Checklist, Smells, Notes) with no nested references and no bundle files, but the single-file body is moderately long and a few guideline details could live in a reference, leaving minor organization gaps.

4 / 5

Total

16

/

20

Passed

Description

83%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 concise, third-person, and explicitly pairs a concrete 'what' with a trigger-laden 'when' clause. It is strongly specific to macOS SwiftUI refactoring with only minor overlap risk against sibling skills.

DimensionReasoningScore

Specificity

Names the domain (macOS SwiftUI views and scenes) and several concrete actions — 'refactor ... into stable structure', 'splitting large views', 'tightening scene state', 'narrowing AppKit escapes' — with only minor coverage gaps, fitting the 'lists several specific actions' anchor.

4 / 5

Completeness

Explicitly answers both 'what' ('Refactor macOS SwiftUI views and scenes into stable structure') and 'when' ('Use when splitting large views, tightening scene state, or narrowing AppKit escapes') with concrete trigger phrases, matching the top anchor.

5 / 5

Trigger Term Quality

Includes natural developer-facing phrases ('splitting large views', 'tightening scene state', 'narrowing AppKit escapes') that a user would plausibly say, though a few synonyms or looser phrasings are missing, matching the 'good keyword coverage; a few natural terms missing' anchor.

4 / 5

Distinctiveness Conflict Risk

It carves a clear refactor-structure niche with distinct triggers, but 'narrowing AppKit escapes' and the SwiftUI scope create minor overlap risk with closely related sibling skills, fitting 'mostly distinct; minor overlap risk'.

4 / 5

Total

17

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
openai/plugins
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.