report-findings
БесплатноЗапускает вложенные скриптыНе проверенGenerate triage reports and post findings to Jira and Slack
от openshift-eng★ 123 звезды на GitHubОб этом скилле
When to Use
Use this skill when Phase 3 of the node-cve:triage command needs to generate the triage report, post comments to Jira tracker issues, and send Slack notifications.
Prerequisites
bash,curlandjq- Environment variables:
JIRA_API_TOKENandJIRA_USER(orJIRA_EMAIL) with the Jira login, for--notify-jira,--notify-slackand--dry-run, since the gate looks up every tracker in Jira. Not needed in handoff mode, wherevalidateuses the--trackersrows. Set it explicitly in containers, where thegit config user.emailfallback does not exist. - For
--notify-slack: eitherSLACK_API_TOKEN(channel fromSLACK_CHANNEL, defaultGK6BJJ1J5,#team-node; enables threading) orSLACK_WEBHOOK(single message, no threading). If both are set, the API token is used. - The
node-teamplugin (shared component list)
Helper script
All Jira and Slack calls go through scripts/node-cve-lib.sh, invoked as one command per step:
bash "${CLAUDE_PLUGIN_ROOT}/skills/report-findings/scripts/node-cve-lib.sh" help
It exists for four reasons:
- One allowlistable command. Headless runs use a strict Bash allowlist, where every part of a compound command must be allowed. Do not write ad-hoc
curlorjiracommands, and do not chain commands with&&,;, pipes or redirects. Each subcommand takes file paths as arguments and writes its own files. Use the Read and Write tools for the files. - Secrets stay off the command line. Credentials reach
curlthrough a config on stdin (curl -K -). Never writecurl -u user:tokenor-H "Authorization: Bearer ...", which expose the token in the process list. The webhook URL is handled the same way. - Shell state does not persist between Bash tool calls. Each subcommand is self-contained. State that must survive (validated trackers, the posting gate) lives in files in the triage directory.
- Errors are not silent, and safeguards are enforced in code. The helper retries on HTTP 429 using
Retry-After, checks Slack'sokfield, exits non-zero on failure, refuses to comment on a tracker that did not pass validation in this run, and refuses all comments once the tracker threshold is exceeded. It never reads from a terminal, so it cannot hang headless.
Paths written as .work/node-cve/triage-YYYY-MM-DD/ stand for the run directory that init printed as TRIAGE_DIR=. Use that path as is, also after midnight; the helper keeps using it for the whole run.
| Subcommand | Purpose |
|---|---|
validate [--max-trackers N] [--trackers ROWS] VERSION FILE |
Re-validate component and OCP version of every tracker key in FILE. Writes validated-trackers.txt, logs skips, opens or closes the posting gate. --trackers checks against the caller's rows instead of Jira (handoff mode only) |
find-comment KEY |
Newest existing node-cve:triage comment as JSON (id, created, updated, author, own, own_id, body), or nothing. Exits non-zero when the lookup fails |
post-comment [--dry-run] KEY BODYFILE [COMMENT_ID] |
Add a comment, or update the account's own existing one in place. Repeats the lookup itself and skips the tracker when it fails |
slack [--dry-run] --header TEXT --summary FILE --details FILE |
Post to Slack (API with thread reply, or webhook) |
jql-url JQL |
URL-encoded Jira search link |
plan-comment KEY BODYFILE |
Handoff mode: add the comment to posting-plan.json instead of posting it. Same validation and gate checks as post-comment |
plan-slack --header TEXT --summary FILE --details FILE |
Handoff mode: add the Slack texts to posting-plan.json |
plan-show VERSION [--dry-run] |
Handoff mode: finish posting-plan.json and print it |
audit LINE |
Append a timestamped line to posting-audit.log and posting-history.log |
audit-summary VERSION SOURCE MODE |
Append the totals to posting-audit.log and print the whole log |
Locating shared data
The link to the node-team components file below resolves in a repository checkout and on the docs site. When the plugins are installed it does not resolve, because every plugin lives in its own versioned cache directory. The helper's init subcommand resolves the real directory and extracts the component names into .work/node-cve/node-components.txt, which the validation below reads. If that file is missing, run init again instead of writing it by hand. If the list cannot be obtained, do not post anything. The helper fails closed in that case.
Node Team Component Safeguard (CRITICAL)
This skill may ONLY post comments to trackers whose component is a Node team component. Many CVEs (especially Go stdlib and vendored-dependency vulnerabilities) span 50-200+ tracker issues across dozens of OpenShift teams (HyperShift, Storage, Networking, Installer, Monitoring, Cloud providers, etc.). Node-specific reachability analysis is meaningless and confusing on another team's tracker
Установить report-findings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл report-findings?
Generate triage reports and post findings to Jira and Slack
Как установить скилл report-findings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл report-findings запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic