Favicon of view-refactor

view-refactor Skill

AI Agent SkillJavaScriptOpen source

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

What is view-refactor Skill?

Refactor macOS SwiftUI views and scenes into stable structure. Use when splitting large views, tightening scene state, or narrowing AppKit escapes. Published by openai in plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
91/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using plugins

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use view-refactor Skill

  • Use it for developers using plugins.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

  • Creator: openai
  • Repository: openai/plugins
  • Skill file: plugins/build-macos-apps/skills/view-refactor/SKILL.md

What it does

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

Skill instructions

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 - private/public let - @State / other stored properties - computed var (non-view) - init - body - computed view builders / other view helpers - helper / async functions 2b) Split files by responsibility - For non-trivial apps, do not keep the full app, all views, models, stores, networking clients, process clients, and helpers in one Swift file. - Accept a single Swift file only for tiny

Explore related resources

Frequently asked questions

What is view-refactor?

view-refactor is a open-source AI agent skill with Copy skill directory. Refactor macOS SwiftUI views and scenes into stable structure. Use when splitting large views, tightening scene state, or narrowing AppKit escapes.

Who is view-refactor best for?

view-refactor is best for reusing agent instructions, scripts, and references.

How do I install view-refactor?

Install or run view-refactor using Copy skill directory. Check view-refactor for the latest setup command.

Is view-refactor actively maintained?

view-refactor may need a closer maintenance check before production use.

Share:

Stars
4,556
Forks
668
Last commit
9 days ago
Repository age
5 months
License
Unknown

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to view-refactor

view-refactor: Install, Config & GitHub Signals – SkillIndex