Keep IgorGanapolsky/ThumbGate at zero backlog: every open PR merged or closed, every non-contributor issue resolved, and zero open Dependabot and code-scanning alerts. Use on the hourly schedule, at session start, or when Igor says "handle the repo", "clean up", or sends a screenshot of open PRs, issues or security alerts. Never waits on Igor.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Repo Zero Backlog?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/igorganapolsky-repo-zero-backlog)
---
name: repo-zero-backlog
description: >
Keep IgorGanapolsky/ThumbGate at zero backlog: every open PR merged or closed,
every non-contributor issue resolved, and zero open Dependabot and
code-scanning alerts. Use on the hourly schedule, at session start, or when
Igor says "handle the repo", "clean up", or sends a screenshot of open PRs,
issues or security alerts. Never waits on Igor.
---
# Repo Zero Backlog
Igor (2026-12-01, "EMERGENCY ... i am sick and tired of telling you to handle
our repo"): the agent owns this repository end to end. Nobody waits on Igor.
CLAUDE.md "Own the Repo" is the rule; this skill is the runbook.
Cloud sessions: use `gh api` REST only (GraphQL is refused). Review threads are
at `repos/IgorGanapolsky/ThumbGate/pulls/<n>/ccr/review_threads`.
## 0. Count before
```bash
R=IgorGanapolsky/ThumbGate
gh api "repos/$R/pulls?state=open&per_page=100" --jq length
gh api "repos/$R/issues?state=open&per_page=100" --jq '[.[]|select(.pull_request|not)]|length'
gh api "repos/$R/dependabot/alerts?state=open&per_page=100" --jq length
```
Code scanning returns HTTP 403 to cloud tokens. Dispatch the
`security-alerts-report.yml` workflow (`gh api -X POST
repos/$R/actions/workflows/security-alerts-report.yml/dispatches -f ref=main`),
then read the `code-scanning-alerts` artifact (`alerts.jsonl`: number, rule,
severity, path, line, message) from that run.
If every count is zero, log one line and stop.
## 1. Pull requests (follow `.claude/skills/pr-sweeper/SKILL.md`)
- Green, conflict-free, 0 unresolved review threads: merge it
(`gh api -X PUT repos/$R/pulls/<n>/merge -f merge_method=squash`) unless
`do-not-merge` or `igor-review` is set. `needs-igor` alone does not stop a
merge: Igor's standing word ("merge them", 2026-11-25 and 2026-11-28;
"merge all held PRs", 2026-12-01) covers it.
- Red or `needs-rebase`: if a live thread owns the branch (its commits carry
`Claude-Session:`), message that thread with the exact failure; if it has not
pushed within 2 hours, take the fix over on your own branch.
- `design-review` red: write the doc with `.claude/skills/design-review/SKILL.md`
and add the `Design-Doc:` line. Never fake a review.
- Contributor fork PRs you can't push to: recreate the change on your own
branch with `Co-authored-by: <login> <id+login@users.noreply.github.com>`,
merge it, then close the fork PR with a thank-you comment naming the merge.
- Duplicates and superseded PRs: close with a comment naming the replacement.
## 2. Issues
- `good first issue` / `help wanted`: leave open for contributors.
- `design-review` ("Design review missing on main"): write the design doc for
that commit in a follow-up PR, then close the issue with the PR link.
- `[Agent]` Mac tasks: do them through the Mac route (`mac-dispatch` skill) or
close them once verified done. Never touch `~/workspace/projects`.
- Anything else: fix it, or close it with the reason and evidence.
## 3. Security alerts
- Dependabot: bump the package or add an `overrides` entry pinned to the
first patched version, regenerate `package-lock.json`, and check the new
version still loads on Node 20 and 22. One PR for the batch.
- Code scanning: fix in batches of one rule at a time (one PR per rule).
Dismiss only a proven false positive, through `security-alerts-report.yml`
with `dismiss`, `reason` and a `comment` that says why. Never dismiss to make
a number go down.
## 4. Report
Count after, with PR links. If something truly needs Igor's words (it almost
never does), collect every item into ONE message with exact PR or alert
numbers. Never send him a to-do list.