What problem does it solve? Backend list endpoints in the Self Serve codebase must follow the query service's cursor pagination contract, and mistakes like using limit instead of page_size or hand-rolling pagination loops cause bugs and contract mismatches. ## Core Features & Use Cases - Cursor Pagination Guidance: Enforces page_token / page_size conventions and the PaginatedResponse<T> wrapper for all list endpoints. - All-Pages Fetching: Directs use of the fetchAllQueryResources helper instead of manual while (page_token) loops for exports and aggregations. - Filtering and Search: Documents the filters array format (field:value, auto-prefixed with data.) for sorting, search, and tag matching. - Use Case: When adding a new GET /api/<resource> endpoint that wraps the query service, follow the workflow to wire cursor pagination correctly and verify the upstream contract before shipping. ## Quick Start Ask the AI to add cursor pagination with page_token and page_size to a new Self Serve list endpoint that wraps the query service.