agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/cpp-server-crash-triage/SKILL.md

cpp-server-crash-triage

Skill3 starsChanged 3 months agoMITView on GitHub

Use when triaging a C++ game server crash, dump, access violation, segmentation fault, stack trace, symbols, or build identity into a stable signature and ranked root-cause plan.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for access violations, segmentation faults, aborts, corrupted stacks, watchdog crashes, or repeated server dump signatures.

    line 35
  2. Distinctive:

    Do not use for static packet schema drift, ordinary log errors without a crash, or live service control.

    line 38
  3. Distinctive:

    Read-only triage. Do not restart production, attach invasive debuggers, upload private dumps, or modify symbol stores without authorization.

    line 44
  4. Distinctive:

    Do not upload dumps that may contain credentials or player data.

    line 67
  5. Very specific:

    Read references/commands.md for Windows and Linux symbolization commands.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cpp Server Crash Triage

Overview

Turn a crash dump or stack trace into a build-bound stable signature, symbol state, first application frame, ranked hypotheses, and next discriminating experiment.

When to use

Use for access violations, segmentation faults, aborts, corrupted stacks, watchdog crashes, or repeated server dump signatures.

When NOT to use

Do not use for static packet schema drift, ordinary log errors without a crash, or live service control.

Required inputs and context discovery

Collect build ID, executable hash, platform, compiler, dump/core path, exception or signal, thread, raw frames, symbol paths, recent changes, reproduction state, and protected production paths.

Safety and risk level

Read-only triage. Do not restart production, attach invasive debuggers, upload private dumps, or modify symbol stores without authorization.

Workflow

  1. Bind the dump and symbols to an exact build snapshot. Completion criterion: mismatched or missing symbols are explicit.
  2. Normalize volatile addresses into a stable crash signature. Completion criterion: equivalent stacks group without hiding frame differences.
  3. Identify the first application-owned frame and relevant thread context. Completion criterion: source blame is not assigned to runtime frames alone.
  4. Rank hypotheses using exception type, frames, logs, and recent changes. Completion criterion: each hypothesis has supporting and counter evidence.
  5. Define the smallest safe reproduction, instrumentation, or symbol action. Completion criterion: service-control work remains BLOCKED pending approval.

Evidence and output contract

Produce cpp-crash-triage.json with build identity, signature, normalized frames, symbol state, ranked hypotheses, limitations, and next experiment.

Handoff contract

Record build/dump paths, signature, first application frame, symbol gaps, attempted reproductions, suspect paths, and next action owner.

Pitfalls and anti-rationalization

  • Raw addresses are not stable signatures.
  • A top frame without matching symbols is not a root cause.
  • Do not upload dumps that may contain credentials or player data.
  • An unreproduced crash remains Snapshot or Unverified.

Verification checklist

  • Dump matches the recorded build.
  • Frames are normalized without losing order.
  • Symbol limitations are explicit.
  • Hypotheses cite evidence.
  • Next action is safe and bounded.

References and scripts

Read references/commands.md for Windows and Linux symbolization commands. Use the bundled scripts/crash_triage.py for normalized fixtures and project-specific debugger tooling for authorized dump inspection.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.