crane-code-style

Enforce Crane code style rules across Solidity projects.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/cyotee/cyotee-claude-plugin-crane --skill crane-code-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crane-code-style
Source: https://github.com/cyotee/cyotee-claude-plugin-crane/tree/main/.opencode/skills/crane-code-style
Command: npx skills add https://github.com/cyotee/cyotee-claude-plugin-crane --skill crane-code-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Crane code style standardizes formatting, naming, and import organization to improve readability, consistency, and maintainability across Crane Solidity projects.

Core Features & Use Cases

  • Enforces section header templates, import grouping, naming conventions, and storage slot naming.
  • Provides reference templates and example folders to guide new and existing codebases.
  • Use Case: When onboarding new developers, teams can align on style decisions using the guide to avoid common mistakes.

Quick Start

Apply Crane code style guidelines to all new Solidity contracts and repositories.

Frequently Asked Questions about crane-code-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Solidity code style rules for imports and naming conventions?

You can enforce Solidity code style rules by applying standardized guidelines for import organization, section headers, and naming conventions to ensure project consistency and readability. This skill validates code structure against reference templates.

What is the best way to standardize Solidity storage slot naming across a project?

Standardizing Solidity storage slot naming involves applying consistent conventions across all contracts using predefined style guides. This skill provides reference templates to validate storage slot naming and ensure structural alignment in real repositories.

Can I use this style guide to onboard new developers to Solidity conventions in Foundry projects?

Yes, you can use this style guide to onboard new developers to Solidity conventions in Foundry projects. It provides reference templates and example folders to help teams align on style decisions and avoid common formatting mistakes.

Does this tool check import grouping and section headers in existing Solidity contracts?

Yes, this tool checks import grouping and section headers in existing Solidity contracts. It relies on reference templates to validate code structure, applying guidelines for section headers and import organization directly in real codebases.

What are the limitations of using reference templates for Solidity code style enforcement?

The limitations of using reference templates for Solidity code style enforcement include relying on predefined examples for validation rather than dynamic parsing. It focuses on section headers, imports, naming, and storage slots without extending to custom style rules.