Skill Store 33

Dimensional Analysis

Audits code for unit and decimal-scaling bugs and annotates it with dimensional comments recordin…

by trailofbits

The skill

Audits code for unit and decimal-scaling bugs and annotates it with dimensional comments recording the units of each value. Use when someone asks to audit or review code for unit confusion, decimals or scaling mismatches, WAD/RAY scale errors, or the wrong token's decimals; to annotate units in a codebase; or to perform a dimensional analysis of a DeFi protocol, offchain code, or other arithmetic-heavy codebase. Catches formulas that combine values carrying different units or scales.

This skill's licence does not allow redistribution, so the store does not show its text. Read it at the source.

Use this skill

Connect your agent to the Skill Store MCP server and ask for it by ref: trailofbits/dimensional-analysis-96069851252.

Markdown version

Details

Publisher
trailofbits
Category
Software Development › Source control & code review
Updated
2026-10-16

References

More from trailofbits