测试与安全

package-spec

elastic/integra…n-skills

Package specification compliance for Elastic integration packages. Covers manifest structure (format_version, conditions, variables, var_groups, provider_permissions, routing rules), changelog schema and semantic version bumps, and alignment with the upstream elastic/package-spec. Use when building or reviewing manifest.yml, changelog.yml, or debugging elastic-package lint/check errors on package metadata.

  • 509 次安装
  • 16 星标
  • 收录于

安装命令

npx skills add https://github.com/elastic/integration-skills --skill package-spec

SKILL.md

package-spec

Skill authority

The rules and patterns defined in this skill and its reference files are the authoritative source of truth. When examining existing integrations in the elastic/integrations repository for reference, you may encounter patterns that conflict with what is specified here -- many integrations contain legacy patterns that predate current standards. Always follow this skill over patterns observed in other integrations. If a reference integration uses a deprecated or prohibited pattern, do not copy it.

When to use

Use this skill when tasks include:

  • building or reviewing manifest.yml at root or data stream level
  • adding or validating changelog.yml entries
  • selecting the correct change type and semantic version bump
  • configuring policy templates, inputs, and variable declarations
  • declaring var_groups or provider_permissions (schema and floors)
  • debugging elastic-package lint or elastic-package check errors on manifests or changelogs
  • reviewing variable scoping across package, policy template, input, and data stream levels
  • validating Handlebars template variables against manifest declarations
  • configuring routing rules and their required manifest flags
  • determining which format_version is needed for a package's features