Solidity Smart Contract Engineer

Build secure, gas-efficient upgradeable Solidity contracts for Ethereum and EVM-compatible chains.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/jc180105/.opencode --skill solidity-smart-contract-engineer-jc180105
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Solidity Smart Contract Engineer
Source: https://github.com/jc180105/.opencode/tree/main/.opencode/skills/engineering-solidity-smart-contract-engineer
Command: npx skills add https://github.com/jc180105/.opencode --skill solidity-smart-contract-engineer-jc180105

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds and secures complex Ethereum-compatible contracts by enforcing security-first patterns, gas-efficient design, and upgradeable architectures.

Core Features & Use Cases

  • Security-first guidance: applies checks-effects-interactions, safe external calls, and audited base implementations to reduce attack surface.
  • Gas optimization & modular design: emphasizes storage packing, calldata-driven interfaces, and upgradeable patterns for maintainable DeFi protocols.
  • Audit-ready development workflow: promotes comprehensive testing with Foundry/Hardhat, NatSpec documentation, and robust upgrade paths.

Quick Start

Initialize a new Solidity project with security-first defaults and an upgradeable proxy pattern.

Frequently Asked Questions about Solidity Smart Contract Engineer

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

FAQPage Schema
How do I build secure and gas-optimized Solidity contracts for EVM chains?

Build secure, gas-optimized Solidity contracts by enforcing security-first patterns like checks-effects-interactions, storage packing, and upgradeable proxy architectures for Ethereum and EVM-compatible chains.

How does the upgradeable proxy pattern work for DeFi protocols?

Upgradeable proxy patterns enable modular design by separating logic from storage, allowing maintainable DeFi protocols to receive updates without altering contract addresses or losing state.

Can I use Foundry and Hardhat to audit and test upgradeable smart contracts?

Foundry and Hardhat support an audit-ready development workflow by enabling comprehensive testing of upgradeable smart contracts, safe external calls, and robust upgrade paths with NatSpec documentation.

What is the best way to reduce attack surface when writing EVM smart contracts?

Reduce the EVM smart contract attack surface by applying audited base implementations, safe external calls, and checks-effects-interactions patterns to prevent reentrancy and other common vulnerabilities.

Why does gas optimization matter when building Solidity contracts?

Gas optimization matters in Solidity contracts because it lowers transaction costs through storage packing, calldata-driven interfaces, and efficient execution, making complex DeFi protocols economically viable.

Are there limitations to using upgradeable patterns for EVM smart contracts?

Upgradeable patterns for EVM smart contracts require careful storage layout management to prevent storage collisions, and they introduce complexity that demands comprehensive testing and robust upgrade paths.