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/magnetic-cursor/snippet.js
View on GitHub// fx: magnetic-cursor — 반경 안에서만 끌어당긴다. 구현: oh-my-design (MIT).
// 리스너는 window 하나, 갱신은 프레임당 1회. 타깃이 많아도 비용이 늘지 않는다.
;(function (global) {
function mountMagnetic(root = document, { radius = 90, pull = 0.32 } = {}) {
if (!window.matchMedia('(hover:hover)').matches) return () => {};
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) return () => {};
const els = [...root.querySelectorAll('.fx-mag')];
if (!els.length) return () => {};
let raf = 0, p = null;
const paint = () => {
raf = 0; if (!p) return;
for (const el of els) {
const r = el.getBoundingClientRect();
const cx = r.left + r.width / 2, cy = r.top + r.height / 2;
const dx = p.x - cx, dy = p.y - cy;
const reach = (+el.dataset.fxMagRadius || radius) + Math.max(r.width, r.height) / 2;
const d = Math.hypot(dx, dy);
if (d < reach) {
const k = (1 - d / reach) * (+el.dataset.fxMagPull || pull);
el.style.setProperty('--fx-mag-x', (dx * k).toFixed(1) + 'px');
el.style.setProperty('--fx-mag-y', (dy * k).toFixed(1) + 'px');
el.dataset.fxMag = 'on';
} else if (el.dataset.fxMag) {
el.removeAttribute('data-fx-mag');
el.style.setProperty('--fx-mag-x', '0px');
el.style.setProperty('--fx-mag-y', '0px');
}
}
};
const move = e => { p = { x: e.clientX, y: e.clientY }; if (!raf) raf = requestAnimationFrame(paint); };
window.addEventListener('pointermove', move, { passive: true });
return () => window.removeEventListener('pointermove', move);
}
global.fxLib = Object.assign(global.fxLib || {}, { mountMagnetic });
})(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 |