create-sort
OfficialCreate Elasticsearch Sort class per conventions.
Authorbonu-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manually adding new Elasticsearch Sort classes is error‑prone and requires repetitive boilerplate, violating project standards.
Core Features & Use Cases
- Provides step‑by‑step guidelines to create the class file, unit test, and ensure CI conventions (immutability, no final/private, proper PHPDoc, strict types).
- Generates appropriate templates for field‑based, delegating, and complex nested sorts.
- Integrates the new sort with the QueryBuilder for immediate usage in search queries.
Quick Start
Ask the create‑sort skill to add a GeoDistanceSort for the 'location' field.
Dependency Matrix
Required Modules
None requiredComponents
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: create-sort Download link: https://github.com/bonu-dev/php-elasticsearch-builder/archive/main.zip#create-sort 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.