Logo van Bmad Investigate

Bmad Investigate

Community
aj-geddes
bmad-investigate

Forensische triage van bugs en issues. Levert een onderzoeksdossier met beoordelingsscores op: symptomen, bewijsmateriaal (beoordeeld met A/B/C op basis van zekerheid), gerangschikte hypotheses, vermoedelijke componenten en een aanbevolen reactie voor de planning. ONDERZOEKT en DOCUMENTEERT alleen — repareert geen code, voert geen tests uit en implementeert niets. Draagt het dossier als story over aan een externe ontwikkeltool. Gebruik deze skill bij uitspraken als: - "investigate this bug" / "triage this issue" / "debug triage" - "what's causing [symptom]" / "why is [feature] broken" - "something's wrong with [component]" / "users are reporting [problem]" - "figure out what happened" / "root cause this" - "I need a bug report" / "create an investigation case file" - "forensic analysis" / "diagnose this" - "error triage" / "issue investigation" - "what do we know about [incident/issue]" Drie intents: Create (een nieuw dossier maken), Update (bewijs toevoegen aan een lopend onderzoek) en Validate (een concept op volledigheid controleren voordat het wordt overgedragen). De uitvoer komt in bmad-output/; bij overdracht wordt een story voor de oplossing opgesteld.

Add to TypingMind

Overzicht

Uitgeveraj-geddes
Repositoryclaude-code-bmad-skills
Skillnaambmad-investigate
Sterren
492
Forks
77
Meegeleverde bestanden
1
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door aj-geddes op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Bmad Investigate in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/aj-geddes/claude-code-bmad-skills/tree/main/bmad-planning-orchestrator/skills/bmad-investigate
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aj-geddes/claude-code-bmad-skills.git /tmp/claude-code-bmad-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-bmad-skills/bmad-planning-orchestrator/skills/bmad-investigate .claude/skills/bmad-investigate
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Bmad Investigate in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Bmad Investigate automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Bmad Investigate niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

BMAD Investigate

Forensic triage — plan the fix, don't apply it.

This skill builds a structured, evidence-graded investigation case file so that whoever picks up the story has a clear picture of what is known, what is suspected, and exactly what needs verifying before any code changes. It deliberately stops before implementation; the result of every investigation is a story handed off to an external dev tool.

Persona flavor: Mary (Business Analyst) frames the user impact; Winston (Architect) maps the component topology. The skill is a workflow, not a character.


Scope Law (read first)

This skill PLANS. It reads planning artifacts and existing code to gather evidence. It does NOT write application code, run tests, lint, build, or review diffs. The last artifact it emits is either an updated planning document or a story file marked status: ready-for-dev. If tempted to "fix the bug", "run the suite", or "apply the patch" — STOP. Investigate and hand off.


Inputs (load these first)

SourceWhy
bmad-output/project-context.mdProject constitution — architecture, stack, ownership
bmad-output/architecture.mdComponent boundaries, module responsibilities
bmad-output/prd.md or tech-spec.mdRequirements the broken behavior should satisfy
bmad-output/decision-log.mdPrior decisions that may relate to the issue
User-provided symptom descriptionPrimary input — what is failing, when, how
Logs / error messages the user pastes inRaw evidence to grade and analyze
Existing story files in bmad-output/stories/Check for duplicate or related work

If project-context.md does not exist, ask the user to describe the stack and affected area before proceeding.


Three Intents

Ask which intent applies if ambiguous.

  • Create — new investigation case file from scratch.
  • Update — add new evidence to an existing case file, re-rank hypotheses.
  • Validate — check a draft case file for completeness against the case-file contract.

Workflow — Create

Use TodoWrite to track progress through these steps.

Step 1 — Clarify the Symptom

Before investigating, confirm exactly what is observable. Ask (or infer from context):

  1. Symptom — what behavior is wrong? What is the expected behavior?
  2. Trigger — when does it occur? Every time? Intermittently? Under load?
  3. Scope — which users, environments, or configurations are affected?
  4. First seen — when was the issue introduced or first noticed?
  5. Severity — data loss, service outage, degraded UX, cosmetic?

Record these as the "Symptom Summary" — this is the anchor for all grading later.


Step 2 — Load Context

Read all available inputs listed above. Extract:

  • Affected components — which modules/services does the symptom implicate? (Cross-reference architecture.md for component responsibilities.)
  • Related requirements — which FR or NFR does the broken behavior touch? (Search prd.md for the area.)
  • Recent decisions — any ADR or decision-log entry touching the suspected area?
  • Similar stories — any existing story file referencing the same component?

Step 3 — Gather and Grade Evidence

Collect all available evidence. Assign each item an evidence grade:

GradeMeaning
ADirectly observed, reproducible, or confirmed by multiple independent sources. High confidence.
BSingle-source, inferred from logs, or plausible but not yet reproduced. Medium confidence.
CSpeculative, based on code reading only, or pattern-matched without direct confirmation. Low confidence.

Evidence types to gather:

  • Error messages and stack traces (paste verbatim; mark as grade A if directly from logs)
  • Reproduction steps (grade A if reliably reproduced; B if intermittent)
  • Code paths identified via Grep/Glob (grade B — code reading is inference, not proof)
  • Configuration or environment differences (grade B unless confirmed in both envs)
  • Historical changes — recent commits or PRs that touched the area (grade C without reproduction confirmation)
  • User reports or support tickets (grade B — external, non-reproducible by default)

Use Grep and Glob to search the codebase for error strings, function names, or file paths the user mentions. Read code files to trace call paths. Do NOT run the code — read it.


Step 4 — Form Hypotheses

Based on all grade-A and grade-B evidence, draft 2–5 hypotheses. For each:

  • Hypothesis — a concise statement of the suspected root cause.
  • Supporting evidence — which evidence items support it (cite grade).
  • Contradicting evidence — anything that argues against it.
  • Plausibility rank — High / Medium / Low (derived from weight of A+B evidence).
  • Verification step — what a dev agent would need to do to confirm or refute this.

Order hypotheses from most to least plausible.


Step 5 — Map Suspected Components

For each top-2 hypothesis, list:

  • Component — the module, service, or file suspected.
  • Why suspected — evidence linkage (grade + description).
  • Blast radius — what else could be affected if this hypothesis is correct?
  • Confidence — derived from the highest-grade evidence linking to this component.

Step 6 — Write the Case File

Fill the template:

${CLAUDE_PLUGIN_ROOT}/skills/bmad-investigate/templates/investigation.template.md

Save to: bmad-output/investigation-<issue-slug>-<date>.md

Use Write. Fill every {{placeholder}} from your analysis.


Step 7 — Recommend the Planning Response

After completing the case file, determine the planning response:

Option A — Create a fix story: Draft a story file using the standard story contract from bmad-epics-and-stories. The story Dev Notes MUST cite the investigation case file. Status: ready-for-dev. Naming: {epic}.{story}.{slug}.story.md in bmad-output/stories/.

Option B — Update an existing backlog story: If a related story exists in backlog, recommend updating its Dev Notes and ACs to incorporate the investigation findings. Do NOT edit the story yourself unless asked; describe what needs updating.

Option C — Escalate to planning: If the investigation reveals a systemic issue touching multiple epics, recommend that the user run /bmad-planning-orchestrator:bmad-prd or /bmad-planning-orchestrator:bmad-architecture (Update intent) before a story is created.

Tell the user which option applies and why. If creating a fix story (Option A), draft it now unless the user says otherwise.


Step 8 — Log the Decision

Append to bmad-output/decision-log.md:

## Investigation: [Issue Slug] — [Date]
- Symptom: [one sentence]
- Primary hypothesis: [one sentence]
- Primary suspected component: [name]
- Case file: bmad-output/investigation-<slug>-<date>.md
- Recommended response: [Option A/B/C + story ID if created]

Workflow — Update

  1. Read the existing case file.
  2. Ask: what new evidence has arrived?
  3. Add new evidence items with grades; re-rank hypotheses if the weight shifts.
  4. Increment the case file version in the header.
  5. If the primary hypothesis has changed, note it in the decision-log.

Workflow — Validate

Check the draft case file against this contract checklist:

  • Symptom Summary is concrete and testable (not vague)
  • Every evidence item has a grade (A / B / C)
  • At least two hypotheses are present
  • Each hypothesis has: supporting evidence, contradicting evidence, plausibility rank, verification step
  • Suspected Components section maps each component to specific evidence
  • Recommended Action is stated (Option A / B / C)
  • If Option A: a story draft exists or is clearly specified
  • Decision-log entry exists

Report pass/fail per item. Do not edit unless asked.


Evidence Grading Summary

GradeLabelTypical Sources
AConfirmedDirect logs, reproducible steps, two-source corroboration
BProbableSingle logs, code-read inference, intermittent reproduction, user reports
CSpeculativeEducated guess, pattern match, untested hypothesis only

Never promote a C to an A in the case file — the external dev agent needs to know what is solid and what is guesswork before they start.


Subagent Strategy

For large-scale investigations spanning multiple suspected components, fan out parallel read-only agents:

Agent 1 — Evidence Collector

Read the investigation brief at bmad-output/investigation-scratch/brief.md.
Search the codebase with Grep/Glob for error strings, function names, and file
paths listed. Collect stack-trace context. Write findings (verbatim excerpts +
file paths + line numbers) to bmad-output/investigation-scratch/evidence.md.
Do NOT modify any source files. Grade each item A/B/C.

Agent 2 — Component Mapper

Read bmad-output/architecture.md and the brief at
bmad-output/investigation-scratch/brief.md. For each suspected component,
extract its responsibilities, dependencies, and API contracts.
Write findings to bmad-output/investigation-scratch/components.md.

After agents complete, synthesize evidence.md + components.md into the final case file using the template. Delete scratch files after synthesis.


Reference

  • templates/investigation.template.md
  • bmad-output/decision-log.md — threaded decision record
  • bmad-output/project-context.md — project constitution
  • /bmad-planning-orchestrator:bmad-epics-and-stories — creates the fix story
  • /bmad-planning-orchestrator:bmad-readiness-check — if investigation reveals systemic planning gaps before the fix story is safe to hand off

Part of the BMAD Planning & Orchestrator plugin — a Claude Code harness for the BMAD Method by the BMAD Code Organization (https://github.com/bmad-code-org/BMAD-METHOD). Implements the spirit of bmad-investigate. All methodology credit belongs to the BMAD Code Organization.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Bmad Investigate?

Forensische triage van bugs en issues. Levert een onderzoeksdossier met beoordelingsscores op: symptomen, bewijsmateriaal (beoordeeld met A/B/C op basis van zekerheid), gerangschikte hypotheses, vermoedelijke componenten en een aanbevolen reactie voor de planning. ONDERZOEKT en DOCUMENTEERT alleen — repareert geen code, voert geen tests uit en implementeert niets. Draagt het dossier als story over aan een externe ontwikkeltool. Gebruik deze skill bij uitspraken als: - "investigate this bug" / "triage this issue" / "debug triage" - "what's causing [symptom]" / "why is [feature] broken" - "so...

Waarom Bmad Investigate gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Bmad Investigate bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Bmad Investigate in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/aj-geddes/claude-code-bmad-skills/tree/main/bmad-planning-orchestrator/skills/bmad-investigate. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Bmad Investigate gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Bmad Investigate gebruiken?

Zoveel als je wilt. Je kunt Bmad Investigate gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Bmad Investigate gratis?

Deze skill is door aj-geddes op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇