Skip to content

fix(validation): detect missing reference links - #36

Open
lolcubaba31 wants to merge 1 commit into
AgentSecOps:mainfrom
lolcubaba31:fix/validator-reference-targets
Open

lolcubaba31 wants to merge 1 commit into
AgentSecOps:mainfrom
lolcubaba31:fix/validator-reference-targets

Conversation

@lolcubaba31

Copy link
Copy Markdown

Summary

  • detect missing references/... paths mentioned in SKILL.md
  • ignore external URLs and in-page anchors while rejecting paths that escape the skill directory
  • add fixture-based tests for missing, existing, external, and traversal cases

Validation

  • .venv\\Scripts\\python.exe -m unittest discover -s tests -v
  • .venv\\Scripts\\python.exe -m py_compile scripts/validate_skill.py tests/test_validate_skill.py

Refs #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant