integrations-lifecycle
GitHub管理Netdata集成流水线,涵盖metadata验证、文档生成及发布流程。指导如何编辑源文件并隔离处理生成的产物,确保CI校验与交付一致性。
Trigger Scenarios
Install
npx skills add netdata/netdata --skill integrations-lifecycle -g -y
SKILL.md
Frontmatter
{
"name": "integrations-lifecycle",
"description": "Change or review the Netdata integrations pipeline, collector artifact consistency, metadata validation, generated docs\/catalogs and source-versus-runtime delivery. Covers ibm.d and NPM producers, schemas, generators and dormant taxonomy. Metadata field prose uses collectors-metadata-yaml."
}
integrations-lifecycle
The pipeline that turns source metadata into the integration pages, the umbrella pages, and the in-app catalog. This
skill owns the mechanics and the delivery rules; what a collector metadata.yaml field should say is
.agents/skills/collectors-metadata-yaml/, and config_schema.json is
.agents/skills/collectors-go-design/config-schema.md.
Apply AGENTS.md#skill-selection. For review, select the affected pipeline or artifact contract below and inspect
source plus existing validation evidence. Loading recipes does not require regeneration, dependency installation,
commits or publication. Authorized validation uses current inputs and preserves existing outputs through isolation.
Shared delivery facts:
metadata.yamlis the input. Hand-authored for most integrations; generated for ibm.d modules (fromcontexts.yaml,config.go,module.yaml) and for the NPM catalog (from SNMP profiles byintegrations/gen_npm_catalog.py). Edit the authoritative source, never a generated file.- Every
<dir>/integrations/<slug>.md, every README that is a symlink or whose<!--startmetablock carries amessage: "DO NOT EDIT..."line (a<!--startmetablock alone is not the marker; hand-authored Learn pages have one too), and the umbrella pagessrc/collectors/COLLECTORS.md,SECRETS.md,SERVICE-DISCOVERY.md(no banner) are generated. Do not edit them. - Source PRs carry sources; generated documentation arrives through the post-merge
integrations-regenPR. Validate withgen_integrations.pyand the tests during authorized changes; preview pages in isolation usinghow-tos/preview-collector-page.md(selected collectors or its non-collector route). Preserve existing generated-file edits and keep them out of the source commit. The one place this boundary is written out, with its ibm.d runtime-output exception, isconsistency.md. - The collector taxonomy (
taxonomy.yaml,gen_taxonomy.py) is a dormant early implementation kept for later work; nothing runs it. Do not author, extend, or seed taxonomy content (consistency.md, "The dormant collector taxonomy").
You edit metadata or a collector and need to validate and deliver
| Read | For |
|---|---|
consistency.md |
which artifacts move together, the delivery boundary, what CI enforces, the review checklist, the dormant taxonomy |
integrations/README.md |
dependencies and the command list for a local run |
how-tos/preview-collector-page.md |
selected collector prose; its non-collector route covers flows and other types in an isolated source copy |
description-authoring.md |
the catalog sentence and the generated page meta description (the two cross-type description contracts) |
recipes/add-go-collector.md, recipes/update-collector.md |
step-by-step for a new or changed go.d collector |
ibm-d.md |
the ibm.d generation chain |
how-tos/INDEX.md |
retiring a collector, tracing a missing published section, auditing Learn links, Prometheus profiles and the catalog |
You change the generators, schemas, templates, or CI
| Read | For |
|---|---|
pipeline.md |
stages, sources per integration type, validation and rendering, outputs and banners, page locations and learn_rel_path, umbrella pages, both workflows |
schema-reference.md |
what each schema validates and the behavior the schema file does not show |
gotchas.md |
dead code, silent behaviors, validation traps, the MDX incident |
in-app-contract.md |
how cloud-frontend consumes integrations.js and what it treats as a contract |
how-tos/INDEX.md |
adding an integration type, the NPM catalog generator |
Citations in this skill name files and symbols, never line numbers; open the file and search for the symbol.
Live how-to rule
Capture timing and authorization follow AGENTS.md#knowledge-capture. Pipeline recipes live in how-tos/ and are
listed in ./how-tos/INDEX.md; prefer updating an existing guide when it already covers most of the question.
Path discipline
.agents/sensitive-data-discipline.md applies: repository files repo-relative, sibling Netdata-org repositories as
${NETDATA_REPOS_DIR}/<repo>/..., no workstation paths.
Related skills
collectors-authoring: read first when authoring a brand-new collector; this skill covers the integration side.collectors-metadata-yaml: the words on the page, field by field.collectors-go-design/config-schema.md: the DynCfg form.docs-learn-site-structure: how the generated pages reachlearn.netdata.cloud(docs/.map/map.yaml, ingest, redirects).collectors-prometheus-profiles: the profile side of the Prometheus catalog.
Version History
-
1e97a0f
Current 2026-09-23 11:23
精简技能内容,移除休眠的分类法编写内容;澄清调用方式和不安全指引;重命名为领域前缀格式。
- 8f91e63 2026-08-20 20:20


