·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