·api-pagination
</>

api-pagination

PHP REST API 和 Android (Jetpack Compose + MVVM) 的光标/偏移分页模式。涵盖后端响应格式、Android DTO、存储库、用例、ViewModel 状态和无限滚动 LazyColumn。在向任何列表端点添加分页时使用。

16安装·0热度·@peterbamuhigire

安装

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

如何安装 api-pagination

通过命令行快速安装 api-pagination AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:peterbamuhigire/skills-web-dev。

SKILL.md

查看原文

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.

PHP REST API 和 Android (Jetpack Compose + MVVM) 的光标/偏移分页模式。涵盖后端响应格式、Android DTO、存储库、用例、ViewModel 状态和无限滚动 LazyColumn。在向任何列表端点添加分页时使用。 来源:peterbamuhigire/skills-web-dev。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination
分类
</>开发工具
认证
收录时间
2026-02-21
更新时间
2026-03-10

Browse more skills from peterbamuhigire/skills-web-dev

快速解答

什么是 api-pagination?

PHP REST API 和 Android (Jetpack Compose + MVVM) 的光标/偏移分页模式。涵盖后端响应格式、Android DTO、存储库、用例、ViewModel 状态和无限滚动 LazyColumn。在向任何列表端点添加分页时使用。 来源:peterbamuhigire/skills-web-dev。

如何安装 api-pagination?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-pagination 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

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