fix: make skills self-contained (closes #140)#141
Open
dmartinol wants to merge 2 commits into
Open
Conversation
…necessary links. Add new references for common issues and live document lookups across various skills. Ensure consistency in documentation for prerequisites and fallback templates. Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
Collaborator
Author
Link verification resultsRan a full audit of all local markdown links across all packs (~1,574 links total). Found 86 apparent broken links — none introduced by this PR. Breakdown
Our changes — all clean
Pre-existing issues (especially in |
Collaborator
Author
|
Minor nit in # current (garbled)
See [cve-validation references/01-remediation-indicators.md](references/01-remediation-indicators.md).
# should be
See [01-remediation-indicators.md](references/01-remediation-indicators.md). |
…s document. Ensure clarity in the documentation regarding the remediatable gate process. Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
ikrispin
approved these changes
Jul 9, 2026
ikrispin
left a comment
Contributor
There was a problem hiding this comment.
Good catch! From what I see you've hit all the necessary spots. lgtm
r2dedios
approved these changes
Jul 9, 2026
r2dedios
left a comment
Contributor
There was a problem hiding this comment.
Good catch with the "SCRIPTS_DIR" fix. LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #140 — 25 skills across 3 packs referenced files outside their own folder via upward traversal links (
../,../../) or absolute runtime paths, breaking portability when installed via Lola.Changes by pack
rh-ai-engineer (11 skills)
references/symlinks in each skill folder pointing to the 4 shared files (skill-conventions.md,common-issues.md,openshift-fallback-templates.md,live-doc-lookup.md)../references/links toreferences/(local)ocp-admin (7 skills)
cluster-creator: fixed broken../README.mdlink (wrong depth); removed hyperlink, kept plain textcluster-inventory,cluster-report: removed../../README.mdhyperlinks — replaced with plain text (MCP setup is not the skill's concern)cluster-report: symlinkedscripts/cluster-report/*.pyinto skill'sscripts/; updated all markdown links and bash commandcontainer-cve-validator,coreos-cve-validator,cve-recon,image-inspect: symlinkedscripts/security-validation/*.pyinto each skill'sscripts/; replacedSCRIPTS_DIR="$(git rev-parse --show-toplevel)/..."withSCRIPTS_DIR="scripts"(portable relative path)rh-sre (7 skills)
cve-impact,cve-validation,fleet-inventory,job-template-creator,job-template-remediation-validator,playbook-executor: removed broken#validation-freshness-policyanchor links (anchor never existed; inline text already stated the policy)job-template-remediation-validator,job-template-creator: converted../sibling/SKILL.mdhyperlinks to plain backtick skill namesremediation: symlinkedcve-validation/references/01-remediation-indicators.mdinto localreferences/; updated linkVerification
Evaluated 8 test cases across the 4 highest-risk skills using the skill-creator eval framework. All 13 assertions passed:
SCRIPTS_DIR="scripts"resolves correctly; symlinked scripts confirmed executable at runtime (eval 2 actually ranvalidate_input.pyvia the symlink)01-remediation-indicators.mdloads correctly via symlink; Remediatable Gate logic intactjob-template-remediation-validator; sibling skill refs as plain text throughoutKnown limitations (tracked separately)
cluster-reportscript invocation (python3 scripts/assemble.py) uses a relative path with a CWD dependency — pre-existing issue, not introduced by this PRcontainer-cve-validatordoes not listregctl/cosign/syftas external prerequisites — pre-existing doc gap