stable-memory
OfficialPersist canister state across upgrades.
Authordfinity
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the critical challenge of data loss in Internet Computer (IC) canisters when they are upgraded. It ensures that essential application state is reliably preserved across deployments.
Core Features & Use Cases
- State Persistence: Guarantees that canister data survives upgrades by utilizing stable memory.
- Upgrade Safety: Provides patterns and best practices to prevent common pitfalls that lead to data corruption or canister bricking during upgrades.
- Motoko & Rust Support: Offers implementation examples for both major IC development languages.
- Use Case: Essential for any canister managing user accounts, balances, or any form of persistent data that must remain available after a code update.
Quick Start
Use the stable-memory skill to add a user named 'Alice' to your canister's persistent storage.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: stable-memory Download link: https://github.com/dfinity/icskills/archive/main.zip#stable-memory Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.