agentleFS
felipeam86felipeam86/pipe-skills/skills/sweep/SKILL.md

sweep

Skill18 starsChanged 11 days agoMITView on GitHub

Assess every Backlog and Todo issue of a project, or the issues the user names, with one fresh subagent for each issue, report the verdicts, and apply only the verdicts the user approves, as a review comment, a rewrite, a close, or a cancel. Use only when the user runs /pipe-skills:sweep, or says "sweep the backlog", "check the backlog for stale issues", or "apply the verdict of ABC-123".

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use incident, adr and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JkudjoSkill

    incident

    Production incident response — structured triage, hypothesis tree, safe remediation, incident record

    Also in 3 projects that use this

  • asterkinSkill

    adr

    Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.

    Also in 4 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 5 projects that use this

  • MicrosoftSkill

    diagnose

    Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns

    Also in 4 projects that use this

  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 4 projects that use this

The file

Files
SKILL.md

Sweep the backlog

You are the orchestrator. You do not judge an issue yourself. The project CLAUDE.md names where it tracks work. Read the tracker file for it, ${CLAUDE_PLUGIN_ROOT}/trackers/linear.md or ${CLAUDE_PLUGIN_ROOT}/trackers/github.md, and run each operation below as that file says.

Post no comment and change nothing in the tracker before the user approves the rows. This holds also when the user names one issue.

Scope

  • The issues the user names, in Backlog or Todo; name each other one and say that it is out of scope. Else every issue of List the backlog, in the scope of the tracker line.
  • The reference branch <ref> is the branch you stand on. Pull it once, here, with git pull --ff-only, so that the subagents do not pull at the same time. When the pull fails, say so, and check the branch as it is.
  • Skip an issue that did not change since its last review: its last comment is the review comment of pipe-skills:assess, that comment names <ref> as its branch, compared without the origin/ prefix, git merge-base --is-ancestor <sha> <ref> succeeds, the comment holds the hash that Hash the description gives now, and git log <sha>..<ref> -- <paths>, with the SHA and the paths of that comment, finds no commit. A review on another branch says nothing about <ref>. The hash catches an edit of the description, and the last comment catches a word of the user, which the edit date cannot tell apart from the review comment. Never skip an issue that the user names.
  • State the scope in one line: the number of issues to assess, and the skipped issues with the date of their last review.

Assess

Start one fresh subagent for each issue with the Agent tool, at most eight at a time, with the model of this session and the prompt below. Do not fork, so that each subagent starts clean. It only reads, so it needs no worktree. When one ends without its report, ask it for the report with SendMessage.

Assess the issue <identifier> of <root>. Read ${CLAUDE_PLUGIN_ROOT}/skills/assess/SKILL.md and the tracker file <tracker file>, and follow them. The reference branch is <ref>, already pulled: do not pull. Change no file and nothing in the tracker. End with this report and nothing more: the verdict and one line of reason; The code says, at most five bullets, each with its proof; Your call, one question or none; Proposed change, with the full new text of each section that changes for drifted; the checked commit SHA; the checked paths.

Report

Report the verdicts in the conversation, in the form that suits the case: one numbered row for each issue (identifier, title, verdict, reason, proposed change) when the issues are many, and the full report of each issue when they are few. Put first the rows with a question for the user. Then ask which rows to apply, and wait. The user can approve a row, reject it, or change its verdict.

Apply

For each approved row only, run Apply a verdict of pipe-skills:assess, which ends with the review comment that the skip rule reads. A rejected row gets nothing. Report each row that you applied, with its link, and each row that failed with its reason.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.