Skip to content
Back to skills

Triage Sweep

ASecurity

Drain a stale issue + backlog queue read-only: dedup, classify each item against live code, adversarially verify every close, then apply serially. Use on /triage-sweep.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentsgobashgit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add bravros/bravros --skill triage-sweep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Triage Sweep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Triage Sweep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bravros-triage-sweep/badge)](https://www.skillsdirectory.com/skills/bravros-triage-sweep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: triage-sweep
core: true
description: "Drain a stale issue + backlog queue read-only: dedup, classify each item against live code, adversarially verify every close, then apply serially. Use on /triage-sweep."
---

# Triage Sweep — dedup → classify-vs-code → adversarial-verify → serial apply

Read [briefing.md](references/briefing.md) on demand for detailed context and instructions.

## Quick Summary & Non-Negotiable Guards

1. **Read-only fan-out, serial apply.** The workflow mutates NOTHING; every `gh` close and every ledger event is applied **serially** afterward.
2. **Evidence-gated close.** An item auto-closes ONLY when classified `already-done`/`solved-differently` with a concrete `artifact_ref` AND an independent adversarial verifier confirms it.
3. **Project guard seam.** Pass project rules via `args.guards`.
4. **Never close in-flight or defective-ledger items.**

## Workflow Execution Steps

1. **Step 0 — Preflight + materialize:**
   ```bash
   STAGING=$(bravros config get staging_branch 2>/dev/null); STAGING=${STAGING:-homolog}
   [ "$(git rev-parse --abbrev-ref HEAD)" = "$STAGING" ] && [ -z "$(git status --porcelain)" ] || { echo "STOP: HEAD must be $STAGING with a clean tree"; exit 1; }   # hard stop
   mkdir -p .claude/workflows && cp -f ~/.agent_config/skills/triage-sweep/scripts/triage-sweep.js .claude/workflows/triage-sweep.js
   ```
2. **Step 1 — Triage (parallel, read-only):** Run `triage-sweep` workflow across code, worktrees, open PRs, and `.planning/` plan folders.
3. **Step 2 — Apply (SERIAL):** Append event to `.planning/events.jsonl` or run `gh issue close`.
4. **Step 3 — Ledger + close out:** Write `.planning/sweep-ledger.md` and announce completion via `announce.sh`.

Files in this skill

  • SKILL.md1.7 KB
  • references/briefing.md5.5 KB
  • scripts/triage-sweep.js13.5 KB
  • skill.yaml6.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.