CtrlK
BlogDocsLog inGet started
Tessl Logo

view-refactor

Refactor macOS SwiftUI views and scenes with strong defaults for small dedicated subviews, stable sidebar and selection structure, explicit command and toolbar ownership, scene-aware state, and narrow AppKit escape hatches. Use when cleaning up a macOS view file, splitting oversized scene roots, removing iOS-centric patterns, or tightening mixed SwiftUI/AppKit architecture.

75

Quality

92%

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 view-refactor in openai/plugins

SKILL.md
Quality
Evals
Security

Quality

Content

85%

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

The body is a well-structured, actionable instruction skill with a clear sequenced workflow and build validation checkpoint; its main weakness is mild cross-section repetition of the file-splitting guidance that lightly inflates conciseness.

Suggestions

Consolidate the file-split destinations stated in guideline 2b, the Refactor Checklist, and Common Smells into one authoritative location and cross-reference it to reduce repetition.

Tighten the Workflow and Refactor Checklist so steps map one-to-one instead of restating overlapping guidance, keeping only distinct procedural vs. checklist framing.

DimensionReasoningScore

Conciseness

Per-line writing is lean and assumes Claude's competence, but the same guidance recurs across sections — e.g., file-split destinations appear in guideline 2b, the Refactor Checklist ('Move Process, URLSession... into Services/'), and the Common Smells — which could be tightened.

2 / 3

Actionability

Highly concrete instruction-only guidance with specific file paths (App/<AppName>App.swift, Views/SidebarView.swift, Models/*.swift, Services/*.swift), an explicit property-ordering convention, and clear do/don't directives; absence of code is appropriate for this instruction skill.

3 / 3

Workflow Clarity

A numbered 7-step Workflow plus a Refactor Checklist provide a clear sequence, and 'Build after each major split so compile errors stay local' acts as an explicit validation checkpoint with error-recovery intent.

3 / 3

Progressive Disclosure

No bundle files exist and the content is cohesive; sections are well-organized with no nested references, and the only cross-links (swiftui-patterns, appkit-interop) are skill-to-skill routing rather than bundle depths.

3 / 3

Total

11

/

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 specific, complete, and distinctive, naming concrete refactor defaults and providing an explicit 'Use when' clause with natural trigger phrasings tailored to the macOS SwiftUI niche.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — 'small dedicated subviews', 'stable sidebar and selection structure', 'explicit command and toolbar ownership', 'scene-aware state', and 'narrow AppKit escape hatches' — rather than vague language.

3 / 3

Completeness

Clearly states both what the skill does (refactor macOS SwiftUI views/scenes with named defaults) and when to use it via an explicit 'Use when...' clause with multiple trigger scenarios.

3 / 3

Trigger Term Quality

The 'Use when' clause surfaces four natural phrasings a developer would say ('cleaning up a macOS view file', 'splitting oversized scene roots', 'removing iOS-centric patterns', 'tightening mixed SwiftUI/AppKit architecture') with broad domain coverage.

3 / 3

Distinctiveness Conflict Risk

Narrow macOS SwiftUI/AppKit refactor niche with distinct triggers unlikely to collide with general skills, and the body further routes to sibling skills (swiftui-patterns, appkit-interop).

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.