# Cairo Contract Class Abi

> Explain the Starknet contract class ABI, entry points, selectors, and dispatcher usage; use when a request involves ABI JSON, entry point metadata, or how calldata is encoded for contracts.

- Skill: `teddyjfpender/cairo-contract-class-abi` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add teddyjfpender/cairo-contract-class-abi`
- Raw SKILL.md: https://api.skillmd.com/api/skills/teddyjfpender/cairo-contract-class-abi/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: teddyjfpender (https://skillmd.com/u/teddyjfpender)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/teddyjfpender/cairo-contract-class-abi

---


# Cairo Contract Class ABI

## Overview
Explain what the contract class ABI contains and how entry points are represented and called.

## Quick Use
- Read `references/contract-class-abi.md` before answering.
- Distinguish ABI JSON (off-chain) from dispatcher patterns (on-chain).
- Include selector and entry point type when explaining invocation.

## Response Checklist
- Identify the entry point type: external, view, constructor, or L1 handler.
- Mention selectors are computed from function names.
- Explain calldata serialization per ABI when asked about argument encoding.

## Example Requests
- "What does the contract ABI include?"
- "How is an entry point selector computed?"
- "How do I encode arguments for a contract call?"

