Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
existential-birds avatar

Swiftui Code Review

  • 250 installs
  • 74 repo stars
  • Updated July 21, 2026
  • existential-birds/beagle

Review SwiftUI views, state management, navigation, accessibility, and Apple HIG alignment before release to catch UI bugs, performance issues, and maintainability problems on iOS and macOS apps.

About

The swiftui-code-review skill provides structured review guidance for SwiftUI-based iOS and macOS applications. It helps teams audit view composition, observable state, navigation stacks, previews, accessibility labels, and Apple platform conventions so mobile releases ship with fewer UI regressions and cleaner SwiftUI architecture.

  • SwiftUI state and data-flow checks
  • Navigation and lifecycle pitfalls
  • Accessibility and HIG compliance
  • Performance and re-render risks
  • Actionable review comments

Swiftui Code Review by the numbers

  • 250 all-time installs (skills.sh)
  • Ranked #306 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/existential-birds/beagle --skill swiftui-code-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs250
repo stars74
Last updatedJuly 21, 2026
Repositoryexistential-birds/beagle

What it does

Review SwiftUI views, state management, navigation, accessibility, and Apple HIG alignment before release to catch UI bugs, performance issues, and maintainability problems on iOS and macOS apps.

Files

SKILL.mdMarkdownGitHub ↗

SwiftUI Code Review

Quick Reference

Issue TypeReference
View extraction, modifiers, body complexityreferences/view-composition.md
@State, @Binding, @Observable, @Bindablereferences/state-management.md
LazyStacks, AnyView, ForEach, identityreferences/performance.md
VoiceOver, Dynamic Type, labels, traitsreferences/accessibility.md

Gates (review workflow)

Complete in order; do not skip ahead.

1. Anchor scope — Pass when: every reviewed file is listed as a repo-relative .swift path (or the review explicitly states “none opened / N/A” with reason). 2. Reference before critique — Pass when: for any non-trivial body, modifier chain, or wrapper-ownership question, you have opened the matching references/*.md row from the table above or you state “not needed” with one line why. 3. Evidence-bound findings — Pass when: each substantive issue includes `[FILE:LINE]` (or a bounded line range) before recommendations; symbols/snippets may supplement but not replace the location anchor; no finding that rests only on “typical SwiftUI” without pointing at this code.

Review Checklist

  • [ ] View body under 10 composed elements (extract subviews)
  • [ ] Modifiers in correct order (padding before background)
  • [ ] @StateObject for view-owned objects, @ObservedObject for passed objects
  • [ ] @Bindable used for two-way bindings to @Observable (iOS 17+)
  • [ ] LazyVStack/LazyHStack for scrolling lists with 50+ items
  • [ ] No AnyView (use @ViewBuilder or generics instead)
  • [ ] ForEach uses stable Identifiable IDs (not array indices)
  • [ ] All images/icons have accessibilityLabel
  • [ ] Custom controls have accessibilityAddTraits(.isButton)
  • [ ] Dynamic Type supported (no fixed font sizes)
  • [ ] .task modifier for async work (not onAppear + Task)

When to Load References

  • Complex view bodies or modifier chains -> view-composition.md
  • Property wrapper usage (@State, @Observable) -> state-management.md
  • List performance or view identity issues -> performance.md
  • VoiceOver or accessibility implementation -> accessibility.md

Review Questions

1. Could this large view body be split into smaller, reusable Views? 2. Is modifier order intentional? (padding -> background -> frame) 3. Is @StateObject/@ObservedObject usage correct for ownership? 4. Could LazyVStack improve this ScrollView's performance? 5. Would VoiceOver users understand this interface?

Related skills

Code Review & Qualityfrontendtesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.