# ship to prod

> Automated CI/CD-style shipping pipeline that lints, typechecks, commits, and merges your work with one command.

ship to prod is a free AI agent skill on Agensi by Orpheus, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Orpheus](https://www.agensi.io/creators/orpheus)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-14
- Security: scan passed (2026-10-14); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ship-to-prod
- Tags: devops, git, github-cli, automation, typescript, javascript

## About this skill

You are done with the feature, but shipping it involves a tedious cycle of linting, typechecking, and wrestling with Git commands. This skill automates the entire "ship it" pipeline, ensuring your code is clean and verified before it hits the repository.

### What it does
- **Environment detection** identifies your package manager, default branch, shell type, and GitHub CLI status.
- **Code verification** executes format, lint, typecheck, and build scripts in sequence to prevent regressions.
- **Slop removal** integrates with deslop tools to strip AI-generated comments and defensive boilerplate.
- **Automated Git flow** handles staging, conventional commits, and pushing to origin.
- **PR management** creates and merges GitHub Pull Requests with structured summaries and test plans.

### How it works
1. **Trigger** the flow by telling the agent to "ship it" or "deploy" after your work is complete.
2. **Review** the verification results as the agent runs your local build and linting pipelines.
3. **Commit** with automatically generated conventional commit messages tailored to your shell environment.
4. **Merge** via GitHub CLI if on a feature branch, or push directly if on the default branch.

### Frameworks & tools
Works with `npm`, `pnpm`, `yarn`, and `bun`. Utilizes `git` and the GitHub CLI (`gh`) for repository operations. Supports Bash, Zsh, Fish, and PowerShell.

### Why this beats prompting it yourself
Manual prompts often forget to run build checks or fail to handle PowerShell-specific commit syntax. This skill enforces a consistent verification gate and handles the nuances of PR creation and branch rebasing without manual intervention.

### Use cases
- Finishing a feature branch and wanting to merge it into main with one command.
- Ensuring AI-generated code is "deslopped" and formatted before a team review.
- Automating the PR body generation based on the actual diff and session history.
- Handling rebase conflicts systematically when a feature branch falls behind.

### Known limitations
Requires a local Git repository. PR automation requires the GitHub CLI (`gh`) to be authenticated. Scripts like `typecheck` and `build` must be defined in `package.json` to run.

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ship to prod skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the skill handle different development environments and shells?

The skill automatically detects your package manager (npm, pnpm, yarn, or bun) and shell (Bash, Zsh, Fish, or PowerShell), ensuring commands like linting and Git commits run correctly without manual configuration.

### Are there any specific software prerequisites required for the PR automation to work?

Yes, you must have Git installed locally, and for automated Pull Request creation and merging, the GitHub CLI (gh) must be installed and authenticated.

### Do I need to follow a specific project structure for the verification scripts to run?

This skill requires that your project's package.json includes standard script definitions for commands like 'lint', 'typecheck', or 'build' to execute the verification gate.

### How is this different from just asking my AI agent to 'push my code to GitHub'?

Unlike manual prompting, this skill uses a structured verification gate that prevents code from being committed if builds fail and handles complex Git operations like rebasing and PR body generation automatically.

### What exactly does the 'slop removal' feature do to my code?

The 'deslop' feature integrates with cleanup tools to automatically remove AI-generated artifacts, such as unnecessary comments or defensive boilerplate code, before your work is committed.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
