Triage a bug by exploring the codebase to find root cause, then create a Jira ticket with a TDD-based fix plan. Use when user reports a bug, mentions "triage", or wants to investigate and plan a fix.
From claude-toolkitnpx claudepluginhub johwer/marketplace --plugin claude-toolkitThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Investigate a reported problem, find its root cause, and create a Jira ticket with a TDD fix plan. This is a mostly hands-off workflow — minimize questions to the user.
$ARGUMENTS
If no description is provided, ask ONE question: "What's the problem you're seeing?"
Do NOT ask follow-up questions. Start investigating immediately.
Use the Agent tool with subagent_type=Explore to deeply investigate the codebase. Your goal is to find:
Look at:
git log --oneline -10 -- <file>Stack-aware investigation:
apps/web/src/ — components, hooks, RTK Query slicesservices/<Service>/ — controllers, services, repositoriesBased on investigation, determine:
Create a concrete, ordered list of RED-GREEN cycles. Each cycle is one vertical slice:
Rules:
Stack-specific test patterns:
Create a new bug ticket in Jira using ACLI:
# Create the ticket
acli jira workitem create \
--project PLRS \
--type Bug \
--title "<concise bug title>" \
--body-file /tmp/triage-<slug>.txt
Write the body to /tmp/triage-<slug>.txt first using this template:
TRIAGE: <TICKET_TITLE>
======================
PROBLEM
-------
What happens (actual behavior):
<describe>
What should happen (expected behavior):
<describe>
How to reproduce:
<steps if known>
ROOT CAUSE ANALYSIS
-------------------
<Describe the code path and why it fails. Use module/layer names,
not file paths — those change. Describe behaviors and contracts.>
TDD FIX PLAN
------------
1. RED: Write a test that <expected behavior>
GREEN: <minimal change to make it pass>
2. RED: Write a test that <next behavior>
GREEN: <minimal change to make it pass>
REFACTOR: <Any cleanup after all tests pass>
ACCEPTANCE CRITERIA
-------------------
- [ ] <criterion 1>
- [ ] <criterion 2>
- [ ] All new tests pass
- [ ] Existing tests still pass
After creating the ticket, print the ticket key (e.g. PROJ-1234) and a one-line summary of the root cause.
Ask the user:
/workspace-launch <TICKET_KEY>)"