kwakseongjae/oh-my-design / .claude/skills/omd-aphrodite
omd:aphrodite
VerifiedMaximum-craft one-page landing — the wow bar. omd:landing 의 구조 위에 마감(서체 조달·그레인·깊이·색보정·스크롤 타임라인)과 최고급 에셋을 얹고, 랜딩 검사 전 항목 통과를 합격선으로 삼는다. Trigger: '와우', '압도적인', '최고급', '쇼케이스용', 'aphrodite', '데모용 랜딩', '이거 자랑할 거야'.
docs/design-excellence/fx-library/cursor-image-trail/snippet.js
View on GitHub// fx: cursor-image-trail — 풀 재사용 + 거리 임계값. DOM 을 만들지 않는다. 구현: oh-my-design (MIT).
;(function (global) {
function mountTrail(root = document, { gap = 96 } = {}) {
if (!matchMedia('(hover:hover)').matches) return () => {};
if (matchMedia('(prefers-reduced-motion: reduce)').matches) return () => {};
const offs = [];
for (const zone of root.querySelectorAll('.fx-trail')) {
const pool = [...zone.querySelectorAll('.fx-trail__item')];
if (!pool.length) continue;
const D = +zone.dataset.fxTrailGap || gap; // 이 거리를 지나야 한 장 떨군다
let n = 0, lx = null, ly = null, raf = 0, ev = null;
const drop = (x, y, ang) => {
const el = pool[n % pool.length]; n++;
el.removeAttribute('data-live');
void el.offsetWidth; // 애니메이션 재시작 — 리플로우 1회는 의도적이다
el.style.setProperty('--tx', x.toFixed(1) + 'px');
el.style.setProperty('--ty', y.toFixed(1) + 'px');
el.style.setProperty('--tr', ang.toFixed(1) + 'deg');
el.style.zIndex = String(n % 1000);
el.dataset.live = '';
};
const paint = () => {
raf = 0; if (!ev) return;
const r = zone.getBoundingClientRect();
const x = ev.clientX - r.left, y = ev.clientY - r.top;
if (lx === null) { lx = x; ly = y; return; }
const dx = x - lx, dy = y - ly, d = Math.hypot(dx, dy);
if (d < D) return;
// 이동 방향으로 살짝 눕힌다 — 궤적이 하나의 흐름으로 읽힌다
drop(x, y, Math.max(-14, Math.min(14, dx * 0.09)));
lx = x; ly = y;
};
const move = e => { ev = e; if (!raf) raf = requestAnimationFrame(paint); };
const leave = () => { lx = ly = null; };
zone.addEventListener('pointermove', move, { passive: true });
zone.addEventListener('pointerleave', leave, { passive: true });
offs.push(() => { zone.removeEventListener('pointermove', move); zone.removeEventListener('pointerleave', leave); });
}
return () => offs.forEach(f => f());
}
global.fxLib = Object.assign(global.fxLib || {}, { mountTrail });
})(window);
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |