loopwind
由 tomtev 提供
Web & Frontend Development简介
Generate images and videos from React + Tailwind CSS templates using the loopwind CLI.
描述
该技能的功能
loopwind is a CLI tool that generates images and videos from React JSX templates styled with Tailwind CSS. Templates live in a .loopwind/ directory and render via Satori. It is designed for use with AI coding agents like Claude Code.
Developers write image and video templates in familiar React and Tailwind syntax instead of using graphical editors or low-level canvas APIs.
何时使用
- Generating OG images for blog posts automatically
- Creating animated intro videos for YouTube channels
- Building consistent social media cards across a project
- Rendering branded banners using project color tokens
- Automating image output in CI/CD pipelines
示例工作流
User asks: Create an OG image for a blog post titled 'TypeScript Tips' with the description 'Practical patterns for everyday use'
- 1
Runs
loopwind initto create .loopwind/loopwind.json with project theme colors - 2
Installs the official image template with
loopwind add image-template - 3
Creates a JSX template at .loopwind/og-image/template.tsx defining title and description props
- 4
Renders the final image with
loopwind render og-image '{"title":"TypeScript Tips","description":"Practical patterns for everyday use"}'
A 1200x630 PNG file saved in the current directory
前置要求
- loopwind CLI (install via curl -fsSL https://loopwind.dev/install.sh | bash)
安装
clawhub install tomtev/loopwind运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。