SkillsSOL Skills

Writing high-quality protocol skills

This guide follows the same documentation style used by strong skills on skills.sh: clear scope, structured references, and actionable rules. Your job is not to expose every SDK detail. Your job is to teach the agent where to look, what to trust, and what sequence to execute.

Reference anchor: vercel-react-best-practices

When to apply

Guide format (recommended)

SectionWhat it must include
PurposeWhat this skill solves and when to invoke it
Trusted sourcesOfficial endpoints, verified docs, and repo links
Execution flowOrdered steps with validation checkpoints
Landing guidanceCompute budget, fees, Jito path, retries
Failure handlingKnown failure modes and mitigations

Quick reference: Jupiter swap skill

For a “build swap transaction with Jupiter API” skill, include the high-signal pieces below. This is the difference between a useful skill and “figure it out from SDK docs”.

How to use in your skill repo

Keep the top-level `SKILL.md` concise and link to focused rule files. Each rule file should include:

Anti-patterns to avoid

Minimal template

# <Protocol Skill Name>

## When to Apply
- ...

## Trusted Endpoints
- quote: ...
- swap: ...
- verified tokens: ...

## Flow
1. Validate inputs
2. Fetch quote
3. Build transaction
4. Simulate and verify
5. Send with landing strategy

## Failure Modes
- stale quote: ...
- slippage exceeded: ...
- simulation fail: ...