ss-ship
Skill2 starsChanged 5 months agoMITView on GitHub
Take a feature request from idea to reviewed, ready-to-commit code in one run — spec → plan → coding → review (+ debug on defects) — without asking at each stage. Use when given a request like "/ss-ship implement login", "ship this feature", "do the whole flow for X", "làm hết flow cho chức năng X". Orchestrator over the stage skills; never runs ss-explore-source.
In this repository14 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- ss-archive-taskSkill
- ss-codingSkill
- ss-debugSkill
- ss-explore-sourceSkill
- ss-pause-taskSkill
- ss-planSkill
- ss-researchSkill
- ss-resume-taskSkill
- ss-reviewSkill
- ss-specSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Not for codebase exploration: this skill never runs ss-explore-source.
- Distinctive: line 34
Stop, checkpoint, and report (never push through) when:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ship
Goal: given a feature request (e.g. /ss-ship thực hiện chức năng login), drive the task through the whole pipeline in a single run — spec → plan → coding → review, attaching debug whenever a defect appears — stopping only when genuinely blocked.
ss-ship is an orchestrator, not a stage: it doesn't replace the stage skills, it invokes them in order and carries the user's consent across the handoffs where each stage would normally stop and ask. Invoking ss-ship is that consent, granted once for the whole task.
When to use
- The user hands you a feature request, ticket, or PRD — anything the
ss-specskill could consume — and wants it taken all the way to reviewed code. - Also works mid-pipeline: if the task already has artifacts (a confirmed
spec.md, an approvedplan.md), start from the first incomplete stage instead of redoing finished ones. - Not for codebase exploration: this skill never runs
ss-explore-source. Ifdocs/onboarding/*is missing and the codebase is unfamiliar, tell the user to run it first rather than shipping blind.
Shared task state
Part of the task pipeline — see ../WORKFLOW.md for the full contract. Every rule there (artifacts, IDs, preconditions, traces, lessons) applies unchanged; the only thing ss-ship overrides is the per-handoff "ask the user" step.
- Hydrate: if the request matches an existing task (explicit
TASK-<ID>, or one in conversation), resume it from its current stage; otherwise thespecstage will open a new task. If that named task is shelved (status: paused, or found undertasks/archive/), un-shelve it first exactly asss-resume-taskdoes (restore the folder and/or flippaused→active, with the dated log trace) before advancing. Readtasks/LESSONS.mdif present. - Checkpoint: each stage skill does its own checkpointing. Additionally, log every auto-advance as a dated Pipeline Log line in
task.md, e.g.- <YYYY-MM-DD HH:MM +TZ> ship: auto-advanced spec → plan— carrying your agent label (format:../WORKFLOW.md→ Agent handoff).
Method — run the stages
Invoke each stage skill via the Skill tool, in order, starting from the first incomplete stage. Follow its playbook fully — artifacts, templates, gates, traces — except its "ask the user" points, which ss-ship overrides as follows:
ss-spec— formalize the request intotasks/TASK-<ID>/spec.md(opens the task). Resolve what the request and the codebase answer; anything underspecified but non-blocking becomes an entry in Assumptions (or a non-blockerQ#with its proposed default taken). Setstatus: confirmedand continue. An open blockerQ#is a hard stop — blocker questions are the one thing autopilot never answers itself. Verifiability gate (replaces the skipped human confirmation): before auto-advancing, everyAC#must carry a concreteverify:check and everyR#must be covered by at least oneAC#(per thess-specskill's confirmation gate). Autopilot has no human sign-off to lean on here, so these objective checks stand in for it — anAC#with no runnable verify or an uncoveredR#is a hard stop, not an auto-advance.ss-plan— produceplan.mdas the skill specifies. Approval is delegated: setstatus: approveddirectly (don't use EnterPlanMode) and log it. If planning surfaces something that changes the spec's scope, that's a hard stop, not a silent re-plan. Verifiability gate: before auto-advancing tocoding, everyS#must list at least onecovers:ID and an executableverify:(a runnable command/test, not prose), and — coverage running both ways per thess-planskill's approval gate — everyR#/AC#inspec.mdmust be covered by at least one step. A step whose check can't be run, or a spec ID no step covers, is a hard stop — autopilot won't hand the coding loop a blurry target.ss-coding— don't ask TDD vs conventional: apply the skill's own default (whatever the codebase already does). Implement everyS#, verify, tick. Deviation under autopilot: small deviations follow thess-codingskill unchanged (inline note + Change History). A structural deviation (the approach doesn't work) triggers the plan re-approval thess-codingskill requires — underss-shipthat re-approval is delegated like the original: re-runss-planfor the affected steps, logship: re-planned (approach change), and continue. Once per run — a second structural re-plan means the spec's ground truth is off, and that's a hard stop, not another silent pivot. If the deviation touches the spec's scope, it's a hard stop regardless.ss-debug— on a non-obvious failure at any point, invokess-debug, fix to root cause, then resume the interrupted stage directly — no "resume?" question.ss-review— full gate +AC#verification.approved→ done.changes-requested→ loop back toss-coding(orss-debugfor a defect) automatically with the Findings as input, then re-runss-review. Cap: 2 loop-backs. A thirdchanges-requestedis a hard stop.
Hard stops — hand back to the user
Stop, checkpoint, and report (never push through) when:
- A blocker
Q#is open, or a stage reveals the spec's scope is wrong. - The request is too big for one run: the spec turns out to hold multiple unrelated goals, or the plan balloons past what one review can meaningfully verify (roughly >10 steps). Propose a split into separate
TASK-<ID>s with a suggested order instead — small verifiable increments beat one mega-run whose review rubber-stamps. - The structural re-plan budget is spent (one per run — see
ss-codingabove). - The verifiability gate fails: an
AC#with no runnableverify:, or anS#with no executableverify:— autopilot can't self-confirm an unverifiable criterion, so it hands back instead of advancing blind. - The next action is destructive or hard to reverse: data/schema migrations on real data, deleting things the task didn't create, anything outward-facing.
- The review loop cap is hit, or a gate can't be made green.
- As always: never run
git add/commit/push—review.mdcarries the drafted commit/PR message for the user.
On a hard stop, make sure task.md reflects the true stage/status and the Pipeline Log says why autopilot stopped — any stage skill can then resume manually from that state.
Not an external phase
ss-ship is autopilot: it deliberately runs the whole pipeline in one go. That makes it the opposite of external orchestration, where the launcher owns the pipeline and each agent runs exactly one phase and stops (../WORKFLOW.md → External phase execution). An orchestrator therefore never launches ss-ship, and ss-ship is never a value of --phase — it launches spec/plan/coding/review/debug individually instead. Nothing here changes for interactive users: ss-ship stays the normal autopilot entry point.
When done
One final report covering the whole run: stages executed, key assumptions made in the spec, AC# verification results, gate results, files changed, bugs hit (BUG#), deviations from the plan, the drafted commit message from review.md, and follow-ups. The task is done only when review says approved.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

