postkit-render

Render Postkit slide HTML files into native-dimension PNG images.

4|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/Trystan-SA/postkit --skill postkit-render
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postkit-render
Source: https://github.com/Trystan-SA/postkit/tree/main/templates/project/.claude/skills/postkit-render
Command: npx skills add https://github.com/Trystan-SA/postkit --skill postkit-render

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of turning your Postkit HTML/CSS slide files into shareable image assets without manual screenshotting.

Core Features & Use Cases

  • Puppeteer-based PNG rendering: Converts slide-*.html files for a chosen post into PNGs at the post’s native dimensions.
  • Post-aware validation: Checks for slide-*.html presence and uses post.json when available (otherwise defaults to 9:16) to determine sizing/format behavior.
  • Workflow integration: Fits right after drafting (e.g., /postkit-new) and enables previewing edits quickly; also supports rendering multiple posts in a series.

Quick Start

Ask the assistant to render your post “series-01” to PNG images.

Frequently Asked Questions about postkit-render

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render HTML slides to PNG for social media posts?

To render HTML slides to PNG, the Skill invokes a Puppeteer pipeline that converts slide-*.html files into native-dimension PNG outputs for a selected post or series.

Do I need a post.json file to export slide decks to PNG?

You do not need a post.json file to export slide decks to PNG. The Skill optionally uses post.json for format behavior but defaults to a 9:16 aspect ratio when it is absent.

Can I batch render multiple posts in a series to PNG?

You can batch render multiple posts in a series to PNG. The Skill supports rendering an entire post series by locating the respective slide HTML files and producing output PNGs.

What is the best way to automate PNG export from HTML slide files?

The best way to automate PNG export is using the npx postkit render command, which processes slide-*.html files and generates slide-N.png files in the post output directory.

Why are my rendered slide PNGs defaulting to the wrong size?

Rendered slide PNGs default to the wrong size when post.json is missing or lacks format specifications. The Skill defaults to 9:16 dimensions if it cannot locate valid format metadata.

Does postkit-render work without Puppeteer for HTML to PNG conversion?

Postkit-render does not work without Puppeteer for HTML to PNG conversion. The rendering pipeline relies explicitly on Puppeteer to generate native-dimension PNG outputs from HTML slides.