icp-deploy-check
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
ICP deploy check
Run this static, read-only gate over a Rust canister repo before a mainnet
deploy. It reads source and reports; it never deploys, never calls mainnet, never
needs a key. The fix patterns behind each check live in the canister-security
skill — this skill is the checklist, that one is the reference.
Scope: every update entrypoint and the init/pre_upgrade/post_upgrade hooks
in the Rust ic-cdk canister(s), plus any frontend or agent code in the same repo
(check #2 only). Produce one row per check: PASS / FAIL / REVIEW / N/A
with file:line evidence.
Enumerating update entrypoints
Checks #1 and #3 both start from the full list of update methods. Match the
attribute with or without arguments — #[update(guard = "...")],
#[update(name = "...")] and #[ic_cdk::update(manual_reply = true)] are all
entrypoints: