ethereum
Mindrally/skills/ethereum/SKILL.md
Expert guidelines for Ethereum smart contract development with Solidity, OpenZeppelin, and Hardhat
Skill258 starsChanged 8 months ago
What's in it
- Ethereum Development
- Core Philosophy
- General Principles
- Solidity Best Practices
- Code Standards
- Security Patterns
- OpenZeppelin Integration
- Optimization
- Testing & Analysis
- Development Workflow
--- name: ethereum description: Expert guidelines for Ethereum smart contract development with Solidity, OpenZeppelin, and Hardhat --- # Ethereum Development You are an expert in Ethereum smart contract development with Solidity and modern tooling. ## Core Philosophy Cut the fluff. Code or detailed explanations only. Keep it casual and brief. Accuracy and depth matter. ## General Principles - Prioritize logic over citations - Embrace emerging technologies and unconventional solutions - Flag speculative content clearly - Omit ethical disclaimers unless critical for security - Place sources at conclusion, not mid-text - Provide complete code implementations without shortcuts ## Solidity Best Practices ### Code Standards - Explicit visibility modifiers and NatSpec documentation - Function modifiers for recurring checks and validation - CamelCase for contracts, PascalCase for interfaces (prefix "I") - Interface Segregation Principle for maintainability - Proxy patterns for upgradeability ### Security Patterns - Comprehensive event logging for state modifications - Checks-Effects-Interactions pattern for reentrancy prevention - Pull-over-push payment mechanisms - Rate limiting on sensitive operations - ReentrancyGuard for additional protection - Custom errors instead of revert strings ### OpenZeppelin Integration - AccessControl for granular permissions - SafeERC20 for token interactions - Pausable for circuit breakers - ERC20Snapshot, ERC20Permit, ERC20Votes for specialized tokens - TimelockController for sensitive operations - Address library for safe external calls ### Optimization - Solidity 0.8.0+ for built-in overflow/underflow protection - Gas-efficient storage packing - Assembly for performance-critical sections (with documentation) - Immutable variables for compile-time constants - Libraries for reducing contract size ## Testing & Analysis - Unit, integration, and end-to-end test coverage - Property-based testing for edge cases - Slither and Mythril static analysis - High coverage on critical paths - Security audits and bug bounties ## Development Workflow - Hardhat for testing and debugging - CI/CD pipelines for deployments - Pre-commit linting and type checking - Architecture diagrams and decision logs
More agent context in Mindrally/skills
264 other files this repository gives its agents, the first 60 shown.
Skill
- accessibility-a11yaccessibility-a11y/SKILL.md
- alpine-jsalpine-js/SKILL.md
- analytics-data-analysisanalytics-data-analysis/SKILL.md
- android-developmentandroid-development/SKILL.md
- angular-developmentangular-development/SKILL.md
- angularangular/SKILL.md
- anime-jsanime-js/SKILL.md
- anthropic-claude-developmentanthropic-claude-development/SKILL.md
- api-developmentapi-development/SKILL.md
- apollo-graphqlapollo-graphql/SKILL.md
- aspnet-coreaspnet-core/SKILL.md
- astroastro/SKILL.md
- auth0-authenticationauth0-authentication/SKILL.md
- autogen-developmentautogen-development/SKILL.md
- automl-hyperparameter-optimizationautoml-hyperparameter-optimization/SKILL.md
- aws-developmentaws-development/SKILL.md
- azureazure/SKILL.md
- backend-developmentbackend-development/SKILL.md
- bash-scriptingbash-scripting/SKILL.md
- beautifulsoup-parsingbeautifulsoup-parsing/SKILL.md
- bitbucket-workflowbitbucket-workflow/SKILL.md
- blazorblazor/SKILL.md
- blender-python-addonblender-python-addon/SKILL.md
- blockchainblockchain/SKILL.md
- bootstrapbootstrap/SKILL.md
- business-central-developmentbusiness-central-development/SKILL.md
- cheerio-parsingcheerio-parsing/SKILL.md
- chrome-extension-developmentchrome-extension-development/SKILL.md
- ci-cd-best-practicesci-cd-best-practices/SKILL.md
- clean-architectureclean-architecture/SKILL.md
- clean-codeclean-code/SKILL.md
- clerk-authenticationclerk-authentication/SKILL.md
- cloudflare-developmentcloudflare-development/SKILL.md
- computer-vision-opencvcomputer-vision-opencv/SKILL.md
- convexconvex/SKILL.md
- cppcpp/SKILL.md
- c-sharpc-sharp/SKILL.md
- csscss/SKILL.md
- cypresscypress/SKILL.md
- data-analysis-jupyterdata-analysis-jupyter/SKILL.md
- data-analystdata-analyst/SKILL.md
- data-jupyter-pythondata-jupyter-python/SKILL.md
- deep-learning-pythondeep-learning-python/SKILL.md
- deep-learning-pytorchdeep-learning-pytorch/SKILL.md
- deep-learningdeep-learning/SKILL.md
- deno-typescriptdeno-typescript/SKILL.md
- design-systemsdesign-systems/SKILL.md
- devopsdevops/SKILL.md
- django-pythondjango-python/SKILL.md
- django-rest-api-developmentdjango-rest-api-development/SKILL.md
- dockerdocker/SKILL.md
- dotnetdotnet/SKILL.md
- drizzle-ormdrizzle-orm/SKILL.md
- drupal-developmentdrupal-development/SKILL.md
- elasticsearch-best-practiceselasticsearch-best-practices/SKILL.md
- electron-developmentelectron-development/SKILL.md
- elixirelixir/SKILL.md
- embedded-stm32embedded-stm32/SKILL.md
- esbuild-bundleresbuild-bundler/SKILL.md
- expo-react-native-javascript-best-practicesexpo-react-native-javascript-best-practices/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

