跳到正文
TakoAPI
返回技能列表

loopwind

由 tomtev 提供

Web & Frontend Development
445下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Runs loopwind init to create .loopwind/loopwind.json with project theme colors

  2. 2

    Installs the official image template with loopwind add image-template

  3. 3

    Creates a JSX template at .loopwind/og-image/template.tsx defining title and description props

  4. 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 或你在用的任意编程智能体里。

链接