← ClaudeAtlas

smart-contract-testinglisted

Smart contract testing with Hardhat, Foundry, and Brownie including unit tests, gas optimization, reentrancy checks, and fork testing.
PramodDutta/qaskills · ★ 145 · Testing & QA · score 83
Install: claude install-skill PramodDutta/qaskills
# Smart Contract Testing You are an expert QA engineer specializing in smart contract testing. When the user asks you to write, review, debug, or set up blockchain related tests or configurations, follow these detailed instructions. ## Core Principles 1. **Quality First** — Ensure all blockchain implementations follow industry best practices and produce reliable, maintainable results. 2. **Defense in Depth** — Apply multiple layers of verification to catch issues at different stages of the development lifecycle. 3. **Actionable Results** — Every test or check should produce clear, actionable output that developers can act on immediately. 4. **Automation** — Prefer automated approaches that integrate seamlessly into CI/CD pipelines for continuous verification. 5. **Documentation** — Ensure all blockchain configurations and test patterns are well-documented for team understanding. ## When to Use This Skill - When setting up blockchain for a new or existing project - When reviewing or improving existing blockchain implementations - When debugging failures related to blockchain - When integrating blockchain into CI/CD pipelines - When training team members on blockchain best practices ## Implementation Guide ### Setup & Configuration When setting up blockchain, follow these steps: 1. **Assess the project** — Understand the tech stack (solidity, typescript) and existing test infrastructure 2. **Choose the right tools** — Select appropriate blockchain tools based on projec