
Dimensional analysis check
Checks numeric units, scales, precision and time handling across code boundaries
Dimensional analysis check is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Dimensional analysis check
This skill guides an agent reviewing code changes that move numbers through arithmetic, APIs, storage or time handling. It asks the agent to inventory each numeric quantity and record its unit and scale, such as seconds versus milliseconds, bytes versus KiB, or basis points versus percent. The agent then checks that added terms share a unit, that ratios match what consumers expect, and that values stay consistent when they cross function parameters, JSON fields, database columns, environment variables or RPC payloads.
Beyond unit agreement, the workflow looks for rounding and precision defects such as integer division truncation, float accumulation in loops and fixed-point scaling applied twice or not at all. It also checks sign and range behavior, including counters that can wrap and durations that exceed a field's width. Conversion constants are traced to an authoritative definition instead of being accepted as inline literals, and names that claim a unit are treated as claims to verify rather than proof.
The skill is written for specialist reviewers and produces a report of consistent quantities or mismatches. It works from the code and its boundaries alone and does not call external services or run bundled scripts, since the package includes none.
When your agent uses it
Use when numeric values cross arithmetic, API, storage, or time boundaries and a unit, scale, precision, rounding, signedness, or range mismatch could make the result wrong.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/dimensional-analysis-check to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dimensional-analysis-check &&
cp -R "$tmp/.agents/skills/dimensional-analysis-check" ~/.claude/skills/dimensional-analysis-check &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/dimensional-analysis-check inside it instead.
Copy the skill folder to ~/.agents/skills/dimensional-analysis-check to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dimensional-analysis-check &&
cp -R "$tmp/.agents/skills/dimensional-analysis-check" ~/.agents/skills/dimensional-analysis-check &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/dimensional-analysis-check inside it instead.
Copy the skill folder to ~/.cursor/skills/dimensional-analysis-check to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dimensional-analysis-check &&
cp -R "$tmp/.agents/skills/dimensional-analysis-check" ~/.cursor/skills/dimensional-analysis-check &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/dimensional-analysis-check inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/dimensional-analysis-checkOr copy the folder to ~/.gemini/skills/dimensional-analysis-check yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/dimensional-analysis-check:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dimensional-analysis-check &&
cp -R "$tmp/.agents/skills/dimensional-analysis-check" ~/.copilot/skills/dimensional-analysis-check &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/dimensional-analysis-check inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/dimensional-analysis-check into your agent's skills folder as dimensional-analysis-check. Agents that support SKILL.md read one folder per skill.
What it does
- Unit and scale inventory
- Annotates every numeric quantity a change touches with its unit and scale.
- Expression consistency checks
- Verifies that added terms share units and that ratios match consumer expectations.
- Boundary crossing review
- Inspects parameters, JSON fields, database columns, environment variables and RPC payloads for silent unit changes.
- Conversion constant verification
- Traces unit conversion factors to authoritative definitions and flags magic numbers.
- Precision and rounding audit
- Looks for integer truncation, float accumulation and repeated fixed-point scaling.
- Sign and range analysis
- Checks negative values, counter wraparound and durations that overflow field widths.
- Time convention checks
- Confirms epoch, time zone and interval bound conventions for time values.
Good for
- Review a pull request that converts timeouts between seconds and milliseconds
- Check token amounts for decimal scaling errors before storing them
- Audit a JSON API for mismatched units in its numeric fields
- Find rounding or integer division bugs in a billing calculation
- Verify timestamp handling across UTC, local time and epoch values
Dimensional analysis check FAQ
When does Dimensional analysis check trigger?
It is meant for cases where numeric values cross arithmetic, API, storage or time boundaries and a unit, scale, precision, rounding, signedness or range mismatch could produce a wrong result.
Does Dimensional analysis check require any tools or scripts?
The package includes no scripts and does not set allowed tools. The skill works through instructions the agent follows while reviewing code.
Is Dimensional analysis check intended for general developers?
Its audience is marked as specialist, so it targets reviewers who need a systematic check of numeric correctness.
How do I install Dimensional analysis check in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/dimensional-analysis-check to use it in all your projects, or to .claude/skills/dimensional-analysis-check in one project.
Does Dimensional analysis check run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Dimensional analysis check?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Dimensional analysis check?
The closest alternatives to Dimensional analysis check are Dimensional analysis, Code review, Thermo nuclear code quality review, Differential review and Code review expert.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security




