smithery/teddyjfpender

cairo-starknet-types

Explain Starknet-specific types like ContractAddress, StorageAddress, ClassHash, EthAddress, BlockInfo, and TxInfo; use when a request involves these core Starknet types in Cairo.

Installation

$ npx skills add smithery/teddyjfpender --skill cairo-starknet-types

Also in this package

Other skills from smithery/teddyjfpender · top by installs.

npx skills add smithery/teddyjfpender

Browse all from smithery/teddyjfpender

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,018 B
  • docs SUMMARY.md 207 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Cairo Starknet Types

Overview

Explain the core Starknet types and when to use them instead of raw felt values.

Quick Use

  • Read references/starknet-types.md before answering.
  • Use explicit type conversions when needed (try_from, into, or constructors).
  • Mention range constraints for addresses and hashes.

Response Checklist

  • Use ContractAddress for any contract address parameter or storage.
  • Use StorageAddress and StorageBaseAddress for storage slot computations.
  • Use ClassHash for class identifiers and EthAddress for L1 addresses.
  • Use BlockInfo and TxInfo for environment context.

Example Requests

  • "How do I convert a felt into a ContractAddress?"
  • "What is ClassHash used for?"
  • "What is the difference between StorageAddress and StorageBaseAddress?"