refactor(agent): align 'Agent' naming to 'AI/LLM' to match current implementation

- locales/en.json: 'Enrich Metadata (Agent)' -> 'Enrich Metadata (AI)'
- Rename SKILL.md -> prompt.md with backward compat in skill_registry.py
- JS context menu action IDs: enrich-hf-agent -> enrich-hf-llm
- HTML template data-action attributes synced to match
- docstring cleanup: 'agent skill' -> 'skill pipeline' / 'feature'
This commit is contained in:
Will Miao
2026-07-04 14:06:50 +08:00
parent 170c8068c5
commit 646f1ddfb1
9 changed files with 52 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
"""Tests for the SkillRegistry."""
"""Tests for the SkillRegistry (``prompt.md`` discovery + prompt loading)."""
from __future__ import annotations
@@ -30,7 +30,7 @@ class TestSkillRegistryDiscovery:
def test_skill_has_correct_model_type_filter(self, registry):
skill = registry.get_skill("enrich_hf_metadata")
# model_type_filter was removed from SKILL.md — defaults to None (all types)
# model_type_filter was removed from prompt.md — defaults to None (all types)
assert skill.model_type_filter is None
def test_skill_has_permissions(self, registry):