sweep

Fetch Linear Todo issues, apply fixes, run builds, and update issue state.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/mattbobambrose/mattbobambrose-claude-skills --skill sweep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sweep
Source: https://github.com/mattbobambrose/mattbobambrose-claude-skills/tree/main/plugins/linear-bug-sweep/skills/sweep
Command: npx skills add https://github.com/mattbobambrose/mattbobambrose-claude-skills --skill sweep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual, time-consuming process of triaging and resolving Linear Todo issues by guiding an automated, repeatable per-issue workflow that verifies whether an issue still exists, applies focused fixes, verifies builds, and updates issue state in Linear.

Core Features & Use Cases

  • Batch discovery and prioritization: Fetch Todo issues in pages, extract key fields, exclude AI labels, and sort by priority to create a clear work queue.
  • Per-issue verification and fix loop: Inspect referenced files, confirm whether the issue still exists, propose targeted fixes, apply changes, run builds/tests, and iterate until the build passes.
  • Issue lifecycle updates and reporting: Update Linear issues with concise descriptions of findings and resolutions, close related issues when applicable, and produce a final summary table for audit and documentation updates.
  • Use case: Run this Skill to systematically clear a backlog of Linear Todo issues in a repository, fixing small defects, closing already-resolved items, and marking larger items as in-progress with notes.

Quick Start

Use the sweep skill to fetch the project's Todo issues from Linear, start from the highest priority item, verify the problem in code, apply and test a fix, and update the issue in Linear.

Frequently Asked Questions about sweep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate bug fixes for Linear issues in my repository?

Automating Linear issue triage involves fetching Todo issues in pages, sorting by priority, verifying referenced files in the repository, applying fixes, and running builds. This systematic workflow updates issue states and produces a final summary table for documentation and audit purposes.

Can I automatically prioritize and triage a backlog of Linear Todo issues?

You can automatically triage a Linear Todo backlog by fetching issues in pages, excluding AI labels, and sorting by priority to form a work queue. This process allows you to verify each issue, apply focused code fixes, run builds, and update the issue state in Linear.

What is the best way to run build verification after applying code fixes from issue triage?

Running build verification after applying code fixes involves iterating within a per-issue loop that runs builds and tests until they pass. This ensures code stability before updating the Linear issue state with concise resolution notes and closing related items.

Does automated Linear issue resolution work with existing repository files and build tooling?

Automated Linear issue resolution works with existing repository files and build tooling by requiring read/write access to inspect code and apply changes. It leverages your build tools to verify fixes and uses the Linear API to fetch, update, and save issue states with resolution notes.

How to handle already-resolved Linear issues when sweeping a repository backlog?

When sweeping a repository backlog, handle already-resolved Linear issues by inspecting referenced files to confirm if the problem persists. If resolved, close the related issues in Linear and document the findings in a final summary table for audit and documentation updates.

Why does issue triage automation require pagination and error handling for Linear APIs?

Issue triage automation requires pagination and error handling for Linear APIs because Todo issues must be fetched in pages to manage large backlogs. Robust error handling ensures the automated workflow continues processing issues one-by-one without failing during build verification or status updates.