/dev-pipeline:finish-ticketfrom dev-pipeline
Wrap up after implementation: cleanup, dev_checks, e2e, changelog, PR ready, monitor feedback, wait for merge. Use when joining mid-flow after implementation. /dev does this automatically.
Ships in dev-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Takes over from "implementation complete" and drives through to merge. The human makes the merge decision. Once merged, closes out tracking. Use this when joining a session mid-flow. /dev runs this automatically as part of the full pipeline.
Commit early and often. Push after every commit.
style: fix lint/formatting)Run pwd. Must contain .claude/worktrees/.
If not: STOP with error.
dev/OBJECTIVE.md for the goal, tracking info, and Trello referenceRun unit tests: uv run pytest tests/unit_tests/ -v
If tests fail: fix them. Do not proceed until unit tests pass. Commit and push any fixes.
Invoke the /cleanup skill to fix code quality issues. Wait for completion.
Commit and push cleanup fixes immediately (style: cleanup pass).
Execute "$(git rev-parse --show-toplevel)/scripts/dev_checks.sh".
style: fix lint/formatting), then proceed.Check if the changes warrant e2e tests.
If appropriate:
docker compose ps — offer "$(git rev-parse --show-toplevel)/scripts/quick_start.sh" if not runningIf changes are purely internal with no API surface change, skip with a note.
Dispatch the docs-drift-review agent before promoting the PR. The agent diffs the branch against its merge base, finds prose/config that contradicts the new state, and fixes the unambiguous cases directly.
Agent({
description: "Doc-drift sweep before PR ready",
subagent_type: "docs-drift-review",
prompt: "Review this branch for doc drift. Merge base: <PR base branch, fall back to origin/main>. Goal: catch stale env vars, removed identifiers in ARCHITECTURE.md, deleted config keys still in READMEs, etc. Fix unambiguous contradictions; report judgment calls."
})
If the agent edited files, commit and push (docs: fix drift). For the "Needs judgment" items, address obvious contradictions; defer truly substantive rewrites unless they block the PR.
This step is non-negotiable — the dev-pass author rarely sees their own drift, which is the whole reason this agent exists.
If a changelog fragment doesn't already exist for this branch:
feat→Features, fix→Fixes, refactor→Refactors, else→Chores & Docs)gh pr view --json number --jq .numberchangelog.d/<branch-name>.md with frontmatter (see changelog.d/README.md)dev/OBJECTIVE.mddev/NOTES.mdgit add -A
git commit -m "chore: <objective-handle> is ready"
git push
gh pr ready
This phase loops until the PR is approved and all checks pass.
gh pr checks <number>
gh pr view <number> --json reviews,comments,state,reviewDecision
If checks failed:
gh run view <run_id> --log-failedFetch comments:
gh pr view <number> --json reviews --jq '.reviews[] | select(.state != "APPROVED") | "\(.author.login) (\(.state)): \(.body)"'
gh api repos/<owner>/<repo>/pulls/<number>/comments --jq '.[] | "\(.path):\(.line // .original_line) — \(.user.login): \(.body)"'
For each comment:
fix: address review — <summary>)If approved and checks pass: tell the user the PR is ready to merge. Do NOT merge.
If changes requested or checks failing: loop back to step 12.
If waiting for review: tell the user and ask if they want to wait or come back later.
After promoting the PR (Step 10) or after addressing feedback, launch the background PR monitor (same pattern as /pr Step 6). This monitors CI, comments, reviews, and merge conflicts every 90 seconds and alerts when action is needed.
When an alert fires, loop back to Step 12 (CI failures) or Step 13 (comments/reviews) as appropriate.
Monitor PR state. When MERGED:
If a Trello card was linked:
~/bin/trello move <CARD_ID> <DONE_LIST_ID>Ticket complete:
PR: <URL> (merged)
CHANGELOG: <entry>
Trello: <moved to Done / not linked>
Done.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jaidhyani/jai-cc-plugins --plugin dev-pipeline4 skills in this plugin
/address-prMid-review entry point: fetch PR comments and CI failures, address them, validate, push. Use when jumping into an existing PR. /dev handles this automatically./devEnd-to-end autonomous development: goal → plan → TDD → implement → validate → PR → address feedback → wait for merge → close tracking. Human approves plan and merge only. Example: /dev implement rate limiting/start-ticketTicket kickoff only (setup + plan + draft PR + failing tests). Use /dev for the full autonomous pipeline. Accepts goal or Trello card. Example: /start-ticket implement rate limiting