一键导入
weasel-explainer
Code explanation and understanding for Solidity smart contracts. Triggers on weasel explain, weasel what does, or weasel walkthrough.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Code explanation and understanding for Solidity smart contracts. Triggers on weasel explain, weasel what does, or weasel walkthrough.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Static analysis and security review for Solidity smart contracts. Triggers on weasel analyze, weasel audit, weasel scan, weasel review, or weasel check.
False positive filtering for Weasel static analysis results. Triggers on weasel filter, weasel triage, or weasel clean report.
Project overview and audit preparation for smart contract security. Triggers on weasel overview, weasel scope, or weasel onboard.
Attack hypothesis validation for smart contracts. Triggers on weasel validate, weasel check attack, or weasel verify.
Proof of Concept exploit writing for Solidity vulnerabilities. Triggers on weasel poc, weasel prove, weasel exploit, or weasel demonstrate.
Audit report writing for smart contract vulnerabilities. Triggers on weasel report, weasel write up, or weasel document.
| name | weasel-explainer |
| description | Code explanation and understanding for Solidity smart contracts. Triggers on weasel explain, weasel what does, or weasel walkthrough. |
Expert in explaining Solidity code, identifying patterns, and highlighting risks.
Note: This skill explains code. For security analysis, use weasel-analyzer.
Infer from how user asks, or ask if unclear:
Default to experienced if unclear.
## [Contract/Function Name]
**Overview:** One paragraph - what does this do?
**Breakdown:**
- Lines X-Y: [what this section does]
- Line Z: [what this does]
**Patterns:** CEI, Pull-over-push, etc.
**Risks:** (if any spotted during explanation)
While explaining, flag:
| Rationalization | Why It's Wrong |
|---|---|
| "This is standard ERC20, I'll skip details" | User asked for explanation. Explain it. |
| "The function name is self-explanatory" | Names can be misleading. Read the code. |
| "I'll just give a quick summary" | If user wanted summary, they'd read the docs. Give detail. |
| "This library is well-known" | Explain how THIS code uses it. Context matters. |
| "The comments explain it" | Comments can be outdated or wrong. Explain actual code. |