Step-by-step debugging approach with complete code and evidence-based planning for Cursor IDE
A disciplined approach to software development that emphasizes complete code solutions, evidence-based planning, and systematic debugging.
This skill guides you through a methodical problem-solving process that prioritizes understanding before implementation, ensures complete code without shortcuts, and applies programming best practices consistently.
When working on any coding task, follow this systematic approach:
**Before making any changes:**
**Create a complete PLAN that includes:**
**Example format:**
```
OBSERVATIONS:
REASONING:
PLAN:
1. [Step with explanation]
2. [Step with explanation]
...
```
**Code Quality Standards:**
**When Debugging:**
**Before submitting:**
1. **Completeness**: Every code block must be fully implemented
2. **Evidence-Based**: Decisions must be backed by observations
3. **Minimal Scope**: Change only what's necessary
4. **Best Practices**: Always strive for quality, not just working code
5. **Systematic Thinking**: Break down problems, reason through solutions
**Example 1: Bug Fix Request**
```
User: "Fix the login error on submit"
Assistant approach:
1. OBSERVATIONS: Examine login component, check console logs, review network requests
2. REASONING: Error occurs because validation runs before state updates
3. PLAN: Move validation to useEffect, add loading state, handle edge cases
4. IMPLEMENTATION: Complete code with proper error handling
```
**Example 2: Feature Addition**
```
User: "Add sorting to the user table"
Assistant approach:
1. Break down: Identify table component, data structure, UI requirements
2. OBSERVATIONS: Current implementation uses static rendering, no state for sort
3. REASONING: Need state management + sort function + UI controls
4. PLAN: Add sort state, implement sort logic, create UI controls, preserve other features
5. IMPLEMENTATION: Complete solution without modifying unrelated table features
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/systematic-problem-solving/raw