Catalog / Skills

JavaScript UI Math

Use JavaScript number math safely for front-end UI behavior, including expressions, precedence, coercion, NaN, Infinity, floating-point precision, BigInt limits, modulo wrapping, rounding, random values, and repeatable UI randomness. Use when building sliders, carousels, counters, animation values, randomized UI, financial-ish display values, or debugging numeric edge cases in browser JavaScript.

Frontendv0.1.0MITfrontendjavascriptuimathdebugging

Install

npx skills add LVTD-LLC/skills --skill javascript-ui-math

From `SKILL.md`

Use this skill for numeric browser behavior that needs predictable edge-case handling. It helps avoid common JavaScript traps around coercion, precision, modulo behavior, rounding, randomization, and BigInt.