mcpField
F
frontend-math-foundations

frontend-math-foundations

github.com/lvtd-llcDesign & UI142 installsUpdated 7w ago
Repository

About frontend-math-foundations

A reference skill for applying mathematics to front-end development. It helps front-end developers translate visual or interaction problems into suitable math concepts and decide whether CSS or JavaScript should handle the calculation.

Key features

  1. 01Route tasks to relevant references
  2. 02Apply arithmetic and algebra
  3. 03Use ratios, geometry, and trigonometry
  4. 04Choose CSS or JavaScript ownership
  5. 05Follow derivation and debugging workflow

Use cases

  1. 01Calculate layout dimensions
  2. 02Implement visual interactions
  3. 03Debug front-end formulas
  4. 04Review math implementation choices

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/lvtd-llc/skills --skill frontend-math-foundations

After installing, type/frontend-math-foundationsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

guidelines.md
agents/
openai.yaml
references/
source-map.md
references/math-foundations/
checklist.md
examples.md
knowledge.md
patterns.md
rules.md
workflows/
choose-math-approach.md

Details

From the project README

Frontend Math Foundations

Use this skill as the foundation layer for front-end math. It helps translate a visual or interaction problem into arithmetic, algebra, ratios, geometry, trigonometry, coordinates, or a CSS-vs-JavaScript ownership decision.

Quick Start

  1. Read guidelines.md to select the smallest relevant file set.
  2. Load references/math-foundations/rules.md for implementation decisions.
  3. Load references/math-foundations/examples.md when editing code.
  4. Use workflows/choose-math-approach.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/math-foundations/knowledge.mdCore concepts and terminology
references/math-foundations/rules.mdPractical rules, guidelines, and exceptions
references/math-foundations/examples.mdBad/good examples and refactoring approach
references/math-foundations/patterns.mdReusable formula and implementation patterns
references/math-foundations/checklist.mdReview checklist and red flags
workflows/choose-math-approach.mdStep-by-step workflow

Source

Derived from Math for Web Design by Paul McFedries, Chapter 1: Web dev math fundamentals. Citations are tracked in references/source-map.md.

Comments

Markdown supported