write-contract
OfficialWrite production-ready GenLayer contracts.
Software Engineering#development#blockchain#smart contracts#coding best practices#genlayer#llm resilience
Authorgenlayerlabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive guidance and best practices for developing robust, secure, and production-ready intelligent contracts on the GenLayer platform, addressing common pitfalls in development.
Core Features & Use Cases
- Equivalence Principle Guidance: Helps select the correct principle (strict_eq, custom validator) for deterministic and non-deterministic operations.
- Error Classification & Handling: Standardizes error handling for consensus and resilience.
- Storage Rules & Types: Details on using GenLayer's persistent storage types and best practices for data structures.
- LLM Resilience: Strategies for handling unpredictable LLM outputs and ensuring contract stability.
- Cross-Contract Interaction: Patterns for deploying and interacting with other contracts.
Quick Start
Use the write-contract skill to generate a basic GenLayer contract skeleton.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: write-contract Download link: https://github.com/genlayerlabs/skills/archive/main.zip#write-contract Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.