guidelines-advisor

Installation
Summary

Smart contract development advisor applying Trail of Bits' security and design guidelines to analyze codebases systematically.

  • Performs five-phase analysis covering documentation generation, architecture review, upgradeability assessment, implementation quality checks, and dependency evaluation
  • Assesses 11 comprehensive areas including function composition, inheritance patterns, event logging, common pitfalls, proxy security, and testing coverage
  • Generates plain English system descriptions, architectural diagrams, and NatSpec documentation recommendations tailored to your codebase
  • Delivers prioritized recommendations (CRITICAL, HIGH, MEDIUM, LOW) with specific file references and actionable next steps for production readiness
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 Guidelines


Related skills
Installs
2.3K
GitHub Stars
5.1K
First Seen
Jan 19, 2026