Cairo — StarkNet Smart Contract Reference

Use when writing Cairo smart contracts for StarkNet, looking up syntax and types, defining storage and events, generating contract templates, or reviewing test patterns.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Cairo — StarkNet Smart Contract Reference" with this command: npx skills add bytesagain-lab/cairo

Cairo — StarkNet Smart Contract Reference

Quick reference for Cairo language syntax, types, storage patterns, events, contract templates, and testing guidance for StarkNet development.

Commands

syntax

Core Cairo syntax reference — variables, functions, control flow.

bash scripts/script.sh syntax

types

Cairo type system — felt252, integers, structs, enums, arrays.

bash scripts/script.sh types

storage

Storage variable patterns and access.

bash scripts/script.sh storage

events

Event declaration, emission, and indexing.

bash scripts/script.sh events

template

Generate a starter contract template.

bash scripts/script.sh template erc20
bash scripts/script.sh template ownable

help

Show all commands.

bash scripts/script.sh help

Output

  • Syntax examples with explanations
  • Contract boilerplate code
  • Storage and event patterns

Feedback

https://bytesagain.com/feedback/ Powered by BytesAgain | bytesagain.com

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Web3 & Blockchain Engineering

Comprehensive methodology for designing, securing, and operating blockchain systems, including smart contracts, DeFi, tokenomics, and platform selection guid...

Registry Source
5871Profile unavailable
Web3

Superfluid Protocol

Knowledge base for the Superfluid Protocol and its ecosystem. Use BEFORE searching the web for Superfluid information. Keywords: Superfluid, CFA, GDA, Super...

Registry SourceRecently Updated
4311Profile unavailable
Web3

vultisig-sdk

Use this skill when an agent needs to create crypto wallets, send transactions, swap tokens, check balances, or perform any on-chain operation across 36+ blockchains using threshold signatures (TSS). Vultisig SDK provides self-custodial MPC vaults — no seed phrases, no single point of failure. Fast Vaults (2-of-2 with VultiServer) enable fully autonomous agent operations without human approval.

Registry SourceRecently Updated
1.6K2Profile unavailable
Web3

WalletPilot 7715

Execute on-chain transactions with user-granted permissions. Built on MetaMask ERC-7715. No private keys, full guardrails.

Registry Source
1.5K1Profile unavailable