Skip to content
Skillpedia
General coding117k · #755

investigate-first

What it does

This skill diagnoses problems whose cause is not yet known, such as intermittent bugs or performance slowdowns. It is for developers who want the cause proven before any code is edited.

When to use it

  • ✓When a failure has an unknown cause and you want evidence first.
  • ✓When behavior is intermittent and hard to reproduce.
  • ✓When performance has slowed down and the reason is unclear.

Skill link

https://github.com/JuliusBrussee/caveman/blob/main/skills/investigate-first/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/JuliusBrussee/caveman/blob/main/skills/investigate-first/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Our app randomly logs users out. Find the cause with evidence before changing any code.”

5 new skills a week. 1 minute to read.

How it works

The agent separates what was observed from what is inferred, traces inputs and state changes, ranks possible causes by evidence, and stops once one credible cause is found.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Investigate first

Gather evidence before changing product code.

  • Separate observed symptom from inferred cause.
  • Trace inputs, state transitions, ownership boundaries, and failure output.
  • Rank hypotheses by evidence and cheap falsification value.
  • Do not edit until one credible mechanism explains evidence.
  • Stop exploration when evidence is sufficient to name cause or exact blocker.

Report cause and proof. Make no fix unless task authorizes implementation.

FAQ

Does it fix the problem?

Not unless the task asks for an implementation. It reports the cause and the proof.

Does it edit code while investigating?

No. It does not edit until one mechanism explains the evidence.

What if the cause cannot be found?

It names the exact blocker that stopped the investigation.

Details

Original description by the author

Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.

repo: JuliusBrussee/caveman

Popularity

GitHub stars
117k
Ranking position
#755
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills