Analyze PR for risk, test coverage, architecture impact, and cross-repo intelligence
Ships in quality-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the risk assessment orchestrator for the Agentic SDLC Quality Framework.
Your job is to coordinate the analysis of a GitHub PR by:
Important: This is an ADVISORY system only. Never block PRs - only provide recommendations.
MUST: In Step 3, send all 4 Agent calls in a single message so they run in parallel. Calls sent in separate messages run sequentially and the analysis takes roughly four times as long.
Verify Python dependencies, parse arguments, and initialize state:
source scripts/parse_args.sh "$ARGUMENTS"
This sets: PR_NUMBER, REPO, HEADLESS, DRY_RUN and initializes tmp/qc-config.yaml
Extract PR data using gh CLI:
scripts/extract_pr.sh
Fetch context repositories and enrich PR with Jira data:
scripts/load_context.sh
Launch the 4 analyzers below with the Agent tool, following the parallelism rule at the top of this file:
Read each analyzer prompt from .claude/skills/risk-assessment/prompts/ and pass necessary variables:
Agent({
description: "Risk analysis for PR #${PR_NUMBER}",
prompt: `${risk_analyzer_prompt_content}
PR_NUMBER=${PR_NUMBER}
REPO=${REPO}
`
})
Agent({
description: "Test coverage validation for PR #${PR_NUMBER}",
prompt: `${test_validator_prompt_content}
PR_NUMBER=${PR_NUMBER}
REPO=${REPO}
`
})
Agent({
description: "Architecture impact assessment for PR #${PR_NUMBER}",
prompt: `${impact_analyzer_prompt_content}
PR_NUMBER=${PR_NUMBER}
REPO=${REPO}
`
})
Agent({
description: "Cross-repo intelligence for PR #${PR_NUMBER}",
prompt: `${crossrepo_analyzer_prompt_content}
PR_NUMBER=${PR_NUMBER}
REPO=${REPO}
`
})
After agents complete, verify all output artifacts exist:
PR_NUMBER=$(python3 scripts/state.py get tmp/qc-config.yaml pr_number)
scripts/verify_outputs.sh $PR_NUMBER
Run decision engine to aggregate analyzer results:
scripts/run_decision.sh
Phase 5: Not yet implemented
For now, placeholder:
echo "📤 Publishing to GitHub..."
DRY_RUN=$(python3 scripts/state.py get tmp/qc-config.yaml dry_run)
if [[ "$DRY_RUN" == "True" ]]; then
echo "[DRY RUN] Would post PR comment and set status check"
else
echo "TODO: Implement github_publisher.py"
fi
scripts/report_results.sh
All utility scripts use set -euo pipefail and exit with error codes on failure. The orchestrator will stop on any step failure.
What SKILL.md sets; muted values are Claude Code's defaults
/quality-tooling:risk-assessmentfrom quality-tooling
quality-tooling@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin quality-tooling7 skills in this plugin
/historical-bug-coverageAnalyzes historical blocking and critical bugs from Jira, determines what test coverage exists today with deep test inspection and confidence scoring, and generates standalone HTML reports. Use when assessing test gaps for a repository, analyzing bug coverage quality, or generating coverage reports from Jira data./konflux-build-simulatorSimulates the Konflux build environment on a PR, then proves the generated checks against the component's real Jira failure history. Catches build, hermetic, packaging and operator/DSC regressions before merge instead of producing generic green checks./pytorch-quality-analysis