solidity-security

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Solidity Security

Solidity安全

Master smart contract security best practices, vulnerability prevention, and secure Solidity development patterns.
掌握智能合约安全最佳实践、漏洞防范以及安全的Solidity开发模式。

Use this skill when

适用场景

  • Writing secure smart contracts
  • Auditing existing contracts for vulnerabilities
  • Implementing secure DeFi protocols
  • Preventing reentrancy, overflow, and access control issues
  • Optimizing gas usage while maintaining security
  • Preparing contracts for professional audits
  • Understanding common attack vectors
  • 编写安全的智能合约
  • 审计现有合约以排查漏洞
  • 实现安全的DeFi协议
  • 预防重入、溢出及访问控制问题
  • 在保障安全的同时优化Gas使用
  • 为合约专业审计做准备
  • 了解常见攻击向量

Do not use this skill when

不适用场景

  • The task is unrelated to solidity security
  • You need a different domain or tool outside this scope
  • 任务与Solidity安全无关
  • 需要此范围之外的其他领域或工具

Instructions

操作说明

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open
    resources/implementation-playbook.md
    .
  • 明确目标、约束条件及所需输入。
  • 应用相关最佳实践并验证结果。
  • 提供可执行步骤与验证方法。
  • 如果需要详细示例,请打开
    resources/implementation-playbook.md

Resources

资源

  • resources/implementation-playbook.md
    for detailed patterns and examples.
  • resources/implementation-playbook.md
    :包含详细模式与示例。