view-refactor

Installation
SKILL.md

View Refactor

Overview

Refactor macOS views toward small, explicit, stable scene and view types. Default to native SwiftUI for layout, selection, commands, and settings. Reach for AppKit only at the narrow edges where desktop behavior truly requires it.

Core Guidelines

1) Model scenes explicitly

  • Break the app into meaningful scene roots: main window, settings, utility windows, inspectors, or menu bar extras.
  • Do not let one giant root view silently own every desktop surface.

2) Keep a predictable file shape

  • Follow this ordering unless the file already has a stronger local convention:
  • Environment
Related skills

More from openai/plugins

Installs
4
Repository
openai/plugins
GitHub Stars
1.1K
First Seen
Apr 10, 2026