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.

Decision snapshot

Is this a fit?

Best for

Developers using plugins, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

20 days ago

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

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
92/100

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

Key capabilities

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

Declared skill metadata

  • Source file: plugins/build-macos-apps/skills/view-refactor/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

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

Verified compatibility and discovery

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
5,140
Forks
717
Last commit
20 days ago
Last verified
Aug 25, 2026
Metadata fetched
Aug 25, 2026
Repository age
6 months
License
Unknown

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to view-refactor