investigate-bug
Skill2 starsChanged 3 months agoMITView on GitHub
Use when a defect, regression, failing test, incident, or unclear failure needs investigation. Reproduce and analyze before fixing. Do not use when the exact root cause and approved fix are already known.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jamdotdev/jam-plugintheir own version, first seen Oct 1, 2026
- danielvm-git/bigpowerstheir own version, first seen Sep 1, 2026
- bsafronov/prosto-skillstheir own version, first seen Aug 31, 2026
- jasonhulbert/skillstheir own version, first seen Aug 31, 2026
- napnap11/claude-skillstheir own version, first seen Jun 26, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- danielvm-git/bigpowers★ 252same name
- jamdotdev/jam-plugin★ 2same name
- jasonhulbert/skills★ 1same name
- napnap11/claude-skills★ 1same name
- bsafronov/prosto-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-testSkill
- implement-featureSkill
- refactor-safelySkill
- update-okfSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 11 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Use this Skill when:
- Distinctive: line 17
Do not use this Skill when:
- Distinctive: line 32
Before editing code, read:
- Distinctive: line 44
Run the failing test, command, or scenario when possible.
- Distinctive: line 50
Only implement the fix if the user requested implementation or the task clearly expects it.
- Distinctive: line 54
Do not jump directly to a fix before reproduction or evidence.
- Distinctive: line 55
Do not rewrite broad areas while investigating.
- Distinctive: line 56
Do not ignore OKF if it defines the expected behavior.
- Distinctive: line 57
Do not treat speculation as confirmed root cause.
- Distinctive: line 58
Do not remove failing tests to make the suite pass.
- Distinctive: line 59
Do not add secrets, credentials, private URLs, or personal data to logs or docs.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Investigate Bug
When to use
Use this Skill when:
- A failure needs reproduction.
- The root cause is unknown.
- A regression or incident may affect multiple areas.
- The user asks for diagnosis, triage, or investigation.
Do not use this Skill when:
- The task is a straightforward implementation request.
- The exact fix is already known and only needs to be applied.
- The work is only adding test coverage for known behavior.
Inputs
- Bug report, failing command, stack trace, screenshot, or reproduction notes.
- Expected behavior and actual behavior.
- Environment details if available.
- Relevant OKF documents if the behavior is domain-specific.
Required context
Before editing code, read:
README.mdAGENTS.mdorCLAUDE.md, depending on the tool in useokf/index.mdand relevant OKF documents when the bug relates to documented behavior- Existing tests for the affected area
- Recent changes or
git diffwhen the bug may be introduced locally
Workflow
- Capture the reported symptom.
- Identify or create the smallest reproduction path.
- Run the failing test, command, or scenario when possible.
- Compare actual behavior with documented or expected behavior.
- List plausible root causes with evidence.
- Inspect the narrowest relevant code paths.
- Determine impact scope and whether related behavior may also be affected.
- Propose the smallest fix and the test that should prevent recurrence.
- Only implement the fix if the user requested implementation or the task clearly expects it.
Guardrails
- Do not jump directly to a fix before reproduction or evidence.
- Do not rewrite broad areas while investigating.
- Do not ignore OKF if it defines the expected behavior.
- Do not treat speculation as confirmed root cause.
- Do not remove failing tests to make the suite pass.
- Do not add secrets, credentials, private URLs, or personal data to logs or docs.
Completion checklist
- Symptom is described.
- Reproduction was attempted and result is documented.
- Expected behavior source is identified or uncertainty is stated.
- Root cause candidates are ranked by evidence.
- Impact scope is summarized.
- Minimal fix and test plan are proposed or implemented.
Expected final response
Report:
- Reproduction steps and result.
- Most likely root cause.
- Impact scope.
- Minimal fix plan or implemented fix.
- Tests or checks run.
- Remaining unknowns.
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
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.

