Skip to content
FREnglish version : EN
Install

guide-swiftui-view-refactor

Prisma-Labs-Dev/apple-skills / disabled-skills/guide-swiftui-view-refactor

splits SwiftUI views into small components , which improves: more readable code, more stable rendering

score 8/10no risk347 repo stars

Details

judge’s score
8/10
place
outside the packs
publisher
Prisma-Labs-Dev
status
new
skill’s last commit
Jul 4, 2026
repo stars
347
main type
iOS

Judgement

Precise triggering, concrete Swift examples and clear scope. MV-first and opinionated member ordering contributions, largely already known. Truncated annex and leftover phrase: quality 1.

reservations

  • The annex references/mv-patterns.md is truncated (5000 characters out of 5568): the end of the refactoring checklist is not judged.
  • Leftover sentence « Inspired by the user's provided source » in the annex: text copied from another context, of no use to Claude Code.
  • The skill is located in disabled-skills/ in the source repository: activation status to be confirmed before any recommendation.
  • Opinionated rules (MV by default, member order, 300-line threshold) presented as mandatory, without an explicit target iOS version or justification.
sub-scores
Triggering
2/2
Added value
1/2
Precision
2/2
Scope
2/2
Quality
1/2

Alerts

no alerts

Neither the static scan nor the judge flagged a risk for this skill.

Original description

Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use when cleaning up a SwiftUI view, splitting long bodies, removing inline actions or side effects, redu…

added on Oct 19, 2026 · license MIT