Web3审计插件核心技能定义
0x-Shashi2026-10-28查看 672复制 939
Web3 Audit Plugin 的根技能定义,提供跨 EVM、Solana、Move、Cairo、CosmWasm 和 TON 平台的 AI 驱动智能合约安全审计。用作理解插件能力、支持的链和技能路由的顶层入口点。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md2855 chars
--- id: web3-audit-plugin title: Web3 Audit Plugin - Core Skill category: root difficulty: beginner triggers: - audit - scan - security review - smart contract audit related_skills: - solidity-scanner/SKILL.md - methodology/SKILL.md - commands/SKILL.md tags: - root - web3 - audit - multi-chain last_updated: 2026-02-26 description: >- Root skill definition for the Web3 Audit Plugin providing AI-powered smart contract security auditing across EVM, Solana, Move, Cairo, CosmWasm, and TON platforms. Use as the top-level entry point for understanding plugin capabilities, supported chains, and skill routing. --- # Web3 Audit Plugin - Core Skill Definition ## Purpose This plugin provides AI-powered smart contract security auditing capabilities across multiple blockchain platforms. ## Capabilities - Multi-chain smart contract analysis (EVM, Solana, Move, Cairo, CosmWasm, TON) - Pattern-based vulnerability detection using 200+ known patterns - Protocol-specific audit checklists (DeFi, NFT, Bridge, Governance) - Attack chain analysis for multi-step exploit detection - Automated severity classification - Report generation with findings templates ## Usage 1. Load the target smart contract code 2. Identify the chain and protocol type 3. Run appropriate scanner skill 4. Apply relevant checklist 5. Check attack chain patterns 6. Generate audit report ## Skill Chain ``` Context Building → Scanner → Checklist → Attack Chains → Report ``` ## Available Scanners - Solidity Scanner (EVM chains) - Solana Scanner (Rust/Anchor) - Cairo Scanner (Starknet) - Move Scanner (Aptos/Sui) - Cosmos Scanner (CosmWasm/SDK) - TON Scanner (FunC/Tact) - Aptos Scanner (Move/Aptos) - Sui Scanner (Sui Move) - Starknet Scanner (Cairo) - Aztec Scanner (Noir) - Fuel Scanner (Sway) ## Prerequisites The plugin requires an AI model with tool-use capabilities. Each scanner skill may have chain-specific prerequisites (e.g., Solana scanner requires familiarity with Anchor framework). ## Validation To verify installation and test skill loading: ```bash # Validate all SKILL.md files pass quality threshold python scripts/quality-check.py --all --min-score 8 ``` ```yaml # Example trigger routing trigger: "audit solidity" route_to: solidity-scanner/SKILL.md load: [checklists, patterns, severity] ``` ```bash # Verify scanner availability ls skills/*/SKILL.md | wc -l # Should show 29+ skills ``` ## Behavior Guidelines - Scanner selection is **required** based on detected chain type - Protocol template loading is **optional** but recommended - Severity classification MUST follow the decision tree in `patterns/severity-scoring.md` - Auditors may optionally skip gas optimization checks depending on engagement scope ## References - [Core References](references/README.md) - Architecture diagrams and skill routing maps