← ClaudeAtlas

dimensional-analysislisted

Use when code mixes units, fixed-point precisions, scaling factors, rates, prices, shares, or conversions. Not for type-level unit modeling: use type-driven.
OutlineDriven/odin-claude-plugin · ★ 40 · AI & Automation · score 79
Install: claude install-skill OutlineDriven/odin-claude-plugin
# Dimensional analysis ## Contract | Field | Bound contract | |---|---| | Trigger | A financial, scientific, DeFi, blockchain, or off-chain codebase contains mixed units, fixed-point precisions, scaling factors, rates, prices, shares, or conversions and needs full annotation plus validation. | | Authority | Reversible local: writes only comment-only dimensional annotations in in-scope source files plus DIMENSIONAL_SCOPE.json, DIMENSIONAL_UNITS.md, and a findings report in the project root; rollback is version control (revert comments) or undo (delete the three generated artifacts). No remote mutation. | | Side effect | Comment-only annotations in all in-scope source files; DIMENSIONAL_SCOPE.json, DIMENSIONAL_UNITS.md, and a final findings/coverage report in the project root. No executable code, types, or logic are changed. | | Done | Every in-scope file has terminal annotation, propagation, and validation status; no PENDING entries remain; blocked files reconcile exactly; only comments changed; confirmed and refuted mismatches are separated. | ## Inputs - Project root path (required). - Optional pre-existing DIMENSIONAL_UNITS.md and DIMENSIONAL_SCOPE.json for reuse, only when their `project_root` matches this repo and they contain the required structure. - No mode argument is honored; the full four-phase pipeline always runs end to end. ## Procedure 1. Bound scope. Confirm the project root. Identify every file containing numeric arithmetic with mixed units, precisions,