·og-images
</>

og-images

richtabor/agent-skills

指导 OpenGraph 的创建和 Twitter 使用 next/og ImageResponse 共享图像。涵盖布局模式、自定义字体、头像、标题大小写和 Satori 规则。在构建 OG 图像、Twitter 卡或社交预览时使用。

6安装·0热度·@richtabor

安装

$npx skills add https://github.com/richtabor/agent-skills --skill og-images

SKILL.md

Generate dynamic OpenGraph (1200x630) and Twitter (1200x600) images using next/og ImageResponse.

| opengraph-image.tsx | Facebook, LinkedIn, iMessage | 1200x630 | | twitter-image.tsx | Twitter/X cards | 1200x600 | | app/api/og/route.tsx | Dynamic API route | 1200x630 |

Place file-based routes in the relevant route directory (e.g., app/about/opengraph-image.tsx for /about).

指导 OpenGraph 的创建和 Twitter 使用 next/og ImageResponse 共享图像。涵盖布局模式、自定义字体、头像、标题大小写和 Satori 规则。在构建 OG 图像、Twitter 卡或社交预览时使用。 来源:richtabor/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/richtabor/agent-skills --skill og-images
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 og-images?

指导 OpenGraph 的创建和 Twitter 使用 next/og ImageResponse 共享图像。涵盖布局模式、自定义字体、头像、标题大小写和 Satori 规则。在构建 OG 图像、Twitter 卡或社交预览时使用。 来源:richtabor/agent-skills。

如何安装 og-images?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/richtabor/agent-skills --skill og-images 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/richtabor/agent-skills