К основному содержанию
скилл CX Codex

create-integration — скилл для Claude Code: установка

Скилл создаёт пакеты интеграций Elastic, настраивает потоки данных и ведёт сборку через CEL, пайплайны и системные тесты.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add elastic/integration-skills --skill create-integration -a claude-code
Открыть на GitHub

Что делает create-integration

create-integration помогает создать новый пакет интеграции Elastic с нуля или добавить потоки данных в существующий пакет. Он подсказывает структуру пакета, размещение файлов и форму manifest.yml, запускает scaffolding и учитывает последующие правки.

Скилл распределяет работу между субагентами: отдельные этапы отвечают за CEL-программы, настройку сбора данных, пайплайны, поля, системные тесты и проверку качества. Для создания интеграции можно передать имя пакета, продукт, способ доставки данных, документацию API, примеры данных и ограничения.

Для потоков через aws-s3, gcs, azure-blob-storage и azure-eventhub настройка сбора данных и системные тесты пропускаются. Это повод заранее проверить тип входа, если вам нужны именно эти проверки.

Какие задачи решает

  • создать пакет интеграции Elastic с нуля
  • добавить поток данных в существующий пакет
  • разобраться со структурой пакета и manifest.yml
  • настроить CEL, пайплайн и системные тесты
  • провести проверку готовой интеграции

Примеры запросов агенту

  • Создай интеграцию acme_firewall для устройства Acme Firewall appliance с API-документацией и примером @samples/acme_events.json.
  • Добавь поток audit в @packages/acme_firewall через cel, используя @samples/acme_audit.json.
  • Проверь структуру пакета Elastic и подготовь полный рабочий процесс для потоков log и traffic.

Как установить create-integration

1Через Skills CLI (Vercel)

npx skills add elastic/integration-skills --skill create-integration -a claude-code

2Вручную: положить файлы

~/.claude/skills/create-integration/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/create-integration/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора7

ingest-pipelines Скилл для проектирования и правки ingest-пайплайнов Elasticsearch: парсинг, ветвления, суб-пайплайны и обработка ошибок. CX Codex +1 516установок dashboard-review Скилл сравнивает изменения JSON-дашбордов Kibana между ветками и проверяет их по рекомендациям Elastic. Пригодится для ревью PR с дашбордами. CX Codex +1 510установок anonymize-logs Заменяет чувствительные значения в логах заказчика, не трогая структуру и формат строк. Пригодится, когда логи надо передать наружу или закоммитить. CX Codex +1 509установок cel-programs Скилл для работы с CEL и mito в интеграциях, которые собирают данные из API: шаблоны cel.yml.hbs, манифесты, отладка через mock. CX Codex +1 504установок maintain-integration Проверяет и улучшает существующие пакеты Elastic integration: от манифестов и пайплайнов до CEL-программ и ECS-сопоставлений. CX Codex +1 503установок input-configurations Скилл для сборки и правки шаблонов входов в интеграциях Elastic: от HTTPJSON и S3 до Journald и WebSocket. Плюс федеративная идентичность для AWS. CX Codex +1 503установок

Похожие

mem0-test-integration mem0ai Проверяет интеграцию Mem0, которую собрала /mem0-integrate: ставит зависимости, гоняет тесты и сквозной сценарий с настоящим ключом, выдаёт scorecard. CX Codex +1 325установок plan-zoom-integration официальный anthropics Скилл превращает идею интеграции с Zoom в план разработки с архитектурой, авторизацией, этапами и рисками. CX Codex +1 2 100установок stream-chain ruvnet Организует последовательную передачу данных между шагами агента через цепочки промптов или готовые пайплайны. CX Codex +1 1 200установок sap-btp-master-data-integration secondsky Помогает настроить тенант SAP Master Data Integration, подключить приложения и разобраться с репликацией мастер-данных. CX Codex +1 659установок api-connector-builder affaan-m Скилл добавляет новый API-коннектор по шаблону существующих интеграций в репозитории. Пригодится, когда нужно расширить проект без второй архитектуры. CX Codex +1 4 500установок 132-java-testing-integration-testing Juan Antonio Breña Moral Скилл для ИИ-агента, который наводит порядок в интеграционных тестах Java-сервисов: поднимает WireMock, изолирует заглушки и убирает моки HTTP-клиентов. CX Codex +1 376установок

Рядом в теме «Настройка агента: память, контекст, субагенты»

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Вопросы о create-integration

Как установить create-integration в Claude Code?

Выполните npx skills add elastic/integration-skills --skill create-integration -a claude-code, затем повторите npx skills add elastic/integration-skills --skill create-integration -a claude-code и проверьте файл ~/.claude/skills/create-integration/SKILL.md.

Что делает create-integration?

Скилл создаёт пакеты интеграций Elastic, добавляет потоки данных, подсказывает структуру файлов и координирует работу субагентов для CEL, пайплайнов, тестов и ревью.

Какие входы поддерживает create-integration?

Он работает с CEL, tcp, udp, filestream, http_endpoint, aws-s3, gcs, azure-blob-storage и azure-eventhub. Для облачных хранилищ настройка сбора данных и системные тесты пропускаются.

Исходный текст

SKILL.md · Apache-2.0
---
name: create-integration
description: "Use 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."
license: Apache-2.0
metadata:
  author: elastic
  version: "1.0"
---

# create-integration

## When to use

Use this skill when tasks include:
- creating a new integration package from scratch
- scaffolding data streams and applying post-scaffold edits
- understanding package topology, file placement, and manifest patterns
- running the end-to-end build workflow (scaffold → data collection setup → pipeline → system tests → review)
- questions about package structure, layout, or `manifest.yml` shape

## IMPORTANT: Loading references

This skill has four reference files. Load the appropriate one(s) based on your task:

**When creating a full integration (end-to-end):**
→ **MUST read `references/create-workflow.md` fully before starting.** This contains the complete orchestration workflow, all phases, subagent delegation instructions, and guardrails.

**When adding data streams to an existing package:**
→ **MUST read `references/add-datastream-workflow.md` fully before starting.** This covers verifying the package, scaffolding streams, and the CEL → pipeline → system-test sequence.

**When scaffolding a package or data stream, or applying post-scaffold edits:**
→ Read `references/scaffold-commands.md` for the scaffold commands, post-scaffold checklist, and common pitfalls.

**When reviewing or understanding package topology and file layout:**
→ Read `references/package-layout.md` for canonical trees, manifest patterns, and review checklists for both integration and input packages.

## What to provide when creating an integration

Include any combination of the following:

| Input | How to provide | Examples |
|-------|----------------|----------|
| Package name | free text | `my_vendor` |
| Product / vendor | free text | "Acme Firewall appliance" |
| Data delivery method | free text | "REST API with pagination", "syslog over TCP/UDP", "S3 bucket" |
| API / log documentation | paste URLs | `https://docs.acme.com/api/v2` |
| Sample data | `@`-mention files | `@samples/acme_event.json` |
| Research brief | `@`-mention file | `@notes/acme-research-brief.md` |
| Constraints | free text | "CEL input only", "single data stream" |

### Example invocations

```
Create a new "acme_firewall" integration for Acme Firewall appliance.
  API docs: https://docs.acme.com/api/v2/events
  Auth: Bearer token header. Pagination: offset-based with total_count.
  @samples/acme_events.json. Single data stream "event" using cel input.
```

```
New syslog integration "my_appliance" with tcp,udp inputs.
  @notes/research-brief.md. Two streams: "log" (syslog) and "traffic" (syslog).
```

## What to provide when adding data streams to an existing package

Use `@`-mentions for files/folders and paste links inline.

| Input | How to provide | Examples |
|-------|----------------|----------|
| Target package | free text or `@`-mention | `acme_firewall`, `@packages/acme_firewall` |
| Stream name | free text | `audit`, `traffic`, `alert` |
| Stream type | free text | `logs` (default) or `metrics` |
| Input type(s) | free text | `cel`, `tcp,udp`, `filestream`, `http_endpoint`, `aws-s3` |
| API / log docs | paste URLs | `https://docs.acme.com/api/audit` |
| Sample data | `@`-mention files | `@samples/audit_event.json`, `@samples/traffic.log` |
| Research brief | `@`-mention file | `@notes/acme-audit-brief.md` |
| Constraints | free text | "reuse package-level auth vars", "separate pipeline per event type" |
| Acceptance criteria | free text | "parse all syslog fields, map to ECS" |

### Example invocations

```
Add "audit" stream to @packages/acme_firewall using cel input.
  API endpoint: /api/v2/audit_logs
  Pagination: timestamp cursor.
  @samples/acme_audit.json
```

```
Add "traffic" and "threat" streams to acme_firewall.
  Both use tcp,udp inputs (syslog).
  @samples/traffic.log @samples/threat.log
```

## Subagents overview

Do **not** load CEL, pipeline, ECS, or field-mapping skills yourself. Delegate to subagents that load their own domain skills.

All specialised work is delegated to the platform's **generic / general-purpose subagent** (Cursor: `generalPurpose` Task agent; Claude Code: `general-purpose` Task agent; or the equivalent on other platforms). Each task prompt must **point the subagent at the relevant `*-subagent-guidance.md` file by path** and instruct it to read that file (plus the skill SKILL.md it lists in "First steps") end-to-end before doing any other work. **Do NOT read the guidance file yourself or paste its contents into the task prompt** — that doubles its context cost. Pass only the path plus the task-specific context. The subagent will load the manual itself in its own fresh context. Full dispatch rules and per-step detail live in `references/create-workflow.md` and `references/add-datastream-workflow.md`.

| Subagent guidance file | When to use |
|----------|-------------|
| `/research-integration` skill (orchestrates its own research subagents) | Vendor/API research before building, when no research brief is provided |
| `cel-programs/references/builder-subagent-guidance.md` | Each CEL data stream — mock API, CEL program (incremental mito build), `cel.yml.hbs` template, manifest vars, initial field mappings |
| `integration-testing/references/builder-setup-subagent-guidance.md` | Each non-CEL data stream — data collection setup (docker-compose, sample logs, agent stream template, system test config, manifest var cleanup) |
| `ingest-pipelines/references/builder-subagent-guidance.md` | Each data stream's pipeline and field definitions |
| `integration-testing/references/builder-system-test-subagent-guidance.md` | System test execution after pipeline work completes, for any testable input (CEL, tcp, udp, http_endpoint, logfile, kafka, pubsub) |
| `review-integration/references/reviewer-subagent-guidance.md` | Quality review after all streams are built — classifies files by domain, loads relevant domain skills and checklists via the `review-integration` skill, returns severity-ranked, domain-tagged findings |

For **cloud storage inputs** (aws-s3, gcs, azure-blob-storage, azure-eventhub): skip data collection setup and system tests. The scaffold provides a usable template; trim vars to match needs. See `references/create-workflow.md` for details.

## References

- `references/create-workflow.md` — full phases 1–8 for creating a new integration, subagent instructions, guardrails, data anonymization
- `references/add-datastream-workflow.md` — phases 1–4 for adding data streams to an existing package, CEL/pipeline/system-test sequence
- `references/scaffold-commands.md` — scaffold commands, post-scaffold edits, base-fields.yml format
- `references/package-layout.md` — integration and input package topology, manifest patterns

© elastic · Apache-2.0 · elastic/integration-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой