What problem does it solve?
This Skill removes friction for developers who need to create and configure Cairo projects on Starknet and correctly integrate OpenZeppelin Contracts for Cairo, including selecting umbrella versus individual packages and applying import and component patterns.
Core Features & Use Cases
- Project scaffolding: Guidance to install the Starknet toolchain and scaffold a Scarb project with a Starknet test runner.
- Dependency configuration: Instructions for adding OpenZeppelin umbrella or individual package entries to Scarb.toml and notes on versioning exceptions.
- Import conventions & component patterns: Clear examples of import paths for umbrella vs individual packages and how to integrate components using the component! macro and embedded impls.
- Use case: Rapidly scaffold a new ERC20 contract project, choose only the token package to reduce compile time, and wire up component integrations for upgradeability.
Quick Start
Create a new Scarb Starknet project with a test runner, add the appropriate OpenZeppelin dependency entries to Scarb.toml (umbrella or individual packages), and update your Cairo imports and component implementations to match the chosen package layout.