composable-screen-layout-debug

Diagnose ComposableScreen layout failures in React Native YStack, XStack, and ZStack.

2|1|Updated Sep 30, 2025
One-click install
npx skills add https://github.com/Rocapine/react-native-onboarding --skill composable-screen-layout-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: composable-screen-layout-debug
Source: https://github.com/Rocapine/react-native-onboarding/tree/main/.claude/skills/composable-screen-layout-debug
Command: npx skills add https://github.com/Rocapine/react-native-onboarding --skill composable-screen-layout-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses common ComposableScreen UI layout failures in React Native apps, including zero size, clipped content, overflow, and misaligned flex.

Core Features & Use Cases

  • Provides a structured diagnostic checklist for common ComposableScreen layout problems.
  • Guides developers through step-by-step verification of flex, dimensions, overflow behavior, and stacking order across YStack, XStack, and ZStack.
  • Helps shorten debugging cycles in complex layouts and responsive scenarios.

Quick Start

Follow the diagnostic steps to identify and fix a ComposableScreen layout issue in your app.

Frequently Asked Questions about composable-screen-layout-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my React Native ComposableScreen render blank or collapse to zero size?

A blank ComposableScreen usually indicates a flex alignment failure or missing parent dimensions. This checklist diagnoses flex properties, parent-child sizing, and overflow handling to identify why elements collapse to zero size.

How do I fix content clipping and overflow issues in YStack and XStack layouts?

To fix content clipping in YStack and XStack layouts, you need to verify overflow handling and stacking order. The diagnostic process systematically checks overflow behavior across stack layouts to resolve content visibility issues.

How do I diagnose gradient visibility problems in a ZStack layout?

Diagnosing gradient visibility problems in a ZStack layout involves checking the stacking order and parent-child sizing constraints. The guide checks ZStack overflow and flex dimensions to ensure gradients render correctly without clipping.

What is the best way to troubleshoot misaligned flex in React Native responsive flows?

The best way to troubleshoot misaligned flex in React Native responsive flows is to run a structured diagnostic on flex alignment and dimensions. This process guides step-by-step verification of responsive layout behavior to correct misalignments.

Does this ComposableScreen diagnostic checklist handle complex responsive layout scenarios?

Yes, the diagnostic checklist specifically targets complex layouts and responsive scenarios. It verifies flex alignment, dimensions, and overflow handling across YStack, XStack, and ZStack to shorten debugging cycles in responsive environments.