error-handling-and-resilience

Community

Ensure robust API error handling.

AuthorAdhamHashim
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses issues where applications fail to handle API errors gracefully, leading to poor user experiences with blank screens, missing feedback, and unresponsive behavior.

Core Features & Use Cases

  • API Error Handling: Implements executeAsync for robust API call management.
  • User Feedback: Ensures clear success and error messages, including toast notifications.
  • UI Resilience: Utilizes AsyncBlocBuilder with skeletonBuilder, builder for empty states, and errorBuilder for retry mechanisms.
  • Data Integrity: Protects against JSON parsing errors using tryParse and nullish coalescing.

Quick Start

Review the Cubit and View layers to ensure proper implementation of executeAsync, AsyncBlocBuilder, and user-facing error messages.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: error-handling-and-resilience
Download link: https://github.com/AdhamHashim/Flutter_Base/archive/main.zip#error-handling-and-resilience

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.