CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

window-management

Customize macOS 15+ SwiftUI windows and scene behavior using Window, WindowGroup, and macOS window modifiers. Use when styling or hiding window toolbars and titles, extending drag regions with WindowDragGesture, replacing window backgrounds with materials, disabling minimize or restoration for utility windows, setting default or ideal window placement from content/display size, creating borderless windows, or tuning default launch behavior.

Quality

87%

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

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.

A well-organized, concrete body: exact API signatures throughout, runnable-looking snippets for each major case, a sequenced workflow with a verification step, and a useful guardrails/checklist pair. The main weaknesses are helper functions left undefined in the placement snippets, no intermediate validation checkpoints in the workflow, and mild redundancy in the Overview.

Suggestions

Define or provide real implementations for the undefined helpers in the placement snippets (`clampToDisplay`, `zoomToFit`, `centeredPosition`) so the code is copy-paste executable, directly improving actionability.

Add pass/fail checkpoints to the Workflow steps (e.g., after setting drag regions or placement, what to check and what to do if it fails) to close the validation gap in workflow clarity.

Trim the Overview's window-role listing and the macOS 15+ restatement (already in the description and repeated in a dedicated paragraph) to tighten conciseness.

DimensionReasoningScore

Conciseness

The body is written in lean, imperative bullets ('Use `.toolbar(removing: .title)` when...') that assume competence and never explain concepts Claude already knows, but a few sentences could be trimmed — the Overview restates window-role examples and the frontmatter's macOS 15+ framing. This fits 'efficient; minor instances of over-explanation that could be trimmed' rather than 'every token earns its place'.

4 / 5

Actionability

Every section names exact modifiers and signatures, and five Swift snippets cover the common cases, but the placement snippets rely on undefined helpers (`clampToDisplay`, `zoomToFit`, `centeredPosition`), so they are not fully copy-paste executable — 'mostly executable; concrete code with minor gaps', short of the fully-executable anchor.

4 / 5

Workflow Clarity

The Workflow section gives a coherent 7-step sequence including an explicit verification step ('Build and launch the app with `build-run-debug` to verify the result') and a fallback path to `appkit-interop`, backed by a Review Checklist. It falls short of the score-5 anchor because intermediate steps lack pass/fail checkpoints or a validate-fix-retry loop — 'clear sequence with most checkpoints present; minor validation gaps'.

4 / 5

Progressive Disclosure

No bundle files exist, so everything is inline in a ~220-line body. Section headers are clean and navigation is easy, and cross-skills routing is well signaled, but the API-snippet and placement detail is arguably reference-file content at this length — 'good structure; most content is appropriately placed; minor organization gaps' rather than the well-split score-5 pattern.

4 / 5

Total

16

/

20

Passed

Description

92%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.

A strong description: it states a clear platform-scoped purpose, enumerates comprehensive concrete capabilities with API names, and gives an explicit multi-clause 'Use when...' trigger list. The only gap is a handful of natural synonyms (e.g., 'title bar', 'zoom').

DimensionReasoningScore

Specificity

The description enumerates 7+ concrete capabilities with named APIs ('styling or hiding window toolbars and titles, extending drag regions with WindowDragGesture, replacing window backgrounds with materials, disabling minimize or restoration..., setting default or ideal window placement..., creating borderless windows, or tuning default launch behavior'), matching the comprehensive-coverage anchor rather than the score-4 'minor gaps' anchor.

5 / 5

Completeness

It explicitly answers both: what ('Customize macOS 15+ SwiftUI windows and scene behavior using Window, WindowGroup, and macOS window modifiers') and when (an explicit 'Use when... or tuning default launch behavior' clause listing concrete triggers), which matches the score-5 anchor exactly.

5 / 5

Trigger Term Quality

Good natural-term coverage across every trigger case ('window toolbars and titles', 'drag regions', 'utility windows', 'borderless windows', 'launch behavior'), but a few common synonyms users might say ('title bar', 'chrome', 'zoom', 'full-screen') are absent, which fits 'good keyword coverage; a few natural terms missing' rather than comprehensive synonym-level coverage.

4 / 5

Distinctiveness Conflict Risk

'macOS 15+ SwiftUI windows and scene behavior' is a tight platform/framework niche with distinct triggers (WindowDragGesture, placement, materials, minimize/restoration) that would not plausibly fire adjacent skills like appkit-interop or general SwiftUI architecture, matching 'clear niche with distinct triggers; minimal conflict risk'.

5 / 5

Total

19

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

robinebers/openusage

Path

.agents/skills/window-management/SKILL.md

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.