$npx -y skills add girijashankarj/cursor-handbook --skill opensearchWorkflow for OpenSearch (or Elasticsearch) usage: indexing, search, mappings, and tuning. Use when the user asks about OpenSearch/Elasticsearch.
| 1 | # Skill: OpenSearch |
| 2 | |
| 3 | ## Trigger |
| 4 | When the user asks about OpenSearch/Elasticsearch indexing, search queries, or mapping design. |
| 5 | |
| 6 | ## Steps |
| 7 | |
| 8 | 1. **Clarify** — Identify use case (full-text search, filters, aggregations, logging). |
| 9 | 2. **Mapping** — Propose or review index mapping (keyword vs text, date, nested) per use case. |
| 10 | 3. **Query** — Write or adjust query (query DSL or simple term/match); prefer parameterized inputs. |
| 11 | 4. **Operational** — Mention index lifecycle, refresh, and sizing if relevant. |
| 12 | |
| 13 | ## Rules |
| 14 | - Do not expose real cluster URLs or credentials; use placeholders. |
| 15 | - Follow project security rules (no secrets in code, env vars for endpoints). |