Create tessl tiles with docs, rules, and skills.
Does it follow best practices?
Evaluation — 97%
↑ 1.98xAgent success when using this tile
Validation for skill structure
Docs are facts and knowledge that agents query on-demand (like RAG). Use for API docs, guides, tutorials, package documentation.
Structure docs so agents load only what they need:
docs/
├── index.md # Summary + links to all pages
├── getting-started.md # Loaded when user asks about setup
├── api-reference.md # Loaded when user asks about API
└── examples/
├── basic.md # Loaded for basic examples
└── advanced.md # Loaded for advanced patternsThe agent reads index.md first, then follows links based on the user's question.
Agents share context with conversation history, system prompts, and user requests. Every token costs.
Do:
Don't:
Aim for full coverage of the source material. Docs should be complete enough that the agent rarely needs external sources.
The index.md must:
# My Library
TypeScript SDK for the Example API.
## Installation
\`\`\`bash
npm install example-sdk
\`\`\`
## Quick Start
\`\`\`typescript
import { Client } from 'example-sdk';
const client = new Client({ apiKey: process.env.API_KEY });
const result = await client.query('hello');
\`\`\`
## Contents
- [Authentication](./auth.md) - API keys, OAuth, tokens
- [Core API](./core-api.md) - Main methods and responses
- [Streaming](./streaming.md) - Real-time responses
- [Error Handling](./errors.md) - Error codes and recoveryCritical: Every .md file must be reachable via links from index.md.
Use descriptive, lowercase names with hyphens:
chat-completions.md (good)ChatCompletions.md (bad)api.md (too vague)Agents use filenames to decide what to read - make them self-explanatory.
Within each file:
# Page Title
Brief description of what this page covers.
## Section 1
Content organized by topic.
### Subsection
More specific details.
## Section 2
Next topic.Use headings liberally - they help agents navigate and understand scope.
{
"name": "workspace/my-docs",
"version": "1.0.0",
"summary": "Documentation for Example SDK",
"docs": "docs/index.md"
}For software package tiles, add describes:
{
"name": "tessl/npm-example",
"version": "2.0.0",
"docs": "docs/index.md",
"describes": "pkg:npm/example-sdk@2.0.0",
"summary": "TypeScript SDK for Example API"
}