Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hairyf avatar

Cairo

  • 1 installs
  • 4 repo stars
  • Updated February 25, 2026
  • hairyf/blockchain-skills

Reference the Cairo language and compiler - Rust-like syntax, Sierra/CASM pipeline, Starknet contracts, linear types, and tooling.

About

A reference skill for Cairo, the language for provable programs on Starknet, covering syntax, the Sierra/CASM compilation pipeline, linear types, and traits. A developer uses it when writing or compiling Cairo programs and Starknet contracts.

  • Rust-like syntax with Sierra/CASM pipeline
  • Starknet contracts, types, traits, and linear semantics

Cairo by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #426 of 479 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Data as of Jul 13, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hairyf/blockchain-skills --skill cairo

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars4
Last updatedFebruary 25, 2026
Repositoryhairyf/blockchain-skills

What it does

Reference the Cairo language and compiler - Rust-like syntax, Sierra/CASM pipeline, Starknet contracts, linear types, and tooling.

Files

SKILL.mdMarkdownGitHub ↗
Skill based on Cairo (starkware-libs/cairo), generated from sources/cairo. Doc path: sources/cairo/docs/reference/src/components/cairo/modules/.

Cairo is a Turing-complete language for provable programs (Starknet, general computation). It uses a Rust-like syntax, Sierra as an intermediate representation, and compiles to CASM. Use this skill for writing and compiling Cairo programs and Starknet contracts, and for understanding types, traits, and linear semantics.

Core References

TopicDescriptionReference
Modules and cratesCrates, modules, use, super, file layoutcore-modules-and-crates
FunctionsSignatures, mut/ref, methods, implicits, nopanic, local compilabilitycore-functions
Structs and enumsDefinitions, instantiation, destructuring, matchcore-structs-and-enums
Traits and implsTraits, named impls (of), impl generics, dispatchcore-traits-and-impls
Types and genericsType system, generics, Array, Felt252Dict, fixed arrayscore-types-and-generics
Linear typesMove, Copy, Drop, Destruct, Clone, snapshot (@)core-linear-types
Derive and preludeDerive macro, common traits, preludecore-derive-and-prelude

Features

Starknet

TopicDescriptionReference
Starknet contractsStorage, entry points, events, ABI, dispatchers, syscallsfeatures-starknet-contracts

Tooling

TopicDescriptionReference
CLI and compilationcairo-compile, sierra-compile, cairo-run, starknet-compilefeatures-cli-and-compilation
Match and panicMatch (enum/felt252), panic, nopanic, panic_withfeatures-match-and-panic

Best Practices

TopicDescriptionReference
Naming and memoryConventions, struct copy semantics, array/dict patternsbest-practices-naming-and-memory

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.