Skip to main content

arthash

スター10
フォーク1
更新日2026年5月18日 09:53

Use arthash to add tiny placeholder-image hashes (17–400 bytes) to an application — the artistic alternative to blurhash / thumbhash / sqip. Trigger this skill when the user wants to render a low-quality image preview (LQIP) while a real image loads, replace blurhash or thumbhash, generate SVG placeholders without spawning a Go subprocess (sqip), or produce a stylised mosaic from a palette. arthash ships three SDKs (Rust crate, Python `arthash`, npm `arthash`) that all read and write the same byte format, so a hash made on the server decodes identically in the browser. This skill covers picking the right SDK, the right mode (default `RECT` and other shape modes `TRIANGLE` / `CIRCLE` / `SQUARE` / `ROTATED_RECT` for SVG, `PIXEL` for mosaic, `DCT` only when you specifically want a blurhash/thumbhash-style blurry look), the right palette, the encode → store → decode → render lifecycle, and the small pitfalls (codecs are not in the bytes; inputs must be small; SVG modes vs raster modes). Per-language API details l

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

ファイルエクスプローラー
4 ファイル
SKILL.md
readonly