api-response-patterns
CommunityStandardize API responses across ABP-based apps.
Authoralexsandrocruz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides standardized API response wrappers for ABP Framework applications, ensuring consistent success, failure, and metadata across endpoints.
Core Features & Use Cases
- Unified Response Contracts: Define ApiResponse<T>, ResponseModel<T>, and PagedApiResponse<T> to standardize payloads.
- Rich Metadata & Errors: Include correlation IDs, timestamps, and detailed ApiError structures for diagnostics.
- Pagination & Scoping: Support paged results with total counts and page information for client UIs.
Quick Start
Use ApiResponse<T> wrappers in application services to return success or failure consistently, e.g., return ApiResponse<ProductDto>.Ok(dto, "Fetched") or ApiResponse<ProductDto>.Fail("Not found", "NOT_FOUND").
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: api-response-patterns Download link: https://github.com/alexsandrocruz/DominusLeads/archive/main.zip#api-response-patterns 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.