create-query
OfficialScaffold Elasticsearch Query classes quickly.
Authorbonu-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generates standardized Elasticsearch Query classes, exceptions, and tests to accelerate feature development within a PHP project. It enforces project conventions such as immutability, PHPDoc, and trait usage, and streamlines the creation of new query types.
Core Features & Use Cases
- Generates a new Query class implementing the project's QueryInterface with standard traits (BoostableQuery, AnalyzerAwareQuery as needed).
- Creates corresponding exception classes and unit tests, all wired to adhere to immutability and PHPDoc conventions.
- Ideal for when you need to add, implement, or create a new query type (e.g., fuzzy, wildcard, prefix) with full project conformity.
Quick Start
Ask me to create a new Elasticsearch Query class for a given query type, and I will generate the class, exception, tests, and required CI-compliant files.
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-query Download link: https://github.com/bonu-dev/php-elasticsearch-builder/archive/main.zip#create-query 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.