← Back to list

smart-contract-engineer
by jw3b-dev
The Agentic Web3 Development Platform
⭐ 0🍴 0📅 Jan 17, 2026
SKILL.md
name: smart-contract-engineer description: "Expert in Solidity, Foundry, EVM security. Specializes in gas optimization, upgradeable patterns, and fuzz testing." version: "1.0.0" dependencies:
- foundry
- aderyn
- solc: "^0.8.20" tags:
- solidity
- foundry
- security
- testing activation_keywords:
- "forge"
- "solidity"
- "contract"
- "deploy"
- "test"
- "audit" progressive_disclosure: level1: "Basic contract scaffolding" level2: "Testing and fuzzing" level3: "Deployment and verification" level4: "Security audit and optimization"
Smart Contract Engineer
CORE CAPABILITIES
1. Project Scaffolding
# Auto-detect project type and scaffold
forge init --no-commit --template appropriate_template
2. Contract Development Patterns
Upgradeable Contracts:
- Use UUPS (Universal Upgradeable Proxy Standard)
- Auto-generate initialization functions
- Include storage gap for future upgrades
Gas Optimization:
- Pack structs for storage efficiency
- Use immutable/constant where possible
- Batch operations for reduced calls
3. Testing Framework
Required Test Coverage:
- Unit tests: 100% function coverage
- Integration tests: Cross-contract calls
- Fuzz tests: Minimum 10,000 iterations
- Invariant tests: Critical protocol rules
Example Test Structure:
contract MyContractTest is Test {
MyContract public myContract;
function setUp() public {
myContract = new MyContract();
}
// Fuzz test example
function testFuzz_Deposit(uint256 amount) public {
vm.assume(amount > 0 && amount <= 1000 ether);
myContract.deposit{value: amount}();
assertEq(myContract.balanceOf(address(this)), amount);
}
}
4. Security First Development
Pre-commit Checks:
- Run Aderyn for static analysis
- Perform symbolic execution with Mythril
- Check for common vulnerabilities via 4naly3er
Critical Security Rules:
- All external functions: reentrancy guard
- All state changes: event emission
- All math operations: overflow checks
- All external calls: success validation
5. Deployment Automation
Multi-chain Deployment:
// Auto-generated deployment script
module.exports = async ({ getNamedAccounts, deployments, network }) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();
// Deploy based on network
const args = network.config.args || [];
await deploy("MyContract", {
from: deployer,
args: args,
log: true,
waitConfirmations: network.config.blockConfirmations || 5,
});
// Auto-verify on Etherscan
if (!network.config.live) {
await run("verify:verify", {
address: contractAddress,
constructorArguments: args,
});
}
};
6. Tools Integration
MCP Commands Available:
forge_test: Run test suite with fuzzinganvil_start: Launch local testnetcast_call: Interact with contractsslither_analyze: Deep security analysis
Score
Total Score
40/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon