rails-pagination-kaminari

Community

Add robust Kaminari pagination to Rails apps

AuthorShoebtamboli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provide easy, consistent pagination for Rails applications so large result sets and lists can be navigated, served in APIs, and rendered in views without manual offset calculation or inconsistent UX.

Core Features & Use Cases

  • Controller integration: Use page and per parameters to paginate ActiveRecord queries and associations.
  • API pagination: Produce pagination metadata and links for JSON responses and support Link headers or JSON:API-style links.
  • View helpers & themes: Render pagination controls with built-in helpers and swap themes for Bootstrap, Tailwind, or custom templates.
  • Performance patterns: Support without_count, cached totals, counter caches, and cursor-style pagination for very large datasets.
  • Array and custom collection pagination: Paginate arrays or precomputed collections and combine with filtering, searching, and infinite scroll.

Quick Start

Install and configure Kaminari, call page(params[:page]) in your controller, and add paginate to your index view to display links.

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: rails-pagination-kaminari
Download link: https://github.com/Shoebtamboli/rails_claude_skills/archive/main.zip#rails-pagination-kaminari

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 223,000+ vetted skills library on demand.