0xbigboss avatar

Atlas Best Practices

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.

skills.sh installs
154
GitHub stars
48
last updated
Jun 3, 2026

Install

$ npx -y skills add 0xbigboss/claude-code --skill atlas-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Atlas Best Practices

Atlas supports declarative and versioned schema workflows. Keep this file minimal and load only the reference file needed for the current task.

Workflow Selection

  • Use declarative workflow when desired schema state is the source of truth.
  • Use versioned workflow when migration files are required for auditing and staged deployments.
  • Use baseline workflow when onboarding an existing database.

Default Execution Flow

  1. Confirm the target env in atlas.hcl.
  2. Confirm dev is configured and isolated from production.
  3. Plan first, then lint/test/validate, then apply.
  4. Run production changes through CI/CD or approved deployment workflow.

Quick Commands

# 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

Reference Map

Sponsors

Details

Repository
github.com/0xbigboss/claude-code
First seen
Jun 3, 2026

More from 0xbigboss/claude-code

All 22

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs