Agent Skillsnetdata/netdata › integrations-lifecycle

integrations-lifecycle

GitHub

管理Netdata集成流水线,涵盖metadata验证、文档生成及发布流程。指导如何编辑源文件并隔离处理生成的产物,确保CI校验与交付一致性。

.agents/skills/integrations-lifecycle/SKILL.md netdata/netdata

Trigger Scenarios

修改集成元数据或收集器配置 验证集成文档生成结果 审查集成流水线变更

Install

npx skills add netdata/netdata --skill integrations-lifecycle -g -y
More Options

Non-standard path

npx skills add https://github.com/netdata/netdata/tree/master/.agents/skills/integrations-lifecycle -g -y

Use without installing

npx skills use netdata/netdata@integrations-lifecycle

指定 Agent (Claude Code)

npx skills add netdata/netdata --skill integrations-lifecycle -a claude-code -g -y

安装 repo 全部 skill

npx skills add netdata/netdata --all -g -y

预览 repo 内 skill

npx skills add netdata/netdata --list

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.yaml is the input. Hand-authored for most integrations; generated for ibm.d modules (from contexts.yaml, config.go, module.yaml) and for the NPM catalog (from SNMP profiles by integrations/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 <!--startmeta block carries a message: "DO NOT EDIT..." line (a <!--startmeta block alone is not the marker; hand-authored Learn pages have one too), and the umbrella pages src/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-regen PR. Validate with gen_integrations.py and the tests during authorized changes; preview pages in isolation using how-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, is consistency.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 reach learn.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

Same Skill Collection

.agents/skills/collectors-authoring/SKILL.md
.agents/skills/collectors-go-design/SKILL.md
.agents/skills/collectors-go-framework-v2/SKILL.md
.agents/skills/collectors-metadata-yaml/SKILL.md
.agents/skills/collectors-prometheus-profiles/SKILL.md
.agents/skills/collectors-snmp-profiles/SKILL.md
.agents/skills/collectors-snmp-trap-profiles/SKILL.md
.agents/skills/coverity-audit/SKILL.md
.agents/skills/docs-learn-pr-preview/SKILL.md
.agents/skills/docs-learn-site-structure/SKILL.md
.agents/skills/graphql-audit/SKILL.md
.agents/skills/health-alert-authoring/SKILL.md
.agents/skills/learn-pr-preview/SKILL.md
.agents/skills/packaging-static-installer/SKILL.md
.agents/skills/project-create-topology/SKILL.md
.agents/skills/project-health-alert-authoring/SKILL.md
.agents/skills/project-prometheus-profiles/SKILL.md
.agents/skills/project-query-corpus/SKILL.md
.agents/skills/project-snmp-profiles-authoring/SKILL.md
.agents/skills/project-snmp-trap-profiles-authoring/SKILL.md
.agents/skills/project-writing-go-modules-framework-v2/SKILL.md
.agents/skills/repo-mirror-sources/SKILL.md
.agents/skills/repo-pr-reviews/SKILL.md
.agents/skills/repo-skill-authoring/SKILL.md
.agents/skills/sonarqube-audit/SKILL.md
.agents/skills/tests-query-corpus/SKILL.md
.agents/skills/topology-authoring/SKILL.md
.agents/skills/triage-agent-events/SKILL.md
.agents/skills/triage-codacy/SKILL.md
.agents/skills/triage-codeql/SKILL.md
.agents/skills/triage-coverity/SKILL.md
.agents/skills/triage-snmp-diagnostics/SKILL.md
.agents/skills/triage-sonarqube/SKILL.md
docs/netdata-ai/skills/query-netdata-agents/SKILL.md
docs/netdata-ai/skills/query-netdata-cloud/SKILL.md
docs/netdata-ai/skills/query-snmp-traps/SKILL.md
.agents/skills/codacy-audit/SKILL.md
.agents/skills/learn-site-structure/SKILL.md
.agents/skills/mirror-netdata-repos/SKILL.md
.agents/skills/pr-reviews/SKILL.md
.agents/skills/project-build-static-binary/SKILL.md
.agents/skills/project-writing-collectors/SKILL.md
.agents/skills/query-agent-events/SKILL.md
.agents/skills/triage-support-bundle/SKILL.md

Metadata

Files
0
Version
1e97a0f
Hash
cafe97fe
Indexed
2026-08-20 20:20

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 15:42
浙ICP备14020137号-1