
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-codeInstalls 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
- Confirm the target
envinatlas.hcl. - Confirm
devis configured and isolated from production. - Plan first, then lint/test/validate, then apply.
- 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- Git Best Practices149
- Git Rebase Sync146
- Testing Best Practices135
- E2e126
- Extract Transcripts122
- React Best Practices3K
- Typescript Best Practices2.9K
- Python Best Practices1.8K
- Web Fetch929
- Zig Best Practices388
- Nix Best Practices359
- Tamagui Best Practices290
- Openai Image Gen288
- Go Best Practices272
- Playwright Best Practices266
- Axe Ios Simulator239
- Electrobun Best Practices209
- Tilt196
- Orbstack Best Practices180
- Canton Network Repos157
- Ios Device Screenshot155