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.

fix(harness): flag an empty Copilot CLI description (#612)

Christopher Kevinae7e85861388
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3e9f0feb..e4a1e75c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -283,6 +283,9 @@ All notable changes to SkillEvaluator are documented in this file.
### Fixed
+- Copilot CLI `harness` results flag an empty or whitespace-only `description`
+ (`CP-DESC-EMPTY`): Copilot lists the skill with a blank description, so the
+ model sees only its name.
- NeMo Gym detached cleanup defers termination signals until teardown finishes,
preserves cancellation over cleanup errors, and reaps adopted run-owned servers.
- Native NeMo Gym project skill projections run after authored image instructions
diff --git a/src/skillevaluator/harness/profiles/copilot-cli.yaml b/src/skillevaluator/harness/profiles/copilot-cli.yaml
index e4da1b82..0ff3b68a 100644
--- a/src/skillevaluator/harness/profiles/copilot-cli.yaml
+++ b/src/skillevaluator/harness/profiles/copilot-cli.yaml
@@ -12,6 +12,7 @@ rules:
- {id: CP-ALLOWED-TOOLS-MAP, when: "allowed_tools_shape == 'map'", effect: not_loaded, message: "Skill dropped: allowed-tools given as a map.", fix: "Give allowed-tools as a list or a space-separated string.", confidence: high}
- {id: CP-NO-FRONTMATTER, when: "frontmatter_missing", effect: not_loaded, outcome: not found, message: "Skill dropped: a SKILL.md with no front matter, or an unclosed one, is not registered ('Skill not found').", fix: "Add front matter with a name and a description.", confidence: high}
- {id: CP-DESC-MISSING, when: "description_missing", effect: degraded, message: "No description: Copilot shows body text instead.", fix: "Add a non-empty string description.", confidence: high}
+ - {id: CP-DESC-EMPTY, when: "description_empty", effect: degraded, message: "Listed with an empty description: the model sees only the name.", fix: "Add a non-empty string description.", confidence: high}
- {id: CP-LIST-BUDGET, when: "catalog_size > 32", effect: advisory, outcome: listing shortened, message: "{catalog_size} skills here: Copilot gives full descriptions to the first 32 only; the rest are listed by name.", fix: "Keep 32 or fewer skills in one place, or make names self-explanatory.", confidence: medium}
- {id: CP-NESTED, when: "nested_skill_md", effect: advisory, message: "Nested SKILL.md is ignored.", fix: "Move the nested skill to its own folder under the skills root, or rename its SKILL.md.", confidence: medium}
- {id: CP-RELOAD, when: "always", effect: advisory, message: "New skills appear only after `/skills reload` or a restart; edits to existing skills apply at once.", confidence: medium}
diff --git a/tests/harness/test_overlay.py b/tests/harness/test_overlay.py
index d04cf97b..4f6183e5 100644
--- a/tests/harness/test_overlay.py
+++ b/tests/harness/test_overlay.py
@@ -101,6 +101,13 @@ def test_copilot_shows_body_for_missing_description_but_drops_non_string(tmp_pat
assert "CP-STRICT-YAML" in _ids(_rows(listed), "copilot-cli")
+def test_copilot_lists_empty_description_by_name_only(tmp_path: Path):
+ for n, desc in enumerate(['""', '" "']):
+ rows = _rows(_skill(tmp_path / str(n), desc=desc))
+ assert rows["copilot-cli"]["status"] == "degraded"
+ assert "CP-DESC-EMPTY" in _ids(rows, "copilot-cli") and "CP-DESC-MISSING" not in _ids(rows, "copilot-cli")
+
+
def test_symlinked_manifest(tmp_path: Path):
skill = _skill(tmp_path)
target = tmp_path / "real.md"