takumi
Skill1 starsChanged 3 months agoMITView on GitHub
Build, review, debug, migrate, or plan OG/social image and animation rendering with Takumi (takumi-js). Use for takumi-js, @takumi-rs/core, @takumi-rs/wasm, ImageResponse, render, renderSvg, renderAnimation, googleFonts, tw prop, stylesheets, next/og replacement, Satori migration, TanStack Start OG routes, Cloudflare Workers WASM, animated WebP/GIF/APNG, and JSX-to-image without a headless browser.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kravetsone/skillstheir own version, first seen Aug 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kravetsone/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when work touches Takumi / takumi-js: rendering JSX, HTML, or node trees to PNG/JPEG/WebP/ICO/SVG/animations without …
- Very specific: line 24
Prefer bun / bunx in command examples.
- Very specific: line 28
Default to render(node, options) or new ImageResponse(node, options).
- Very specific: line 30
Put w-full h-full (or width/height: 100%) on the root — the canvas size alone does not stretch the root.
- Very specific: line 32
Prefer googleFonts from takumi-js/helpers for Google families.
- Very specific: line 35
When user input can influence remote src / background URLs, set images.allowUrl (SSRF).
- Very specific: line 36
Prefer native @takumi-rs/core on Node for multi-threaded renders.
- Distinctive: line 41
Prefer the repo's existing checks.
- Very specific: line 48
After v1→v2: re-check await, fonts/images options, and new ImageResponse(jsx, opts).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Takumi
Use this skill when work touches Takumi / takumi-js: rendering JSX, HTML, or node trees to PNG/JPEG/WebP/ICO/SVG/animations without Chromium; ImageResponse OG routes; fonts/images/emoji; Tailwind tw vs full stylesheets; or migrating from next/og / Satori.
Workflow
- Inspect the local surface before changing code:
- Packages:
takumi-js(preferred all-in-one), optionally@takumi-rs/core,@takumi-rs/wasm,@takumi-rs/helpers. - Version: target v2 (current
2.5.x). Treat v1 APIs (loadFonts,fetchedResources,createImageResponse) as legacy. - Runtime: Node (native) vs Edge / Cloudflare Workers / browser (WASM).
takumi-jsauto-picks; pin platform natives for cross-compile deploys. - Entry:
render/renderSvg/renderAnimationvsImageResponsefromtakumi-js/response. - Styling path: inline
style, built-intw,<style>, or compiled CSS viastylesheets.
- Packages:
- Refresh docs when the user asks for latest behavior, the installed major is unclear, or work touches v2 resource options / animation. Start from source-map.md.
- For install, packages,
render/ImageResponse, inputs, and canvas sizing, use setup-core.md. - For fonts, images, emoji,
tw, and stylesheets, use fonts-images-styling.md. - For formats, DPR, SVG, animation, and raw/ffmpeg frames, use formats-animation.md.
- For Next.js, TanStack Start, Workers, Astro, and other hosts, use frameworks.md.
- For v2 upgrades, Satori/
next/ogmigration, and troubleshooting, use pitfalls-migration.md. - Prefer
bun/bunxin command examples. Never copy Fumadocs annotations ([!code --],[!code highlight]) into generated code.
Judgment
- Default to
render(node, options)ornew ImageResponse(node, options). UseRendererfrom@takumi-rs/coreonly to reuse font/image caches across many renders. - Always
awaitrender,renderSvg, andrenderAnimation(and napi/WASMRenderermethods). - Put
w-full h-full(orwidth/height: 100%) on the root — the canvas size alone does not stretch the root. - Pass fonts per call via
fonts. Built-in last-resort is Geist Latin (~400–800). Register anything else (CJK, custom brands). Genericsans-serifresolves to registered families, not the built-in. - Prefer
googleFontsfromtakumi-js/helpersfor Google families; weight ranges /axesload variable fonts. twis a built-in Tailwind subset with no Preflight (UA margins remain). For full Tailwind v4 + themes, compile CSS and passstylesheets.- Bare
<div>isdisplay: block(CSS), not flex — unlike Satori. Explicitdisplay: flexfrom old templates still works. - When user input can influence remote
src/ background URLs, setimages.allowUrl(SSRF). PreferfetchCachefor hot shared URLs. - Prefer native
@takumi-rs/coreon Node for multi-threaded renders; WASM is single-threaded. - Drop-in for
next/og: swap import totakumi-js/response. Skip Chromium / Satori+sharp pipelines unless the project already depends on them for non-Takumi reasons.
Verification
Prefer the repo's existing checks. For meaningful Takumi work, include the relevant subset:
- Typecheck route handlers / render scripts (
ImageResponse,RenderOptions). - Smoke-render one static OG (
1200×630) and open the bytes (or hit the route). - Confirm root fills the canvas; use
drawDebugBorder: truewhen layout looks wrong. - For CJK/custom type, confirm
fonts/googleFontsand no tofu glyphs. - On deploy: native binding present for the target OS/arch (or WASM path on Workers).
- After v1→v2: re-check
await,fonts/imagesoptions, andnew ImageResponse(jsx, opts).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

