# Vespa Skills — Agent Instructions > Auto-generated by `generate.py`. Do not edit manually. This repository contains AI coding-assistant skills for **Vespa.ai**. Each skill is a self-contained folder with a `SKILL.md` file as the primary reference. ## Available Skills ### app-package - Path: `app-package/SKILL.md` - Scaffold and configure Vespa application packages, including services.xml, schemas, deployment.xml, query profiles, and embedder components. - Reference docs: `docs/embedders.md`, `docs/services-xml.md` ### elasticsearch-migration - Path: `elasticsearch-migration/SKILL.md` - Migrate from Elasticsearch to Vespa — map ES indices and mappings to Vespa schemas, translate Query DSL to YQL, plan reindexing, and bridge ranking differences. Use when the user mentions migrating from Elasticsearch, ES→Vespa, porting an ES index, or replacing Elasticsearch with Vespa. - Reference docs: `docs/concept-mapping.md`, `docs/fetching-docs.md`, `docs/parser-and-tooling.md`, `docs/query-translation.md` ### feed-operations - Path: `feed-operations/SKILL.md` - Vespa document CRUD operations and bulk feeding — covers document ID format, JSON wire format for put/update/remove, REST API endpoints, CLI commands, partial updates, conditional writes, bulk feeding, and document visiting/export. - Reference docs: `docs/document-json.md`, `docs/feed-clients.md`, `docs/partial-updates.md`, `docs/rest-api.md`, `docs/visiting-export.md` ### pyvespa - Path: `pyvespa/SKILL.md` - Python API for Vespa.ai — define schemas, deploy applications, feed documents, query, and manage Vespa from Python using pyvespa. - Reference docs: `docs/application-api.md`, `docs/deployment-auth.md`, `docs/package-api.md`, `docs/query-builder-dsl.md` ### query-builder - Path: `query-builder/SKILL.md` - Build Vespa YQL queries and design rank profiles. Covers YQL syntax, operators, grouping, rank-profile phases, ML model integration, and query tensor inputs. - Reference docs: `docs/grouping.md`, `docs/ml-models.md`, `docs/query-tensors.md`, `docs/rank-features.md`, `docs/yql-operators.md` ### schema-authoring - Path: `schema-authoring/SKILL.md` - Writing, validating, and evolving Vespa .sd schema files — covers field types, indexing pipelines, match modes, tensors, rank profiles, structs, fieldsets, and common pitfalls. - Reference docs: `docs/example-ecommerce-schema.md`, `docs/field-types.md`, `docs/gotchas-extended.md`, `docs/schema-patterns.md`, `docs/tensors-and-hnsw.md` ### vespa-cli - Path: `vespa-cli/SKILL.md` - Vespa CLI for deploying, managing, and debugging Vespa.ai applications -- covers target configuration, authentication, deployment lifecycle, production pipelines, document operations, log inspection, testing, and CI/CD integration. - Reference docs: `docs/ci-cd.md`, `docs/cli-reference.md`, `docs/production-deploy.md`, `docs/tests-utilities.md` ## How to Use 1. Read the relevant `SKILL.md` for the task at hand. 2. Load files from the `docs/` folder when you need deeper reference detail. 3. Combine skills as needed — e.g., use **schema-authoring** to define the schema, **app-package** to set up services.xml, **query-builder** for rank profiles, and **feed-operations** to populate data. ## Reference - Vespa documentation: https://docs.vespa.ai - Vespa GitHub: https://github.com/vespa-engine/vespa - Sample applications: https://github.com/vespa-engine/sample-apps