/tend-ci-runner:weeklyfrom tend-ci-runner
Runs weekly maintenance: reviews dependency PRs from Dependabot/Renovate and executes repo-specific weekly tasks. Useful for keeping dependencies up-to-date safely.
Ships in tend-ci-runner. 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.
/tend-ci-runner:run-tend first, including its repo-specific overlay for Step 3./tend-ci-runner:review-runs's references/parallel-maintenance.md to divide the sweep's work./tend-ci-runner:post-to-github before composing comments or reviews./tend-ci-runner:review's references/approving.md before approving./tend-ci-runner:dismiss-approval if an earlier bot approval must be withdrawn./tend-ci-runner:merge-pr for each safe dependency PR's landing decision.gh pr list --state open --limit 200 --json number,title,author,labels \
--jq '.[] | select((.author.login | IN("app/dependabot", "app/renovate", "dependabot[bot]", "renovate[bot]")) or (.labels | any(.name == "dependencies")))'
gh reports a bot PR's author as app/dependabot; dependabot[bot] is the commit author. Both spellings stay in the filter so it holds whichever form a gh version returns.
If no dependency PRs are open, note "0 dependency PRs to process" and continue to Step 3 — do not exit; repo-specific weekly tasks may still be due.
Check CI status: gh pr checks <number>
If CI is passing, review the release notes, diff, and affected uses for compatibility. Check relevant behavior that CI does not cover.
If the update is compatible and verified, run the approval check in /tend-ci-runner:review's references/approving.md, then check whether the bot has already approved this commit before approving — a dependabot PR open across multiple weekly runs (or already approved by tend-review on creation) would otherwise accumulate redundant approvals on the same commit_id:
tend runtime bot-review-state \
prepare-approval <number>
If already_approved is true, skip posting another approval. Otherwise
compose $TMPDIR/review-body.md per
/tend-ci-runner:post-to-github. Give the
reviewer the context for the approval: the upgrade's scope and the evidence
relevant to its safety. Keep it concise and omit the inspection chronology.
Use a file rather than an inline --body because a
package name written as inline code puts a backtick in a double-quoted
argument, and bash runs the span as a command. Then post, re-reading the sha
from disk, since shell state didn't survive the Write:
# `commit_id` pins the approval to the commit that was checked. Unpinned,
# GitHub anchors it at whatever is live when the POST lands — an approval
# of code nothing checked, on a PR `nightly` rebases on purpose. Read the
# sha first and bail if it isn't there: inlined as `$(cat ...)` a missing
# file substitutes the empty string and the POST still runs, which is the
# unpinned approval this pins against.
CHECKED=$(cat "$TMPDIR/checked-head-<number>") || exit 0
gh api "repos/{owner}/{repo}/pulls/<number>/reviews" --method POST \
-f event=APPROVE -f commit_id="$CHECKED" -F body=@"$TMPDIR/review-body.md"
For either path, follow After the approval in
/tend-ci-runner:review's references/approving.md before the next PR.
Pin it to head_sha returned by prepare-approval; an already-approved
head has no checked-head-<number> file.
If CI is failing, comment the failure summary per /tend-ci-runner:post-to-github and skip
If compatibility remains unresolved, investigate it. Where a required migration or product decision remains, report the specific blocker per /tend-ci-runner:post-to-github and skip approval.
On either skip path (4 or 5), dismiss an approval that predates the newest rewrite before you leave, per /tend-ci-runner:dismiss-approval. Both paths are reachable because a rebase changed something, and neither passes through item 3's guard — so the pre-rewrite approval stays the bot's latest review, re-anchored onto the current head, and the PR still reads as bot-approved while you comment that it isn't mergeable:
tend runtime bot-review-state \
dismiss-stale <number> \
"Rebased since this approval; the new head is unreviewed."
A dismissed review reports DISMISSED rather than APPROVED, so the filter stops matching it and a later run re-dismisses nothing.
Perform any weekly maintenance the loaded running-tend overlay defines, following the repo's PR title conventions. If it defines no weekly tasks (or none are due this week), say so in the summary.
Report: dependency PRs processed/approved/skipped (with reasons), and repo-specific weekly tasks completed (or "no repo-specific weekly tasks defined" / "no weekly tasks due").
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub max-sixty/tend --plugin tend-ci-runner24 skills in this plugin
/act-in-other-reposAct in another repository. Use before filing an issue, commenting, or contributing anywhere other than this repo./check-requester-accessCheck a requester's access tier. Use when a request aims you at someone else's work — close, lock, label, revert, dismiss, push./code-reviewStructured second pass over a diff — correctness and cleanup angles, a verify pass, ranked findings returned to the caller./continue-prContinue an unfinished PR with no human author, including red CI and unresolved findings after a prior response or review./dismiss-approvalDismiss a standing bot approval. Use when you conclude that a PR the bot approved should not merge./fix-a-bugWrite a code fix for a bug. Use before writing any fix, whichever workflow you are running.Other plugins' skills for the same job