generators-pagination
CommunityAdd robust pagination and infinite scrolling
Software Engineering#search#swiftui#pagination#state-machine#infinite-scroll#cursor-pagination#offset-pagination
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.