plugins/rds-analyzer/skills/rds-analyzer-workflow/SKILL.md
End-to-end workflow from cluster data to deviation reports and optional Jira follow-up
npx skillsauth add openshift-eng/ai-helpers rds-analyzer-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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).
oc adm must-gather.--output json where applicable).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. |
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
podman run --rm -v $(pwd):/data:Z quay.io/rhsysdeseng/rds-analyzer:latest \
-i /data/results.json -r /data/rules.yaml
rds-analyzer -i comparison-results.json -r example-ran-du-rules.yaml
Equivalent defaults: -o text -m simple.
rds-analyzer -i comparison-results.json -r example-ran-du-rules.yaml -o html > deviation-report.html
rds-analyzer -i comparison-results.json -o html -t 4.21 -r /path/to/rules.yaml > deviation-report.html
rds-analyzer -i comparison-results.json -r example-ran-du-rules.yaml -m reporting
cat comparison-results.json | rds-analyzer -r rules.yaml
rds-analyzer -r ran-du-rules.yaml --validate-rules-only
From the ai-helpers repo, after chmod +x:
plugins/rds-analyzer/scripts/run_rds_analyzer.sh
text → -o text -m simplehtml → -o html -m simplereporting → -o text -m reportingvalidate-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
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.
examples/example-ran-du-rules.yaml (relative to a clone of openshift-kni/rds-analyzer).
--validate-rules-only alone).testing
Snapshot OpenShift payload data (release controller, PR diffs, comments, CI jobs, JUnit results, regression tracking) to a local directory for offline analysis
research
Shared engine for analyzing Jira issue activity and generating status summaries
tools
This skill should be used before any Snowflake command to verify MCP connectivity, guide users through access provisioning, and set the session context. Invoke this skill proactively whenever a command needs Snowflake data access.
development
Analyze a payload snapshot to identify root causes of blocking job failures, score candidate PRs, and produce an HTML report with revert recommendations