@trailofbits

作成者 · trailofbits

最終更新 · 2026年8月24日

guidelines-advisor

レビュー · 68Registry に収録

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.

OpenAgentSkill Trust Score
68/100

サンドボックス限定

品質85/100
監査84/100
スター6.8K
Verified installs0

インストール先

Codex インストールプロンプト

Install the "guidelines-advisor" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/building-secure-contracts/skills/guidelines-advisor. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"trailofbits-guidelines-advisor","task":"Install guidelines-advisor","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.

供給アセットの概要

リサーチとナレッジ作業

Deep research, source comparison, literature review, RAG, knowledge search, and reports.

カテゴリを見る

シナリオ

リサーチ Agent

I need my agent to research a topic, compare sources, and produce a concise report.

Agent 適合

Claude Code + CLI + Codex

Codex、Claude Code、Cursor、CLI、またはカスタム Agent に対応します。

インストール

準備完了

npx skills add trailofbits/skills --skill guidelines-advisor

メンテナンス

新しい

本日プッシュ

リスク

要レビュー

The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.

GitHub 品質

6.8K

85/100 品質 · 76/100 信頼

対象タグ

リサーチリサーチ Agentagent-skill

レビュー注記

The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed. · Minor concern: the skill references external resources (ASSESSMENT_AREAS.md, EXAMPLE_REPORT.md) that are included, but their completeness is not fully verified in this review.

Agent 導入スコアカード

信頼、監査、インストール準備状況を一目で確認

公開リポジトリのメタデータ、OpenAgentSkill のレビューシグナル、保守の鮮度、インストール準備状況を組み合わせたスコアです。候補選定の目安であり、人によるレビューの代替ではありません。

品質

優秀
85

採用度と保守性のシグナルが強い高信頼候補です。

信頼

サンドボックス限定
68

信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。

監査

要レビュー
84

インストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。

OpenAgentSkill Trust Score v5

インストール前に人のレビュー

実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。

CodexClaude CodeCursorOpenAgentSkill CLI

スター

GitHub スター 6.8K

リポジトリ活動

スター 6.8K、フォーク 585

メンテナンス

本日プッシュ

ライセンス

CC-BY-SA-4.0

インストール

npx skills add trailofbits/skills --skill guidelines-advisor

インストール安全性

標準パッケージまたはランタイムのインストールパス

権限範囲

filesystem or document access, database access

Agent の成果

Agent の成果データはまだありません

ドキュメント

README/SKILL.md の文脈が十分です

リスク概要

本番前にレビュー

  • The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
  • Quality score needs review

インストール準備状況

インストールパスを利用可能

  • インストールパスを利用できます
  • リポジトリの根拠を利用できます
  • ライセンスが明示されています
  • Agent-Proven の成果エビデンスはまだありません

Agent 可読メタデータ

このスキルの機械可読な判断データ。

このブロックまたは埋め込み JSON を使い、Agent がこのスキルをインストールすべきか、代替を選ぶべきか、先に人のレビューを求めるべきかを判断できます。

View technical data+

適したタスク

  • リサーチ Agent ワークフロー
  • Claude Code チーム
  • GitHub 採用シグナルを重視するチーム
  • 検索ソース

適した Agent

CodexClaude CodeCursorOpenAgentSkill CLICLI

インストール判断

コマンド
npx skills add trailofbits/skills --skill guidelines-advisor
ポリシー
レビュー
人によるレビュー
はい

信頼とリスク

信頼
68/100
監査
84/100
リスクレベル
要レビュー

成果ループ

エンドポイント
/api/agent/outcome
イベント ID
resolve
成果
5

インストールコマンド

npx skills add trailofbits/skills --skill guidelines-advisor

使わない場合

  • ベンダー提供の SLA が必要なチーム
  • production agents without a repository review
  • The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
  • OpenAgentSkill の利用フィードバックはまだありません
  • Minor concern: the skill references external resources (ASSESSMENT_AREAS.md, EXAMPLE_REPORT.md) that are included, but their completeness is not fully verified in this review.

Agent セーフティ v2

64/100 · インストール前にレビュー

権限メモ付きでレビュー済みレビュー

利用可能な候補ですが、Agent はインストール前に権限と監査メモを提示する必要があります。

実際のワークスペースへインストールする前に人の承認が必要です。

API で解決

ネットワークアクセス

Skill はリモートページ、API、リポジトリ、外部サービスにアクセスする可能性があります。

ファイルシステムアクセス

Skill はプロジェクトファイル、ドキュメント、生成物、ローカルワークスペース状態を読み書きする可能性があります。

データベースアクセス

Skill はスキーマを確認し、データベースを照会し、永続ストアを扱う可能性があります。

  • The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.

Agent 解決プラン

インストール前に Agent に適合性を検証させます。

Resolve API は第一候補、代替、安全ポリシー、監査メモ、インストール先、Agent がそのまま使えるプロンプトを返します。

テキストプランを開く

Agent が確認すべきこと

  • Resolve API でタスク適合と代替を確認。
  • 監査・信頼スコアと安全ポリシーの警告を確認。
  • Codex、Claude Code、Cursor、CLI のインストール先互換性を確認。

プロンプトをコピー

Task: Use guidelines-advisor in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20guidelines-advisor%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/trailofbits-guidelines-advisor/install
Install command: npx skills add trailofbits/skills --skill guidelines-advisor
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent 引き継ぎ

別のディレクトリではなく、インストール経路を Agent に渡します。

公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。

Install API を開く

Agent プロンプト

Use guidelines-advisor for this task. Review https://www.openagentskill.com/api/skills/trailofbits-guidelines-advisor/install, then install with: npx skills add trailofbits/skills --skill guidelines-advisor

Registry メタデータ

自動スキル選択用の Agent 可読プロファイル。

Registry API 経由で判断、信頼、監査、ユースケース、インストールのシグナルを提供し、UI をスクレイピングせずに Agent が順位付けできます。

Manifest を開く

Agent 適合

96/100

リサーチ Agent

プラットフォーム

Claude Code

監査レポート

要レビュー · 84/100

インストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。

監査レポートを見る評価レポートを見る

Agent 判断パネル

リサーチ Agent 向けの第一候補

有力候補として扱い、自分の Agent スタックで README とインストール経路を検証してください。

96
準備状況
採用
段階

スタック内の役割

第一候補

主な適合

リサーチ Agent

信頼ラベル

本番対応

インストールパス

コマンド準備済み

使う場面

  • リサーチ Agent ワークフロー
  • Claude Code チーム
  • GitHub 採用シグナルを重視するチーム

根拠

  • GitHub スター 6,823
  • 最近のリポジトリ活動
  • インストールコマンドまたは GitHub リポジトリが利用可能
  • 品質プロファイル 85/100

先にレビュー

  • The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
  • OpenAgentSkill の利用フィードバックはまだありません

実装パス

  1. 1サンドボックスの Agent にインストールし、リサーチ Agent タスクを一度最初から最後まで実行します。
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

信頼プロファイル

サンドボックス限定

信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。

68
OpenAgentSkill Trust Score

GitHub 採用度

合格

GitHub スター 6.8K

スター/フォーク活動

合格

スター 6.8K、フォーク 585; 現在のメタデータでは Issue 活動を利用できません

最近のメンテナンス

合格

本日プッシュ

ライセンスの明確さ

合格

CC-BY-SA-4.0

良いシグナル

  • AI レビュー承認済み
  • インストールパスを利用できます
  • リポジトリの根拠を利用できます
  • 最近保守されたリポジトリ
  • Large GitHub adoption signal
  • インストールコマンドに明確な高リスクパターンはありません
  • 成果ループは準備済みですが、最初の実行が必要です

インストール前にレビュー

  • The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.
  • Quality score needs review
  • 実際の Agent 成果レポートはまだありません
  • 無人インストールの前に人によるレビューが必要です

推奨アクション

実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。

品質プロファイル

優秀 Agent ワークフロー向けの候補

採用度と保守性のシグナルが強い高信頼候補です。

85
GitHub スター
6.8K
鮮度
今日
インストール準備完了
はい
ライセンス
CC-BY-SA-4.0
インストール前にレビュー: The skill's security posture is sound as it only analyzes code and generates recommendations; no destructive or high-risk operations are performed.

ワークフロー適合

このスキルを使うシナリオ

ワークフロー適合

完全なワークフローに追加

代替候補

インストール前に比較

このタスクに適する可能性のある類似スキル。

すべて比較

概要

--- name: guidelines-advisor description: 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. ---

# 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

---

## How This Works

### Phase 1: Discovery & Context Explores the codebase to understand: - Project structure and platform - Contract/module files and their purposes - Existing documentation - Architecture patterns (proxies, upgrades, etc.) - Testing setup - Dependencies

### Phase 2: Documentation Generation Helps create: - Plain English system description - Architectural diagrams (using Slither printers for Solidity) - Code documentation recommendations (NatSpec for Solidity)

### Phase 3: Architecture Analysis Analyzes: - On-chain vs off-chain component distribution (if applicable) - Upgradeability approach (if applicable) - Delegatecall proxy patterns (if present)

### Phase 4: Implementation Review Assesses: - Function composition and clarity - Inheritance structure - Event logging practices - Common pitfalls presence - Dependencies quality - Testing coverage and techniques

### Phase 5: Recommendations Provides: - Prioritized improvement suggestions - Best practice guidance - Actionable next steps

---

## Assessment Areas

I analyze 11 comprehensive areas covering all aspects of smart contract development. For detailed criteria, best practices, and specific checks, see [ASSESSMENT_AREAS.md](resources/ASSESSMENT_AREAS.md).

### Quick Reference:

1. **Documentation & Specifications** - Plain English system descriptions - Architectural diagrams - NatSpec completeness (Solidity) - Documentation gaps identification

2. **On-Chain vs Off-Chain Computation** - Complexity analysis - Gas optimization opportunities - Verification vs computation patterns

3. **Upgradeability** - Migration vs upgradeability trade-offs - Data separation patterns - Upgrade procedure documentation

4. **Delegatecall Proxy Pattern** - Storage layout consistency - Initialization patterns - Function shadowing risks - Slither upgradeability checks

5. **Function Composition** - Function size and clarity - Logical grouping - Modularity assessment

6. **Inheritance** - Hierarchy depth/width - Diamond problem risks - Inheritance visualization

7. **Events** - Critical operation coverage - Event naming consistency - Indexed parameters

8. **Common Pitfalls** - Reentrancy patterns - Integer overflow/underflow - Access control issues - Platform-specific vulnerabilities

9. **Dependencies** - Library quality assessment - Version management - Dependency manager usage - Copied code detection

10. **Testing & Verification** - Coverage analysis - Fuzzing techniques - Formal verification - CI/CD integration

11. **Platform-Specific Guidance** - Solidity version recommendations - Compiler warning checks - Inline assembly warnings - Platform-specific tools

For complete details on each area including what I'll check, analyze, and recommend, see [ASSESSMENT_AREAS.md](resources/ASSESSMENT_AREAS.md).

---

## Example Output

When the analysis is complete, you'll receive comprehensive guidance covering:

- System documentation with plain English descriptions - Architectural diagrams and documentation gaps - Architecture analysis (on-chain/off-chain, upgradeability, proxies) - Implementation review (functions, inheritance, events, pitfalls) - Dependencies and testing evaluation - Prioritized recommendations (CRITICAL, HIGH, MEDIUM, LOW) - Overall assessment and path to production

For a complete example analysis report, see [EXAMPLE_REPORT.md](resources/EXAMPLE_REPORT.md).

---

## Deliverables

I provide four comprehensive deliverable categories:

### 1. System Documentation - Plain English descriptions - Architectural diagrams - Documentation gaps analysis

### 2. Architecture Analysis - On-chain/off-chain assessment - Upgradeability review - Proxy pattern security review

### 3. Implementation Review - Function composition analysis - Inheritance assessment - Events coverage - Pitfall identification - Dependencies evaluation - Testing analysis

### 4. Prioritized Recommendations - CRITICAL (address immediately) - HIGH (address before deployment) - MEDIUM (address for production quality) - LOW (nice to have)

For detailed templates and examples of each deliverable, see [DELIVERABLES.md](resources/DELIVERABLES.md).

---

## Assessment Process

When invoked, I will:

1. **Explore the codebase** - Identify all contract/module files - Find existing documentation - Locate test files - Check for proxies/upgrades - Identify dependencies

2. **Generate documentation** - Create plain English system description - Generate architectural diagrams (if tools available) - Identify documentation gaps

3. **Analyze architecture** - Assess on-chain/off-chain distribution (if applicable) - Review upgradeability approach (if applicable) - Audit proxy patterns (if present)

4. **Review implementation** - Analyze functions, inheritance, events - Check for common pitfalls - Assess dependencies - Evaluate testing

5. **Provide recommendations** - Present findings with file references - Ask clarifying questions about design decisions - Suggest prioritized improvements - Offer actionable next steps

---

## Rationalizations (Do Not Skip)

| Rationalization | Why It's Wrong | Required Action | |-----------------|----------------|-----------------| | "System is simple, description covers everything" | Plain English descriptions miss security-critical details | Complete all 5 phases: documentation, architecture, implementation, dependencies, recommendations | | "No upgrades detected, skip upgradeability section" | Upgradeability can be implicit (ownable patterns, delegatecall) | Search for proxy patterns, delegatecall, storage collisions before declaring N/A | | "Not applicable" without verification | Premature scope reduction misses vulnerabilities | Verify with explicit codebase search before skipping any guideline section | | "Architecture is straightforward, no analysis needed" | Obvious architectures have subtle trust boundaries | Analyze on-chain/off-chain distribution, access control flow, external dependencies | | "Common pitfalls don't apply to this codebase" | Every codebase has common pitfalls | Systematically check all guideline pitfalls with grep/code search | | "Tests exist, testing guideline is satisfied" | Test existence ≠ test quality | Check coverage, property-based tests, integration tests, failure cases | | "I can provide generic best practices" | Generic advice isn't actionable | Provide project-specific findings with file:line references | | "User knows what to improve from findings" | Findings without prioritization = no action plan | Generate prioritized improvement roadmap with specific next steps |

---

## Notes

- I'll only analyze relevant sections (won't hallucinate about upgrades if not present) - I'll adapt to your platform (Solidity, Rust, Cairo, etc.) - I'll use available tools (Slither, etc.) but work without them if unavailable - I'll provide file references and line numbers for all findings - I'll ask questions about design decisions I can't infer from code

---

## Ready to Begin

**What I'll need**: - Access to your codebase - Context about your project goals - Any existing documentation or specifications - Information about deployment plans

Let's analyze your codebase and improve it using Trail of Bits' best practices!

技術詳細

バージョン
1.0.0
ライセンス
CC-BY-SA-4.0
最終更新
2026年8月24日
公開日
2026年8月24日

判断の要約

第一候補

96
準備完了
採用
段階

GitHub スター 6,823

監査

インストールレビュー

インストールと採用のレビュー

84
要レビュー
セキュリティ
81/100
メンテナンス
100/100
インストール
92/100
完全な監査を開く評価レポートを見る

Agent 実証エビデンス

Agent 実証エビデンス

Resolve、レビュー、インストール、限定実行後の成果レポート。

0
実証済み
Needs first agent run自動インストール: 先にレビュー最新: 不明
成功率
直近の失敗
成果
0
出力品質
失敗
0
非該当
0
インストール数
0
リスクによりブロック
0
設定が必要
0
本番
0

Agent の実行結果はまだありません。最初の実行では /api/agent/outcome を通じて成功、設定要件、リスクによるブロック、失敗、非該当を報告できます。

インストール

Agent ワークフローに追加

無料・オープンソース. 本番 Agent にインストールする前にレポートを確認してください。

成長ループ

共有キット

X

guidelines-advisor 用のシナリオベース草案です。X へ手動投稿できます。

キュレーターノート
guidelines-advisor: Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase...

6.8K stars

https://www.openagentskill.com/skills/trailofbits-guidelines-advisor?ref=x
X 下書きを開く
任意:インストールコマンド付きの返信
Listing + install path for guidelines-advisor:
https://www.openagentskill.com/skills/trailofbits-guidelines-advisor?ref=x

Install: npx skills add trailofbits/skills --skill guidelines-advisor
返信の下書きを開く

掲載元

Registry により登録

申請可能

この掲載は公開ソースから登録されており、メンテナー申請が承認されるまで公式として表示されません。

作成者
trailofbits
インデックス作成者
OpenAgentSkill コミュニティインデックス

帰属は公開リポジトリまたは作成者プロフィールにリンクされています。作成者は掲載を申請して所有権シグナルを更新できます。

このスキルを申請

所有者の申請

このスキル掲載を申請

この Registry により登録 掲載は trailofbits に帰属していますが、まだ公式として表示されていません。申請すると、確認済み所有者シグナルが追加され、今後の公開、インストール、監査更新の信頼性が高まります。

クリエイター被リンクキット

README にエビデンスバッジを追加

開発者がリポジトリを評価する場所で、正規掲載、現在の信頼・監査シグナル、実際の Agent-Proven エビデンスを表示します。

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/trailofbits-guidelines-advisor?metric=listed&label=Listed)](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/trailofbits-guidelines-advisor?metric=trust&label=Trust)](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/trailofbits-guidelines-advisor?metric=audit&label=Audit)](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/trailofbits-guidelines-advisor?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/trailofbits-guidelines-advisor)

作者

T

trailofbits

@trailofbits

プラットフォーム適合

健全性シグナル

GitHub スター
6.8K
品質スコア
50/100
最終 GitHub プッシュ
2026年8月24日
フレームワークのヒント
不明
OpenAgentSkill 閲覧数
0
インストールコピー数
0
外部クリック
0

コミュニティシグナル

このスキルが Agent ワークフローに役立つかを共有してください。集約されたフィードバックがランキングを改善します。

信頼と安全性

サンドボックス限定

68
  • GitHub 採用度GitHub スター 6.8K合格
  • スター/フォーク活動スター 6.8K、フォーク 585; 現在のメタデータでは Issue 活動を利用できません合格
  • 最近のメンテナンス本日プッシュ合格
  • ライセンスの明確さCC-BY-SA-4.0合格
  • README/SKILL.md の完全性メタデータには十分な利用・ワークフロー文脈があります合格
  • 依存関係/ランタイムのリスクdatabase surface合格