Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rds-analyzer-workflow

БесплатноБез исполняемых скриптовНе проверен

End-to-end workflow from cluster data to deviation reports and optional Jira follow-up

openshift-engот openshift-eng★ 123 звезды на GitHub

Об этом скилле

RDS Analyzer workflow skill

Use this skill when guiding users through the end-to-end workflow from cluster data to deviation reports and optional Jira follow-up. It mirrors rds-analyzer docs/full-workflow.md and matches the current openshift-kni/rds-analyzer CLI (internal/cli/root.go, README.md).

Prerequisites (workflow context)

  1. Must-gather (or live cluster access via kubeconfig) — see Red Hat docs for oc adm must-gather.
  2. cluster-compare (kube-compare) plugin — produces the JSON input RDS Analyzer consumes. Install per OCP docs and upstream kube-compare.
  3. Telco reference — pick RAN DU, Telco Core, or Telco Hub; run comparison per product docs so output is JSON (e.g. --output json where applicable).

Upstream rds-analyzer CLI (single command)

The repo exposes one executable with no subcommands: rds-analyzer [flags]. Cobra also provides --help / -h and --version / -v.

Flag Short Default Purpose
--input -i stdin if not set Path to kube-compare JSON. Without -i, data must be piped to stdin; interactive stdin with no pipe fails fast.
--rules -r ./rules.yaml Path to one rules YAML file.
--output -o text text or html only.
--output-mode -m simple simple or reporting.
--target -t (empty) OCP version for rules (e.g. 4.19). If empty, highest version in rules is used.
--validate-rules-only — false Validate regexp patterns in rules; no JSON input; do not use with -i.

Examples (from upstream README / CLI help)

cat results.json | rds-analyzer -r /path/to/custom-rules.yaml
rds-analyzer -r ran-du-rules.yaml --validate-rules-only
rds-analyzer -i results.json -o html > report.html
rds-analyzer -i results.json -t 4.19
rds-analyzer -i results.json -r /path/to/rules.yaml
rds-analyzer -i results.json -m reporting
rds-analyzer --help
rds-analyzer --version

Container (README)

podman run --rm -v $(pwd):/data:Z quay.io/rhsysdeseng/rds-analyzer:latest \
  -i /data/results.json -r /data/rules.yaml

Workflow scenarios (map to user requests)

A. Text report (terminal)

rds-analyzer -i comparison-results.json -r example-ran-du-rules.yaml

Equivalent defaults: -o text -m simple.

B. HTML report

rds-analyzer -i comparison-results.json -r example-ran-du-rules.yaml -o html > deviation-report.html

C. Specific OCP version + rules path

rds-analyzer -i comparison-results.json -o html -t 4.21 -r /path/to/rules.yaml > deviation-report.html

D. Reporting mode (LLM / Jira prep)

rds-analyzer -i comparison-results.json -r example-ran-du-rules.yaml -m reporting

E. Stdin

cat comparison-results.json | rds-analyzer -r rules.yaml

F. Validate rules only

rds-analyzer -r ran-du-rules.yaml --validate-rules-only

Helper script (optional)

From the ai-helpers repo, after chmod +x:

plugins/rds-analyzer/scripts/run_rds_analyzer.sh

  • text → -o text -m simple
  • html → -o html -m simple
  • reporting → -o text -m reporting
  • validate-rules → --validate-rules-only (matches upstream flag name)

Example:

export RDS_ANALYZER_BIN=/path/to/rds-analyzer
./plugins/rds-analyzer/scripts/run_rds_analyzer.sh text -- -i results.json -r rules.yaml
./plugins/rds-analyzer/scripts/run_rds_analyzer.sh validate-rules -- -r rules.yaml

Reference documentation links (cluster compare / telco)

After the report: Jiras

Use deviation output to open or track issues. In ai-helpers, the jira plugin can assist with creating or structuring issues from structured text; combine reporting mode output with /jira:create or related commands when deviations require tracking or resolution.

Example rules path in rds-analyzer

Полный SKILL.md на GitHub

Установить rds-analyzer-workflow в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл rds-analyzer-workflow?

End-to-end workflow from cluster data to deviation reports and optional Jira follow-up

Как установить скилл rds-analyzer-workflow?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rds-analyzer-workflow запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить rds-analyzer-workflow с