Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jetbrains avatar

Stacktrace Log Triage

  • 20 installs
  • 295 repo stars
  • Updated June 29, 2026
  • jetbrains/skills

stacktrace-log-triage finds root causes in Kotlin Spring stack traces.

About

The stacktrace-log-triage skill diagnoses Kotlin plus Spring failures from stack traces, startup logs, runtime logs, and related metric anomalies, separating root cause from wrapper exceptions. It treats BeanCreationException, InvocationTargetException, and similar wrappers as transport, focusing on the first user-code frame after framework layers. Workflow classifies failures as configuration, classpath, bean wiring, data access, security, or external integration, then proposes safe next steps such as targeted logging, dependency insight, or profile inspection. Advanced guidance correlates log spikes with deploy times, pool exhaustion, or migration failures. Output returns failure class, root cause hypothesis, evidence frames, and minimal verification commands. Guardrails forbid stopping at wrapper messages without unwrapping causes. Turn noisy failure evidence into a ranked diagnosis with explicit confidence. Always distinguish symptom, proximate cause, and true root cause. Read the full stack trace, not only the top frame.

  • Unwraps framework wrapper exceptions to root causes.
  • Prioritizes first user-code frames after Spring layers.
  • Classifies failures across config, beans, data, and security.
  • Correlates logs with metrics and recent deploy changes.
  • Returns minimal safe next diagnostic steps.

Stacktrace Log Triage by the numbers

  • 20 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #396 of 596 Debugging skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

stacktrace-log-triage capabilities & compatibility

Capabilities
wrapper versus root cause workflow · failure classification taxonomy
Use cases
debugging
IDEs
intellij
From the docs

What stacktrace-log-triage says it does

Treat the first user-code frame after framework wrappers as high-signal evidence
SKILL.md
npx skills add https://github.com/jetbrains/skills --skill stacktrace-log-triage

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs20
repo stars295
Last updatedJune 29, 2026
Repositoryjetbrains/skills

What is the real cause of this Spring BeanCreationException?

Triage Kotlin Spring failures from stack traces and startup logs to root cause.

Who is it for?

Developers debugging Spring startup or runtime crashes.

Skip if: Skip for frontend browser console-only errors.

When should I use this skill?

Application fails to start or throws stack traces needing triage.

What you get

Identified failure class with root cause frame and next steps.

Files

SKILL.mdMarkdownGitHub ↗

Stacktrace Log Triage

Source mapping: Tier 1 critical skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-15).

Mission

Turn noisy failure evidence into a ranked diagnosis with explicit confidence. Always distinguish symptom, proximate cause, and true root cause.

Gather Evidence First

  • Read the full stack trace, not only the top frame.
  • Read the surrounding log lines before and after the first failure.
  • Capture timestamps, correlation ids, request ids, thread names, and active profiles when available.
  • Read recent relevant code or config changes if they are available.
  • Reuse repository constraints from project-context-ingestion when possible.

Triage Workflow

1. Find the earliest meaningful failure signal. 2. Walk the Caused by: chain until it stops getting more specific. 3. Classify the incident:

  • DI and context startup
  • configuration binding
  • serialization or validation
  • SQL or migration
  • HTTP or timeout
  • security
  • concurrency or locking
  • classpath or version mismatch

4. Separate what failed from why it failed. 5. Rank hypotheses when evidence is incomplete. 6. Propose a quick mitigation and a proper fix separately.

Diagnostic Rules

  • Treat BeanCreationException, InvocationTargetException, and similar wrappers as transport, not diagnosis.
  • Treat the first user-code frame after framework wrappers as high-signal evidence.
  • Use log chronology, not stack depth alone.
  • If the logs are truncated, say so and lower confidence.
  • Prefer an explanation grounded in the observed code path or configuration over pattern-matching from memory.

Advanced Signal Patterns

  • Check suppressed exceptions, root-cause logging one or two lines above the stack trace, and companion failures on adjacent threads. The most useful clue is often not in the main stack at all.
  • Distinguish hard failures from saturation patterns: connection pool exhaustion, thread pool starvation, event-loop blocking, retry storms, and deadlock retries often show up as secondary symptoms first.
  • For SQL failures, inspect vendor codes and SQL state when available. They are often more actionable than the wrapper exception type.
  • For startup failures after version or deploy changes, compare classpath and configuration drift before assuming a code bug.
  • For intermittent failures, weigh time correlation and concurrency context heavily. A race rarely leaves a clean single-thread narrative.
  • For OOM or GC-related incidents, plain stack traces are weak evidence. Thread dumps, heap symptoms, and allocation context matter more.
  • If metrics exist, correlate the first error spike with latency, pool saturation, or downstream dependency degradation rather than treating logs in isolation.
  • If the symptom appears in reactive or coroutine code, verify whether context propagation broke logging correlation before dismissing missing IDs or misleading thread names.

Expert Heuristics

  • The first fix after triage should reduce uncertainty as well as reduce pain. Prefer mitigations that also sharpen diagnosis.
  • If several candidate causes fit, rank them by evidence, blast radius, and reversibility of the proposed mitigation.
  • If the trace points to a framework wrapper, move outward to code and config that changed recently, then inward again through the causal chain.
  • Always state what evidence would falsify the leading hypothesis.

Output Contract

Return these sections:

  • Root cause: confirmed or most likely cause in plain language.
  • Confidence: confirmed, high, medium, or low.
  • Evidence: the log line, exception, config fact, or code path supporting the diagnosis.
  • Hotfix: the safest immediate containment or unblocking step.
  • Long-term fix: the proper code or configuration correction.
  • Reproduction and verification: how to reproduce, test, and monitor the fix.

Safety Rules

  • Label hypotheses as hypotheses.
  • Do not recommend risky schema changes, version upgrades, or broad refactors as a hotfix unless the incident truly leaves no safer option.
  • Do not claim certainty when the logs are incomplete.
  • Do not ignore alerting or monitoring implications after the fix.

Kotlin-Specific Checks

  • Watch for platform-type NullPointerException.
  • Watch for coroutine stack traces that obscure the original call path.
  • Watch for missing Kotlin compiler plugins causing runtime behavior gaps.
  • Watch for Jackson plus Kotlin constructor issues that surface as generic deserialization errors.

Quality Bar

A good run of this skill gives the user a path from failure evidence to safe remediation. A bad run repeats the top exception, ignores the Caused by: chain, or offers a dangerous hotfix without explaining the risk.

Related skills

FAQ

What does stacktrace-log-triage do?

stacktrace-log-triage finds root causes in Kotlin Spring stack traces.

When should I use stacktrace-log-triage?

Application fails to start or throws stack traces needing triage.

Is this skill safe to install?

Review the Security Audits panel on this page before installing in production.

Debuggingbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.