·cairo-optimization
</>

cairo-optimization

keep-starknet-strange/starknet-agentic

Use as an explicit post-test optimization pass — fixing slow loops, expensive arithmetic, integer splitting or limb assembly, modular reduction, storage slot packing, or BoundedInt type bounds. Invoke after implementation and tests pass.

5Installs·1Trend·@keep-starknet-strange

Installation

$npx skills add https://github.com/keep-starknet-strange/starknet-agentic --skill cairo-optimization

SKILL.md

Rules and patterns for writing efficient Cairo code. Sourced from audit findings and production profiling.

Attribution: Originally authored by feltroidprime (cairo-skills). Integrated with permission into starknet-agentic.

| # | Rule | Instead of | Use |

Use as an explicit post-test optimization pass — fixing slow loops, expensive arithmetic, integer splitting or limb assembly, modular reduction, storage slot packing, or BoundedInt type bounds. Invoke after implementation and tests pass. Source: keep-starknet-strange/starknet-agentic.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/keep-starknet-strange/starknet-agentic --skill cairo-optimization
Category
</>Dev Tools
Verified
First Seen
2026-02-17
Updated
2026-02-18

Quick answers

What is cairo-optimization?

Use as an explicit post-test optimization pass — fixing slow loops, expensive arithmetic, integer splitting or limb assembly, modular reduction, storage slot packing, or BoundedInt type bounds. Invoke after implementation and tests pass. Source: keep-starknet-strange/starknet-agentic.

How do I install cairo-optimization?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/keep-starknet-strange/starknet-agentic --skill cairo-optimization Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/keep-starknet-strange/starknet-agentic