بنقرة واحدة
mcp-trailofbits
MCP bundle package
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
MCP bundle package
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implements Figma designs to exact 1:1 fidelity by decomposing them into sub-components and building bottom-up with self-correcting validation loops. This skill should be used when implementing UI from Figma files, when a Figma URL is provided, or when the user mentions "implement design", "figma to code", "build from figma", "convert figma", "break down this design", "implement page", "implement component", "generate code", "build Figma design", or "pixel perfect". Works for both full pages and single components. Requires Figma MCP server connection. Do not use for non-Figma design tasks or when the user only wants a screenshot or metadata without implementation.
MCP bundle package
AI 研究全流程 Skill:实验设计/数据处理/模型训练/论文写作,1.6K Stars
精选 Claude Code 技能/Hook/命令清单:22K Stars,一站式资源导航
查找 Skill/Agent/命令的一站式枢纽:2.3K Stars,生态导航
Token 压缩省钱 Skill:节省 65% API 费用,53.6K Stars,日均 +1800 Stars
| id | mcp-trailofbits |
| name | mcp-trailofbits |
| version | 1.0.0 |
| description | MCP bundle package |
| category | prompt |
| tags | ["mcp","bundle"] |
Official Anthropic documentation (always check these first):
Reference skills - learn by example at different complexity levels:
| Complexity | Skill | What It Demonstrates |
|---|---|---|
| Basic | ask-questions-if-underspecified | Minimal frontmatter, simple guidance |
| Intermediate | constant-time-analysis | Python package, references/, language-specific docs |
| Advanced | culture-index | Scripts, workflows/, templates/, PDF extraction, multiple entry points |
When in doubt, copy one of these and adapt it.
Deep dives on skill authoring:
Example plugins worth studying:
security-review is a standout routing + progressive disclosure exampleFor Claude: Use the claude-code-guide subagent for plugin/skill questions - it has access to official documentation.
This repository now supports both Claude plugin discovery and Codex-native skill discovery.
Rules:
skills/<name>/SKILL.md, it must also remain reachable through .codex/skills/<name>.skills/ directory, add an explicit Codex wrapper skill under .codex/skills/<plugin-name>/SKILL.md or document why no Codex equivalent is intended.python3 .github/scripts/validate_codex_skills.py
.codex/skills/ mapping, then commit the resulting changes.plugins/
<plugin-name>/
.claude-plugin/
plugin.json # Plugin metadata (name, version, description, author)
commands/ # Optional: slash commands
agents/ # Optional: autonomous agents
skills/ # Optional: knowledge/guidance
<skill-name>/
SKILL.md # Entry point with frontmatter
references/ # Optional: detailed docs
workflows/ # Optional: step-by-step guides
scripts/ # Optional: utility scripts
hooks/ # Optional: event hooks
README.md # Plugin documentation
Important: Component directories (skills/, commands/, agents/, hooks/) must be at the plugin root, NOT inside .claude-plugin/. Only plugin.json belongs in .claude-plugin/.
---
name: skill-name # kebab-case, max 64 chars
description: "Third-person description of what it does and when to use it"
allowed-tools: Read Grep # Optional: restrict to needed tools only
---
constant-time-analysis, not constantTimeAnalysisanalyzing-contracts, processing-pdfs (not contract-analyzer, pdf-processor)helper, utils, tools, miscanthropic, claude{baseDir} for paths, never hardcode absolute paths/) even on WindowsWhen skills include Python scripts with dependencies:
Use PEP 723 inline metadata - Declare dependencies in the script header:
# /// script
# requires-python = ">=3.11"
# dependencies = ["requests>=2.28", "pydantic>=2.0"]
# ///
Use uv run - Enables automatic dependency resolution:
uv run {baseDir}/scripts/process.py input.pdf
Include pyproject.toml - Keep in scripts/ for development tooling (ruff, etc.)
Document system dependencies - List non-Python deps (poppler, tesseract) in workflows with platform-specific install commands
PreToolUse hooks run on every Bash command—performance is critical:
which python), search tools (grep python), and filenames (cat python.txt) shouldn't trigger interceptionThese are Trail of Bits house standards on top of Anthropic's requirements.
Your skill competes with 100+ others. The description must trigger correctly.
Skills should provide guidance Claude doesn't already have, not duplicate reference material.
Example: The DWARF skill doesn't include the full DWARF spec. It teaches Claude how to use dwarfdump, readelf, and pyelftools to look up what it needs, plus judgment about when each tool is appropriate.
Prescriptiveness should match task risk:
Every SKILL.md must include:
## When to Use
[Specific scenarios where this skill applies]
## When NOT to Use
[Scenarios where another approach is better]
For audit/security skills, also include:
## Rationalizations to Reject
[Common shortcuts or rationalizations that lead to missed findings]
references/, workflows/Note: Directory depth is fine (references/guides/topic.md). Reference chains are not (SKILL.md → file1.md → file2.md where file1 references file2). The problem is chained references, not nested folders.
## Quick Start
[Core instructions here]
## Advanced Usage
See [ADVANCED.md](references/ADVANCED.md) for detailed patterns.
## API Reference
See [API.md](references/API.md) for complete method documentation.
Before submitting:
Technical (CI validates these):
name and description/Users/..., /home/...)python3 .github/scripts/validate_codex_skills.py passesQuality (reviewers check these):
Documentation:
.claude-plugin/marketplace.json (repo-level, not the plugin's own .claude-plugin/)/plugins/<name>/ @gh-username @dguido)
gh api user --jq .login (most reliable — uses authenticated GitHub identity)Version updates (for existing plugins):
plugins/<name>/.claude-plugin/plugin.json and the root .claude-plugin/marketplace.json when making substantive changes (clients only update plugins when the version number increases)plugin.json and its entry in the root .claude-plugin/marketplace.json