skills/forge-ship/SKILL.md
End-to-end implementation and self-review in a single invocation. Implements from an Issue, plan file, or free-text description, then runs a lean fresh-context review. Use when the user wants to implement and review without manual handoff between skills.
npx skillsauth add mgratzer/forge forge-shipInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement end to end — code it, review it, ship it. Implementation runs in the current session; tiny low-risk diffs review inline, otherwise review uses one fresh-context reviewer by default and deepens only when risk justifies it.
Same as forge-implement: Issue number/URL, plan file path, or free-text. Optional: -- <additional context>.
Unattended mode: --unattended skips plan approval and auto-triages findings by severity.
Determine input type (Issue number/URL, plan file, or free-text). For Issues, fetch via the project's Issue tracker (see issue-operations). Parse requirements and acceptance criteria. Flag if underspecified.
For complex work, write 3–7 research questions and delegate to a sub-agent with the forge-scout role for unbiased codebase research. Prefer a cheap fast model for scout work.
From the research, create a plan: durable decisions, vertical phases (see vertical-slicing), files to change, scope boundaries.
Present the plan via AskUserQuestion. In unattended mode: skip approval and proceed.
git fetch origin
git checkout $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
git pull
git checkout -b <type>/<issue-number>-<brief-description>
When working from a plan file or free-text (no issue number), use <type>/<brief-description>.
Read AGENTS.md. Run pre-flight checks before the first phase (see phase-execution). Implement in vertical phases — each phase spans all affected layers, includes tests, and ends with a commit. Run lint/types/tests at each phase gate.
After changing a pattern, grep for the old pattern across the appropriate scope and update all instances (see pattern-audit).
Update docs/*.md and AGENTS.md if behavior or conventions changed.
Push branch, create PR with conventional commit title. Lead the summary with why the change was needed — pull the motivation from the linked issue's problem statement; if no issue is linked, derive it from the branch's commit history. Then briefly describe the approach taken. Include: changes list, test plan, quality checklist. Close the issue when one exists. Add a > [!WARNING] block for manual deployment steps.
Do not produce the implementation summary yet — the review will inform the final report.
Follow the review-delegation process: collect the diff from the implementation, prefer one inline review pass for tiny low-risk diffs, otherwise use one fresh-context review pass by default, add a second pass only when risk justifies it, and aggregate findings. Fresh context eliminates self-review bias when delegated review is used — reviewers have no memory of implementation decisions.
Use the aggregated findings from the review delegation.
In attended mode (default): present each finding to the user with a recommendation.
Bias hard toward fix now:
In unattended mode: auto-triage using severity plus scope from the review rubric:
For both modes, deferred items become Issues — see issue-operations for provider-specific mechanics.
Report implementation and review results together.
## Ship Summary
**PR:** #<number> — <title>
**Branch:** <branch-name>
### Implementation
- <N> commits, <M> files changed
- Tests: <added/modified/none>
- Docs: <updated/none>
### Review Findings
- Fixed in PR: <list or "none">
- Deferred: #<issue> — <title> (or "none")
### Quality Gates
- Lint: ✓/✗
- Types: ✓/✗
- Tests: ✓/✗
--unattended (default to fixing in-scope findings)Components: Composes forge-implement and forge-reflect.
After peer review: Use forge-address-pr-feedback to address reviewer comments.
/forge-ship 42
/forge-ship 42 -- keep the diff minimal
/forge-ship docs/roadmap.md
/forge-ship --unattended 42
development
Shape a vague idea into a clear plan through codebase investigation and convergent one-at-a-time questioning. Use when the user has a rough idea or problem that needs specifying before issue creation.
development
Set up or update a project's context infrastructure for agentic engineering — AGENTS.md as lean hot memory, docs/ as earned warm memory, with signal-to-noise scoring for existing guidance. Use when starting a new project, retrofitting an existing codebase, or auditing current guidance quality.
tools
Review current changes with a lean review flow. Works on a PR, branch diff, or uncommitted changes. Tiny low-risk diffs stay inline; larger or riskier changes use fresh-context review. Use when the user wants to self-review before committing, pushing, or requesting peer review.
databases
⚠️ Renamed to forge-reflect. This stub exists for migration — remove it and install forge-reflect instead.