Skip to content

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

Migrate README visuals to sharp WebP assets and enlarge Emil sponsor row 2.5x.

Leonxlnx64391b4a1181
diff --git a/README.md b/README.md
index 4a37623..778843f 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<p align="center">
- <img src="assets/readme-banner.png" alt="Taste Skill - Anti-slop Agent Skills for premium frontends" width="100%" />
+ <img src="assets/readme-banner.webp" alt="Taste Skill - Anti-slop Agent Skills for premium frontends" width="100%" />
</p>
# Taste Skill
@@ -10,7 +10,7 @@
<p align="center" style="margin-bottom: 8px;">
<a href="https://tasteskill.dev" title="Visit tasteskill.dev">
- <img src="assets/readme-buttons/btn-site.png" alt="Visit tasteskill.dev" height="56" />
+ <img src="assets/readme-buttons/btn-site.webp" alt="Visit tasteskill.dev" height="56" />
</a>
</p>
@@ -18,8 +18,8 @@
<p align="center">
<a href="https://animations.dev" title="Emil Kowalski · animations.dev">
- <img src="assets/sponsors/animations-dev.png" alt="" width="38" height="38" valign="middle" style="border-radius: 10px;" />
- <img src="assets/sponsors/emil-animations-dev.png" alt="Emil Kowalski · animations.dev" height="38" valign="middle" />
+ <img src="assets/sponsors/animations-dev.webp" alt="" width="96" height="96" valign="middle" style="border-radius: 12px;" />
+ <img src="assets/sponsors/emil-animations-dev.webp" alt="Emil Kowalski · animations.dev" height="96" valign="middle" />
</a>
</p>
@@ -38,13 +38,13 @@
Portable **Agent Skills** that upgrade AI-built interfaces: stronger layout, typography, motion, and spacing instead of boilerplate-looking UIs. This repo also includes **image-generation skills** for reference boards (web, mobile, brand kits). Pair them with **ChatGPT Images** or similar generators, then hand the frames to Codex, Cursor, or Claude Code for implementation.
<p align="center">
- <a href="LICENSE"><img src="assets/readme-buttons/btn-mit.png" alt="MIT License" height="45" valign="middle" /></a>
+ <a href="LICENSE"><img src="assets/readme-buttons/btn-mit.webp" alt="MIT License" height="45" valign="middle" /></a>
&nbsp;
- <a href="https://github.com/vercel-labs/agent-skills"><img src="assets/readme-buttons/btn-agent-skills.png" alt="Agent Skills compatible" height="45" valign="middle" /></a>
+ <a href="https://github.com/vercel-labs/agent-skills"><img src="assets/readme-buttons/btn-agent-skills.webp" alt="Agent Skills compatible" height="45" valign="middle" /></a>
&nbsp;
- <a href="#installing"><img src="assets/readme-buttons/btn-tools.png" alt="Codex, Cursor, Claude" height="45" valign="middle" /></a>
+ <a href="#installing"><img src="assets/readme-buttons/btn-tools.webp" alt="Codex, Cursor, Claude" height="45" valign="middle" /></a>
&nbsp;
- <a href="https://www.tasteskill.dev/changelog"><img src="assets/readme-buttons/btn-changelog.png" alt="Changelog" height="45" valign="middle" /></a>
+ <a href="https://www.tasteskill.dev/changelog"><img src="assets/readme-buttons/btn-changelog.webp" alt="Changelog" height="45" valign="middle" /></a>
</p>
## Disclaimer
@@ -168,7 +168,7 @@ If Taste Skill helps you, consider sponsoring:
### Current Sponsors
-<a href="https://animations.dev" title="Emil Kowalski · animations.dev"><img src="assets/sponsors/animations-dev.png" width="40" height="40" style="border-radius:10px" alt="Emil Kowalski" title="Emil Kowalski · animations.dev" /></a>
+<a href="https://animations.dev" title="Emil Kowalski · animations.dev"><img src="assets/sponsors/animations-dev.webp" width="96" height="96" style="border-radius:12px" alt="Emil Kowalski" title="Emil Kowalski · animations.dev" /></a>
<a href="https://github.com/dnakov"><img src="https://github.com/dnakov.png" width="40" height="40" style="border-radius:50%" alt="dnakov" title="dnakov" /></a>
<a href="https://github.com/AkramReshad"><img src="https://github.com/AkramReshad.png" width="40" height="40" style="border-radius:50%" alt="AkramReshad" title="AkramReshad" /></a>
<a href="https://github.com/ajmalaksar25"><img src="https://github.com/ajmalaksar25.png" width="40" height="40" style="border-radius:50%" alt="ajmalaksar25" title="ajmalaksar25" /></a>
diff --git a/assets/readme-banner.png b/assets/readme-banner.png
deleted file mode 100644
index 83d4956..0000000
Binary files a/assets/readme-banner.png and /dev/null differ
diff --git a/assets/readme-banner.webp b/assets/readme-banner.webp
new file mode 100644
index 0000000..983cdce
Binary files /dev/null and b/assets/readme-banner.webp differ
diff --git a/assets/readme-buttons/btn-agent-skills.png b/assets/readme-buttons/btn-agent-skills.png
deleted file mode 100644
index 5878901..0000000
Binary files a/assets/readme-buttons/btn-agent-skills.png and /dev/null differ
diff --git a/assets/readme-buttons/btn-agent-skills.webp b/assets/readme-buttons/btn-agent-skills.webp
new file mode 100644
index 0000000..c7eb5a5
Binary files /dev/null and b/assets/readme-buttons/btn-agent-skills.webp differ
diff --git a/assets/readme-buttons/btn-changelog.png b/assets/readme-buttons/btn-changelog.png
deleted file mode 100644
index 6c9b793..0000000
Binary files a/assets/readme-buttons/btn-changelog.png and /dev/null differ
diff --git a/assets/readme-buttons/btn-changelog.webp b/assets/readme-buttons/btn-changelog.webp
new file mode 100644
index 0000000..19341b7
Binary files /dev/null and b/assets/readme-buttons/btn-changelog.webp differ
diff --git a/assets/readme-buttons/btn-mit.png b/assets/readme-buttons/btn-mit.png
deleted file mode 100644
index 87ee3db..0000000
Binary files a/assets/readme-buttons/btn-mit.png and /dev/null differ
diff --git a/assets/readme-buttons/btn-mit.webp b/assets/readme-buttons/btn-mit.webp
new file mode 100644
index 0000000..12c0c9f
Binary files /dev/null and b/assets/readme-buttons/btn-mit.webp differ
diff --git a/assets/readme-buttons/btn-site.png b/assets/readme-buttons/btn-site.png
deleted file mode 100644
index 4e32618..0000000
Binary files a/assets/readme-buttons/btn-site.png and /dev/null differ
diff --git a/assets/readme-buttons/btn-site.webp b/assets/readme-buttons/btn-site.webp
new file mode 100644
index 0000000..43b4c28
Binary files /dev/null and b/assets/readme-buttons/btn-site.webp differ
diff --git a/assets/readme-buttons/btn-tools.png b/assets/readme-buttons/btn-tools.png
deleted file mode 100644
index f688e1e..0000000
Binary files a/assets/readme-buttons/btn-tools.png and /dev/null differ
diff --git a/assets/readme-buttons/btn-tools.webp b/assets/readme-buttons/btn-tools.webp
new file mode 100644
index 0000000..9b3fd23
Binary files /dev/null and b/assets/readme-buttons/btn-tools.webp differ
diff --git a/assets/sponsors/animations-dev.png b/assets/sponsors/animations-dev.png
deleted file mode 100644
index 858013e..0000000
Binary files a/assets/sponsors/animations-dev.png and /dev/null differ
diff --git a/assets/sponsors/animations-dev.webp b/assets/sponsors/animations-dev.webp
new file mode 100644
index 0000000..41bd069
Binary files /dev/null and b/assets/sponsors/animations-dev.webp differ
diff --git a/assets/sponsors/emil-animations-dev.png b/assets/sponsors/emil-animations-dev.png
deleted file mode 100644
index 375ae3c..0000000
Binary files a/assets/sponsors/emil-animations-dev.png and /dev/null differ
diff --git a/assets/sponsors/emil-animations-dev.webp b/assets/sponsors/emil-animations-dev.webp
new file mode 100644
index 0000000..9ce57f9
Binary files /dev/null and b/assets/sponsors/emil-animations-dev.webp differ
diff --git a/scripts/convert-readme-assets-webp.mjs b/scripts/convert-readme-assets-webp.mjs
new file mode 100644
index 0000000..8ab1baa
--- /dev/null
+++ b/scripts/convert-readme-assets-webp.mjs
@@ -0,0 +1,142 @@
+import fs from "fs";
+import path from "path";
+import sharp from "sharp";
+
+const root = process.cwd();
+
+const pngToWebp = [
+ "assets/readme-banner.png",
+ "assets/readme-buttons/btn-site.png",
+ "assets/readme-buttons/btn-mit.png",
+ "assets/readme-buttons/btn-agent-skills.png",
+ "assets/readme-buttons/btn-tools.png",
+ "assets/readme-buttons/btn-changelog.png",
+];
+
+function isBackground(r, g, b, a, threshold = 22) {
+ if (a < 8) return true;
+ return r <= threshold && g <= threshold && b <= threshold;
+}
+
+function removeOuterBackground(rgba, width, height) {
+ const visited = new Uint8Array(width * height);
+ const queue = [];
+
+ for (let x = 0; x < width; x++) {
+ queue.push(x, 0, x, height - 1);
+ }
+ for (let y = 1; y < height - 1; y++) {
+ queue.push(0, y, width - 1, y);
+ }
+
+ while (queue.length) {
+ const y = queue.pop();
+ const x = queue.pop();
+ const idx = y * width + x;
+ if (x < 0 || y < 0 || x >= width || y >= height || visited[idx]) continue;
+
+ const i = idx * 4;
+ if (!isBackground(rgba[i], rgba[i + 1], rgba[i + 2], rgba[i + 3])) continue;
+
+ visited[idx] = 1;
+ rgba[i + 3] = 0;
+ queue.push(x + 1, y, x - 1, y, x, y + 1, x, y - 1);
+ }
+
+ return rgba;
+}
+
+function getBounds(rgba, width, height) {
+ let minX = width;
+ let minY = height;
+ let maxX = 0;
+ let maxY = 0;
+
+ for (let y = 0; y < height; y++) {
+ for (let x = 0; x < width; x++) {
+ const a = rgba[(y * width + x) * 4 + 3];
+ if (a > 8) {
+ minX = Math.min(minX, x);
+ minY = Math.min(minY, y);
+ maxX = Math.max(maxX, x);
+ maxY = Math.max(maxY, y);
+ }
+ }
+ }
+
+ const pad = 2;
+ return {
+ left: Math.max(0, minX - pad),
+ top: Math.max(0, minY - pad),
+ width: Math.min(width, maxX - minX + 1 + pad * 2),
+ height: Math.min(height, maxY - minY + 1 + pad * 2),
+ };
+}
+
+async function pngFileToWebp(inputRel, { maxWidth } = {}) {
+ const input = path.join(root, inputRel);
+ const output = input.replace(/\.png$/i, ".webp");
+ let pipeline = sharp(input);
+ const meta = await pipeline.metadata();
+
+ if (maxWidth && meta.width > maxWidth) {
+ pipeline = pipeline.resize({ width: maxWidth, withoutEnlargement: true });
+ }
+
+ await pipeline.webp({ quality: 92, effort: 6, alphaQuality: 100 }).toFile(output);
+ const outMeta = await sharp(output).metadata();
+ console.log(
+ `${path.basename(output)} -> ${outMeta.width}x${outMeta.height}, ${fs.statSync(output).size} bytes`
+ );
+}
+
+async function emilBadgeToWebp() {
+ const src =
+ "C:/Users/User/Downloads/c4f8c4a7-2566-4644-b752-b652e0c103f5.png";
+ const output = path.join(root, "assets/sponsors/emil-animations-dev.webp");
+ const exportHeight = 240;
+
+ const { data, info } = await sharp(src).ensureAlpha().raw().toBuffer({ resolveWithObject: true });
+ const rgba = Buffer.from(data);
+ removeOuterBackground(rgba, info.width, info.height);
+ const bounds = getBounds(rgba, info.width, info.height);
+
+ await sharp(rgba, { raw: { width: info.width, height: info.height, channels: 4 } })
+ .extract(bounds)
+ .resize({ height: exportHeight, withoutEnlargement: true })
+ .webp({ quality: 94, effort: 6, alphaQuality: 100 })
+ .toFile(output);
+
+ const outMeta = await sharp(output).metadata();
+ console.log(
+ `${path.basename(output)} -> ${outMeta.width}x${outMeta.height}, ${fs.statSync(output).size} bytes`
+ );
+}
+
+async function sponsorLogoToWebp() {
+ const jfif = "C:/Users/User/Downloads/6b610a0c-8889-49fc-9684-e172d7172ea0.jfif";
+ const output = path.join(root, "assets/sponsors/animations-dev.webp");
+ const source = fs.existsSync(jfif)
+ ? jfif
+ : path.join(root, "assets/sponsors/animations-dev.png");
+
+ await sharp(source)
+ .resize(192, 192, { fit: "cover" })
+ .webp({ quality: 92, effort: 6, alphaQuality: 100 })
+ .toFile(`${output}.tmp`);
+ fs.renameSync(`${output}.tmp`, output);
+
+ const outMeta = await sharp(output).metadata();
+ console.log(
+ `${path.basename(output)} -> ${outMeta.width}x${outMeta.height}, ${fs.statSync(output).size} bytes`
+ );
+}
+
+for (const file of pngToWebp) {
+ await pngFileToWebp(file, {
+ maxWidth: file.includes("readme-buttons") ? 1400 : undefined,
+ });
+}
+
+await sponsorLogoToWebp();
+await emilBadgeToWebp();