JavaScript UI Math

SkillDev tools

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.

Use JavaScript UI Math in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add JavaScript UI Math and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the JavaScript UI Math skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

JavaScript UI MathStart free

What this skill tells your AI

The instructions your AI receives, as published by hashgraph-online/awesome-codex-plugins in plugins/LVTD-LLC/skills/skills/javascript-ui-math/SKILL.md and read by Ahel’s review.

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.

Quick Start

  1. Read guidelines.md to select the smallest relevant file set.
  2. Load references/ui-numbers/rules.md for implementation decisions.
  3. Load references/ui-numbers/examples.md when editing code.
  4. Use workflows/debug-ui-number-logic.md for multi-step derivation or debugging.

Contents

ResourcePurpose
guidelines.mdRoutes tasks to the right reference files
references/source-map.mdBook source and chapter/section traceability
references/ui-numbers/knowledge.mdCore concepts and terminology
references/ui-numbers/rules.mdPractical rules, guidelines, and exceptions
references/ui-numbers/examples.mdBad/good examples and refactoring approach
references/ui-numbers/patterns.mdReusable formula and implementation patterns
references/ui-numbers/checklist.mdReview checklist and red flags
workflows/debug-ui-number-logic.mdStep-by-step workflow

Source

Derived from Math for Web Design by Paul McFedries, Chapter 2: Math basics for JavaScript. Citations are tracked in references/source-map.md.

Signals

GitHub stars
1k
Forks
316
Last commit
Oct 2026
Advanced
Item type
skill
Key
javascript-ui-math
Source
github.com/hashgraph-online/awesome-codex-plugins