api-design
Design or review REST and GraphQL API interfaces. Use when asked to design an API, review endpoint structure, define…
Safely run database schema migrations. Use when asked to update database schema, add columns, create tables, run alembic, or apply Django migrations.
$ npx -y skills add agulli/atlas-agents --skill database-migration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/database-migrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Safely run database schema migrations. Use when asked to update database schema, add columns, create tables, run alembic, or apply Django migrations.
name: database-migration description: Safely run database schema migrations. Use when asked to update database schema, add columns, create tables, run alembic, or apply Django migrations. license: MIT compatibility: Requires python 3.10+ and one of alembic, django, or prisma
Before executing any migration, you must have clear answers to all of the following. If any is missing or ambiguous, STOP and ask. Do not infer from filenames, branch names, or previous conversation context.
An agent that guesses the environment and gets it wrong has just migrated the wrong database. Ask first.
1. **Identify the migration tool.** Check the project for:
If none are found, ask the user which tool to use. Do not guess.
2. **Generate the migration.**
3. **Review the generated migration file.** Read the entire file. Check for:
4. **Dry run.** If the tool supports it:
5. **Apply the migration** only after reviewing the dry run output.
6. **Verify.** Query the database schema directly to confirm the change took effect:
-- PostgreSQL SELECT column_name, data_type FROM information_schema.columns WHERE table_name = 'target_table'; -- SQLite PRAGMA table_info(target_table);
| Excuse | Rebuttal | |--------|----------| | "It's just an ADD COLUMN, I'll skip the review" | Schema locks can occur even on simple additions. Always review. | | "The autogenerated migration looks correct" | Autogenerate guesses. It sometimes generates DROP + CREATE instead of ALTER. Read the file. | | "I'll just run it — we can roll back" | Not all migrations are reversible. Dropping a column destroys data permanently. |
This repository contains the source code, examples, and project implementations for the book "Hands-on AI Agents" — a practical, code-first guide to building AI agents and, more importantly, putting them into production.
Design or review REST and GraphQL API interfaces. Use when asked to design an API, review endpoint structure, define…
Perform a structured security and quality audit on source code. Use when asked to review code, audit a pull request, check for…
Design, build, or debug data processing pipelines. Use when asked to process a dataset, transform data, build an ETL pipeline,…
Audit project dependencies for vulnerabilities, license issues, and bloat. Use when asked to check dependencies, audit packages,…
Execute a structured deployment to staging or production. Use when asked to deploy, ship, release, push to production, or promote…
Write or update technical documentation for code, APIs, or systems. Use when asked to document a module, write a README, generate…