From e899bc3883b1de6af4bf6f103ae74baddbd16670 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 27 Jun 2026 09:32:59 +0000 Subject: [PATCH] fix(skill-audit): exempt Research doc: paths from cross-plugin path check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit references/sources.md Research doc: fields are development-only provenance pointers, not runtime references — they intentionally target paths outside the skill directory and are expected to be non-resolvable after plugin install. validate-provenance.sh degrades gracefully when they don't resolve. Co-Authored-By: Claude Sonnet 4.6 --- plugins/kyberforge/skills/skill-audit/SKILL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/kyberforge/skills/skill-audit/SKILL.md b/plugins/kyberforge/skills/skill-audit/SKILL.md index d40c0a1..5cc99a8 100644 --- a/plugins/kyberforge/skills/skill-audit/SKILL.md +++ b/plugins/kyberforge/skills/skill-audit/SKILL.md @@ -83,6 +83,7 @@ Check each pattern is appropriate and correctly formed: - Optional directories contain real content — not just unfilled placeholder READMEs - `README.md` present and accurately describes the skill and its files - No cross-plugin path references in SKILL.md, scripts/, references/, or assets/ — paths using `../`, `../../`, or absolute repo paths (e.g. `plugins//skills//`) break when the plugin is installed to a cache; flag any found +- `references/sources.md` is exempt from the cross-plugin path check — `Research doc:` fields are development-only provenance pointers, not runtime references; they intentionally reference paths outside the skill directory and are expected to be non-resolvable after plugin install; `validate-provenance.sh` handles this gracefully by silently skipping upstream checks when those paths don't resolve - `tests/` is exempt from the cross-plugin path check — test files are dev-only and may reference repo-level test infrastructure (e.g. a shared `tests/test_helper/`). This dependency must be declared in `tests/README.md`; flag if tests exist but `tests/README.md` is absent or does not document the dependency ### Formatting