What problem does it solve? When a user reports an online failure, engineers must manually search Kibana, reconstruct the request timeline, and decide whether the error is a code bug or an expected business block. This Skill automates log retrieval by trace_id and time window, then guides an auditable six-category root-cause classification. ## Core Features & Use Cases - Automated Kibana log retrieval: Pull all logs for a trace_id (or AND-combined keywords) within a flexible time window across multiple environments, writing a timeline summary and raw JSON to disk. - Six-category fault taxonomy: Classify failures as BUG, business block, permission block, workflow block, infrastructure/performance, or third-party failure, with query timeouts escalated to BUG. - Auditable BUG deliverables: Only for confirmed bugs, generate a fix-task Markdown and an independent incident report Markdown, with root cause verified against the commit that was live at failure time. - Use Case: A user pastes a trace_id from a failed production request and asks whether it is a bug; the Skill pulls the logs, traces the deepest business exception to a file:line, checks the responsible commit, and produces two ready-to-dispatch Markdown documents. ## Quick Start Ask the assistant to use the log-diagnose skill to investigate trace_id abc123 over the last 30 days in the production environment and determine whether it is a bug.