This skill provides a comprehensive framework for managing HTTP requests within frontend applications, ensuring consistent implementation of loading states, error handling, and business logic validation. It guides developers through choosing the right API architecture—whether co-locating requests with components or abstracting them into service layers—while enforcing best practices like mandatory finally blocks for UI state cleanup and anti-duplication patterns for form submissions. It is particularly effective for teams using Axios and Vue/React environments where state synchronization with network requests is critical.
主な機能
01Standardized Axios request and response patterns
02Business-level error handling and code validation
03Flexible API directory structure (Local vs. Global)
04Mandatory loading state lifecycle management
05Anti-duplicate submission and polling implementations
061 GitHub stars
ユースケース
01Designing a scalable API service layer for large-scale frontend projects
02Implementing safe form submissions with prevention of double-clicks
03Standardizing network error handling and loading indicators across a team