Backlog refine
Review and improve the backlog — identify vague tasks, missing priorities, broken dependencies, tasks needing specs, and stale items. Use when the user wants to groom, refine, clean up, or improve their task backlog.
git clone https://github.com/backloghq/backlog
T=$(mktemp -d) && git clone --depth=1 https://github.com/backloghq/backlog "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/refine" ~/.claude/skills/backloghq-backlog-refine && rm -rf "$T"
skills/refine/SKILL.mdRefine Backlog
Review the current backlog and improve its quality. This is a grooming pass — make tasks actionable, well-prioritized, and properly connected.
Process
-
Load the backlog — call
with filtertask_list
to get all pending tasks.status:pending -
Analyze each task for these issues:
Vague descriptions — tasks that are too broad or unclear. A good description starts with a verb and is specific enough that someone could implement it without asking questions. Flag tasks that need to be broken down or clarified.
Missing priorities — tasks without H/M/L priority. Suggest a priority based on the task's description and context.
Missing dependencies — tasks that logically depend on other tasks but don't have
set. Look for ordering constraints (e.g., "write tests" should depend on the feature it tests).dependsTasks needing specs — complex tasks (multi-step, architectural, or ambiguous) that don't have a doc attached. Check with
filtertask_count
and identify which tasks SHOULD have specs but don't.+doc status:pendingStale tasks — tasks created long ago with no activity. Check
dates and annotations. Flag anything older than 30 days with no progress.entryUrgency mismatches — tasks with high urgency scores but low priority, or vice versa. These might need priority adjustments.
-
Present findings — group issues by category. For each issue, show the task ID, description, and the specific problem.
-
Fix with permission — for each category, ask if the user wants to apply the suggested fixes. Then use
,task_modify
, ortask_doc_write
to make the changes.task_annotate
Guidelines
- Don't create new tasks — refinement improves existing ones
- Don't delete tasks — flag stale ones for the user to decide
- Suggest specific fixes, don't just list problems
- If the backlog is small and clean, say so — don't invent issues