From uikit
Reviews and writes Auto Layout code — NSLayoutConstraint anchors, UIStackView, constraint priorities, content hugging, compression resistance, safe area, debugging. Use when building or reviewing constraint-based layouts in UIKit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/uikit:beepus-maximus-uikit-auto-layoutThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review and write Auto Layout code for correct constraint setup, stack view usage, priority management, and debugging.
Review and write Auto Layout code for correct constraint setup, stack view usage, priority management, and debugging.
Owns: NSLayoutConstraint, layout anchors API, UIStackView (axis, distribution, alignment, spacing), constraint priorities, content hugging priority, compression resistance priority, safe area layout guide, layout margins, translatesAutoresizingMaskIntoConstraints, Auto Layout debugging.
Does NOT own: SwiftUI layout (swiftui-mastery skill), UIView lifecycle (uikit-fundamentals skill), collection view layouts (uikit-collections skill), Core Animation transforms (core-animation skill).
translatesAutoresizingMaskIntoConstraints = false. Forgetting this is the #1 Auto Layout bug. Only exception: views created by Interface Builder.view.leadingAnchor.constraint(equalTo:) — never NSLayoutConstraint(item:attribute:...) in new code..defaultHigh (750) and .defaultLow (250). Avoid .required (1000) unless the constraint must never break.safeAreaLayoutGuide for content, layoutMarginsGuide for readable widths._autolayoutTrace(). Call po UIWindow.value(forKeyPath: "keyWindow._autolayoutTrace") in the debugger. Check console for AMBIGUOUS LAYOUT and Unable to simultaneously satisfy constraints.references/auto-layout-patterns.md — Anchors, stack views, priorities, debuggingCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub 4eleven7/claude-skills --plugin uikit