CtrlK
BlogDocsLog inGet started
Tessl Logo

macos-view-refactor

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

72

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

SKILL.md
Quality
Evals
Security

Quality

Content

77%

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

The body provides concrete, actionable macOS SwiftUI refactoring guidance with a clear sequenced workflow and a compile-checkpoint feedback loop. Its weaknesses are mild redundancy across four parallel restatement sections and a monolithic single-file structure with no progressive disclosure to reference files.

Suggestions

Consolidate the overlapping Core Guidelines, Workflow, Refactor Checklist, and Common Smells sections so each idea (split files, stabilize layout, narrow AppKit, extract subviews) appears once, reducing token cost.

Move the detailed directory-layout and file-shape rules (section 2b) into a reference file (e.g. references/file-layout.md) and link to it from the body, adding one-level-deep progressive disclosure.

Add a brief explicit validation note in the Workflow itself (e.g. "Build after each split; only proceed on a clean build") rather than leaving the feedback loop only in the checklist.

DimensionReasoningScore

Conciseness

The body is non-fluffy and never explains basic SwiftUI concepts, but four parallel sections (Core Guidelines, Workflow, Refactor Checklist, Common Smells) restate the same handful of ideas (split files, stabilize layout, narrow AppKit, extract subviews), so it could be tightened; not 1 because nothing pads known concepts, not 3 because of the cross-section overlap.

2 / 3

Actionability

Gives concrete, executable structural guidance — a specific property/file ordering, directory layout (App/<AppName>App.swift, Views/, Models/, Stores/, Services/, Support/), and a ~50-line threshold — rather than abstract direction; not 2 because details are complete and specific.

3 / 3

Workflow Clarity

The 7-step Workflow is clearly sequenced and the checklist's "Build after each major split so compile errors stay local" plus "Keep behavior intact unless the request explicitly asks" provide an explicit validation checkpoint and safety guardrail; not 2 because a feedback loop is present.

3 / 3

Progressive Disclosure

The file is well organized into clear sections but is a single ~107-line monolith with no external references, and detailed guidance like the directory layout (section 2b) is inline content that could be split out; not 1 because it is not a wall of text, not 3 because there are no well-signaled one-level-deep references.

2 / 3

Total

10

/

12

Passed

Description

100%

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 capability statement with a "Use when" trigger clause. It lists several specific actions and is clearly scoped to macOS SwiftUI/AppKit refactoring, minimizing conflict with unrelated skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "splitting large views", "tightening scene state", "narrowing AppKit escapes" — rather than vague language, matching the score-3 anchor of several specific concrete actions.

3 / 3

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"), satisfying the explicit trigger requirement; not 2 because the "Use when" clause is present.

3 / 3

Trigger Term Quality

Natural terms a macOS developer would say ("splitting large views", "scene state", "AppKit escapes") give good coverage; not below 2 because the keywords are recognizable, not below/above 3 because they map cleanly to how a user would phrase the request.

3 / 3

Distinctiveness Conflict Risk

The niche (macOS SwiftUI/scene structural refactor) is distinct, and the body further disambiguates from sibling skills (macos-swiftui-patterns, macos-appkit-interop); minor overlap with those siblings keeps it from being ambiguous, so 3 rather than 2.

3 / 3

Total

12

/

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