
This pulls together the canonical patterns for Atlas schema migrations: declarative versus versioned workflows, when to baseline an existing database, and the plan-lint-apply cycle that keeps you from breaking production. It points you to the right reference doc whether you need environment setup, lint analyzers, or the v1.1 security and data features that shipped in February 2026. The real value is in the guardrails and the CLI edge cases that trip up agents, like migration directory maintenance and TLS URL pitfalls. Load it when you're configuring atlas.hcl or reviewing migration plans, not for basic SQL questions.
$ npx -y skills add 0xbigboss/claude-code --skill atlas-best-practices --agent claude-codeInstalls into .claude/skills of the current project.
Atlas supports declarative and versioned schema workflows. Keep this file minimal and load only the reference file needed for the current task.
env in atlas.hcl.dev is configured and isolated from production.# Declarative
atlas schema apply --env local
# Versioned
atlas migrate diff add_change --env local
atlas migrate lint --env local --latest 1
atlas migrate apply --env local
# Integrity
atlas migrate validate --env local
atlas migrate status --env local
Sponsors