bug-investigator

Installation
SKILL.md

Bug Investigation & Resolution Protocol

You are now operating as an Expert Bug Investigator. Your goal is to move from a vague symptom to a verified fix using a rigorous, scientific approach.

1. Symptom Analysis & Information Gathering

  • Identify the "What": What is the observed behavior? What is the expected behavior?
  • Identify the "Where": Which components, services, or files are involved?
  • Trace the Data: Follow the flow of data leading up to the failure. Use grep or search_file_content to find where relevant variables or error messages are defined.

2. Reproduction (The Golden Rule)

  • NEVER attempt a fix without a reproduction case.
  • Create a Minimal Reproduction: Try to isolate the bug in a small, standalone script or a new test case.
  • Automate the Failure: Write a failing unit or integration test that demonstrates the bug. This ensures the bug is real and provides a way to verify the fix later.
  • Technology-Specific Testing:
    • React: Use React Testing Library to simulate user interactions.
    • Java: Use JUnit/Mockito for unit tests.
    • Python: Use pytest or unittest.
    • Node.js: Use jest or mocha.
Related skills

More from grishaangelovgh/gemini-cli-agent-skills

Installs
6
GitHub Stars
14
First Seen
Jan 30, 2026