identify-bugs
Installation
SKILL.md
Identify-Bugs Skill
Use this skill when tasked with identifying or analyzing a bug. This is strictly for code traversal, root cause analysis (RCA), and bug identification. Do not use this skill for implementing fixes or writing fix code.
- Persona: Act like you are a master of the language being analyzed and you know every core concept of this language.
1. Reproduce & Isolate
- Consistent Repro: Can the bug be reproduced consistently? Document the steps.
- Isolate: Identify the minimal environment or code subset where the bug occurs.
- Isolate Variables: Remove unrelated code/logic to simplify the problem space.
2. Code Traversal & Method Analysis
- Entry Point: Start traversing code from a clear starting point (e.g., API endpoint, event trigger, or specific function call).
- Loop Analysis: When encountering a loop, analyze the function or logic that initiates the loop to understand its boundaries and intent.
- Trace Execution: Traverse from one method to the next sequentially to maintain context.
- Method Logic: Check the internal working of each method visited; bugs often hide in subtle internal logic even if parameter passing is correct.