Skip to content
Agentmart
Submit a tool

apply-migrations-and-push

Executes unapplied database migrations, verifies project build safety, and pushes code to GitHub cleanly.

Skill by hemanth17r

IndexedMIT★ 22
Write a review

Chalk Labs

Need help deploying apply-migrations-and-push?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hemanth17r-apply-migrations-and-push

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Executes unapplied database migrations, verifies project build safety, and pushes code to GitHub cleanly. Use when you say "apply migrations and push", "push to github", "run migrations", "deploy changes", "commit and push", "ship this", "let's push", or "push this".

Use cases: backend, devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/apply-migrations-and-push

What's inside

Skill name
apply-migrations-and-push
Description
Executes unapplied database migrations, verifies project build safety, and pushes code to GitHub cleanly. Use when you say "apply migrations and push", "push to github", "run migrations", "deploy changes", "commit and push", "ship this", "let's push", or "push this".
License
MIT
Instructions
10 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Apply Database Migrations & Push to GitHub

## Rules
1. **Verify Project Context**: Check `git remote -v` and project path first to ensure operating on the correct target repository and database environment.
2. **Security & Secrets Guard**: Audit staged files to ensure `.env` files, API keys, passwords, credentials, tokens, or sensitive user data are NEVER staged or committed. Ensure `.gitignore` properly excludes secret files.
3. **Strict Schema-First Migration Gate (Zero-Drift Invariant)**:
   - **Pre-Flight Migration Scan**: Scan `supabase/migrations/` (or `prisma/migrations/`, `drizzle/`) for any untracked, modified, or newly created `.sql` migration files before touching code commits.
   - **Mandatory Execution Before Code Push**: Strictly forbid pushing code referencing new tables, columns, or RPCs before the underlying migration has been executed and verified against the target database (via Supabase MCP, CLI `supabase db push`, or direct migration execution).
   - **Schema-to-Code Parity Verification**: Query the target database or assert migration success to ensure the live database engine matches the code contract before committing.
   - **Backward-Compatible Rollouts**: Adhere strictly to the Expand/Contract lifecycle—never drop active columns, rename tables, or add non-null columns without defaults in a single migration phase while active production clients are running.
4. **Verify Build & Type Safety**: Run project type-checking and build validation commands to ensure zero broken builds before committing.
5. **Auto-Provision Cloud CI Gate**: Verify whether `.github/workflows/ci.yml` exists in the repository root. If missing, automatically stamp the Universal Polyglot CI workflow from `~/.gemini/config/templates/universal-ci.yml` to guarantee cloud-side build and type verification on GitHub.
6. **Clean Remote Push**: Create clear, descriptive git commits and push safely to the verified remote repository.

From hemanth17r/ahr-workflow, MIT.

More from hemanth17r/ahr-workflow

Signals

Stars
22
Forks
4
Open issues
0
Last commit (this folder)
Oct 19, 2026 (17 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from hemanth17r

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get apply-migrations-and-push running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying apply-migrations-and-push?

CallGet help
Cite this page

apply-migrations-and-push skill. Agent Mart. https://agentmart.dev/skills/hemanth17r-apply-migrations-and-push (last updated 2026-10-24)