generators-pagination

Community

Add robust pagination and infinite scrolling

AuthorAutisticAF
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of production-ready pagination infrastructure for SwiftUI apps, eliminating manual, error-prone wiring for infinite scroll, load-more buttons, and paginated search results.

Core Features & Use Cases

  • Offset and cursor support: scaffolds unified PageRequest, OffsetPaginatedResponse, and CursorPaginatedResponse models for REST APIs.
  • Stateful managers and adapters: generates PaginationManager with a clear state machine, prefetch thresholding, cancellation-safe concurrency, and a SearchablePaginationManager adapter for debounced queries.
  • SwiftUI integration and UX: provides PaginatedList, LoadMoreButton, error and skeleton views, and example test cases so teams can quickly add robust paginated lists to user interfaces.
  • Use Case: Add infinite scrolling with search to a Users list backed by a cursor-based API while preserving existing items on errors and handling retries.

Quick Start

Generate pagination scaffolding for your SwiftUI app including PaginationManager, PaginatedDataSource, and PaginatedList views.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: generators-pagination
Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#generators-pagination

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.