From refinery
Use when creating a well-structured bug report with root cause analysis. Use when user says 'create bug', 'report bug', 'log bug', 'new bug', or describes a defect.
npx claudepluginhub weorbitant/workbench-dev --plugin refineryThis skill is limited to using the following tools:
Read `${CLAUDE_PLUGIN_ROOT}/config.yaml`.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Read ${CLAUDE_PLUGIN_ROOT}/config.yaml.
If it does not exist, tell the user to copy config.example.yaml to config.yaml and fill in their values. Stop here.
Extract:
issue_tracker — determines which adapter to loadjira.default_project, jira.default_bug_epic)Read the adapter file at ${CLAUDE_PLUGIN_ROOT}/skills/create-bug/adapters/{issue_tracker}.md.
If the adapter does not exist, tell the user that {issue_tracker} is not yet supported and stop.
All tool-specific calls come from the adapter. Do not invent tool calls.
If $ARGUMENTS contains a brief description, use it as the starting point. Otherwise, ask.
Gather the following through conversation:
Do NOT ask all questions at once. Start with what the user already provided and only ask for what is missing. Be conversational.
Based on the gathered information, analyze and propose:
Present this analysis to the user for validation before creating the ticket.
Use the adapter's search command to find the configured bug epic (from config). If the configured epic does not exist or is not set, ask the user if they want to:
Use this template for the bug description body:
## Descripción
{Clear explanation of the defect — what happens, when, and the observable impact}
## Evidencia
- **Entorno:** {environment}
- **Servicio/Módulo:** {service or module name}
- **Error observado:** {error message, HTTP status, stack trace snippet}
- **Pasos para reproducir:**
1. {step 1}
2. {step 2}
3. {step 3}
## Causa raíz
{Analysis of why this is happening — the technical root cause}
## Fix requerido
{What needs to change to resolve the issue}
## Impacto
- **Usuarios afectados:** {scope — all users, specific role, specific flow}
- **Severidad:** {critical / high / medium / low}
- **Workaround:** {exists? describe it, or "No hay workaround conocido"}
Format the ticket summary as:
{service}: {what is broken and the visible effect}
Examples:
auth-service: login fails with 500 for users with special characters in emailpayments: duplicate charges created when retry button is clicked rapidlydashboard: performance metrics chart shows empty state despite data existingShow the user the complete bug (summary + description) for approval.
Once approved, use the adapter's create issue command with:
After creation: