swiftui-code-review

existential-birds/beagle · updated Apr 8, 2026

$npx skills add https://github.com/existential-birds/beagle --skill swiftui-code-review
0 commentsdiscussion
summary

swiftui-code-review

skill.md

SwiftUI Code Review

Quick Reference

Issue Type Reference
View extraction, modifiers, body complexity references/view-composition.md
@State, @Binding, @Observable, @Bindable references/state-management.md
LazyStacks, AnyView, ForEach, identity references/performance.md
VoiceOver, Dynamic Type, labels, traits references/accessibility.md

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?

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.650 reviews
  • Ganesh Mohane· Dec 24, 2024

    We added swiftui-code-review from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Evelyn Tandon· Dec 24, 2024

    swiftui-code-review fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Shikha Mishra· Dec 20, 2024

    I recommend swiftui-code-review for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Yusuf Choi· Dec 20, 2024

    swiftui-code-review is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Naina Park· Dec 16, 2024

    Useful defaults in swiftui-code-review — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Sakshi Patil· Nov 15, 2024

    swiftui-code-review fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Evelyn Patel· Nov 15, 2024

    We added swiftui-code-review from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Neel Chen· Nov 15, 2024

    swiftui-code-review reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Kofi Choi· Nov 11, 2024

    Keeps context tight: swiftui-code-review is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Aisha Brown· Nov 7, 2024

    swiftui-code-review has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 50

1 / 5