flurdy

triage

0
0
# Install this skill:
npx skills add flurdy/agent-skills --skill "triage"

Install specific skill from multi-skill repository

# Description

>

# SKILL.md


name: triage
description: >
Create bead(s) from a user prompt. Investigates relevance, checks for duplicates,
and may split complex requests into multiple focused beads. Use when given a
feature request, bug report, or task description that should be tracked.
allowed-tools: "Read,Bash(bd:*),Grep,Glob,Task"
version: "1.0.0"
author: "flurdy"


Triage - Smart Bead Creation from Prompts

Analyze user requests and create appropriate beads with intelligent investigation.

When to Use

  • User describes a feature, bug, or task to track
  • Raw idea needs analysis before becoming actionable work
  • Need to check if work is already tracked or duplicated
  • Complex request might need to be split into multiple beads

Usage

/triage <description of feature, bug, or task>

What This Skill Does

  1. Investigate Relevance
  2. Search codebase to understand if request is feasible
  3. Check if the feature/fix location is obvious
  4. Identify any related existing code

  5. Check for Duplicates

  6. Run bd list --status=open to see existing work
  7. Search bead titles and descriptions for similar items
  8. Flag potential duplicates or related beads

  9. Analyze Complexity

  10. Determine if single bead or multiple beads needed
  11. Identify natural task boundaries
  12. Consider dependencies between potential beads

  13. Create Beads

  14. Create focused, actionable beads
  15. Set appropriate type (task/bug/feature)
  16. Set reasonable priority (P2 default, adjust based on context)
  17. Add dependencies if creating multiple related beads

  18. Report Summary

  19. List newly created beads
  20. Show current open beads count
  21. Highlight any duplicates or related work found

Examples

# Simple feature request
/triage Add dark mode toggle to settings page

# Bug report
/triage Users seeing 500 error when saving profile with emoji in name

# Complex request (may split)
/triage Implement user authentication with OAuth, session management, and password reset

Output Format

After triage, provide:

  1. Investigation Summary: What was checked, relevance assessment
  2. Duplicate Check: Any similar existing beads found
  3. Created Beads: List of new beads with IDs
  4. Open Beads Summary: Quick stats on current workload

Implementation

When invoked:

  1. Parse the user's description to understand intent (feature/bug/task)

  2. Quick codebase investigation:
    bash # Search for related code/files # Check if area of code exists

  3. Check for duplicates:
    bash bd list --status=open bd search "<keywords from description>"

  4. Decide on bead structure:

  5. Single focused task β†’ one bead
  6. Multi-part work β†’ multiple beads with dependencies
  7. Vague request β†’ ask clarifying questions first

  8. Create bead(s):
    bash bd create --title="..." --type=feature|bug|task --priority=2 --description="..."

  9. If multiple beads, set dependencies:
    bash bd dep add <dependent> <dependency>

  10. Report results with summary of open beads

Priority Guidelines

  • P0-P1: Critical/urgent (user explicitly says urgent, or blocking issue)
  • P2: Default for most work (standard feature/task)
  • P3: Lower priority (nice-to-have, minor improvements)
  • P4: Backlog (future work, ideas to consider)

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.