tugeru/tuge-skills/ship-slice

Claude Code and agent skill by tugeru/tuge-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Ship one vertical slice — a GitHub issue cutting a parent spec into a mergeable increment — from ticket to merged main.

Install

npx vskill@latest install tugeru/tuge-skills/ship-slice

SKILL.md

Ship Slice

Ship one vertical slice from ticket to merged main: orient, cut the branch, build, verify, review loop, ship. Run the steps in order; each step's Done when criterion is met before the next begins. A parent of many slices is /slice-relay.

1. Orient the slice

  • gh issue view <N> for the open ticket, then resolve its parent issue. Confirm every Blocked by issue is closed; stop and hand back if not. If this ticket itself has open sub-issues, it is a parent — stop and point at /slice-relay.
  • Before mapping files or creating a branch, run slice-relay's lease audit. owned proceeds. held names the verified owner and stops before Git work. claimable acquires the current worktree's lease through the shared procedure, then proceeds only after it returns owned. unverifiable or a lookup failure stops with the affected evidence.
  • The ticket's acceptance criteria are the contract; the parent's vertical-slice plan names what belongs to later slices. Read the OpenSpec change the ticket points at (openspec/changes/<name>/): tasks.md for the slice's task and commit hints, specs/ for capability specs.
  • Map every acceptance criterion to the files that will implement it.

Done when: every acceptance criterion has an owning change, and every deliberately deferred item is named with the ticket that owns it.

2. Cut the branch

  • git fetch origin, then branch from origin/main — never a stale local main, which may be checked out in another worktree: git checkout -b Tugeru/ticket-<N>-<slug> origin/main.

Done when: the branch is checked out, based on the integration base that contains all merged blockers.

3. Build the slice

  • Follow the repo reference chain (AGENTS.md → CONTEXT-MAP.md → feature CONTEXT.md → ADRs) before editing.
  • Extend existing seams; a second convention beside an existing one is forbidden.
  • Work in logical groups matching the OpenSpec task commit hints — each group becomes one commit later.
  • Run the ticket's required skills (e.g. /supabase before migration work, /tdd at pre-agreed seams).

Done when: focused tests pass and changed files are typecheck and lint clean.

4. Verify

  • pnpm test, pnpm lint, pnpm build.
  • Reproduce the CI fallow gate locally: pnpm exec tsx scripts/run-fallow-audit.ts <base-sha>; trace findings before fixing, fix only new findings in changed files.
  • DB slice: verify demo-target isolation, dry-run the push, read-only preflight counts before any destructive migration, then push, regenerate types, and re-seed idempotently. Applied migrations are frozen — fixes ship as new migration files.
  • Prisma enums missing from @prisma/client types after a model edit means a stale client: delete the store .prisma dir and regenerate.

Done when: every command passes and migration preflight counts are recorded for the PR body.

5. Run the review loop

  • Mandatory: invoke /code-review with its code-reviewer subagents against origin/main; the primary workflow must not substitute a self-review. It runs Standards and Spec as parallel read-only subagents.
  • Accept or reject every finding. Accepted findings get fixed. Rejected ones must be out-of-slice per the parent's plan — record the rationale now; it ships in the PR body.
  • Material changes restart verification, then the review loop. Repeat until a verified round reports no accepted findings.

Done when: the last round is clean on both axes, all required verification has passed after the last accepted change, and every rejection rationale is written down.

6. Ship

  • Commit the logical groups from step 3 with conventional messages (/git-commit).
  • Before pushing: git fetch origin; if the branch is behind origin/main (git rev-list --count HEAD..origin/main > 0), rebase onto it: git rebase origin/main, resolve conflicts as they arise, then re-run step 5's verification. Push only when the branch contains the current origin/main.
  • Push; open the PR with Closes #<N> and a body recording the review loop, deferred findings, and verification evidence.
  • Poll gh pr checks until green. Green CI is not the review verdict — a green Greptile check only means scanning finished. Read the PR body (gh pr view <PR> --json body) and require it to show the Greptile review is 5/5 and state clear to merge; verify every review comment thread (bot and human) is resolved before merging.
  • Merge to main; leave the parent issue untouched. If this session is a slice-relay, return to it. Otherwise name the parent's remaining open unblocked children and stop.

Done when: the slice is on main, the ticket is closed as completed, and no PR comments remain open.

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

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tugeru/tuge-skills/ship-slice/badge)](https://verified-skill.com/skills/tugeru/tuge-skills/ship-slice)

Something wrong with this skill or its page? Tell us.