CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl-labs/tile-creator

Create tessl tiles with docs, rules, and skills.

Does it follow best practices?

Evaluation97%

1.98x

Agent success when using this tile

Validation for skill structure

Overview
Skills
Evals
Files

task.mdevals/scenario-2/

npm Package Documentation Tile

Problem/Feature Description

Your team maintains an internal TypeScript SDK called @acme/data-client (version 3.2.1) published on npm. Developers frequently ask the AI assistant questions about how to use the SDK, but it doesn't have up-to-date knowledge of your library's API. You need to create a Tessl tile that documents this package so that AI assistants can help developers use it correctly.

The SDK has the following public API:

  • DataClient class — the main entry point, constructed with options: { apiKey: string, region?: string, timeout?: number }
  • DataClient.query(sql: string, params?: Record<string, any>) — executes a query, returns Promise<QueryResult>
  • DataClient.batch(queries: string[]) — executes multiple queries, returns Promise<QueryResult[]>
  • DataClient.stream(sql: string) — streams results, returns AsyncIterable<Row>
  • DataClient.close() — closes the connection pool
  • QueryResult type — { rows: Row[], count: number, duration: number }
  • Row type — Record<string, unknown>
  • ConnectionError class — thrown on connection failures
  • QueryError class — thrown on query failures, has code: string and query: string properties

The tile should be in workspace "acme" with name "acme/npm-data-client". Make it public so other teams can use it too.

Output Specification

Produce a complete tile directory at ./npm-data-client/ containing:

  1. tile.json — properly configured manifest
  2. Documentation files covering the full API with installation, quick start, and all methods/types
  3. Organize the docs across multiple files for efficient agent consumption

Install with Tessl CLI

npx tessl i tessl-labs/tile-creator

evals

SKILL.md

tile.json