Registry / zakariaf

zakariaf/flutter-skills/widget-composition

Enforces Flutter widget composition — extract named const Widget classes never `Widget _buildX()` methods, lean build() (no I/O/formatting/domain math, precompute in the ViewModel), dumb Views that watch one Notifier and route intents via ref.read, StatelessWidget by default with every controller disposed, lazy `.builder` lists, cheapest-widget choices (SizedBox/ColoredBox/Align over Container), a strict key policy (ValueKey for reorderable lists, never GlobalKey), gesture→visible-focusable-fall

Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills

Install

npx yarkr-cli add skill:zakariaf/flutter-skills/widget-composition

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/widget-composition
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/widget-composition

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/widget-composition

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.