atlas-best-practices

仓库创建 2026年6月24日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由

帮助正确选择声明式或版本化工作流并规范迁移审计流程。

这个 Skill 做什么

Atlas CLI 与 schema/migration 的使用与最佳实践指南。

提供 Atlas CLI、atlas.hcl、schema HCL/SQL 和迁移流程的实操建议,帮你在 declarative、versioned、baseline 等模式间做选择并规划迁移。什么时候用:做版本化迁移、审计变更或把目标 schema 当真理时最合适。特点是强调只加载当前任务需用的引用文件,减少误差并兼顾安全与可审计性。

▸ 展开 SKILL.md 英文原文

Use when working with atlas.hcl, Atlas CLI commands, schema HCL/SQL files, or migration planning and reviews, including Atlas v1.1 security, data, and exporter capabilities.

数据与抓取Atlas迁移schema最佳实践通用
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tomevault-io/skills-registry/main/0xbigboss--claude-code--atlas-best-practices/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tomevault-io/skills-registry/main/0xbigboss--claude-code--atlas-best-practices/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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 Comma
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有