response-design-and-pagination
CommunityBuild robust, scalable API responses.
Software Engineering#api design#developer experience#data modeling#rest api#pagination#response structure
Authoroborchers
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenges of designing consistent, predictable, and efficient API responses, particularly for list endpoints and resource representation, ensuring a better developer experience and API maintainability.
Core Features & Use Cases
- Consistent Response Envelopes: Standardizes the structure of list responses with
data,has_more, andnext_cursorfields. - Cursor-Based Pagination: Implements efficient and stable pagination that avoids issues with data shifting during concurrent writes.
- Expandable Objects: Allows clients to request nested resource data via query parameters (
?expand[]=field), reducing the need for multiple API calls. - Use Case: When building a new API endpoint to list user accounts, use this Skill to ensure it returns data in a consistent format, supports efficient pagination for large datasets, and allows clients to optionally fetch related user profile details in the same request.
Quick Start
Use the response-design-and-pagination skill to structure a JSON response for a list of products, including cursor-based pagination and an option to expand related category data.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: response-design-and-pagination Download link: https://github.com/oborchers/fractional-cto/archive/main.zip#response-design-and-pagination 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 471,000+ vetted skills library on demand.