Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
AI-powered design system generator that produces complete, tailored design systems from project requirements.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/slide-token-validator.py
1#!/usr/bin/env python32"""3Slide Token Validator (Legacy Wrapper)4Now delegates to html-token-validator.py for unified HTML validation.56For new usage, prefer:7python html-token-validator.py --type slides8python html-token-validator.py --type infographics9python html-token-validator.py # All HTML assets10"""1112import sys13import subprocess14from pathlib import Path1516SCRIPT_DIR = Path(__file__).parent17UNIFIED_VALIDATOR = SCRIPT_DIR / 'html-token-validator.py'181920def main():21"""Delegate to unified html-token-validator.py with --type slides."""22args = sys.argv[1:]2324# If no files specified, default to slides type25if not args or all(arg.startswith('-') for arg in args):26cmd = [sys.executable, str(UNIFIED_VALIDATOR), '--type', 'slides'] + args27else:28cmd = [sys.executable, str(UNIFIED_VALIDATOR)] + args2930result = subprocess.run(cmd)31sys.exit(result.returncode)323334if __name__ == '__main__':35main()36