# /ship: 5-Agent Feature Pipeline for Claude Code

> Runs a feature through planner, coder, tester, reviewer and documenter subagents and ends with a reviewed local commit

/ship: 5-Agent Feature Pipeline for Claude Code is a free AI agent skill on Agensi by Altaf Hossain, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Altaf Hossain](https://www.agensi.io/creators/altaf-hossain)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ship-5-agent-feature-pipeline-for-claude-code
- Tags: ai-agents, documentation, code-review, git, openapi, mermaid, claude-code, subagents

## About this skill

### What it does

`/ship <feature request>` takes one feature through five subagents, one after another. Each one does a single job and writes a small handoff file in `.pipeline/` that the next one reads, so every stage starts with a clean, focused context.

| Stage | Model | Can edit | Writes |
|---|---|---|---|
| Planner | opus | only its spec | `.pipeline/spec.md` (files, signatures, edge cases, patterns to copy, open questions) |
| Coder | sonnet | code | code + `.pipeline/changes.md` (starts with the repo conventions it found) |
| Tester | sonnet | tests | tests + `.pipeline/test-results.md` (`RESULT: PASS/FAIL`) |
| Reviewer | opus | nothing (read-only) | `.pipeline/review.md` (`VERDICT: SHIP / NEEDS WORK / BLOCK`) |
| Documenter | sonnet | `docs/` only | OpenAPI spec, a "how it works" doc, Mermaid diagrams |

### Why I built it

When one agent plans, codes, tests and reviews a whole feature, it half forgets the plan, writes tests that agree with its own code, and then says everything looks fine. Splitting the work fixed most of that for me on real Java/Spring backend work.

### Rules it follows

- **Stops instead of guessing.** Open questions in the spec, failing tests, or any verdict other than SHIP halt the run and come back to you.
- **Follows your codebase.** The coder studies 2-3 similar existing features first (layers, package layout, naming, DTO and error shapes) and writes them down. No new APIs, controllers, services or dependencies unless the spec needs them.
- **Feature branch only.** On main/dev/release it creates `feat/<slug>` first. It never commits to, merges into or pushes a protected branch. Subagents can't run branch or commit commands at all.
- **Ends with a local commit.** Nothing is pushed or merged. You review the diff.
- **Docs come from the code.** The documenter may only touch `docs/`, README and CHANGELOG; anything else it changes is reverted.

### What's in the zip

- `SKILL.md`: the orchestrator
- `agents/`: planner, coder, tester, reviewer, documenter definitions
- `LICENSE`: MIT

### Install

1. Unzip into `~/.claude/skills/` (you get `~/.claude/skills/ship/`).
2. Recommended: copy `ship/agents/*.md` into `~/.claude/agents/`. Installed subagents get their tool limits enforced by Claude Code (read-only reviewer, no-code planner). Without them the skill still runs each stage with a general-purpose subagent and checks the limits itself.
3. Restart Claude Code, open a git repo, and run `/ship <feature request>`.

### Limits

It's not magic: read the spec it writes and review the diff. It needs a git repository and a project whose tests can run locally.

Source and issues: https://github.com/Altafhossain72/claude-ship-pipeline

## Requires

- Claude Code
- Git
- @redocly/cli
- Node.js

## Known limitations

Built for Claude Code; the five-stage delegation relies on Claude Code subagents. Needs a git repository and tests that can run locally. It stops and asks when the spec has open questions, so it is not fully hands-off. It never pushes or merges; you review the diff yourself.

## 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: 5-Agent Feature Pipeline for Claude Code 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 is this different from asking one agent to build the feature?

One agent doing planning, code, tests and review in one long context tends to forget the plan and approve its own work. Here each stage is a separate subagent with one job and a clean context, and they hand off through small files in .pipeline/. The reviewer is read-only and checks the real git diff against the spec.

### Do I need to install the five subagents separately?

Recommended, not required. Copy ship/agents/*.md into ~/.claude/agents/ so Claude Code enforces each role's tool limits (for example the read-only reviewer). Without them, the skill runs each stage with a general-purpose subagent using the same role instructions and checks the limits itself.

### Will it push to main or merge anything?

No. On main, dev or a release branch it creates feat/<slug> first, and the run ends with a local commit on that branch. It never pushes, merges or opens a PR. That stays with you.

### Will it follow my project's existing structure?

That is the coder's first job. Before writing code it studies 2-3 similar features in your repo (layering, package layout, naming, DTO and error shapes) and lists them at the top of .pipeline/changes.md. It does not add new APIs, controllers, services or dependencies unless the spec asks for them, and the reviewer flags duplicates as NEEDS WORK.

### What happens if the tests fail?

The tester writes RESULT: FAIL with the failing output to .pipeline/test-results.md and the run stops there. It does not patch the production code to make tests pass. You decide what to fix, then run /ship again.

### What is included?

SKILL.md (the orchestrator), the five subagent definitions in agents/, and an MIT license. It is free, and the same files are on GitHub: github.com/Altafhossain72/claude-ship-pipeline

---

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.
