Favicon of swiftui-view-refactor

swiftui-view-refactor Skill

AI Agent SkillJavaScriptOpen source

Refactor SwiftUI view files into stable, testable structure. Use when splitting large views, tightening data flow, or cleaning Observation ownership. Published by openai in plugins.

What is swiftui-view-refactor Skill?

Refactor SwiftUI view files into stable, testable structure. Use when splitting large views, tightening data flow, or cleaning Observation ownership. 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
  • Data analysis
  • Data analysis use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use swiftui-view-refactor Skill

  • Use it for data analysis.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

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

What it does

Refactor SwiftUI view files into stable, testable structure. Use when splitting large views, tightening data flow, or cleaning Observation ownership.

Skill instructions

SwiftUI View Refactor Overview Refactor SwiftUI views toward small, explicit, stable view types. Default to vanilla SwiftUI: local state in the view, shared dependencies in the environment, business logic in services/models, and view models only when the request or existing code clearly requires one. Core Guidelines 1) View ordering (top → bottom) - Enforce this ordering unless the existing file has a stronger local convention you must preserve. - Environment - private/public let - @State / other stored properties - computed var (non-view) - init - body - computed view builders / other view helpers - helper / async functions 2) Default to MV, not MVVM - Views should be lightweight state expressions and orchestration points, not containers for business logic. - Favor @State, @Environment, @Query, .task, .task(id:), and onChange before reaching for a view model. - Inject services and shared models via @Environment; keep domain logic in services/models, not in the view body. - Do not intr

Explore related resources

Frequently asked questions

What is swiftui-view-refactor?

swiftui-view-refactor is a open-source AI agent skill with Copy skill directory. Refactor SwiftUI view files into stable, testable structure. Use when splitting large views, tightening data flow, or cleaning Observation ownership.

Who is swiftui-view-refactor best for?

swiftui-view-refactor is best for reusing agent instructions, scripts, and references, data analysis workflows.

How do I install swiftui-view-refactor?

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

Is swiftui-view-refactor actively maintained?

swiftui-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 swiftui-view-refactor