·api-pagination
</>

api-pagination

Cursor/offset pagination pattern for PHP REST APIs and Android (Jetpack Compose + MVVM). Covers backend response format, Android DTOs, repository, use case, ViewModel state, and infinite-scroll LazyColumn. Use when adding pagination to any list endpoint.

16Installs·0Trend·@peterbamuhigire

Installation

$npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination

How to Install api-pagination

Quickly install api-pagination AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: peterbamuhigire/skills-web-dev.

SKILL.md

View raw

Standard offset-based pagination pattern used across the Maduuka platform. Applies to both the PHP backend (REST API) and the Android client (Kotlin + Compose).

Pattern: Backend returns data.items[] + data.pagination{}. Android appends items on scroll, tracks page/totalPages in ViewModel state.

Deployment: Backend runs on Windows dev (MySQL 8.4.7), Ubuntu staging (MySQL 8.x), Debian production (MySQL 8.x). Pagination queries must use utf8mb4unicodeci collation and work identically on all platforms.

Cursor/offset pagination pattern for PHP REST APIs and Android (Jetpack Compose + MVVM). Covers backend response format, Android DTOs, repository, use case, ViewModel state, and infinite-scroll LazyColumn. Use when adding pagination to any list endpoint. Source: peterbamuhigire/skills-web-dev.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination
Category
</>Dev Tools
Verified
First Seen
2026-02-21
Updated
2026-03-10

Browse more skills from peterbamuhigire/skills-web-dev

Quick answers

What is api-pagination?

Cursor/offset pagination pattern for PHP REST APIs and Android (Jetpack Compose + MVVM). Covers backend response format, Android DTOs, repository, use case, ViewModel state, and infinite-scroll LazyColumn. Use when adding pagination to any list endpoint. Source: peterbamuhigire/skills-web-dev.

How do I install api-pagination?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/peterbamuhigire/skills-web-dev