/dev-skills:sweep-gh-unreadfrom dev-skills
Use this skill when the user asks to sweep, clear, triage, or clean up GitHub notifications. Triggers include "sweep my GitHub notifications", "clear my GitHub inbox", "mark the finished notifications as done", and "what needs my action on GitHub". Other triggers include "which PRs wait for me" and "sweep notifications in acme/api". The skill classifies each notification thread and asks the user to confirm. It then marks the threads without an open action as done. It lists action items for the user's PRs and for reviews of other PRs. The user can limit the sweep to an owner or an owner/repo. Do NOT use this skill to review one PR (use pr-review), to write a PR description (use pr-gen), or for Slack or email notifications.
Ships in dev-skills. 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.
Read when SKILL.md points to them; scripts run unread.
The sweep has five steps: scope, collect, decide, confirm, and mark.
The script scripts/sweep.py makes all GitHub calls and applies the deterministic rules.
You decide only the rows that need judgment.
sweep.py mark. Do not call gh api -X DELETE directly.Each scope is an owner (an organization or a user) or an owner/repo.
No scope means all notifications.
Change a natural-language request into scope arguments. For example, "sweep acme/api and globex" becomes acme/api globex.
A name without a slash is an owner. Ask for the owner if the user names only a repository.
Run this command from the current directory:
python3 <skill-dir>/scripts/sweep.py collect [SCOPE ...]
The script prints the run directory and a numbered table. It also writes <run>/threads.json.
Each row has the result done, action, or judge, and a rule number.
Read the rules if a row looks wrong or the user asks why a rule applies.
The script prints a warning if it cannot read your teams. Tell the user that the sweep then misses team review requests.
If a scope gives no threads, tell the user. Ask if the scope needs the owner/repo form.
A judge row has replies after your last note on the PR or the issue.
The script prints the last replies. threads.json holds all of them.
Read each reply, and decide if it needs an answer or a fix from the user:
If an answer is necessary, use the if_answer result of the row. If not, use its otherwise result.
If you are not sure, use if_answer.
Write the proposal with the proposal template. Keep the row numbers from the script. Then stop, and wait for the reply of the user. The user can reply in these ways:
yes: mark all proposed done rows.keep N, N: move those rows to the action items. Then mark the other proposed done rows.done N, N: add those rows to the done rows. Then mark all done rows.no: mark no rows.The user can use keep and done in one reply. Ask again if the reply is not clear.
Show the proposal even if the request says "do not ask". The user wants to see each decision before the mark.
Run this command with the confirmed done rows:
python3 <skill-dir>/scripts/sweep.py mark --run <run> --rows 3,5,8
The script classifies a changed thread again, because your own review also changes it.
It lists the thread under changed if a new action exists.
It writes one line for each row to <run>/actions.log.
Write the final report with the report template.
all=true, the API also gives the threads in the Done view.UNKNOWN can still occur.E1 action row. Run the collect step again later.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sebastianelvis/dev-skills --plugin dev-skills4 skills in this plugin
/pr-genUse this skill when the user requests a GitHub PR title or description for the current branch. Triggers include "write the PR description", "update the PR", "summarize this branch for review", and "match our PR template". Other triggers include "draft a PR", "retitle the PR", and "regenerate the body". The skill verifies the final diff and produces concise Simplified Technical English. Do NOT use this skill for changelogs, release notes, issue summaries, or code review./pr-reviewUse this skill when the user requests a review of another person's GitHub PR. Triggers include "review PR 123", "is this safe to merge", and "check this PR's design". Other triggers include "does this break the protocol" and "does this solve the issue". The review checks the problem, specification, architecture, necessity, root cause, correctness, security, and project rules. The human confirms the specification, problem, and approach before the detailed review. Do NOT use this skill for an uncommitted local diff, a PR description, or a lint check./visualize-archUse this skill to create or update verified architecture figures from a software repository. Use it for system overviews, components, actors, database schemas, user stories, and data or control flows. Use it to plan figure sets, improve diagram quality, or refresh figures after code changes. Use it for publication figures with editable TikZ and vector outputs. Do NOT use it for charts, dashboards, interface mockups, class diagrams, isolated call sequences, or decorative illustrations.