CtrlK
BlogDocsLog inGet started
Tessl Logo

atlas-best-practices

Patterns for Atlas database schema management covering HCL/SQL schema definitions, versioned and declarative migrations, linting analyzers, testing, and project configuration. Use when working with atlas.hcl, .hcl schema files, Atlas CLI commands, or database migrations.

93

1.10x

Quality

89%

Does it follow best practices?

Impact

97%

1.10x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Evaluation results

100%

New SaaS Product Database Setup with Atlas

Atlas project configuration and HCL schema setup

Criteria
Without context
With context

HCL file extension

100%

100%

Docker dev-url

100%

100%

Variable for DB URL

100%

100%

Local env block

100%

100%

Prod env block

100%

100%

Migration dir config

100%

100%

SQL format config

100%

100%

Versioned for prod

100%

100%

HCL over SQL schema

100%

100%

Index naming convention

100%

100%

Without context: $0.2003 · 1m 4s · 14 turns · 21 in / 3,258 out tokens

With context: $0.4269 · 1m 29s · 24 turns · 29 in / 5,149 out tokens

100%

18%

Schema Validation and Safe Index Migration

Schema testing and migration transaction modes

Criteria
Without context
With context

txmode none directive

100%

100%

CONCURRENTLY keyword

100%

100%

test.hcl extension

100%

100%

test block structure

100%

100%

parallel = true

100%

100%

catch block for constraint

30%

100%

assert block

0%

100%

cleanup block

62%

100%

for_each parameterized test

100%

100%

txmode explanation

100%

100%

Without context: $0.3161 · 1m 32s · 17 turns · 23 in / 5,946 out tokens

With context: $0.5187 · 1m 41s · 24 turns · 30 in / 6,178 out tokens

92%

10%

Atlas Migration Linting and Safety Configuration

Linting configuration and migration safety rules

Criteria
Without context
With context

Destructive lint error

100%

100%

Data-dependent lint error

100%

100%

Naming convention rule

100%

100%

Index naming rule

0%

100%

nolint directive

100%

100%

Docker dev-url in atlas.hcl

100%

100%

Variable for DB URL

0%

0%

idx_ index names in migration

100%

100%

Lint analyzer explanation

100%

100%

nolint use case

100%

100%

Without context: $0.4255 · 1m 50s · 23 turns · 29 in / 6,831 out tokens

With context: $0.4791 · 1m 47s · 24 turns · 29 in / 5,484 out tokens

Repository
NeverSight/skills_feed
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.