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 edittools
Analyze a JIRA issue and create a pull request to solve it. Use when the user wants to implement a fix or feature described in a Jira issue, push a branch, and open a draft PR.
development
Use when a deeper level of code review is requested. Multi-agent panel code review with specialist reviewers and forced runtime reproducers for all BLOCKING bug findings. Optionally posts to GitHub/GitLab as a PENDING review.
development
Review agentic documentation — verify claims locally against source code first, then use chai-bot for cross-repo and cross-functional verification
development
Use this skill when debugging a failed Prow CI job.