stack-ship
БесплатноБез исполняемых скриптовНе проверенUse only for a standalone stack explicitly launched with `relay --workflow stack-ship`; never invoke inside a tech-lead-managed Relay program. Decompose one…
от ronaknnathani★ 44 звезды на GitHubОб этом скилле
Stack Ship
Drive a design or feature goal from intake to "all PRs merged" with near-zero steering. The orchestrator is a router, not a worker: it owns the plan, state, delegation, and author-facing decisions; subagents own execution and return structured digests.
The guardrails are non-negotiable — read them before acting.
Throughout this skill
masterdenotes the repository's default branch; substitute the real default (main, etc.). Auto-merge is armed only on a default-branch-based PR — which, in a stack, is exactly the front PR.
The one-paragraph model
You (orchestrator) turn a goal into an acceptance-criteria list and a stacked PR plan
(api → utils → stitch, smallest single-intent PRs). You spawn a deliver-pr sub-agent per PR to
run the full single-PR pipeline and open the PR. You drive whichever PR currently sits on master (the
front of the stack) to merged by pointing the relay pr watch runtime at it with yourself as the
owner and running pr-monitor once for each digest it wakes you with, and you add only the
stack-specific front-advance and cascade. You never write code, never post in your own voice, never
approve, never make author-owned design decisions, and never install unreviewed tooling — you route
work and surface questions. You stop when every acceptance criterion is met and every PR is merged.
When to use / not use
- Use for a multi-PR feature with a clear goal and a discoverable current→desired delta.
- Use again / resume for an active stacked delivery run. On resume, reconstruct state, make sure exactly one watcher is running for the current front project, and handle any digest it already recorded — the author should not have to type a special "monitor-tick mode" prompt.
- Don't use for a single small change (just do it), or when the goal/delta is too vague to write
acceptance criteria — first run
brainstorming/ ask the author to sharpen the goal.
Operating principles (the orchestrator's contract)
- Delegate everything executable. If a step writes code, runs tests, posts a comment, rebases, opens/updates PRs, posts GitHub comments, resolves threads, or reads more than a couple of files, it belongs in a subagent. The orchestrator reads digests, updates state files, and decides what to delegate next. Model: spawn every subagent with the default configured model (inherit it — don't pin a tier); only override the model when the user has stated a preference for these subagents.
- One state writer. The orchestrator is the canonical writer for the run's state files. Worker subagents return structured digests; they do not append to shared state files directly. If a delegated loop controller owns a tick, it assumes this same singleton state-writer role for that tick.
- State lives in files, never only in context. Every tick and every PR is idempotent and
resumable because the truth is on disk (state files): human-readable
Markdown plus machine-readable
state.json. - One writer per branch, ever. Never run two subagents that push the same branch at once. Serialize. (A concurrent double-push was a real near-miss.)
- Surface, don't decide. Author design/scope calls get two things: a PR reply asking for input
(marked, on the thread), and a row in the pending-decisions table the orchestrator keeps
in
questions.md. Never a unilateral decision. When unsure whether something is a fix or a decision, treat it as a decision and surface it. The orchestrator shows the author this table — open decisions only — whenever it changes; resolved decisions drop off the table. - Never impersonate. Every PR comment is prefixed
🤖 <agent> on behalf of <author>, and PR bodies/status posts disclose agent authorship instead of implying the author wrote them. - Approval is the only merge gate. Auto-merge, armed only on master-base PRs, fires on a genuine
human code-owner approval. Never self-approve, never
gh mergedirectly. - Approved tooling only. Use only approved/verified skills, hooks, MCP integrations, and tools already available in the environment. Never install or run unreviewed third-party plugins/hooks/scripts from the internet during this workflow.
- Set the goal in every harness. The session's launch input must set
/goal <the user's requested outcome>using the original task, not instructions to run the stack-ship workflow. Relay project artifacts andrelay stateremain the durable source of truth for executing and resuming the workflow. Never replace this native goal with the file-only fallback. Detect recurring-run capabilities once and record them instate.json. Front-PR coverage does not depend on them:relay pr watchobserves the front PR and wakes you, so a/loopor an approved scheduler is only
Установить stack-ship в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл stack-ship?
Use only for a standalone stack explicitly launched with `relay --workflow stack-ship`; never invoke inside a tech-lead-managed Relay program. Decompose one goal into small PRs, delegate build and monitor work, surface author decisions, and auto-merge only after human approval.
Как установить скилл stack-ship?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stack-ship запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic