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/caustics/effect.js

View on GitHub
// caustics: sunlight through rippling water on the floor of a pool. One slowly shifting net of curved
// light lines (the edges of an animated Voronoi grid, F2 - F1, on a noise-warped plane). The lines are
// uneven: where the light gathers (a slow focus field) they are bright and thick and the knots where
// they merge flare; elsewhere they are dim and soft. Large brighter and darker patches drift across
// the floor, and a calm area the size of a text block stays near empty.
import { shader, color } from '../fx.js';

const params = {
  scale:      { default: 5,    min: 1.5, max: 8,   step: 0.1 },  // cells per frame height (below 4 the net reads as cracked tiles)
  sharpness:  { default: 3,    min: 1,   max: 8,   step: 0.1 },  // crisper line cores
  speed:      { default: 0.15, min: 0,   max: 1,   step: 0.01 },
  intensity:  { default: 0.75, min: 0,   max: 1.2, step: 0.01 },
  distortion: { default: 0.62, min: 0,   max: 1,   step: 0.01 },  // how wavy the lines are (above 0.7 the plane can fold into loops)
  depth:      { default: 0.6,  min: 0,   max: 1,   step: 0.01 },  // large light and dark patches across the floor
  calm:       { default: 0.5,  min: 0,   max: 1,   step: 0.01 },  // clear a text-block area of light
  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 */ `
// a feature point per cell, each on its own slow orbit inside the cell
#if __VERSION__ >= 300
// one hash round per cell (the library's fx_hash2 does six); split into two 16-bit values
vec2 cellRand(vec2 id) {
  uvec2 c = uvec2(ivec2(id) + ivec2(8192));
  uint h = fx_u32((c.x * 1597334677u) ^ (c.y * 3812015801u) ^ (uint(u_seed) * 2654435769u));
  return vec2(float(h & 65535u), float(h >> 16u)) * (1.0 / 65535.0);
}
#else
vec2 cellRand(vec2 id) { return fx_hash2(id); }
#endif
vec2 cpt(vec2 id, float t) {
  vec2 h = cellRand(id);
  return 0.5 + 0.36 * vec2(sin(t * (0.7 + 0.6 * h.x) + FX_TAU * h.y), cos(t * (0.6 + 0.6 * h.y) + FX_TAU * h.x));
}
// x: F2 - F1, zero on the cell edges; y: F3 - F1, small where three cells meet
vec2 edgeDist(vec2 p, float t) {
  vec2 i = floor(p), f = fract(p);
  float f1 = 9.0, f2 = 9.0, f3 = 9.0;
  for (int yy = -1; yy <= 1; yy++) {
    for (int xx = -1; xx <= 1; xx++) {
      vec2 g = vec2(float(xx), float(yy));
      vec2 o = g + cpt(i + g, t) - f;
      float d = dot(o, o);
      if (d < f1) { f3 = f2; f2 = f1; f1 = d; }
      else if (d < f2) { f3 = f2; f2 = d; }
      else if (d < f3) { f3 = d; }
    }
  }
  float s1 = sqrt(f1);
  return vec2(sqrt(f2) - s1, sqrt(f3) - s1);
}
// 1 inside an ellipse the size of a text block around the calm point, 0 well outside it
float calmMask(vec2 uv) {
  vec2 d = (uv - vec2(u_calmX, u_calmY)) * vec2(u_res.x / u_res.y, 1.0);
  vec2 R = vec2(0.34 + 0.4 * u_calm, 0.15 + 0.14 * u_calm);
  return 1.0 - smoothstep(0.8, 1.35, length(d / R));
}

void main() {
  vec2 uv = fx_uv();
  vec2 P = vec2(uv.x * u_res.x / u_res.y, uv.y);
  float t = u_time * u_speed + u_seed * 0.173;

  // slow noise bends the plane, so the cell edges curve like ripples, not polygons
  vec2 q = P * u_scale + u_seed * 0.0131;
  vec2 w1 = vec2(fx_noise(q * 0.33 + vec2(t * 0.2, 1.7)), fx_noise(q * 0.33 + vec2(4.1, -t * 0.18)));
  vec2 w2 = vec2(fx_noise(q * 0.8 + vec2(-t * 0.27, 8.3)), fx_noise(q * 0.8 + vec2(2.9, t * 0.25)));
  q += (w1 + 0.75 * w2) * u_distortion * 1.4;
  vec2 e = edgeDist(q, t * 1.2);

  // focus: where the water bunches the light into strong filaments, and where it spreads it thin
  float F = smoothstep(-0.35, 0.4, fx_fbm(P * 1.25 + vec2(t * 0.05, -t * 0.04) + 7.0));
  float jn = 1.0 - smoothstep(0.0, 0.32, e.y);   // near a knot where lines merge
  float pxc = u_scale / u_res.y;                  // one device pixel in cell units
  // in the focus the line has a crisp bright core, thickest where lines merge; elsewhere only a
  // dim, blurred line remains
  float wc = max(mix(0.004, 0.03, F) * (1.0 + 1.2 * jn * F), 1.2 * pxc);
  float core = pow(1.0 - smoothstep(0.0, wc, e.x), 0.35 * u_sharpness + 0.6) * smoothstep(0.15, 0.7, F);
  float sw = mix(0.06, 0.025, F);
  float soft = exp(-e.x * e.x / (sw * sw)) * mix(0.2, 0.42, F);
  float tail = pow(wc / (e.x + wc), 1.5) * 0.3 * F;  // light piling up along a fold of the surface
  float rim = exp(-e.x * 3.5) * 0.08;               // each cell brightens a little toward its rim
  float I = core + soft + tail + rim;
  I *= 1.0 + 0.8 * jn * F;

  // large, slowly drifting patches of brighter (shallow) and darker (deep) floor
  float patchy = smoothstep(-0.5, 0.5, fx_fbm(P * 0.55 + vec2(-t * 0.03, t * 0.022) + 3.0));
  I *= mix(1.0 - 0.85 * u_depth, 1.0, patchy);
  float cm = calmMask(uv) * smoothstep(0.0, 0.35, u_calm);
  I *= (1.0 - 0.97 * cm) * u_intensity;

  vec3 ground = mix(u_deep, u_shallow, mix(0.5, patchy, u_depth));
  ground = mix(ground, u_shallow, cm * 0.8);      // the calm area is an even, quiet floor
  vec3 col = mix(ground, u_light, clamp(I, 0.0, 1.0));
  col.x += fx_grain(gl_FragCoord.xy, floor(u_time * 24.0)) * 0.006;
  fxColor = vec4(fx_dither(fx_rgb(col)), 1.0);
}
`;

const violet = h => h >= 262 && h <= 338;

export function tones(P) {
  const { bg, ink, accent } = P;
  const [Lb, Cb, hb] = color.lch(bg);
  const [, Ca, ha] = color.lch(accent);
  const useAcc = Ca > 0.04 && !violet(ha);
  if (Lb < 0.6) {
    // dark: the water keeps the page's lightness; a cool accent (green to blue) may turn its hue,
    // but never drags it darker or browner. Warm accents only warm the light lines.
    const cool = useAcc && ha >= 150 && ha < 262 && Cb < 0.07;
    const water = cool ? color.fromLch([Lb + 0.02, Math.max(Cb, 0.035), ha]) : color.lighten(bg, 0.012);
    const [Lw, Cw, hw] = color.lch(water);
    const pale = color.fromLch([0.9, Math.min(0.05, Cw * 0.6 + 0.01), hw]);
    return {
      deep: color.fromLch([Math.max(0, Lw - 0.025), Cw, hw]),
      shallow: color.fromLch([Lw + 0.045, Cw * 1.1, hw]),
      // on a coloured ground the lines stay a pale of the ground unless the accent is a near hue
      light: useAcc && (Cb < 0.07 || color.hueDistance(bg, accent) < 50) ? color.mix(pale, color.withLightness(accent, 0.9), cool ? 0.25 : 0.3) : color.mix(pale, ink, 0.15),
    };
  }
  // light: the floor is the page itself in its own hue (no accent mixed in), deeper in the dark
  // patches, and the light lines go toward white
  return {
    deep: color.fromLch([Lb - 0.065, Cb * 1.05, hb]),
    shallow: color.fromLch([Lb - 0.012, Cb, hb]),
    light: color.fromLch([Math.min(0.998, Lb + 0.1), Cb * 0.45, hb]),
  };
}

function uniforms({ palette }) {
  const k = tones(palette);
  return { u_deep: color.labVec(k.deep), u_shallow: color.labVec(k.shallow), u_light: color.labVec(k.light) };
}

export default {
  id: 'caustics',
  name: 'Water caustics',
  family: 'light',
  params,
  mount(el, { palette, params: given, seed }) {
    return shader(el, {
      frag,
      schema: params,
      params: given,
      palette,
      seed,
      uniforms,
      still: 5,
      maxDpr: 1.5, // a Voronoi net per pixel: 1.5 keeps the lines crisp and retina screens smooth
      fallback: ({ palette: P }) => {
        const k = tones(P);
        return `radial-gradient(60% 50% at 72% 28%, ${color.mix(k.shallow, k.light, 0.3)}, transparent 75%), radial-gradient(50% 40% at 30% 80%, ${k.shallow}, transparent 70%), ${k.deep}`;
      },
    });
  },
};
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