复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
An agentic development harness for Claude Code & Codex: agent-routed workflows from raw requirem...
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
An agentic development harness for Claude Code & Codex: agent-routed workflows from raw requirement to green PR.
Ship helps agents choose and run the right amount of software delivery process: one standalone phase, a grouped quality/build bundle, or the full raw-input-to-green-PR flow.

Ship is a harness, not a copilot. It doesn't help AI write code — it constrains AI to produce reliable results through mechanically enforced quality gates.
The problem Ship solves: AI coding agents are capable but unreliable. They skip tests, hallucinate about code they haven't read, review their own work and call it good, and declare victory without evidence. Ship makes these failure modes structurally impossible.
/ship:use-ship decides whether the task needs one skill, a phase bundle, or the full /ship:auto workflow.docs/ship/<task-id>/ folder for requirements, design, engineering, quality, delivery, and archive notes./ship:dev, /ship:e2e, /ship:review, /ship:qa, /ship:refactor, and /ship:handoff work directly without a full workflow.input/. The orchestrator keeps only minimal run state. Markdown artifacts and repository code are the deliverables./plugin marketplace add heliohq/ship
/plugin install ship@heliohq
/plugins
Search for Ship, then install it. In Codex App, open Plugins in the sidebar and install Ship from there. Codex loads Ship's skills, MCP config, and hooks from .codex-plugin/plugin.json — the same routing hint and quality gates as Claude Code.
Open a fresh session and confirm the /ship:* skills are available — for example, run /ship:use-ship plan out a user authentication system.
/plugin update ship
Run /ship:use-ship when you want the agent to choose the right Ship route. Run /ship:auto when you explicitly want the full staged workflow. Or run individual phases when you only need one; atomic skills do not require an active auto run.
| Skill | Description |
|---|---|
/ship:use-ship | Route the request to a standalone skill, phase bundle, or full flow |
/ship:auto | Staged workflow: input → design/spec+plan → dev → E2E → review → QA → refactor → handoff |
/ship:design | Adversarial spec + plan with peer challenge rounds |
/ship:dev | Host implements, peer cross-validates; parallel waves for file-independent stories |
/ship:e2e | Codify the change's acceptance criteria as persistent E2E tests, detect or scaffold the framework, run them against the real app |
/ship:review | Bug-focused diff review — no style nits |
/ship:qa | Exploratory sweep against the running app, finds what codified tests missed |
/ship:handoff | PR creation + CI fix loop until checks green |
/ship:refactor | Four-lens scan, classify by risk, apply with verification |
/ship:arch-design | System-design thinking — nine falsifiable lenses, self-interview method, red-team pass — hands off to write-docs |
/ship:write-docs | Project documentation with frontmatter, lifecycle, and indexing, incl. design docs and ADRs |
Skills are available through the host plugin catalog and direct /ship:* commands. At startup, Ship injects only a tiny hint to consult /ship:use-ship when Ship may apply; it does not inject docs, memory, or artifact content.
See docs/skills.md for detailed guides.
Ship is built on ideas from:
/ship:refactor's four-lens scanname: arch-design
version: 1.0.0
description: >
System-design thinking before any doc or code: goals/non-goals,
back-of-envelope numbers, components and contracts, failure modes,
operability, security, trade-offs. Use for "design this system",
"architecture for X", "trade-offs for X", "how should we architect",
"API design", "data model for", "service boundaries", or before an ADR.
Hands off to /ship:write-docs to record the decision. Not implementation
planning (/ship:design — that turns a decided design into stories).Think the design through before anything is written or built. The lenses below apply to any system: a service, a CLI, a frontend, a data pipeline, an agent runtime. Scale the depth to the decision — a single component with clear constraints needs the frame, a contract sketch, and trade-offs; a new system with unknowns needs every lens. Skipping a lens is a judgment call you record with its reason ("no trust boundary crossed — internal tool, single user"), never a silent omission.
Path note: ../shared/*.md references resolve against this skill's base
directory (announced as "Base directory for this skill" when the skill
loaded), not your working directory.
The quality bar for every lens: statements someone could prove wrong — named numbers, named failure behaviors, named rejected alternatives. Virtue words ("scalable", "robust", "flexible") with no test attached are filler.
Never:
Interview yourself relentlessly about every aspect of the design until no unresolved question remains — the lenses below are the branches of the tree. Take questions one at a time, in dependency order: resolve a decision before opening the ones that build on it (storage before schema, contract before internals) — an answer stacked on an unresolved dependency is a guess, and opening many branches at once produces shallow parallel guesses. For each question, state your recommended answer, then resolve it with the strongest means available:
Do not interview the user. Questions only they could answer (product intent, priorities, external constraints) do not become blocking prompts — adopt the recommended answer, mark the assumption, and surface that short list when you present the analysis. The Q&A itself is scaffolding, not deliverable: the analysis records the decisions it produced.
Re-read the design as a skeptical staff engineer: what is the first
thing that breaks in production? Which number is least defensible?
Which alternative was dismissed too fast? If an attack lands, fix the
design, not the wording. For high-stakes or contested decisions,
dispatch a fresh peer challenge with only the draft (see
../shared/runtime-resolution.md) — the same adversarial pattern
/ship:design applies to specs.
The analysis is the deliverable: the decision first, then the load-bearing numbers, the failure modes that shaped it, the rejected alternatives, and the assumptions the user should confirm (the user-owned questions from the self-interview).
To make it durable, hand off to /ship:write-docs — it records the
decision as a design doc (design category: Boundaries required,
recommended body shape in that skill's conventions).
Output the report card (read ../shared/report-card.md for the
standard format):
## [Arch Design] Report Card
| Field | Value |
|-------|-------|
| Status | <DONE / BLOCKED> |
| Summary | <the decision, one line> |
### Metrics
| Metric | Value |
|--------|-------|
| Lenses applied | <N>/9 (<skipped lenses + recorded reasons>) |
| Alternatives rejected | <N> |
| Assumptions recorded | <N> |
| Revisit triggers | <N> |
### Next Steps
1. **Record it** — /ship:write-docs to write the design doc / ADR
2. **Plan implementation** — /ship:design to turn it into executable stories
3. **Full workflow** — /ship:auto for end-to-end delivery
评论 (0)
暂无评论,成为第一个评论者吧!