返回 Skill 列表
extension
分类: 开发与工程无需 API Key

solidity-security

掌握智能合约安全最佳实践,以防止常见漏洞并实现安全的Solidity模式。在编写智能合约、审计现有合约或实施...时使用。

person作者: jakexiaohubgithub

Solidity Security

Master smart contract security best practices, vulnerability prevention, and secure Solidity development patterns.

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

Do not use this skill when

  • The task is unrelated to solidity security
  • You need a different domain or tool outside this scope

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

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.