#!/usr/bin/env python3 """Check for HTML content in skills and identify which need conversion.""" import json import re from pathlib import Path def check_html_content(skill_path: Path) -> dict: """Check if a skill file contains HTML content.""" try: content = skill_path.read_text(encoding='utf-8') except Exception as e: return {'error': str(e), 'has_html': False} # HTML patterns (excluding code blocks) html_patterns = [ r'', r'
', r'