Skills / Testing

dimensional-analysis

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…

Source trailofbits/skillsLicense OtherRepo stars 7,634
npx degit trailofbits/skills/plugins/dimensional-analysis/skills/dimensional-analysis .claude/skills/dimensional-analysis

Read this skill at its source

The repo doesn’t state an open license, so we link to it rather than showing the text here.

Open on GitHub