Przejdź do treści
Biblioteka skilli
DevOps i chmura · Budowanie i kod

elastic-package-cli

/elastic-package-cli

Pomaga tworzyć i walidować integracje Elastic komendami elastic-package, takimi jak build, check, lint, test, stack i benchmark.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
24.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Pomaga tworzyć i walidować integracje Elastic komendami elastic-package, takimi jak build, check, lint, test, stack i benchmark.

Oryginalny opis (EN)

Use when developing or validating Elastic integrations with elastic-package commands such as build, check, lint, format, test, stack, service, install, profiles, and benchmark.

Jak działa

  1. When to use
  2. When not to use
  3. Prerequisites
  4. Core workflows
  5. Practical command examples
  6. Key flags cheat sheet
  7. Quick command map
  8. References
Sekcje z nagłówków SKILL.md, w oryginale · 115 linii, 402 słów
Podgląd SKILL.md
---
name: elastic-package-cli
description: "Use when developing or validating Elastic integrations with elastic-package commands such as build, check, lint, format, test, stack, service, install, profiles, and benchmark."
license: Apache-2.0
metadata:
  author: elastic
  version: "1.0"
---

# elastic-package CLI


## When to use

Use this skill when tasks include:
- validating package structure and formatting
- building a package artifact
- running pipeline or system tests
- managing local Elastic test stack lifecycle
- installing or checking package status in Kibana

## When not to use

Do not use this skill as the primary guide for:
- ECS field design decisions (use an ECS-focused skill)
- ingest processor design and parsing strategy (use an ingest-pipeline-focused skill)
- package layout architecture (use a package-structure-focused skill)

## Prerequisites

- `elastic-package` is installed and available in `PATH`
- container runtime is available (Docker or Podman)
- you run commands from a package directory (or pass `-C <package-dir>`)

## Core workflows

### 1) Validate and build loop

Run this sequence for routine local verification:

```bash
elastic-package format
elastic-package lint
elastic-package check
elastic-package build
```

Notes:
- `check` runs lint and build together and fails fast by default.
- use `format --fail-fast` when you want read-only verification without rewriting files.

### 2) Pipeline test loop (fast iteration)

Use Elasticsearch-only stack for quicker feedback:

```bash
elastic-package stack up -d --services=elasticsearch
elastic-package test pipeline
elastic-package test pipeline --generate
```

Then review generated expected files before keeping changes.

### 3) System test loop (end-to-end)

Use this when you need full ingest behavior with service provisioning:

```bash
elastic-package stack up -d
elastic-package service up
elastic-package test system
```

Use `--data-streams <name>` to scope tests and reduce run time.

## Practical command examples

```bash
# format package files
elastic-package format

# lint against package spec and templates
elastic-package lint

# combined validation workflow
elastic-package check

# build package artifact
elastic-package build

# start only Elasticsearch for pipeline tests
elastic-package stack up -d --services=elasticsearch

# run pipeline tests
elastic-package test pipeline

# regenerate expected pipeline outputs
elastic-package test pipeline --generate

# run end-to-end system tests
elastic-package test system
```

## Key flags cheat sheet

- global: `-C, --change-directory`, `-v, --verbose`
- stack: `-d, --daemon`, `-s, --services`, `--version`, `-p, --profile`
- pipeline tests: `-d, --data-streams`, `-g, --generate`, `-m, --fail-on-missing`
- system tests: `--setup`, `--tear-down`, `--no-provision`, `--variant`

## Quick command map

- validate/build: `format`, `lint`, `check`, `build`
- stack lifecycle: `stack up`, `stack status`, `stack down`
- testing: `test pipeline`, `test system`, `test static`, `test asset`, `test policy`, `test script`
- package lifecycle: `create`, `install`, `status`, `uninstall`
- support: `service up`, `profiles`, `benchmark`

## References

- Failure diagnosis and fixes: `references/troubleshooting.md`

Pliki w paczce (2)
  • SKILL.md 3 KB
  • references/troubleshooting.md 5 KB

Wersje

W bazie nie ma innych skilli o nazwie elastic-package-cli.

Migawka bazy z 13.11.2026 · wersja paczki b349754c5761 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100package-spec
    Sprawdza zgodność pakietów integracji Elastic z manifestem, changelogiem i specyfikacją upstream oraz pomaga naprawiać błędy lint.
  • 100create-integration
    Tworzy nowy pakiet integracji Elastic, scaffolduje strumienie danych i prowadzi cały proces budowy z subagentami od CEL, pipeline'ów i testów.
  • 100elastic-beanstalk-deployment
    Pomaga wdrażać aplikacje Node.js na AWS Elastic Beanstalk i diagnozować problemy wdrożenia, w tym strategie instalacji zależności i monorepo.
  • 95observability-onboarding
    Włącza aplikację do Elastic Observability przez EDOT: dobiera konfigurację do języka, zastępuje klasycznego agenta Elastic APM, ustawia OTLP i weryfikuje w ES|QL, że ślady, metryki i logi docierają.
  • 100elk
    Opisuje Elastic Stack do obserwowalności: zarządzanie klastrem Elasticsearch, Elastic Agent i Fleet, Kibanę, pipeline'y ingest, KQL i ES|QL oraz APM.
  • 95cloud-onboarding
    Wdraża organizację Elastic Cloud: konfiguruje kontekst Cloud i klucz API w CLI elastic oraz region domyślny, zaprasza użytkowników, przypisuje role projektów Serverless i zarządza kluczami API.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.