/pauls-skills:goodnightfrom pauls-skills
Paul is going to bed. Wrap up all open work without him, unattended. Drive every finished PR into dev-paul (including work from other sessions), then promote dev-paul to main through the promote skill and see the prod deploy through. Makes judgment calls instead of asking, keeps agents and sessions from hanging, cleans up, and ends with one report of what shipped and the open questions for the morning. Paul only.
Ships in pauls-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Paul is asleep until morning. Your job: deliver the best production build you can from everything that is pending, tonight, with no input from him. In order:
dev-paul, including work from Paul's other sessions.dev-paul to main with the promote skill and see the deploy and smoke test through.Arguments ($ARGUMENTS) may name PRs or sessions to include or skip, a cutoff for step 2 (default 3 hours), or notes. They override this file.
Invoking /goodnight is Paul's go. It is the go promote waits for in its section 6, for this promotion, and it authorizes merging finished PRs into dev-paul. It does not carry over to a later /goodnight or any other conversation.
Never ask. Paul can't answer. Don't call AskUserQuestion, don't open plan mode, don't end a turn waiting for a reply or approval card. When you'd have liked his input, make the call that ships the safest good build, log it as a judgment call (what you chose, why, how to undo it), and keep going.
Don't stop for context. Ignore warnings about context size or suggestions to start a new session; this session compacts on its own and that is fine. Keep a ledger (below) so compaction loses nothing.
Still off-limits, go or not. These stay blocked. When one blocks a change, ship the release without that change and put it in open questions.
main or dev-paul.main, dev-paul, or a branch another session is still pushing to.promote section 3 finds these; gate it or hold it back.main, dev-paul, or an unmerged branch.Holding a change back. A PR not merged into dev-paul simply stays open. A change already in dev-paul that can't ship (needs a prod backfill before it works, needs a missing secret, can't be gated) comes out with a release fix: hold back <feature> PR that reverts it, so the rest of the release ships. Prefer gating over reverting: a feature that is off behind its flag usually doesn't need its backfill or secret until the flag opens, so it can ship off and go on PAUL_TODO.md.
Write <scratchpad>/goodnight-ledger.md before anything else and update it at every step. It's how you pick up after compaction or a watchdog wake-up, and it becomes the report. Keep:
ready, fixing, waiting on session, merged, held back), who's on it (agent id or session id), when it last showed progress.After compaction or a wake-up, read the ledger first.
Agents and sessions hang. A completion ping that never arrives looks exactly like work still in progress, so don't trust silence. You own liveness.
The watchdog. Before launching any background work, schedule a recurring check-in into this session every 20 minutes (send_later in a cloud session, rescheduled each time it fires; CronCreate locally). Message: goodnight watchdog: read the ledger, check every in-flight item for progress, unstick anything stalled, continue. Never end a turn with work in flight unless a check-in is scheduled. Delete it at the end.
At every check-in, check each in-flight item for evidence of progress, not status text:
git fetch then git for-each-ref --sort=-committerdate refs/remotes), files changing in its worktree.get_session and the timestamp of its newest event in list_events; pushes on its branch.gh run list / gh run view status and step progress.Stalled means no new evidence for two check-ins (about 40 minutes), or 15 minutes for something that should be quick (a commit-and-push, a merge, a rebase).
TaskStop). Check its worktree and branch for work worth saving, and commit and push it rather than redo it. Relaunch once with a narrower brief. If it stalls again, do the item yourself or hold it back.interrupt_session, then send_message: "Push what you have to your branch now and reply with the PR number and what's left." Give it one check-in. Still nothing: take over from its pushed branch with your own agent, and leave the session alone (don't archive one that may hold unpushed work).gh run cancel, gh run rerun). Never an empty commit.Don't hang yourself.
timeout. Wrap long waits: timeout 20m gh run watch <id> --exit-status, or a Monitor with an until-loop. Never a bare gh run watch, sleep, or anything interactive.Repo: OPS-PIvers/SpartBoard. If it isn't in this session, add it with add_repo (push access) and clone it. Check you're acting as OPS-PIvers; if not, stop. Read CLAUDE.md and docs/DEV_WORKFLOW.md; they set how PRs merge into dev-paul (the /ship flow). Note any open dev-paul into main release PR in the ledger; promote reuses it.
Invoke the pr-sweep skill with the Skill tool, --unattended, target dev-paul, with the cutoff and any PRs or sessions named in the arguments, and follow it. It does the inventory (Paul's other sessions included), the per-PR review and fixes, the merge train and the integration gate on dev-paul, and posts the sweep record. Its ledger is part of yours: keep both in the scratchpad, and read both after compaction.
At the cutoff, anything not merged stays open, goes in open questions with where it stands, and its sessions get one line: "Release cut without this PR; leave it open for Paul."
If the sweep's verdict is not ready, fix what it names while time allows, then run its section 6 again. If it's still not ready, hold back the change it names (see "Holding a change back") rather than promoting a branch that failed its own gate. Its gaps go in the report. Then go on to step 3.
Invoke the promote skill with the Skill tool and follow it, with these changes:
release fix: PRs merge into dev-paul. Sessions still pushing to open PRs keep their PRs open.PAUL_TODO.md for Paul's wording OK, as promote already says.PAUL_TODO.md. Needed for the deploy to work, hold that change back.release fix: PR into dev-paul and run one more promote pass on that range under the same go. Do this once. Hosting rolls back by itself on a failed smoke test, so prod stays on the previous build; if the second try fails too, stop and report.Before the report:
release fix: alike). Never main, dev-paul, or anything unmerged. If deletion is blocked, put the git push origin --delete ... line in the report.End with one message in this thread. It's the only thing Paul reads in the morning, so it has to stand on its own:
PAUL_TODO.md items promote added, by ID (Previews rows to save, wording OKs, flags to open, prod steps), plus any branch-delete command.Short lines, no file dumps. Keep the scratchpad ledger path in the report in case he wants the detail.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ops-pivers/claude-skills --plugin pauls-skills41 skills in this plugin
/aim-higherTake a task, research how top practitioners in its field work, push it to go deeper across altitude, depth, range and verification, grill the user until the plan is settled, then do the work and prove it worked with real measurements./animateBuild an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations./