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.
88
82%
Does it follow best practices?
Impact
97%
1.10xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Atlas project configuration and HCL schema setup
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%
Schema testing and migration transaction modes
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%
Linting configuration and migration safety rules
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%
f772de4
Table of Contents
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.