Specify a webhook-driven task for OpenClaw
Describe event inputs, validation, deduplication, and intended actions before integration work.
5,439,582 AI resources indexedWorking toward the world’s largest AI resource index.
Explain Starknet contract storage layout, the storage struct, Store trait, and read/write access; use when a request involves storage variables or storage layout in Cairo.
--- name: cairo-contract-storage-d7db8fc88876 description: Explain Starknet contract storage layout, the storage struct, Store trait, and read/write access; use when a request involves storage variables or storage layout in Cairo. --- # Cairo Contract Storage ## Overview Explain how contract storage is declared and accessed, and how storage keys are computed. ## Quick Use - Read `references/contract-storage.md` before answering. - Use `#[storage]` struct for storage fields. - Use `.read()` and `.write()` on storage variables in `ContractState`. ## Response Checklist - Ensure storage field types implement `starknet::Store` (derive it when possible). - Mention storage keys are derived from the variable name and hashed. - Use `self` or `ref self` correctly depending on mutability. ## Example Requests - "How do I declare storage in a Cairo contract?" - "Why does my storage field need Store?" - "How is the storage key computed for a variable?"--- name: cairo-contract-storage-d7db8fc88876 description: Explain Starknet contract storage layout, the storage struct, Store trait, and read/write access; use when a request involves storage variables or storage layout in Cairo. --- # Cairo Contract Storage ## Overview Explain how contract storage is declared and accessed, and how storage keys are computed. ## Quick Use - Read `references/contract-storage.md` before answering. - Use `#[storage]` struct for storage fields. - Use `.read()` and `.write()` on storage variables in `ContractState`. ## Response Checklist - Ensure storage field types implement `starknet::Store` (derive it when possible). - Mention storage keys are derived from the variable name and hashed. - Use `self` or `ref self` correctly depending on mutability. ## Example Requests - "How do I declare storage in a Cairo contract?" - "Why does my storage field need Store?" - "How is the storage key computed for a variable?"
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.