Skip to content

Leonxlnx/taste-skill / skills/taste-skill

design-taste-frontend

Verified

tasteskill 2.5.1, the anti-slop frontend skill. Builds professional company websites at the level of figma.com and x.ai: plain copy in a voice of its own, one system, one section per screen, equal edges, real photographs and real product UI (licensed stand-in photographs when the client has none; a product render only when the brief asks for 3D), a hero entrance and one or two dealt moments on every page, shader effects and scenes only on tech, gaming and software pages, quiet micro-interactions, and a checker and finish gate that enforce it in a real browser. Use this whenever you build, design, redesign, restyle, polish or review a landing page, company, product, shop, cafe, hotel, studio, SaaS, AI, developer-tool or game site, as static HTML/CSS or inside an existing React, Next.js, Vue, Svelte, Astro or Tailwind project, or when the user says a page looks generic, templated or "AI-made".

FileKindSize
SKILL.mdskill md30.2 KB
assets/backgrounds/backgrounds.cssother41.5 KB
assets/backgrounds/backgrounds.jsscript8.9 KB
assets/backgrounds/check.htmlother4.8 KB
assets/backgrounds/check.mjsscript14.2 KB
assets/backgrounds/demo.htmlother43.3 KB
assets/backgrounds/index.jsonconfig19.6 KB
assets/backgrounds/pick.mjsscript14.0 KB
assets/components/_lab.htmlother6.4 KB
assets/components/base.cssother7.6 KB
assets/components/fx-avatar/component.cssother3.3 KB
assets/components/fx-avatar/component.htmlother1.2 KB
assets/components/fx-avatar/component.jsscript2.7 KB
assets/components/fx-avatar/meta.jsonconfig870 B
assets/components/fx-band/component.cssother1.4 KB
assets/components/fx-band/component.htmlother482 B
assets/components/fx-band/component.jsscript2.7 KB
assets/components/fx-band/meta.jsonconfig1.1 KB
assets/components/fx-bars/component.cssother3.4 KB
assets/components/fx-bars/component.htmlother2.3 KB
assets/components/fx-bars/component.jsscript2.2 KB
assets/components/fx-bars/meta.jsonconfig1.2 KB
assets/components/fx-button/component.cssother1.6 KB
assets/components/fx-button/component.htmlother798 B
assets/components/fx-button/component.jsscript3.0 KB
assets/components/fx-button/meta.jsonconfig1.1 KB
assets/components/fx-chart/component.cssother3.4 KB
assets/components/fx-chart/component.htmlother1.2 KB
assets/components/fx-chart/component.jsscript5.3 KB
assets/components/fx-chart/meta.jsonconfig1.3 KB
assets/components/fx-dither-object/component.cssother452 B
assets/components/fx-dither-object/component.htmlother177 B
assets/components/fx-dither-object/component.jsscript24.1 KB
assets/components/fx-dither-object/meta.jsonconfig2.7 KB
assets/components/fx-feature-card/component.cssother10.7 KB
assets/components/fx-feature-card/component.htmlother8.9 KB
assets/components/fx-feature-card/component.jsscript12.1 KB
assets/components/fx-feature-card/meta.jsonconfig3.0 KB
assets/components/fx-globe/component.cssother2.2 KB
assets/components/fx-globe/component.htmlother1.6 KB
assets/components/fx-globe/component.jsscript1.3 KB
assets/components/fx-globe/meta.jsonconfig819 B
assets/components/fx-headline/component.cssother1.6 KB
assets/components/fx-headline/component.htmlother833 B
assets/components/fx-headline/component.jsscript742 B
assets/components/fx-headline/meta.jsonconfig964 B
assets/components/fx-icon-tiles/component.cssother1.7 KB
assets/components/fx-icon-tiles/component.htmlother2.1 KB
assets/components/fx-icon-tiles/component.jsscript1.4 KB
assets/components/fx-icon-tiles/meta.jsonconfig922 B
assets/components/fx-logos/component.cssother2.0 KB
assets/components/fx-logos/component.htmlother12.4 KB
assets/components/fx-logos/component.jsscript1.2 KB
assets/components/fx-logos/meta.jsonconfig1.0 KB
assets/components/fx-map/bake.mjsscript25.2 KB
assets/components/fx-map/component.cssother10.6 KB
assets/components/fx-map/component.htmlother1.2 KB
assets/components/fx-map/component.jsscript14.4 KB
assets/components/fx-map/meta.jsonconfig2.6 KB
assets/components/fx-map/sample-map.jsonconfig55.7 KB
assets/components/fx-photo/component.cssother2.0 KB
assets/components/fx-photo/component.htmlother553 B
assets/components/fx-photo/component.jsscript1.9 KB
assets/components/fx-photo/meeting-room.jpgbinary198.7 KB
assets/components/fx-photo/meta.jsonconfig1.8 KB
assets/components/fx-pricing/component.cssother3.8 KB
assets/components/fx-pricing/component.htmlother1.8 KB
assets/components/fx-pricing/component.jsscript1.5 KB
assets/components/fx-pricing/meta.jsonconfig971 B
assets/components/fx-progress/component.cssother2.9 KB
assets/components/fx-progress/component.htmlother2.0 KB
assets/components/fx-progress/component.jsscript4.3 KB
assets/components/fx-progress/meta.jsonconfig1.3 KB
assets/components/fx-prompt/component.cssother3.1 KB
assets/components/fx-prompt/component.htmlother1.3 KB
assets/components/fx-prompt/component.jsscript1.1 KB
assets/components/fx-prompt/meta.jsonconfig782 B
assets/components/fx-search/component.cssother2.6 KB
assets/components/fx-search/component.htmlother1.4 KB
assets/components/fx-search/component.jsscript4.9 KB
assets/components/fx-search/meta.jsonconfig953 B
assets/components/fx-spotlight/component.cssother1.8 KB
assets/components/fx-spotlight/component.htmlother1.6 KB
assets/components/fx-spotlight/component.jsscript4.0 KB
assets/components/fx-spotlight/meta.jsonconfig1.1 KB
assets/components/fx-stat/component.cssother1.6 KB
assets/components/fx-stat/component.htmlother694 B
assets/components/fx-stat/component.jsscript1.2 KB
assets/components/fx-stat/meta.jsonconfig1.1 KB
assets/components/fx-tabs/component.cssother5.0 KB
assets/components/fx-tabs/component.htmlother2.9 KB
assets/components/fx-tabs/component.jsscript3.1 KB
assets/components/fx-tabs/meta.jsonconfig1.2 KB
assets/components/index.htmlother18.6 KB
assets/components/shared.jsscript25.9 KB
assets/diagrams/demo.htmlother11.4 KB
assets/diagrams/diagram.cssother25.5 KB
assets/diagrams/diagram.jsscript89.2 KB
assets/diagrams/lab.htmlother11.2 KB
assets/diagrams/mount.jsscript609 B
assets/diagrams/presets.jsonconfig27.8 KB
assets/effects/README.mdmarkdown9.8 KB
assets/effects/ascii-shade/effect.jsscript18.3 KB
assets/effects/ascii-shade/meta.jsonconfig372 B
assets/effects/aurora-curtains/effect.jsscript9.2 KB
assets/effects/aurora-curtains/meta.jsonconfig361 B
assets/effects/bayer-dither/effect.jsscript5.9 KB
assets/effects/bayer-dither/meta.jsonconfig311 B
assets/effects/caustics/effect.jsscript7.3 KB
assets/effects/caustics/meta.jsonconfig357 B
assets/effects/contour-lines/effect.jsscript8.2 KB
assets/effects/contour-lines/meta.jsonconfig358 B
assets/effects/dot-terrain/effect.jsscript9.2 KB
assets/effects/dot-terrain/meta.jsonconfig332 B
assets/effects/dotted-globe/effect.jsscript52.9 KB
assets/effects/dotted-globe/meta.jsonconfig546 B
assets/effects/duotone-grade/effect.jsscript33.7 KB
assets/effects/duotone-grade/meta.jsonconfig395 B
assets/effects/edge-glow/effect.jsscript10.6 KB
assets/effects/edge-glow/meta.jsonconfig427 B
assets/effects/film-light-leak/effect.jsscript12.2 KB
assets/effects/film-light-leak/meta.jsonconfig343 B
assets/effects/fluted-glass/effect.jsscript9.7 KB
assets/effects/fluted-glass/meta.jsonconfig305 B
assets/effects/fx.jsscript40.5 KB
assets/effects/gallery.htmlother37.4 KB
assets/effects/god-rays/effect.jsscript9.1 KB
assets/effects/god-rays/meta.jsonconfig318 B
assets/effects/gradient-mesh/effect.jsscript11.0 KB
assets/effects/gradient-mesh/meta.jsonconfig334 B
assets/effects/grain-gradient/effect.jsscript8.1 KB
assets/effects/grain-gradient/meta.jsonconfig311 B
assets/effects/grid-pulse/effect.jsscript18.6 KB
assets/effects/grid-pulse/meta.jsonconfig343 B
assets/effects/halftone-screen/effect.jsscript12.8 KB
assets/effects/halftone-screen/meta.jsonconfig342 B
assets/effects/index.jsonconfig36.7 KB
assets/effects/lab.htmlother31.0 KB
assets/effects/line-engraving/effect.jsscript12.4 KB
assets/effects/line-engraving/meta.jsonconfig343 B
assets/effects/orb-sphere/effect.jsscript14.2 KB
assets/effects/orb-sphere/meta.jsonconfig366 B
assets/effects/painterly-landscape/effect.jsscript12.8 KB
assets/effects/painterly-landscape/meta.jsonconfig364 B
assets/effects/pick.jsscript10.1 KB
assets/effects/prism-dispersion/effect.jsscript9.6 KB
assets/effects/prism-dispersion/meta.jsonconfig331 B
assets/effects/ridgeline/effect.jsscript19.2 KB
assets/effects/ridgeline/meta.jsonconfig460 B
assets/effects/ruled-grounds/effect.jsscript11.3 KB
assets/effects/ruled-grounds/meta.jsonconfig357 B
assets/effects/silk-folds/effect.jsscript10.4 KB
assets/effects/silk-folds/meta.jsonconfig348 B
assets/effects/soft-light-bars/effect.jsscript21.1 KB
assets/effects/soft-light-bars/meta.jsonconfig391 B
assets/effects/spotlight-cone/effect.jsscript7.3 KB
assets/effects/spotlight-cone/meta.jsonconfig349 B
assets/icons/demo.htmlother475.1 KB
assets/icons/demo/adyen.svgother2.4 KB
assets/icons/demo/after-effects.svgother5.2 KB
assets/icons/demo/ai.svgother795 B
assets/icons/demo/airbnb.svgother5.2 KB
assets/icons/demo/airbyte.svgother3.0 KB
assets/icons/demo/airflow.svgother3.4 KB
assets/icons/demo/airtable.svgother1.8 KB
assets/icons/demo/akamai.svgother5.5 KB
assets/icons/demo/algolia.svgother11.5 KB
assets/icons/demo/alpinejs.svgother343 B
assets/icons/demo/amd.svgother1.5 KB
assets/icons/demo/amex.svgother8.4 KB
assets/icons/demo/amplitude.svgother3.3 KB
assets/icons/demo/android.svgother4.7 KB
assets/icons/demo/angular.svgother1.8 KB
assets/icons/demo/ansible.svgother5.4 KB
assets/icons/demo/anthropic.svgother1.2 KB
assets/icons/demo/app-store.svgother2.9 KB
assets/icons/demo/apple-pay.svgother3.1 KB
assets/icons/demo/apple.svgother1.2 KB
assets/icons/demo/arc.svgother4.6 KB
assets/icons/demo/archlinux.svgother1.0 KB
assets/icons/demo/arduino.svgother6.7 KB
assets/icons/demo/argo.svgother22.7 KB
assets/icons/demo/arm.svgother2.5 KB
assets/icons/demo/asana.svgother1004 B
assets/icons/demo/astro.svgother3.1 KB
assets/icons/demo/audio.svgother516 B
assets/icons/demo/auth0.svgother759 B
assets/icons/demo/aws.svgother7.9 KB
assets/icons/demo/azure.svgother3.2 KB
assets/icons/demo/babel.svgother68.6 KB
assets/icons/demo/basecamp.svgother3.4 KB
assets/icons/demo/baseten.svgother1.3 KB
assets/icons/demo/bash.svgother4.2 KB
assets/icons/demo/battle-net.svgother1.1 KB
assets/icons/demo/behance.svgother12.4 KB
assets/icons/demo/bitbucket.svgother1.5 KB
assets/icons/demo/bitcoin.svgother2.3 KB
assets/icons/demo/blender.svgother3.7 KB
assets/icons/demo/bluesky.svgother1.0 KB
assets/icons/demo/bootstrap.svgother2.0 KB

assets/effects/contour-lines/effect.js

View on GitHub
// contour-lines: a topographic map of an imaginary terrain. Line width is measured in screen pixels
// from the field's gradient, so lines stay hairline-thin and even at any zoom; every n-th line is an
// index line in a step of the accent, the land between index lines carries stepped elevation tints
// (the page ground lifting toward the accent on high ground), and a faint hillshade gives relief.
// Tiny closed loops at summits and pits are faded, so the map has no specks. The terrain breathes
// through a very slow domain warp.
import { shader, color, rng as makeRng } from '../fx.js';

const params = {
  levels:     { default: 24,   min: 6,    max: 60,  step: 1 },     // contour levels over the terrain's height
  scale:      { default: 1.6,  min: 0.4,  max: 5,   step: 0.05 },  // size of the hills (higher: smaller)
  lineWidth:  { default: 1,    min: 0.5,  max: 3,   step: 0.1 },   // line width in CSS px
  indexEvery: { default: 5,    min: 0,    max: 10,  step: 1 },     // every n-th line heavier, 0 for none
  opacity:    { default: 0.35, min: 0.05, max: 1,   step: 0.01 },  // ink strength of the lines
  speed:      { default: 0.02, min: 0,    max: 0.2, step: 0.005 }, // breathing of the terrain
  octaves:    { default: 3,    min: 1,    max: 4,   step: 1 },     // detail of the terrain
  tint:       { default: 0.6,  min: 0,    max: 1,   step: 0.01 },  // elevation tints and accent index lines
  shade:      { default: 0.5,  min: 0,    max: 1,   step: 0.01 },  // hillshade of the ground (1 is about 0.05 lightness)
  edge:       { default: 0.5,  min: 0,    max: 1,   step: 0.01 },  // fade of the lines toward the edges
  calm:       { default: 0.75, min: 0,    max: 1,   step: 0.01 },  // fade the lines where text sits
  calmX:      { default: 0.25, min: 0,    max: 1,   step: 0.01 },
  calmY:      { default: 0.7,  min: 0,    max: 1,   step: 0.01 },
};

const frag = /* glsl */ `
float ct_height(vec2 p, float t) {
  // very slow breathing: the field bends a little in place instead of sliding away
  vec2 w = vec2(fx_noise(p * 0.42 + vec2(t, 3.7)), fx_noise(p * 0.42 + vec2(-2.9, 1.3 - t * 0.83)));
  p += w * 0.38;
  float s = 0.0, a = 1.0, nrm = 0.0;
  for (int i = 0; i < 4; i++) {
    if (float(i) > u_octaves - 0.5) break;
    s += a * fx_noise(p);
    nrm += a;
    p = mat2(1.6, 1.2, -1.2, 1.6) * p + vec2(5.3, 1.9);
    a *= 0.42;
  }
  return s / sqrt(nrm);
}
float ct_field(vec2 fc, float t) {
  vec2 p = (fc - 0.5 * u_res) / u_res.y * u_scale * 0.62 + u_off;
  return ct_height(p, t) * u_levels;
}

void main() {
  vec2 uv = fx_uv();
  float t = u_time * u_speed * 1.6;
  float f = ct_field(gl_FragCoord.xy, t);
#if __VERSION__ >= 300
  vec2 g = vec2(dFdx(f), dFdy(f));
#else
  vec2 g = vec2(ct_field(gl_FragCoord.xy + vec2(1.0, 0.0), t) - f, ct_field(gl_FragCoord.xy + vec2(0.0, 1.0), t) - f);
#endif
  float gl = max(length(g), 1e-5);

  // distance in device px to the nearest contour, and which contour it is
  float idx = floor(f + 0.5);
  float dpx = abs(f - idx) / gl;
  float every = max(u_indexEvery, 1.0);
  float isIdx = u_indexEvery > 0.5 ? 1.0 - step(0.5, mod(idx, every)) : 0.0;

  float w = u_lineWidth * u_dpr * mix(1.0, 1.85, isIdx);
  float cov = clamp(max(w, 1.0) * 0.5 + 0.5 - dpx, 0.0, 1.0) * min(w, 1.0);
  // where lines crowd closer than a few pixels they fade instead of turning into moire
  float gap = mix(1.0, every, isIdx) / gl;
  cov *= smoothstep(1.5 * u_dpr, 4.0 * u_dpr, gap);

  // tiny closed loops (a summit or pit just crossing a level) read as specks. They sit where the
  // field is nearly flat, so only there: step about 5 CSS px up and down the slope; on a normal slope
  // the field keeps changing at its rate, around a tiny loop it has already turned over
  float g0 = u_res.y / (u_scale * 0.62 * u_levels);
  if (cov > 0.0 && 1.0 / gl > 2.5 * g0) {
    vec2 n = g / gl;
    float s = 5.0 * u_dpr;
    float up = ct_field(gl_FragCoord.xy + n * s, t) - f;
    float dn = f - ct_field(gl_FragCoord.xy - n * s, t);
    cov *= smoothstep(0.15, 0.55, min(up, dn) / (gl * s));
  }

  float a = cov * u_opacity * mix(1.0, 1.45, isIdx);

  // fade toward the edges and in the calm area
  float asp = u_res.x / u_res.y;
  float e = min(min(uv.x, 1.0 - uv.x) * asp, min(uv.y, 1.0 - uv.y));
  a *= mix(1.0, smoothstep(0.0, 0.3, e), u_edge);
  a *= 1.0 - u_calm * fx_calm(uv, vec2(u_calmX, u_calmY), 0.32 + 0.4 * u_calm);

  // the ground: stepped elevation tints between index lines (high ground lifts toward the accent,
  // low ground deepens a touch toward the ink), then a hillshade lit from the upper left
  float band = floor(f / every + 0.5);
  float el = clamp(band / 3.0, -1.0, 1.0);
  vec3 gnd = el > 0.0 ? mix(u_kGround, u_kHigh, el * u_tint) : mix(u_kGround, u_kLow, -el * u_tint);
  vec2 gn = g / u_dpr;
  float lit = clamp(dot(gn, vec2(0.7, -0.7)) * 9.0, -1.0, 1.0);
  gnd.x += u_shade * 0.05 * lit * u_shadeDir;

  vec3 ink = mix(u_kInk, u_kIdx, isIdx * u_tint);
  vec3 lab = mix(gnd, ink, a);
  fxColor = vec4(fx_dither(fx_rgb(lab)), 1.0);
}
`;

function tones(P) {
  const { bg, ink, accent } = P;
  const dark = color.isDark(bg);
  // an accent that barely shows on the ground is replaced by a step of the ink
  const acc = color.contrast(bg, accent) < 1.35 ? color.mix(bg, ink, 0.7) : accent;
  return {
    ground: bg,
    ink,
    // index lines: halfway to the accent, so they still read as ink
    idx: color.mix(ink, acc, 0.6),
    high: color.mix(bg, acc, dark ? 0.16 : 0.13),
    low: color.mix(bg, ink, dark ? 0.05 : 0.045),
  };
}

function uniforms({ palette, seed }) {
  const k = tones(palette);
  const off = [((seed * 0.0173) % 37) + 3.1, ((seed * 0.0291) % 41) - 7.7];
  return {
    u_kGround: color.labVec(k.ground),
    u_kInk: color.labVec(k.ink),
    u_kIdx: color.labVec(k.idx),
    u_kHigh: color.labVec(k.high),
    u_kLow: color.labVec(k.low),
    // lighter relief on dark grounds goes up, on light grounds it goes down a little less
    u_shadeDir: color.isDark(palette.bg) ? 0.8 : 1,
    u_off: off,
  };
}

// CSS stand-in: a few smooth closed contours around one hill, as an SVG (no repeating rings, so no moire)
function fallback({ palette: P, params: prm, seed }) {
  const k = tones(P);
  const r = makeRng(`contour-fb:${seed}`);
  const W = 1000, H = 625;
  const cx = W * (0.55 + r() * 0.25), cy = H * (0.25 + r() * 0.3);
  const ph = [r() * 6.28, r() * 6.28, r() * 6.28];
  const line = color.mix(P.bg, P.ink, Math.min(0.9, prm.opacity * 0.9));
  const idx = color.mix(P.bg, k.idx, Math.min(1, prm.opacity * 1.3));
  const paths = [];
  for (let n = 0; n < 16; n++) {
    const R = 26 + n * 44 + n * n * 1.6;
    const pts = [];
    for (let i = 0; i < 28; i++) {
      const a = (i / 28) * Math.PI * 2;
      const q = 1 + 0.2 * Math.sin(2 * a + ph[0] + n * 0.11) + 0.09 * Math.sin(3 * a + ph[1] - n * 0.17) + 0.05 * Math.sin(5 * a + ph[2] + n * 0.3);
      pts.push([cx + Math.cos(a) * R * q * 1.25, cy + Math.sin(a) * R * q]);
    }
    // closed Catmull-Rom curve as cubic Beziers
    let d = `M${pts[0][0].toFixed(1)} ${pts[0][1].toFixed(1)}`;
    for (let i = 0; i < pts.length; i++) {
      const p0 = pts[(i - 1 + pts.length) % pts.length], p1 = pts[i], p2 = pts[(i + 1) % pts.length], p3 = pts[(i + 2) % pts.length];
      const c1 = [p1[0] + (p2[0] - p0[0]) / 6, p1[1] + (p2[1] - p0[1]) / 6], c2 = [p2[0] - (p3[0] - p1[0]) / 6, p2[1] - (p3[1] - p1[1]) / 6];
      d += `C${c1[0].toFixed(1)} ${c1[1].toFixed(1)} ${c2[0].toFixed(1)} ${c2[1].toFixed(1)} ${p2[0].toFixed(1)} ${p2[1].toFixed(1)}`;
    }
    const heavy = prm.indexEvery > 0 && (n + 1) % prm.indexEvery === 0;
    paths.push(`<path d='${d}' stroke='${heavy ? idx : line}' stroke-width='${heavy ? 1.7 : 1}' vector-effect='non-scaling-stroke'/>`);
  }
  const svg = `<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${W} ${H}' preserveAspectRatio='xMidYMid slice'><g fill='none'>${paths.join('')}</g></svg>`;
  const url = `url("data:image/svg+xml,${encodeURIComponent(svg).replace(/'/g, '%27')}")`;
  return `${url} center / cover no-repeat, radial-gradient(60% 70% at ${(cx / W * 100).toFixed(0)}% ${(cy / H * 100).toFixed(0)}%, ${k.high}, ${P.bg} 70%), ${P.bg}`;
}

export default {
  id: 'contour-lines',
  name: 'Topographic contours',
  family: 'pattern',
  params,
  mount(el, { palette, params: given, seed }) {
    return shader(el, { frag, schema: params, params: given, palette, seed, uniforms, still: 5, fallback });
  },
};
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall