Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/backloghq/backlog/tree/main/skills/refine
SKILL.md
Refine 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
task_listwith filterstatus:pendingto get all pending tasks. -
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
dependsset. Look for ordering constraints (e.g., "write tests" should depend on the feature it tests).Tasks needing specs — complex tasks (multi-step, architectural, or ambiguous) that don't have a doc attached. Check with
task_countfilter+doc status:pendingand identify which tasks SHOULD have specs but don't.Stale tasks — tasks created long ago with no activity. Check
entrydates and annotations. Flag anything older than 30 days with no progress.Urgency 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,task_doc_write, ortask_annotateto make the changes.
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
implement
Pick up a task from the backlog and implement it. Reads the spec if one exists, starts the task, does the work, and marks it done. Use when the user wants to work on a specific task or the next available task.
tasks
Show the current task backlog — pending, active, blocked, and overdue tasks. Use when the user asks about tasks, status, what needs to be done, or what's in progress.
handoff
Prepare a session handoff — summarize progress, annotate tasks with current status, and identify what's ready for the next session. Use at the end of a work session or when the user says they're done for now.
spec
Write a detailed spec document for a task before implementation begins. Use when the user wants to define requirements, acceptance criteria, or technical design for a task.
plan
Break down a goal into actionable tasks with dependencies, priorities, and optional specs. Use when the user wants to plan work, decompose a feature, or create a task breakdown.
standup
Daily standup summary — what was completed recently, what's in progress, and what's blocked. Use when the user asks for a standup, status update, or summary of recent work.
Didn't find tool you were looking for?