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
Your data science team has built an internal Python library called smart_data_loader (version 2.4.0) published on your private PyPI registry. The library helps data scientists load, validate, and transform datasets from various sources. The AI assistant needs documentation about this package to help team members use it correctly.
You need to create a Tessl tile that documents this package. The tile should be in workspace "ds-team" named "ds-team/pypi-smart-data-loader", version 2.4.0, and should be a private tile.
Here is the library's public API extracted from its source:
Module: smart_data_loader
SmartLoader(config: LoaderConfig) — Main class. Config takes cache_dir: str, max_retries: int = 3, timeout: float = 30.0SmartLoader.load_csv(path: str, schema: Schema | None = None) -> DataFrame — Load CSV with optional schema validationSmartLoader.load_parquet(path: str, columns: list[str] | None = None) -> DataFrame — Load Parquet with optional column selectionSmartLoader.load_json(path: str, flatten: bool = False) -> DataFrame — Load JSON, optionally flatten nested structuresSmartLoader.validate(df: DataFrame, schema: Schema) -> ValidationResult — Validate a DataFrame against a schemaSmartLoader.transform(df: DataFrame, pipeline: list[Transform]) -> DataFrame — Apply transformation pipelineModule: smart_data_loader.schemas
Schema(fields: dict[str, FieldType]) — Define expected structureFieldType — Enum: STRING, INTEGER, FLOAT, BOOLEAN, DATETIME, JSONValidationResult — Dataclass with is_valid: bool, errors: list[ValidationError]Module: smart_data_loader.transforms
Rename(mapping: dict[str, str]) — Rename columnsCast(column: str, dtype: FieldType) — Cast column typeFilter(condition: str) — SQL-like filter expressionDeduplicate(subset: list[str] | None = None) — Remove duplicate rowsProduce a complete tile directory at ./smart-data-loader-tile/ containing:
tile.json — properly configured manifest for a Python packagesetup-notes.md in the working directory explaining:
Use realistic, brief content — enough to demonstrate the structure but not exhaustive prose.