Detect cross-contract state inconsistency — two or more contracts sharing a token, oracle, or price feed where one mutates and another reads stale, cached state that drifts from source of truth, non-atomic multi-contract updates, accounting that assumes synchronized state, and reads during callbacks. Activate whenever a system spans multiple contracts that must agree on a value but update at different times.
$npx -y skills add omermaksutii/rugproof --skill cross-contract-stateInstalls into the current project.
Run `npx skills use "https://github.com/omermaksutii/rugproof" --skill "omermaksutii/rugproof/cross-contract-state"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/omermaksutii/rugproof" that are relevant to the current task. Run `npx skills add "https://github.com/omermaksutii/rugproof"` and select the relevant skills, then follow their instructions.