joenandez/spectre/spectre-ship
Claude Code and agent skill by joenandez/spectre
- community
Checking that the SKILL.md file is still in the repository.
Turn completed branch work into a reviewer-ready PR: directly coordinate cleanup, rebase, one advisory full suite, repair/route failures, and spectre-create_pr. Use when asked to ship finished work. Proof is optional. Do NOT use for implementation, main/master pushes, releases, or autonomous request-to-PR delivery.
Install
npx vskill@latest install joenandez/spectre/spectre-shipSKILL.md
ship
Own cleanup, rebase, advisory suite, and draft PR.
Inputs
$ARGUMENTS: optional feature root/artifact, target (defaultorigin/main), feedback focus, or--draft; live branch/tree/remotes/PR state.
Feature root
- Reuse a managed
FEATURE_ROOTonly when explicit/current-thread evidence ties it to this work (physical directory wins; never branch/recency/lifecycle/scans); distinct work ignores ambient roots. Otherwise, including on collision, standalone MUST first load and follow@skill-spectre:spectre-feature-rootthrough DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged.
Proof independence
Proof is optional: do not inspect, infer, invoke, or gate on it. Only authority/publication-safety impasses prevent PR creation.
Outputs + DONE
- Return PR URL, commits, rebase/tested SHA, verification/repairs,
CI: pending, measurement, andPR_OPENEDstatusPASS|REPAIRED|PRE_EXISTING_FAILURES|INDETERMINATE|KNOWN_FAILURES_REMAIN.
DONE when: Prune analysts/Test testers finish their gates, then Sweep, rebase, one full suite, repair/routing, measurement relay/degradation, and PR URL. Non-green verification never prevents DONE.
Method / guardrails
- Resolve once. Confirm branch/target/set; reject
main/master. Read the exact branch; never derive work identity from branch, recency, or ambient roots — selection binds to the frozen post-rebase candidate.FEATURE_ROOTis artifact-only. Reuse unambiguous ancestralCLEANED_THROUGH_SHA. Invokespectre-workflow measure start --label Ship; below,measuremeansspectre-workflow measure. - Parallel cleanup boundary. Classify P0-P3; invoke
measure startfor Prune/Test. Load${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/prune.mdand${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/test.mdwith the set/risk/FEATURE_ROOT/--orchestrated. Skill loading imports instructions, not phase delegation: the primary owns both contracts and makes one parallel dispatch of leaf@spectre:analyst/@spectre:testerbatches; no phase child spawns agents. Neither stages/commits. Invokemeasure finishafter all batches, attaching a child identity only when singular; relay compact paths/checks and repair/route cross-boundary needs unlessNEEDS_AUTHORITY. - Sweep. Start
measure start --label "Sweep"; load${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/sweep.mdwith--orchestrated, unchanged set, and both results. It alone integrates stale/uncovered checks, repairs attributable failures, and commits; invokemeasure finishfor the Sweep snapshot. - Rebase. Start
measure start --label "Rebase"; load${CLAUDE_PLUGIN_ROOT}/skills/spectre-ship/references/rebase.mdwith target,--orchestrated --verification-owner parent; retain backup summary. No checks; invokemeasure finishfor the Rebase snapshot. - Observe one full suite after rebase. At
FULL_SUITE_SHA, derive and freeze candidate{repository, base, head, diff}asEXPECTED_BASE_SHA/EXPECTED_HEAD_SHA/EXPECTED_DIFF_SHA256. Before the first PR side effect, select against that frozen tuple withknowledge-cli.mjs work membership --branch <exact-branch> --candidate <tuple-json>; freeze itsselectedwork-ID set and reportexcluded/ambiguouswithout substituting recency. Still before Create PR, invokeSkill(spectre-work-record)per selected record: finalize a complete one withexecution.statefinalizedandremainingWorkexactlyNone.; refresh a blocked/incomplete one truthfully and never finalize it. No PR, CI, review, or readiness value entersremainingWork. Then invokemeasure start --label "Full suite"andmeasure start --label "Create PR". In parallel run the full-suite lane andSkill(spectre-create_pr)pending with target,--orchestrated --pr-phase pending, the frozen set, and the tuple; it returns a draft with local verificationRUNNING. At each end invokemeasure finishwith child identity when available. No duplicate suites or raw child output.
- Attribute failures
branch-caused|unrelated|indeterminate, preferring target-SHA CI and otherwise reproducing only the failing check at target. - Repair branch-caused families; rerun only failing/affected checks, never the full suite. Route unrelated/indeterminate findings; record repaired HEAD and
CI: pending. - Verification is evidence, never a stop condition.
- Create PR and measure. After suite call
Skill(spectre-create_pr)with target,--orchestrated --pr-phase final-update, URL/body, the same frozen set, refreshed tuple, andFINAL_VERIFICATION_SUMMARY; change Testing only. Refresh claims after repairs; onPR_CANDIDATE_STALE, refresh and retry. Once PR identity exists, re-runwork membershipagainst the final tuple after any repair; a record it no longer proves is reported, not associated. Annotate the still-selected set through onework associate --work-id <id> … --pull-request-id <id> --candidate <final-json> --pull-request <json>, replayingretry.expectedRevisionsvia--expected-revisionsuntilassociated/noopand reportingpartialremaining. Association annotates only: it never confers finality, PR state isdraft-open, never merged, and a later Execute run on this branch keeps its own record and joins this same PR only when the updated candidate proves membership. Ambiguity or capture failure returns recovery input but does not block PR. Runmeasure summary --rows … --outer-snapshot … --persist --project-dir … --feature-root "$FEATURE_ROOT" --base-sha "$EXPECTED_BASE_SHA" --head-sha "$EXPECTED_HEAD_SHA" --diff-sha256 "$EXPECTED_DIFF_SHA256"; relay table, persistence status, and history path. Persistence degradation never blocks PR completion; never inspect transcripts, track clocks, or calculate. Unattributed Prune/Test and Full suite/Create PR use one exact parallel-group total; unavailable measurement never blocks Ship.
Never use --no-verify, force-push over unrelated remote history, suppress failures, or publish evidence containing secrets/PII.
Handoff
| Handoff | Details | |
|---|---|---|
| 🧭 Current phase | Done | |
| 📦 What was just done | Result | |
| ▶️ Proposed next step | Render resolved action. |
Return PR URL + PR_OPENED/verification; review PR, CI owns merge-gating full-suite. Terminal: no handoff.
Escalate-If
- Cleanup/rebase/create-PR reports
NEEDS_AUTHORITY: no safe path exists without new user authority. - Ambiguous branch/target, unexpected remote divergence, or secrets/PII.
- Never escalate solely for test/lint/type/build failures, full-suite status, repair count, diff growth, or candidate drift that can be refreshed.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/spectre/skills/spectre-ship/SKILL.md
Popularity
- Repository stars
- 164
- Repository forks
- 16
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joenandez/spectre/spectre-ship)