用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill ecs-pr-triage命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | ecs-pr-triage |
| description | >- Use when this capability is needed. |
This skill triages an ECS pull request. The agent needs access to the PR diff, changed file list, PR description, and metadata — either already present in context or fetched via tools (e.g. gh). It analyzes that context, makes a routing decision, and delivers a triage report.
From the PR context available to you (or fetched via gh pr view, gh pr diff, etc.), extract:
schemas/ — source schema YAML (the key signal for routing)generated/ — build outputs (should only change as a side effect of schema + make)scripts/ — generator tooling, tests, templatesdocs/ — hand-authored docs vs generated reference (docs/reference/ecs-*.md)rfcs/ — RFC markdown and supporting YAML.github/ — CI workflows, templates, issue configrelease/ — release-process artifacts: version file, CHANGELOG.md rotation, release-note shuffling in docs/Makefile, version, CHANGELOG.next.md, etc..github/PULL_REQUEST_TEMPLATE.md are filled vs empty/placeholder.type: changes, new reusable entries, allowed_values additions, alpha/beta changes, etc.Walk the decision tree in classification-rules.md in priority order:
docs/, CHANGELOG.md consolidation) it is always Direct PR. Release PRs never require an RFC or discussion regardless of how many files change.schemas/*.yml file, breaking changes (field removal, type change, semantic redefinition), new reuse topology, novel use case, ECS-wide scope, >10 new leaf fields.allowed_values on categorization fields (event.category, event.type, event.kind), maturity promotions, unjustified object/flattened.Assign labels:
Schema Change | Tooling | Documentation | MixedMinor | Moderate | SubstantialEvaluate against the checklist in ecs-pr-completeness rule:
CHANGELOG.next.md entry: only expected when schemas/ or scripts/ files change (i.e. schema changes or tooling changes). RFC-only PRs (rfcs/ only), pure documentation PRs, CI-only PRs, and release process PRs do not require a changelog entry. When required, verify it is in the correct section (Schema Changes vs Tooling and Artifact Changes) and includes #NNNN.generated/ and docs/reference/ artifacts present in the diff (evidence that make was run and outputs committed).otel: metadata is encouraged but not required.docs/reference/ecs-*.md, generated/).Mark each item as met or missing.
Fill report-template.md completely. Rules:
schemas/foo.yml detected → RFC required per classification-rules §1."CHANGELOG.next.md entry under Schema Changes > Added with #NNNN").rfcs/PROCESS.md and the RFC template at rfcs/0000-rfc-template.md. Reference the ecs-rfc-guide skill for a detailed walkthrough.schemas/*.yml. Hand-edits to generated/ or docs/reference/ecs-*.md without a corresponding schema change are errors — flag them.make regenerates all artifacts; make test runs unit tests; make check runs generate + test + diff (CI parity).rfcs/PROCESS.md; template at rfcs/0000-rfc-template.md.otel: metadata on fields is optional; encouraged when a clear semconv counterpart exists but not a merge gate.Source: elastic/ecs — distributed by TomeVault.