Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

ci: connect SkillEvaluator to NVSkills catalog validation (#440)

Christopher Kevince52a09887c3
diff --git a/.github/workflows/request-nvskills-ci.yml b/.github/workflows/request-nvskills-ci.yml
new file mode 100644
index 00000000..8c359dce
--- /dev/null
+++ b/.github/workflows/request-nvskills-ci.yml
@@ -0,0 +1,29 @@
+name: Request NVSkills CI
+
+on:
+ issue_comment:
+ types: [created]
+ pull_request:
+ types: [opened, reopened, synchronize, ready_for_review]
+ push:
+
+permissions:
+ contents: read
+
+jobs:
+ request:
+ if: >
+ github.event_name == 'pull_request' ||
+ (github.event_name == 'issue_comment' &&
+ github.event.issue.pull_request &&
+ startsWith(github.event.comment.body, '/nvskills-ci')) ||
+ (github.event_name == 'push' &&
+ github.actor == (vars.NVSKILLS_SIGNATURE_PUSH_ACTOR || 'nv-skills-ci[bot]') &&
+ startsWith(github.event.head_commit.message, vars.NVSKILLS_SIGNATURE_COMMIT_TITLE || 'Attach NVSkills validation signatures'))
+ permissions:
+ contents: read
+ pull-requests: read
+ statuses: read
+ uses: NVIDIA/skills/.github/workflows/team-request.yml@3687569c216eb7e15712231e2615dfa1b79084a5
+ secrets:
+ NVSKILLS_CI_DISPATCH_TOKEN: ${{ secrets.NVSKILLS_CI_DISPATCH_TOKEN }}
diff --git a/tests/ci/test_image_build.py b/tests/ci/test_image_build.py
index e090356f..26f609a1 100644
--- a/tests/ci/test_image_build.py
+++ b/tests/ci/test_image_build.py
@@ -151,7 +151,20 @@ def test_pull_requests_read_but_never_write_the_layer_cache():
document = yaml.load(path.read_text(encoding="utf-8"), Loader=yaml.BaseLoader)
triggers = document["on"]
triggers = [triggers] if isinstance(triggers, str) else triggers
- assert {"pull_request_target", "issue_comment"}.isdisjoint(triggers), path.name
+ assert "pull_request_target" not in triggers, path.name
+ if "issue_comment" in triggers:
+ # NVSkills requests pass metadata to an immutable trusted service;
+ # they must not gain local steps, PR checkouts, or cache writers.
+ assert path.name == "request-nvskills-ci.yml"
+ assert set(triggers) == {"issue_comment", "pull_request", "push"}
+ assert document["on"]["issue_comment"] == {"types": ["created"]}
+ assert document["permissions"] == {"contents": "read"}
+ assert set(document["jobs"]) == {"request"}
+ caller = document["jobs"]["request"]
+ assert set(caller) == {"if", "permissions", "uses", "secrets"}
+ assert re.fullmatch(r"NVIDIA/skills/\.github/workflows/team-request\.yml@[0-9a-f]{40}", caller["uses"])
+ assert caller["permissions"] == {"contents": "read", "pull-requests": "read", "statuses": "read"}
+ assert caller["secrets"] == {"NVSKILLS_CI_DISPATCH_TOKEN": "${{ secrets.NVSKILLS_CI_DISPATCH_TOKEN }}"}
if "workflow_run" in triggers:
# The consumer listener calls only the immutable trusted publisher;
# it has no local steps, candidate checkout or image build/cache job.