agentleFS
odytriceodytrice/metaskills/skills/backlog-refine/SKILL.md

backlog-refine

Skill1 starsChanged 14 days agoMITView on GitHub

Refine issues in dependency-ordered waves with a human approval gate. Use to groom, refine, triage, or clear a backlog batch.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only issue-refine moves an item to ready, updates a body, or splits (parent kept, native sub-issues).

    line 19
  2. Distinctive:

    Do not close, relabel, or reassign beyond what the user approved at the gate.

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Backlog Refine

Batch orchestration of issue-refine; use it directly for one issue.

Project facts from AGENTS.md: § Project Board (which status is backlog, which is ready), § Repositories, § Code Layout & Tech Stack. Missing section: name it and stop.

Scope: backlog status by default; otherwise issue list, label query, or milestone. Explicit board: none is valid per issue-plan: skip board operations, report refinement without transition; stop without explicit scope. Missing board facts: stop.

Rules

  • Apply dev-cycle § Subagent Dispatch to every worker and re-dispatch: foreground by default, background only on explicit user request. Same-wave concurrency does not imply background permission.
  • Non-interactive workers return questions and already-clear items; the caller holds the user gate and re-dispatches with answers.
  • Mandatory human gate: no fan-out beforehand, refinement with unanswered questions, or invented scope. "Skip", "defer", and "close" are valid answers.
  • Only issue-refine moves an item to ready, updates a body, or splits (parent kept, native sub-issues). This skill writes nothing but .tmp-* body files.
  • Do not close, relabel, or reassign beyond what the user approved at the gate.

Flow

  1. Enumerate all pages: gh api --paginate 'repos/<owner>/<repo>/issues?state=open&per_page=100'; exclude pull_request entries and apply scope filters. For boards, use issue-plan § Board Status Transitions' complete lookup, filtering to consuming-repo Issues then backlog status. Incomplete enumeration: stop. Retain canonical URLs/repo identity in tracking and dispatch; scope number-based commands to § Repositories; reject explicit outside targets. Flag obsolete/duplicate items, never drop them.
  2. Map scope and parent/child dependencies from issue text and a quick code search. Wave 1 has no unresolved dependencies; later waves depend only on earlier ones; same-wave items are independent.
  3. Assess the What using issue-refine dimensions: body, comments, labels, linked context; code only for feasibility. Surface all material ambiguity, not just blockers; defer design to issue-plan.
  4. Gate once: numbered questions grouped by wave/item, ordered by wave, priority, age, plus go-ahead; list bugs needing diagnosis (issue-refine § Bugs) with go-ahead to diagnose. Stop for answers; approval covers only cleared items.
  5. Track item, wave, state (needs-answers / needs-diagnosis / clarified / refined->ready / skipped / deferred), notes; in this conversation, never in a project file.
  6. Diagnose approved needs-diagnosis items with one architect issue-diagnose worker each, then refine them in a later wave. Refine waves with one issue-refine worker per item (sequentially here if unavailable). Pass clarifications as facts, go-ahead as approval, and unique .tmp-refined-body-<number>.md paths. Start only after prerequisite items are refined; split parents precede children in later waves.
  7. Confirm each item reached ready (issue-refine verifies), or was refined with board: none; record failures honestly.
  8. Report: refined and readied; diagnosed (RCA links); skipped, deferred, closed; still blocked on answers; wave structure; recommended next batch.

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.