sima-sorting

Community

Consistent, reusable sorting for listings.

AuthorRosenGray
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill defines a reusable pattern for sorting across listing pages, unifying UI, backend, and URL-driven state to ensure consistent results.

Core Features & Use Cases

  • Reusable SortFilters UI for selecting sort options across sections
  • Server-side interpretation of sort strings via a repository pattern that safely maps fields to DB fields
  • URL-driven state with query parameters to preserve filters and reset pagination on changes
  • Example: sort cars, pets, or other listings by date, year, price, or mileage with deterministic pagination

Quick Start

Load a listing page, choose a sort (e.g., date_desc or price_asc), and observe the URL update. The page resets to the first page on sort changes and preserves existing filters.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: sima-sorting
Download link: https://github.com/RosenGray/sima/archive/main.zip#sima-sorting

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.