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
- Clear, action-oriented name
- Description includes trigger phrase (“when serious doubts arise”)
- No unnecessary complexity
Key Sections
When to Use: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
Intermediate: constant-time-analysis
A skill with Python tooling, multiple language support, and organized references.Structure
Frontmatter
- 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):Python Script Integration
PEP 723 Metadata: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
Advanced: culture-index
A comprehensive skill with PDF extraction, templates, and multiple workflows.Structure
Frontmatter
- 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):Workflow Organization
workflows/individual-analysis.md:Template Integration
templates/individual-report.md:Script with System Dependencies
extract_pdf.py: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-toolslimits what Claude can use - Structured guidance: XML-like tags for essential principles
Additional Production Examples
superpowers
Advanced workflow patterns and TDD enforcement:- Mandatory workflow enforcement
- Gate reviews (must see failure before implementation)
- Multi-skill orchestration
getsentry/skills - security-review
Production Sentry skill with excellent routing and progressive disclosure:- Smart routing to specialized sub-guides
- Checklist-based workflows
- Production-tested patterns
Learning Path
1
Start with Basic
Copy
ask-questions-if-underspecified for simple behavioral guidance2
Add Tooling
Study
constant-time-analysis for Python integration and references3
Advanced Features
Review
culture-index for complex workflows and templates4
Production Patterns
Explore
superpowers and getsentry/skills for advanced techniquesCommon Patterns
Pattern: Language Routing
Route to language-specific guides:Pattern: Workflow Checklists
Enforce step-by-step processes:Pattern: Progressive Disclosure
Quick start in SKILL.md, details in references:Pattern: Template-Based Output
Provide structured templates:Next Steps
Skill Authoring
Write your own skill
Best Practices
Follow quality standards
Plugin Structure
Understand required structure
Getting Started
Start contributing