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/split-text-rise/snippet.js
View on GitHub// fx: split-text-rise — 텍스트를 줄/단어(또는 문자)로 쪼갠다. 구현: oh-my-design (MIT).
// 접근성: 원문을 aria-label 로 유지하고 쪼갠 조각은 aria-hidden 으로 감춘다.
;(function (global) {
function splitText(el, { by = 'word' } = {}) {
const text = (el.textContent || '').trim();
if (!text) return;
el.setAttribute('aria-label', text);
const frag = document.createDocumentFragment();
const line = document.createElement('span');
line.className = 'fx-split__line';
line.setAttribute('aria-hidden', 'true');
const parts = by === 'char' ? [...text] : text.split(/(\s+)/);
let i = 0;
for (const p of parts) {
if (/^\s+$/.test(p)) { line.appendChild(document.createTextNode(p)); continue; }
const u = document.createElement('span');
u.className = 'fx-split__unit';
u.style.setProperty('--i', i++);
u.textContent = p;
line.appendChild(u);
if (by === 'word') line.appendChild(document.createTextNode(' '));
}
frag.appendChild(line);
el.textContent = '';
el.appendChild(frag);
el.classList.add('fx-split');
}
function splitAll(root = document, opts) {
root.querySelectorAll('[data-fx-split-by]').forEach(el => splitText(el, { by: el.dataset.fxSplitBy, ...opts }));
}
global.fxLib = Object.assign(global.fxLib || {}, { splitText, splitAll });
})(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 |