.claude/skills/api-builder/SKILL.md
Biến bất kỳ website nào thành API bằng cách đóng gói browser automation hoặc scraping thành các endpoint FastAPI. Khi không có API docs, tự tạo API. Kích hoạt khi user cần tạo API từ website không có sẵn API.
npx skillsauth add nguynbon03/API-XuongMedia-Backup api-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Website không có API? Tự tạo API bằng browser automation + FastAPI.
Browser automation (backend) + FastAPI (giao diện) = API tùy chỉnh cho bất kỳ website nào.
Xem code mẫu: references/fastapi-wrapper.py
Xem thêm: references/fastapi-patterns.md
development
Crawl website và trích xuất dữ liệu có cấu trúc bằng BeautifulSoup, Scrapy, Playwright. Hỗ trợ cả trang tĩnh và trang động (JS-rendered). Kích hoạt khi user cần lấy dữ liệu từ website bất kỳ.
tools
Upload video tự động lên TikTok, YouTube, Facebook, Instagram bằng browser automation (Playwright). Vì các nền tảng này không có public API cho upload, phải dùng browser automation. Kích hoạt khi user cần upload video lên bất kỳ nền tảng nào.
development
Xử lý video bằng Python — cắt ghép, thêm nhạc nền, phụ đề, watermark, resize, chuyển định dạng, render hàng loạt. Dùng ffmpeg-python và moviepy. Kích hoạt khi user cần xử lý video bất kỳ cách nào.
tools
Lập lịch chạy task tự động — cron job, xử lý hàng đợi, lập lịch hàng loạt. Dùng APScheduler, Celery, hoặc crontab. Kích hoạt khi user cần chạy task định kỳ hoặc xử lý hàng loạt theo lịch.