SKILL.md: shorter AI description, skill-relative template paths, marker pointers
AI description trimmed to 754 chars (test: both stay <= 1024). Both SKILL.md files say templates/ (and <no-ai>) resolve against the skill's own folder, skills side by side; no-AI commands use <skill>/templates/. AI step 5 names the App.tsx/RunPanel.tsx markers and no longer remembers the model per user. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
24a064875e
commit
8bb1cf268e
3 files changed
+25
-7
No files matched your search
@@ -27,6 +27,13 @@ def test_tebra_sky_preset_is_the_template_default():
|
||||
assert sky in (templates / "dashboard.html").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("skill", ["rpa-dashboard-no-ai", "rpa-dashboard-ai"])
|
||||
def test_skill_description_fits_the_1024_char_limit(skill):
|
||||
text = (ROOT / skill / "SKILL.md").read_text(encoding="utf-8")
|
||||
description = re.search(r"^description: (.+)$", text, re.MULTILINE)[1]
|
||||
assert len(description) <= 1024, len(description)
|
||||
|
||||
|
||||
def test_ai_skill_references_files_that_exist():
|
||||
skill = ROOT / "rpa-dashboard-ai"
|
||||
text = (skill / "SKILL.md").read_text(encoding="utf-8")
|
||||
|
||||
Reference in new issue
Block a user