docs(skills): explain restoring bundled skills

This commit is contained in:
LeonSGP43 2026-05-03 22:29:30 +08:00 committed by Teknium
parent 3beef57825
commit 80c579a9dd
3 changed files with 12 additions and 0 deletions

View file

@ -106,3 +106,11 @@ def test_box_drawing_detection_covers_common_chars(gen_module):
# Sample from real SKILL.md diagrams (segment-anything, research-paper-writing, etc.)
for ch in "┌┐└┘─│├┤┬┴┼═║╔╗╚╝╭╮╯╰▶◀▲▼":
assert ch in gen_module._BOX_DRAWING_CHARS, f"missing: {ch!r}"
def test_bundled_catalog_explains_missing_local_skills(gen_module):
"""The bundled catalog should explain how to restore a listed skill that
was removed from the local profile's skills tree."""
result = gen_module.build_catalog_md_bundled([])
assert "respects local deletions and user edits" in result
assert "hermes skills reset <name> --restore" in result