Bug triage

From stevehuang0115/crewly · View interactive version

Bug triage is an AI agent skill from the GitHub repository stevehuang0115/crewly. Triage a bug report by searching the codebase for related files and suggesting severity, priority, and assignee.

How to use this skill

Skill file

Bug Triage

Triage a bug report by searching the codebase for related files and suggesting severity, priority, and assignee role. Automates the initial classification step of bug handling.

Parameters

| Parameter | Required | Description |

|-----------|----------|-------------|

| title | Yes | Bug title or summary |

| description | Yes | Bug description with reproduction steps |

| projectPath | No | Path to search for related code (defaults to .) |

| keywords | No | Comma-separated keywords to search for in codebase (auto-extracted from title/description if not provided) |

Example

Basic triage

bash config/skills/agent/bug-triage/execute.sh '{"title":"Login form shows wrong error","description":"When entering an expired password, the form shows a generic error instead of asking to reset","projectPath":"."}'

Triage with specific keywords

bash config/skills/agent/bug-triage/execute.sh '{"title":"Dashboard crashes on load","description":"TypeError when team data is null","projectPath":".","keywords":"dashboard,team,null,TypeError"}'

How It Works

  1. Extracts keywords from the bug title and description (or uses provided keywords)
  2. Searches the codebase with grep for files containing those keywords
  3. Classifies affected area: frontend, backend, config, or tests
  4. Determines severity from keyword heuristics:
  1. Suggests an assignee role based on affected area

Output

JSON object with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.