Skip to main content

Overview

Learn by example! This guide showcases real skills from the Trail of Bits Skills Marketplace at different complexity levels.
When in doubt, copy one of these reference skills and adapt it to your needs.

Complexity Levels

Basic: ask-questions-if-underspecified

A minimal skill that demonstrates clean structure and effective guidance.

Structure

Frontmatter

Why it works:
  • Clear, action-oriented name
  • Description includes trigger phrase (“when serious doubts arise”)
  • No unnecessary complexity

Key Sections

When to Use:
When NOT to Use:
Workflow:

What It Demonstrates

  • Clear triggering: Simple, specific use cases
  • Actionable workflow: Step-by-step guidance
  • Minimal structure: No unnecessary files or complexity
  • Practical examples: Question templates and anti-patterns
View full source

Intermediate: constant-time-analysis

A skill with Python tooling, multiple language support, and organized references.

Structure

Frontmatter

Why it works:
  • Specific vulnerability type (“timing side-channel”)
  • Multiple trigger keywords (“crypto code”, “constant-time”, “division on secrets”)
  • Lists all supported languages

Progressive Disclosure

SKILL.md (Overview):
references/compiled.md (Details):

Python Script Integration

PEP 723 Metadata:
Usage in SKILL.md:

What It Demonstrates

  • Language-specific guidance: References for each supported language
  • Progressive disclosure: Overview in SKILL.md, details in references/
  • Tooling integration: Python scripts with PEP 723 metadata
  • Testing: Includes test suite with sample files
  • Commands: Custom slash command for quick checks
View full source

Advanced: culture-index

A comprehensive skill with PDF extraction, templates, and multiple workflows.

Structure

Frontmatter

Why it works:
  • Comprehensive feature list in description
  • Specific use cases as triggers
  • Restricts to needed tools only
  • Mentions input formats (JSON, PDF)

Multiple Entry Points

Essential Principles (Core Guidance):
Input Formats:

Workflow Organization

workflows/individual-analysis.md:
workflows/team-analysis.md:

Template Integration

templates/individual-report.md:

Script with System Dependencies

extract_pdf.py:
Documentation in workflow:

What It Demonstrates

  • Complex data processing: PDF extraction with OpenCV
  • Multiple workflows: Different processes for different use cases
  • Template system: Structured output formats
  • System dependencies: Documented platform-specific requirements
  • Tool restrictions: allowed-tools limits what Claude can use
  • Structured guidance: XML-like tags for essential principles
View full source

Additional Production Examples

superpowers

Advanced workflow patterns and TDD enforcement:
Key techniques:
  • Mandatory workflow enforcement
  • Gate reviews (must see failure before implementation)
  • Multi-skill orchestration
View source

getsentry/skills - security-review

Production Sentry skill with excellent routing and progressive disclosure:
Key techniques:
  • Smart routing to specialized sub-guides
  • Checklist-based workflows
  • Production-tested patterns
View source

Learning Path

1

Start with Basic

Copy ask-questions-if-underspecified for simple behavioral guidance
2

Add Tooling

Study constant-time-analysis for Python integration and references
3

Advanced Features

Review culture-index for complex workflows and templates
4

Production Patterns

Explore superpowers and getsentry/skills for advanced techniques

Common Patterns

Pattern: Language Routing

Route to language-specific guides:
Used by: constant-time-analysis, variant-analysis

Pattern: Workflow Checklists

Enforce step-by-step processes:
Used by: fp-check, differential-review, audit-context-building

Pattern: Progressive Disclosure

Quick start in SKILL.md, details in references:
Used by: constant-time-analysis, static-analysis, building-secure-contracts

Pattern: Template-Based Output

Provide structured templates:
Used by: culture-index, audit-context-building

Next Steps

Skill Authoring

Write your own skill

Best Practices

Follow quality standards

Plugin Structure

Understand required structure

Getting Started

Start contributing