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

View on GitHub
// grain-gradient: a soft tonal ramp and three blobs of the page colours, mixed in OKLab, under fine
// film grain and a grainy dissolve between the colours (the sand-print look).
import { shader, color, fallbackCSS } from '../fx.js';

const params = {
  speed:       { default: 0.5,  min: 0, max: 2, step: 0.01 },  // how fast the shapes drift
  softness:    { default: 0.45, min: 0, max: 1, step: 0.01 },  // size and edge softness of the blobs
  warp:        { default: 0.6,  min: 0, max: 1, step: 0.01 },  // slow organic bending of the shapes
  grain:       { default: 0.6,  min: 0, max: 1, step: 0.01 },  // film grain strength
  scatter:     { default: 0.5,  min: 0, max: 1, step: 0.01 },  // grainy dissolve between colours
  tint:        { default: 0.5,  min: 0, max: 1, step: 0.01 },  // how much accent enters
  contrast:    { default: 0.55, min: 0, max: 1, step: 0.01 },  // how far the colours move from the background
  calm:        { default: 0.5,  min: 0, max: 1, step: 0.01 },  // flatten the area where text sits
  calmX:       { default: 0.25, min: 0, max: 1, step: 0.01 },  // calm area centre, 0 left .. 1 right
  calmY:       { default: 0.7,  min: 0, max: 1, step: 0.01 },  // calm area centre, 0 top .. 1 bottom
  grainMotion: { default: 1,    min: 0, max: 1, step: 1 },     // 1 grain moves like film, 0 still grain
};

const frag = /* glsl */ `
float blobW(vec2 p, vec4 b, float t) {
  vec2 c = b.xy + 0.13 * vec2(sin(t + b.w), cos(t * 0.83 + b.w * 1.7));
  float r = length(p - c) / (b.z * (0.6 + 0.7 * u_softness));
  // flat core, then an edge from firm (exponent 6) to soft (exponent 2)
  return exp(-pow(r, 6.0 - 4.0 * u_softness) * 1.2);
}

// grainy dissolve in weight space: a blend weight is pushed up or down by this grain's own random
// value, most in the middle of a transition and not at all in flat areas, so colours meet in a fine
// stipple (the printed, sprayed edge) instead of a smooth fade
float dissolve(float w, float z) {
  return clamp(w + z * u_dissolve * 4.0 * w * (1.0 - w), 0.0, 1.0);
}

void main() {
  vec2 uv = fx_uv();
  vec2 p = fx_p();
  float t = u_time * u_speed * 0.12 + u_seed * 0.37;

  // grains are one CSS pixel (whole device pixels), so the texture looks the same at any DPR
  float gc = max(1.0, floor(u_dpr + 0.5));
  vec2 gp = floor(gl_FragCoord.xy / gc);
  float z = fx_hash(gp + vec2(17.0, 3.0)) + fx_hash(gp + vec2(511.0, 97.0)) - 1.0;

  // slow organic bend of the whole field
  vec2 q = p * 1.1 + u_seed * 0.0123;
  vec2 w = vec2(fx_noise(q + vec2(0.0, t * 0.9)), fx_noise(q * 1.1 + vec2(5.2, 1.3) - vec2(t * 0.7, 0.0)));
  p += w * 0.5 * u_warp;

  // tonal ramp: near colour at the calm side, far colour across the frame
  float s = dot(p - u_calmP, u_dir) / u_span;
  s += 0.22 * fx_noise(p * 1.6 + vec2(t * 0.5, 3.1));
  vec3 col = mix(u_kNear, u_kFar, dissolve(smoothstep(-0.1, 0.75, s), z));

  // blobs, painted in OKLab; each blob takes a different slice of the grain's randomness
  col = mix(col, u_k1, dissolve(blobW(p, u_b1, t), fract(z * 7.31 + 0.5) * 2.0 - 1.0));
  col = mix(col, u_k2, dissolve(blobW(p, u_b2, t * 0.9), fract(z * 3.17 + 0.25) * 2.0 - 1.0));
  col = mix(col, u_k0, dissolve(blobW(p, u_b0, t * 1.1), z));

  // calm area for text
  float m = fx_calm(uv, vec2(u_calmX, u_calmY), 0.35 + 0.4 * u_calm) * u_calm;
  col = mix(col, u_kNear, m);

  // film grain on lightness (24 frames a second when it moves)
  float frame = u_grainMotion > 0.5 ? floor(u_time * 24.0) : 0.0;
  // softer near pure white and black, where clipped grain reads as dirt
  float amp = u_grainAmp * u_grain * (1.0 - 0.6 * smoothstep(0.86, 1.0, col.x)) * (1.0 - 0.5 * smoothstep(0.22, 0.0, col.x));
  col.x += fx_grain(gp, frame) * amp;

  fxColor = vec4(fx_dither(fx_rgb(col)), 1.0);
}
`;

// every colour is a mix, shade or tint of a palette colour; no hue is invented
function tones(P, prm, kind) {
  const { bg, surface, ink, accent } = P;
  const c = prm.contrast, tn = prm.tint;
  const neutral = color.chroma(bg) < 0.035;
  // an accent that will not turn muddy when mixed with the background
  const acc = neutral || color.hueDistance(bg, accent) < 55 ? accent : color.withLightness(color.saturate(bg, 1.1), color.lab(accent)[0]);
  const [Lb] = color.lab(bg), [Li] = color.lab(ink);
  const away = Li > Lb ? -1 : 1; // the lightness direction that adds contrast to the ink
  const near = color.saturate(color.lighten(bg, away * (0.012 + 0.03 * c)), 1.1);
  if (kind === 'dark') {
    return {
      grain: 0.04,
      near,
      far: color.mix(bg, surface, 0.7 + 0.3 * c),
      k: [
        color.mix(bg, acc, 0.28 + 0.45 * tn),                       // glow
        color.mix(bg, acc, 0.1 + 0.2 * tn),                         // soft glow
        color.lighten(color.mix(surface, acc, 0.08 + 0.1 * tn), 0.015 + 0.04 * c), // tinted haze
      ],
    };
  }
  if (kind === 'colour') {
    return {
      grain: 0.05,
      near,
      far: color.lighten(bg, -away * (0.04 + 0.08 * c)),
      k: [
        color.mix(bg, acc, 0.25 + 0.45 * tn),                       // accent light
        color.mix(bg, ink, 0.06 + 0.1 * c),                         // pale
        color.saturate(color.lighten(bg, away * (0.035 + 0.06 * c)), 1.08), // deep field
      ],
    };
  }
  // light: a tone between ink and accent gives rich, clean shades instead of grey ones; mixing toward
  // a near-neutral ink loses chroma, so the shades get it back (the printed-pigment look, not grey)
  const tone = color.mix(ink, acc, 0.45 + 0.55 * tn);
  return {
    grain: 0.06,
    near,
    far: color.saturate(color.mix(bg, tone, 0.08 + 0.14 * c), 1.15),
    k: [
      color.saturate(color.mix(bg, acc, 0.22 + 0.5 * tn), 1.25),    // accent
      color.saturate(color.lighten(color.mix(bg, acc, 0.1), 0.03), 1.3), // pale light
      color.saturate(color.mix(bg, tone, 0.3 + 0.35 * c), 1.4),     // deep
    ],
  };
}

function uniforms({ palette, params, rng, kind, width, height }) {
  const r = rng;
  const set = tones(palette, params, kind);
  const asp = width && height ? width / height : 4 / 3;
  // geometry in centred height units, y up (the space of fx_p())
  const calm = [(params.calmX - 0.5) * asp, 0.5 - params.calmY];
  const corners = [[-asp / 2, -0.5], [asp / 2, -0.5], [-asp / 2, 0.5], [asp / 2, 0.5]];
  const far = corners.reduce((a, b) => (Math.hypot(b[0] - calm[0], b[1] - calm[1]) > Math.hypot(a[0] - calm[0], a[1] - calm[1]) ? b : a));
  const span = Math.max(0.3, Math.hypot(far[0] - calm[0], far[1] - calm[1]));
  const dir = [(far[0] - calm[0]) / span, (far[1] - calm[1]) / span];
  const perp = [-dir[1], dir[0]];
  // a point along the calm-to-far axis, kept inside the frame
  const at = (along, side) => [
    Math.max(-asp / 2 + 0.12, Math.min(asp / 2 - 0.12, calm[0] + dir[0] * span * along + perp[0] * side)),
    Math.max(-0.38, Math.min(0.38, calm[1] + dir[1] * span * along + perp[1] * side)),
  ];
  const side = r() < 0.5 ? -1 : 1;
  const b0 = at(0.7 + 0.2 * r(), side * (0.05 + 0.2 * r()));       // accent, across from the calm area
  const b1 = at(0.3 + 0.2 * r(), -side * (0.2 + 0.25 * r()));      // pale light, near the middle
  const b2 = at(0.6 + 0.3 * r(), -side * (0.15 + 0.3 * r()));      // deep, beside the accent
  const u = {
    u_kNear: color.labVec(set.near),
    u_kFar: color.labVec(set.far),
    u_grainAmp: set.grain,
    // scatter 0..1 -> dissolve strength; 0.5 gives a visible stipple only where colours meet
    u_dissolve: 0.36 * params.scatter,
    u_calmP: calm,
    u_dir: dir,
    u_span: span,
    u_b0: [...b0, 0.38 + 0.12 * r(), r() * 6.283],
    u_b1: [...b1, 0.36 + 0.12 * r(), r() * 6.283],
    u_b2: [...b2, 0.3 + 0.12 * r(), r() * 6.283],
  };
  set.k.forEach((k, i) => { u['u_k' + i] = color.labVec(k); });
  return u;
}

export default {
  id: 'grain-gradient',
  name: 'Grain gradient',
  family: 'grain',
  params,
  mount(el, { palette, params: given, seed }) {
    return shader(el, {
      frag,
      schema: params,
      params: given,
      palette,
      seed,
      uniforms,
      still: 4,
      fallback: ({ palette: P, params: prm, kind }) => {
        const k = tones(P, prm, kind).k;
        return fallbackCSS({ ...P, accent: k[0] }, { at: `${(1 - prm.calmX) * 100}% ${(1 - prm.calmY) * 100}%`, tint: 1 });
      },
    });
  },
};
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