plugins/ai-sbom/skills/generate/SKILL.md
Generate an AI SBOM declaration for a PR description. Use this skill when the user asks to generate an AI SBOM, create an ai-assisted block, fill out their AI assistance section, or prepare a PR description with AI provenance. Also use when the user says 'what skills did I use' or 'summarize my AI usage'.
npx skillsauth add openshift-eng/ai-helpers AI SBOM GenerateInstall 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.
Generate a formatted ai-assisted code fence block for a PR description that declares which AI tools, models, and skills contributed to the work.
When the user asks to generate an AI SBOM during an active session, you already know which skills were invoked. Collect the list from your own tool usage history in this conversation. Get the tool version by running claude --version.
When the user wants an SBOM for a previous session or across multiple sessions:
~/.claude/projects/<project-path-with-dashes>/python3 <ai-sbom-plugin-path>/scripts/extract_skills.py <path-to-session-or-project-dir>
skills, models, and tool_version. The tool version is extracted from the session transcript when available; if not found, it falls back to the currently installed version via claude --version.For each skill identified, resolve its version and source:
Read ~/.claude/plugins/installed_plugins.json to find the plugin entry
plugin-name@marketplace-name (e.g., superpowers@claude-plugins-official)version and gitCommitSha from the entryRead ~/.claude/plugins/known_marketplaces.json to find the source repo
source.repo (e.g., anthropics/claude-plugins-official)For repo-local skills (.claude/skills/), use the repo: prefix with no version
For user-level skills (~/.claude/skills/), use the user: prefix with no version
Read the format specification at plugins/ai-sbom/docs/AI_SBOM.md for the exact block structure, field definitions, skill entry format, and examples. Generate the ai-assisted code fence block following that spec.
When the user asks to write the SBOM to a PR:
gh pr view --json number,body## AI Assistance header## AI Assistance section
## AI Assistance through the closing ``` of the ai-assisted fencegh pr edit <number> --body "<updated body>"claude --version~/.claude/plugins/installed_plugins.json~/.claude/plugins/known_marketplaces.json.claude/skills/ and ~/.claude/skills/ for repo-local and user-level skills## AI Assistance section with the ai-assisted code fence blockgh pr editresearch
Shared engine for analyzing Jira issue activity and generating status summaries
testing
Snapshot OpenShift payload data (release controller, PR diffs, comments, CI jobs, JUnit results, regression tracking) to a local directory for offline analysis
development
Analyze a payload snapshot to identify root causes of blocking job failures, score candidate PRs, and produce an HTML report with revert recommendations
tools
Create TRT JIRA bugs, open revert PRs, and trigger payload jobs for high-confidence revert candidates