trailofbits/skills✦ 精选0°

guidelines-advisor

仓库创建 2026年1月15日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由

结合规范与实用建议,适合开发者与审计前梳理。

▸ 风险提示

建议有主观性,需结合人工复核并可能需要访问源码。

这个 Skill 做什么

基于最佳实践审查智能合约并生成说明、架构建议与改进清单。

按 Trail of Bits 的最佳实践审查智能合约代码库,能生成说明文档/规格、评估链上/链下架构、校验可升级性模式并指出实现缺陷和测试漏洞。适合开发中期、上线前或做安全评审时使用。特点是把安全规范翻成可执行的改进清单和架构建议,便于团队逐项修复。

▸ 展开 SKILL.md 英文原文

Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase to generate documentation/specifications, review architecture, check upgradeability patterns, assess implementation quality, identify pitfalls, review dependencies, and evaluate testing. Provides actionable recommendations.

开发编程最佳实践合约审查文档生成通用
6.3k
Stars
542
Forks
40
仓库内 Skill
+270
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/trailofbits/skills/main/plugins/building-secure-contracts/skills/guidelines-advisor/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/trailofbits/skills/main/plugins/building-secure-contracts/skills/guidelines-advisor/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Guidelines Advisor

## Purpose

Systematically analyzes the codebase and provides guidance based on Trail of Bits' development guidelines:

1. **Generate documentation and specifications** (plain English descriptions, architectural diagrams, code documentation)
2. **Optimize on-chain/off-chain architecture** (only if applicable)
3. **Review upgradeability patterns** (if your project has upgrades)
4. **Check delegatecall/proxy implementations** (if present)
5. **Assess implementation quality** (functions, inheritance, events)
6. **Identify common pitfalls**
7. **Review dependencies**
8. **Evaluate test suite and suggest improvements**

**Framework**: Building Secure Contracts - Development 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有