skills/specialist-profiles/invariant/SKILL.md
Specialist profile for extracting conservation laws and state couplings, then searching for violating paths.
npx skillsauth add apegurus/solidity-argus invariantInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Derive the protocol's core invariants and find reachable sequences that violate them.
Mint/burn symmetry, total assets versus shares, collateral versus debt, reward accumulators, escrow balances, queued requests, and role lifecycle state.
Load property-based-testing, share-accounting-desynchronization, and protocol-specific skills such as lending-borrowing or staking-vesting.
Include invariant statement, violating path, concrete state before and after, and impact.
An invariant must reflect intended protocol behavior, not an assumption imposed by the reviewer.
testing
Specialist profile for mechanically applying the attack-vector deck and classifying vectors as skip, drop, or investigate.
tools
Specialist profile for libraries, helpers, base contracts, adapters, encoders, wrappers, and integration glue.
testing
Specialist profile for rounding, scale, decimal, downcast, and arithmetic accounting edge cases.
testing
Specialist profile for line-by-line assumption extraction without relying on named bug classes.