crane-architecture

Community

Design modular, upgradeable contracts with Crane.

Authorcyotee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Crane Architecture Patterns provide clear guidance for building modular, upgradeable smart contracts using Crane's Diamond-first (ERC2535) approach, detailing how to structure Repo, Target, and Facet layers and related patterns.

Core Features & Use Cases

  • Governance of the Facet-Target-Repo separation to enable upgradeability and clean code organization.
  • Storage-slot pattern guidance with dual layout functions and safe access control via guard functions and modifiers.
  • Guidance on Service, AwareRepo, and Diamond Factory Package patterns for scalable deployments and integrations.
  • Use Case: When starting a new Crane feature, architect with Repo-first storage, then build Target and Facet for proxy exposure.

Quick Start

Ask Crane for a guided outline of how to implement a Facet-Target-Repo with a Diamond pattern for a new feature.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: crane-architecture
Download link: https://github.com/cyotee/cyotee-claude-plugin-crane/archive/main.zip#crane-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.