Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

atlas-best-practices

БесплатноБез исполняемых скриптовНе проверен

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…

alleneubankот alleneubank★ 49 звёзд на GitHub

Об этом скилле

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

  • core-workflows.md Use for environment config, schema-as-code patterns, declarative vs versioned workflows, baselining, and ORM provider loading.
  • safety-and-quality.md Use for lint analyzers, transaction modes, schema tests, pre-execution checks, and CI patterns.
  • atlas-v1-1-features.md Use for Atlas v1.1 coverage (released on 2026-02-03), including security as code, declarative data, new drivers/platform support, Slack integration, schema exporters, and MySQL TLS.
  • cli-agent-gaps.md Use for Atlas CLI capabilities and edge cases agents often miss: planning workflows, migration directory maintenance commands, URL/TLS pitfalls, feature availability, and version policy constraints.

Guardrails

  • Keep credentials out of source files; prefer Atlas data sources and input variables.
  • Require explicit review for destructive or data-dependent migrations.
  • Fail loudly on unsupported drivers, missing dev URLs, or unknown environment names.

Установить atlas-best-practices в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/atlas-v1-1-features.mdreferences/cli-agent-gaps.mdreferences/core-workflows.mdreferences/safety-and-quality.md

FAQ

Что делает скилл atlas-best-practices?

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-best-practices?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл atlas-best-practices запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить atlas-best-practices с