Creates, runs, and debugs elastic-package tests including pipeline fixtures, system tests with mock API wiring, and script tests for failure paths and upgrades. Load the reference file matching the test type.
Ships in integration-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Load this skill whenever tasks include:
.log/.json inputs, *-expected.json output, config files)_dev/test/system/, _dev/deploy/, mock APIs, 0-hits failures)Do not use this skill as the primary guide for:
ingest-pipelines)cel-programs)elastic-package-cli)| Test type | Load when | Reference file |
|---|---|---|
| Pipeline tests | Writing fixtures, config files, expected output, debugging pipeline test failures | references/pipeline-testing.md |
| System tests (generic) | Always load for any system test work — config fields, commands, teardown, debugging | references/system-testing.md |
| Script tests | txtar failure/error tests, upgrade tests, mock services embedded in txtar | references/script-testing.md |
Policy tests (_dev/test/policy/*.yml with a generated .expected sibling) render the agent policy for a set of vars: and snapshot the result. elastic-package test policy --generate records whatever the template renders, including a broken rendering, so a passing policy test does not prove the variables are wired. After generating, confirm that every variable the fixture sets has a visible effect in the .expected: its value appears, or the block it guards is rendered. A variable that is set in the fixture and absent from the output means the template reads a different name than the manifest declares (see manifest-rules.md in the package-spec skill). Fix the name mismatch, do not edit the .expected by hand.
In addition to the generic system-testing.md, load the reference file matching your data stream's input type:
| Input type | Reference file |
|---|---|
cel | references/system-testing-cel.md |
tcp, udp | references/system-testing-tcp-udp.md |
http_endpoint | references/system-testing-http-endpoint.md |
logfile, filestream | references/system-testing-logfile.md |
kafka, gcp-pubsub | references/system-testing-kafka-pubsub.md |
aws-s3, gcs, azure-blob-storage, azure-eventhub | references/system-testing-cloud-skip.md |
When an integration supports multiple input types, load the generic reference plus each applicable input-type reference.
When working across multiple test types in one task (e.g. creating a new data stream end-to-end), load all applicable reference files.
references/pipeline-testing.md — directory layout, naming conventions, fixture formats, config options, expected output format and review, core workflow, fixture scenario coverage, data anonymization, troubleshootingreferences/system-testing.md — generic system test reference: required layout, config fields, core commands, teardown failures, sample_event.json verification, general debuggingreferences/system-testing-cel.md — CEL mock API wiring, 0-hits debugging for CEL, variable-capture patternsreferences/system-testing-tcp-udp.md — TCP/UDP log sender pattern with elastic/stream, signal coordination, port alignmentreferences/system-testing-http-endpoint.md — webhook/HTTP endpoint testing with STREAM_PROTOCOL=webhook, auth headersreferences/system-testing-logfile.md — Alpine container + SERVICE_LOGS_DIR pattern for logfile/filestream inputsreferences/system-testing-kafka-pubsub.md — Kafka broker + stream producer, Pub/Sub emulator patternsreferences/system-testing-cloud-skip.md — when and why to skip system tests for cloud storage inputs (aws-s3, gcs, azure-blob-storage, azure-eventhub)references/script-testing.md — txtar format, env smoke test, system-level skeleton, mock service docker-compose and config.yml, upgrade test pattern, pitfalls, full o365 examplesreferences/builder-setup-subagent-guidance.md — subagent operating manual for wiring data collection (docker-compose, sample logs, agent stream template, system test config, manifest var cleanup) for non-CEL data streams. The orchestrator dispatches subagents by passing this file's path in the task prompt; the subagent reads it itself in its own fresh context. Do NOT embed/paste its contents into the task prompt.references/builder-system-test-subagent-guidance.md — subagent operating manual for running elastic-package test system --generate after pipeline work completes (any testable input). Same dispatch rule as above: orchestrators pass the path, the subagent reads the file itself.references/builder-setup-subagent-guidance.md (opens in a new tab)references/builder-system-test-subagent-guidance.md (opens in a new tab)references/pipeline-testing.md (opens in a new tab)references/script-testing.md (opens in a new tab)references/system-testing-cel.md (opens in a new tab)references/system-testing-cloud-skip.md (opens in a new tab)references/system-testing-http-endpoint.md (opens in a new tab)references/system-testing-kafka-pubsub.md (opens in a new tab)references/system-testing-logfile.md (opens in a new tab)references/system-testing-tcp-udp.md (opens in a new tab)references/system-testing.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/integration-skills:integration-testingfrom integration-skills
npx claudepluginhub elastic/integration-skills --plugin integration-skills15 skills in this plugin
/anonymize-logsAnonymize and sanitize customer-provided log files. Performs a line-by-line review and replaces all sensitive values inline, preserving log structure and format exactly — never reformats, re-indents, or restructures content. Use when sanitizing customer logs, sample events, or test fixtures. Invoke manually with /anonymize-logs./cel-programsUse for all CEL and mito work on integrations that collect from APIs — writing CEL programs, cel.yml.hbs templates, manifest configuration, mock-first development with the mito CLI, system test mock setup, and answering CEL/mito questions. Load this skill whenever any data stream uses the cel input type./create-integrationUse when creating a new Elastic integration package, scaffolding data streams, answering package layout or structure questions, or running the end-to-end integration build workflow. Covers package topology, scaffold commands, post-scaffold edits, and full orchestration of CEL/pipeline/test subagents./dashboard-guidelinesUse when creating or reviewing Kibana assets in packages, including dashboard design for Kibana 9.4+, YAML or exported dashboard sources, naming, and data stream alignment./dashboard-reviewUse when reviewing dashboard JSON changes in a PR or branch. Extracts structured descriptions with kbdash, compares before/after, and checks guideline compliance./ecs-field-mappingsUse when defining field mappings for data streams, populating ecs.yml with ECS field references, selecting ECS categorization values, choosing custom field types, or troubleshooting mapping validation failures.Other plugins' skills for the same job