"""测试技能包目录结构"""
import os

SKILL_ROOT = "/root/.skillhub/gift-advisor"

def test_skill_md_exists():
    """测试SKILL.md存在"""
    assert os.path.exists(f"{SKILL_ROOT}/SKILL.md")

def test_readme_exists():
    """测试README.md存在"""
    assert os.path.exists(f"{SKILL_ROOT}/README.md")

def test_src_directory_exists():
    """测试src目录存在"""
    assert os.path.isdir(f"{SKILL_ROOT}/src")

def test_tests_directory_exists():
    """测试tests目录存在"""
    assert os.path.isdir(f"{SKILL_ROOT}/tests")
