bug-investigator
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
greporsearch_file_contentto 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
pytestorunittest. - Node.js: Use
jestormocha.
More from grishaangelovgh/gemini-cli-agent-skills
frontend-ui-designer
Expert guidance for creating modern, intuitive, and visually stunning user interfaces. Use this skill when designing or implementing frontend UIs, components, layout structures, or styling.
9project-analyzer
Analyzes a project's codebase to generate a comprehensive summary including tech stack, features, and REST services, outputting the result to PROJECT_SUMMARY.md. This skill has assets directory that MUST be used for every analysis.
6expert-code-refactoring
Expert code refactoring for Java, JavaScript, and React projects. Focuses on SOLID principles, design patterns, and idiomatic improvements while ensuring test stability.
6code-reviewer
Expert code reviewer specializing in code quality, security, performance, and maintainability across multiple programming languages. Use this skill when the user wants a PR review, code analysis, or suggestions for improvement. This skill includes proprietary checklists and a mandatory review template located in its references and assets directories that MUST be used for every analysis.
5react-test-engineer
Expert guidance for testing React applications using React Testing Library and Vitest. Focuses on user-centric testing, accessibility, and best practices for unit and integration tests to ensure robust and maintainable code.
5project-feature-explainer
Expert guidance for explaining project features. Use this skill when you need to provide a comprehensive explanation of how a specific feature works, including summaries, deep dives, usage examples, and sequence/workflow diagrams. This skill has references directory which contains additional instructions `checklist.md`, `example-output.md` and `explanation-template.md` that MUST be used for every analysis.
5