Skills for Real Engineers. Straight from my .agents directory.
shipping-a-pr
Agent skill fromJetBrains/thinkrail
Use when finished work needs to ship as a pull request, or when creating, syncing, updating metadata, checking status, monitoring CI, or addressing review comments on a PR. Not for reviewing a PR you are not shipping.
How to install shipping-a-pr
npx skills add JetBrains/thinkrail# or add only this skill to Claude Code: copy the folder
packages/pi-thinkrail-workflow/skills/shipping-a-pr/
# into
~/.claude/skills/shipping-a-pr/ (all projects)
.claude/skills/shipping-a-pr/ (one project)
1# Shipping a PR23The PR lifecycle: ship the workspace's finished work, maintain PR metadata, and keep the PR healthy4when requested. One workflow, six phases as sibling docs — enter at the phase the ask names.56## Completion modes78- **Snapshot mode is the default** for creating, syncing, or updating a PR and for one-time status9 requests. Take one fresh checks and merge-state snapshot, report pending/failing/indeterminate state10 as observed, and stop without polling or fixing unrelated state. A push never upgrades the mode by11 itself.12- **Wait mode requires an explicit remote-completion ask**: monitor or watch checks, investigate CI,13 wait until green, or make the PR merge-ready. Done means every configured check is green, the head14 is current with its base, and GitHub reports an affirmative merge state; a requested draft is15 reported as draft, never merge-ready. A repo with no CI is reported as exactly that, never silently16 green.1718## Observed, never assumed (applies to every phase)1920Git and GitHub state is concurrent and mutable: the base moves, CI lags, mergeability is computed21lazily, and this workflow's own steps dirty the tree they just checked. Four rules hold at every22step of every phase:2324- **Verify at the point of action.** An irreversible step — push, `gh pr create`, `gh pr edit`,25 replying to a thread, declaring done — re-checks the exact state it consumes immediately before26…
Excerpt shown under the repository's Apache-2.0 license.
More skills in thinkrail
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
