brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
bug-hunt-swarmParallel read-only multi-agent root-cause investigation for bugs, regressions, crashes, flaky behavior, or unexplained failures. Use when the user asks to investigate a bug, find the root cause, trace a regression, understand why something broke, or wants a ranked diagnosis with the fastest proof path without making code edits.
Independent GitHub snapshot · Automated classification · Original documentation governs
Investigate a bug with four read-only sub-agents in parallel, then have the main agent rank the likely causes and recommend the fastest path to prove or fix the issue. This skill is diagnosis-first: do not edit files or implement fixes as part of this workflow.
Start by collecting the smallest useful investigation packet:
Prefer this source order:
If the bug report is underspecified, infer a minimal problem statement and say what is still unknown.
Before launching sub-agents, read the closest project instructions and relevant docs for the touched area, such as:
AGENTS.mdWrite a short investigation brief for the swarm:
Use read-only evidence gathering where useful:
rg, git diff, git log, git showDo not edit files, inject new instrumentation, or implement fixes as part of this skill.
Launch four sub-agents when the problem is large or ambiguous enough that parallel investigation helps. For a tiny and obvious issue, it is acceptable to investigate locally instead.
For every sub-agent:
apply_patch, stage changes, commit, or perform any other state-mutating actionUse these four investigation roles.
Clarify the exact failure shape and its boundaries.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: reviewer
Trace the most likely execution path and identify the seam where behavior diverges.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: explorer for broad tracing, or reviewer when a stronger local reasoning pass is more useful
Look for likely regressors in nearby history or changed contracts.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: reviewer
Determine the fastest way to confirm or reject the leading hypotheses.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: reviewer
Report only hypotheses that materially improve the odds of finding the real cause. It is better to return two evidence-backed theories than six vague guesses.
The main agent owns synthesis. Treat sub-agent output as raw investigation input, not final output.
Merge and rank the hypotheses:
Normalize the surviving hypotheses into this shape:
If the evidence is too weak for a real ranking, say so directly and present the leading open questions instead.
Present the result in this order:
When the fix is not yet clear, recommend the next proving step instead of pretending the diagnosis is complete.
When helpful, group actions into:
prove nowfix nextfollow up laterDo not implement fixes as part of this skill. The output is a read-only diagnosis with a prioritized path forward.