feat(skill): optimize SKILL.md description for better auto-triggering (#324)

Rewrites the skill description with platform aliases (zh+en) and action triggers so agents reliably auto-invoke the skill. Maintainer follow-up on the branch: removed nonexistent skill_view tool reference, dropped finance category (no references/finance.md), updated the EN-locale test assertion to the new description. YAML validated, 85 tests pass. Fixes #316.
This commit is contained in:
Alfred
2026-06-10 14:54:18 +08:00
committed by GitHub
parent 781496540b
commit a827452881
3 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class TestSkillCommand(unittest.TestCase):
with open(target) as f:
content = f.read()
self.assertTrue(content.strip())
self.assertIn("Give your AI agent eyes to see the entire internet.", content)
self.assertIn("WeChat Articles, Xiaoyuzhou Podcast", content)
self.assertNotIn("搜推特", content)
self.assertTrue(
os.path.exists(os.path.join(skill_parent, "agent-reach", "references"))