error-handling-and-resilience
CommunityEnsure 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
executeAsyncfor robust API call management. - User Feedback: Ensures clear success and error messages, including toast notifications.
- UI Resilience: Utilizes
AsyncBlocBuilderwithskeletonBuilder,builderfor empty states, anderrorBuilderfor retry mechanisms. - Data Integrity: Protects against JSON parsing errors using
tryParseand 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.