refactor: move nested skills to root + add ui-ux-pro-max + ConsentOS
- Extract 9 nested skills from website-creator/ to root skills/ - Remove duplicate seo-analyzers, seo-geo, seo-multi-channel from website-creator - Add new ui-ux-pro-max skill with full UI/UX data - Update install-skills.sh to sync properly - Remove .DS_Store artifacts Moved skills: - api-and-interface-design - banner-design - brand - design-system - design - frontend-ui-engineering - slides - spec-driven-development - ui-styling
This commit is contained in:
35
skills/design-system/scripts/slide-token-validator.py
Normal file
35
skills/design-system/scripts/slide-token-validator.py
Normal file
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Slide Token Validator (Legacy Wrapper)
|
||||
Now delegates to html-token-validator.py for unified HTML validation.
|
||||
|
||||
For new usage, prefer:
|
||||
python html-token-validator.py --type slides
|
||||
python html-token-validator.py --type infographics
|
||||
python html-token-validator.py # All HTML assets
|
||||
"""
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
SCRIPT_DIR = Path(__file__).parent
|
||||
UNIFIED_VALIDATOR = SCRIPT_DIR / 'html-token-validator.py'
|
||||
|
||||
|
||||
def main():
|
||||
"""Delegate to unified html-token-validator.py with --type slides."""
|
||||
args = sys.argv[1:]
|
||||
|
||||
# If no files specified, default to slides type
|
||||
if not args or all(arg.startswith('-') for arg in args):
|
||||
cmd = [sys.executable, str(UNIFIED_VALIDATOR), '--type', 'slides'] + args
|
||||
else:
|
||||
cmd = [sys.executable, str(UNIFIED_VALIDATOR)] + args
|
||||
|
||||
result = subprocess.run(cmd)
|
||||
sys.exit(result.returncode)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user