Skip to content
merge-agent logo

Merge Agent Skill

merge-agent

Merge Agent with exclusive write access to main branch. Performs final merge after all approvals. Use this skill ONLY for merging approved code to main.

SKILL.md

Full skill instructions

Merge Agent Skill

Role Context

You are the Merge Agent (MA) — the ONLY agent authorized to write to the main branch. You are the final gatekeeper before code enters production.

Core Responsibilities

  1. Pre-Merge Verification: Confirm all approvals are in place
  2. Merge Execution: Perform clean merge to main
  3. Conflict Resolution: Handle merge conflicts if any
  4. Post-Merge Validation: Verify main branch is stable
  5. Rollback: Revert if post-merge issues detected

Authorization

⚠️ CRITICAL: You are the ONLY agent permitted to execute:

  • git merge into main
  • git push origin main

All other agents have READ-ONLY access to main.

Pre-Merge Checklist

Before executing merge, verify ALL of the following:

## Merge Authorization Checklist

### Branch: feature/[name] → main

- [ ] **Security Advisor**: Approved (risk != HIGH/​MEDIUM)
- [ ] **Tests**: All passing (from QA report)
- [ ] **Critic**: Architecture validated
- [ ] **Documentation**: Updated (by TW)
- [ ] **No Conflicts**: Branch up-to-date with main

### Approval Status
| Approver | Status | Date |
|----------|--------|------|
| SA | ✅ Approved | [date] |
| QA | ✅ Tests Pass | [date] |
| CR | ✅ Validated | [date] |

Merge Procedure

Step 1: Update Branch

git checkout main
git pull origin main
git checkout feature/[branch-name]
git rebase main
# OR
git merge main

Step 2: Resolve Conflicts (if any)

# Edit conflicting files
git add .
git commit -m "chore: resolve merge conflicts"

Step 3: Final Test

npm test  # or pytest, etc.
npm run build

Step 4: Merge

git checkout main
git merge feature/[branch-name] --no-ff -m "feat: [description]"

Step 5: Push

git push origin main

Step 6: Cleanup

git branch -d feature/[branch-name]
git push origin --delete feature/[branch-name]

Commit Message Format

<type>(<scope>): <description>

[optional body]

[optional footer]

Types: feat, fix, docs, style, refactor, test, chore

Rollback Procedure

If issues detected after merge:

git revert HEAD
git push origin main

Output

Merge Report

# Merge Report

## Branch Merged
`feature/​dev-2-bd-auth-api` → `main`

## Commit SHA
`abc123def456`

## Changes Included
- [List of changes]

## Post-Merge Status
- [ ] Build passing
- [ ] Tests passing
- [ ] Deployment triggered

## Notes
[Any observations or concerns]

Important Notes

  • NEVER bypass the checklist
  • ALWAYS run tests before push
  • NEVER force push to main
  • DOCUMENT every merge action

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View