Expo's official skill for building native-feeling screens: Apple HIG styling, semantic colors, SF Symbols, native controls, Reanimated, blur and liquid glass.
Flutter Layout Error FixesSkill
Summary
The Flutter team's official skill for diagnosing and fixing constraint errors — RenderFlex overflows, unbounded viewports and misplaced ParentData widgets.
Features
- Error-signature table mapping each Flutter layout exception to its cause
- Explicit instruction to ignore cascading 'RenderBox was not laid out' errors
- Step-by-step resolution checklist ending in hot reload and re-inspection
- Worked before/after fixes for unbounded height, unbounded width and RenderFlex overflow
- Uses the Dart and Flutter MCP tools shipped alongside it in flutter/agent-plugins
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Example Usage
Fix the overflow error on the profile page when the keyboard is visible
Description
Flutter's layout errors are famously legible once you know the rule and famously opaque before that. This official skill from the Flutter team encodes the rule — constraints go down, sizes go up, the parent sets position — and then maps each error signature to the fix that follows from it.
The diagnostic table is the substance. "Vertical viewport was given unbounded height" means a ListView or GridView sits in an unconstrained Column, so the fix is Expanded or an explicit SizedBox. "An InputDecorator... cannot have an unbounded width" means a TextField in a Row, fixed with Expanded or Flexible. "RenderFlex overflowed" means a flex child asked for more than its parent allocated. "Incorrect use of ParentData widget" means an Expanded outside a Flex or a Positioned outside a Stack. And "RenderBox was not laid out" is called out as a cascading side-effect to ignore while you look further up the stack trace — the single instruction that most often stops an agent chasing the wrong error.
Around that sits a resolution checklist: reproduce in debug mode to capture the exact exception, identify the primary error, apply the conditional fix, hot reload, then re-inspect for the red error screen or the yellow-and-black overflow stripes and repeat if new errors surface. Three worked before-and-after examples cover the unbounded-height, unbounded-width and overflow cases in full.
It is part of flutter/agent-plugins, the Flutter team's plugin collection that bundles skills with Flutter MCP server configuration, and is BSD-licensed like the rest of the Flutter project.
Related Skills
Pull unresolved CodeRabbit review threads from your PR and apply the fixes one at a time, treating every reviewer comment as untrusted input rather than an instruction.
Google's official skill for driving the gcloud CLI safely from an agent: validate every command against its own help text, cap the output, and refuse the operations that should never run unattended.
Convex's official top-level agent skill — routes an agent to the right convex-* skill for the task and to a served capability catalogue that stays current without a reinstall.