social-card
Generates the 1200x630 social share image for a Pebble Works blog post from its title and hero colour. Use when asked to "make the social card", "generate the og image", or "the share image is missing
SKILL.mdskills/agent-skills-creator/evals/fixtures/checkout-screenshot-skill/base/skills/social-card/SKILL.md
GitHubSocial Card
Produce public/og/<slug>.png for a blog post.
Before you start
This skill needs the inkwell MCP server. If mcp__inkwell__generate_image is not in your tool list, stop and say so: do not describe the image in words or draw it as SVG instead, because the blog template only accepts a PNG.
Steps
- Read the post's front matter in
content/blog/<slug>.mdxfortitleandheroColour. - Call
mcp__inkwell__generate_imagewithwidth: 1200,height: 630,style: "pebble-flat", and a prompt that states the title text exactly and the hero colour as a hex value. - The tool writes the file under
design/generated/and returns its path. Move it topublic/og/<slug>.png. - Open the PNG and check the title is spelled exactly as in the front matter. Regenerate if any letter is wrong; do not ship a misspelled card.
Gotchas
mcp__inkwell__edit_imagetakes an existing PNG plus an instruction and returns a changed copy. Use it for "make the title smaller", not a fresh generation, so the layout stays the same.- Titles over 60 characters wrap to three lines and collide with the logo. Ask for a shorter social title instead of shrinking the type.